A
Arun
I am new to ASP.NET I need some help for this scenario
The scenario is like this
I have a template Page which loads a WebUserControl (uct1.ascx) inside
a PlaceHolder (PH1)
Now this Web User Control (uct1.ascx) has a table with 2 rows
First row has a 5 text boxes 2 Combobox and 6 buttons (all Server
Controls)
Second row just has a placeholder (PH2)
When the user clicks on each button a respective webusercontrol is
loaded into the placeholder (PH2)
Now my question is
When I click on each button it refreshes the whole page. Which means
it is going to the server for each and every click,
Can I avoid this, if so how
I tried this option by loading all the user control @ once and making
it visible true/false @ runtime through java script
But Javascript doesn't seems to work fine with Web User Control as it
is not getting the document.all.XXXX says it is null
I would appretiate if some one advice me the best way to go
Thanks
Arun
The scenario is like this
I have a template Page which loads a WebUserControl (uct1.ascx) inside
a PlaceHolder (PH1)
Now this Web User Control (uct1.ascx) has a table with 2 rows
First row has a 5 text boxes 2 Combobox and 6 buttons (all Server
Controls)
Second row just has a placeholder (PH2)
When the user clicks on each button a respective webusercontrol is
loaded into the placeholder (PH2)
Now my question is
When I click on each button it refreshes the whole page. Which means
it is going to the server for each and every click,
Can I avoid this, if so how
I tried this option by loading all the user control @ once and making
it visible true/false @ runtime through java script
But Javascript doesn't seems to work fine with Web User Control as it
is not getting the document.all.XXXX says it is null
I would appretiate if some one advice me the best way to go
Thanks
Arun