am working on a C# web application.
I have a web page in which i have the same user control placed in two columns of a table side by side.
<table width=100% >
<tr><td width=50%> <uc1:CtrlSatisf actionAverage ID="CtrlSatisfa ctionAverage1" runat="server" OnLoad="CtrlSat isfactionAverag e1_Load" /></td>
<td width=50%><uc1: CtrlSatisfactio nAverage ID="CtrlSatisfa ctionAverage2" runat="server" OnLoad="CtrlSat isfactionAverag e2_Load" /></td></tr>
</table>
On loading this page i need to pass different parameters to each usercontrol and compare the report shown in each user control.
In the user control there is a treeview and a button. When i select the treenodes and click the button of the usercontrol CtrlSatisfactio nAverage1 only CtrlSatisfactio nAverage1 is to be reloaded. And when i select the treenode of CtrlSatisfactio nAverage2 and click the button only CtrlSatisfactio nAverage2 has to be reloaded.
How can i do this. When both user control are placed in the table and the button of CtrlSatisfactio nAverage1 is clicked the whole page is reloaded ie both the user control is reloaded.
If i use a iframe can i call a user control in it and pass values to the user control. Is is there any other way to do this?
I have a web page in which i have the same user control placed in two columns of a table side by side.
<table width=100% >
<tr><td width=50%> <uc1:CtrlSatisf actionAverage ID="CtrlSatisfa ctionAverage1" runat="server" OnLoad="CtrlSat isfactionAverag e1_Load" /></td>
<td width=50%><uc1: CtrlSatisfactio nAverage ID="CtrlSatisfa ctionAverage2" runat="server" OnLoad="CtrlSat isfactionAverag e2_Load" /></td></tr>
</table>
On loading this page i need to pass different parameters to each usercontrol and compare the report shown in each user control.
In the user control there is a treeview and a button. When i select the treenodes and click the button of the usercontrol CtrlSatisfactio nAverage1 only CtrlSatisfactio nAverage1 is to be reloaded. And when i select the treenode of CtrlSatisfactio nAverage2 and click the button only CtrlSatisfactio nAverage2 has to be reloaded.
How can i do this. When both user control are placed in the table and the button of CtrlSatisfactio nAverage1 is clicked the whole page is reloaded ie both the user control is reloaded.
If i use a iframe can i call a user control in it and pass values to the user control. Is is there any other way to do this?
Comment