Hi all,
I have 2 Updatepanels in my aspx page.
1st updatepanel has dropdownlist with autopostback as true
2nd updatepanel has usercontrol in it
my need is, Based on SelectedItemvalue of dropdownlist the usercontrols should behave.
When i change the dropdownlist index, it is firing the usercontrol first, then selectedindexchanged is firing.
So, unable to get the latest value in usercontrol code file.
please look at the markup code
<asp:Content ID="Content3" runat="server" ContentPlaceHolderID="cph_fieldset_before">
<asp:ScriptManager runat="server" EnablePartialRendering="true"
ID="ScriptManager1" />
<asp:UpdatePanel runat="server" ID="updatePanel1" UpdateMode="Conditional" >
<contenttemplate>
<div class="optional" id="printerTeamLeftList_Div" tabindex="-1">
<label for="projectTeamList">Printer(s)</label>
<asp:DropDownList runat="server" id="printerTeamList" rows="8"
datatextfield="Name" datavaluefield="ID" AutoPostBack="true" />
</div>
</contenttemplate>
<asp:UpdatePanel runat="server" ID="updatePanel2" UpdateMode="Conditional">
<contenttemplate>
<div class="no-border">
<dttwnew:twlinksnew runat="server" id="twlinknew" foldertype="pretwo"/>
</div>
</contenttemplate>
Can somebody guide me on this..
Thanks and Regards,
Pawan.