I have a page which contains two update panels. In the first update panel : I have 3 dropdownlist controls:
In the second update panel i have a check box, on checked changed event of checkbox i want to disable above update panels dropdownlist controls
Ex:
<
asp:UpdatePanel ID=”upCat” runat=”server” UpdateMode=”Conditional”>
<Triggers> <asp:AsyncPostBackTrigger ControlID=”chkNonCategorisedData” EventName=”CheckedChanged” />
</Triggers>
<ContentTemplate>
</contenttemplate>
</updatepanel>
<updatepanel condition mode=conditional>
<contenttemplate>
<
asp:CheckBox ID=”chkNonCategorisedData” runat=”server” AutoPostBack=”True” OnCheckedChanged=”chkNonCategorisedData_CheckedChanged”
TabIndex=”19″ />
</contenttemplate>
</updatepanel>
EX: 2
I have two update panels in my page. In the first update panel i have gridview with edit command button.
In the second update panel i have different controls . My aim is when i click gridview edit button i have to refresh below controls update panel?
In the controls update panel add trigger:
<asp:UpdatePanel ID=”locationDetails” runat=”server” UpdateMode=”Conditional”>
<Triggers>
<asp:AsyncPostBackTrigger ControlID=”grdLocationDetails” EventName=”RowCommand” />
</Triggers>
<ContentTemplate>