Hi,
I have a usercontrol with name cppcombo.ascx which is used in welcome.ascx which is again used in loginmaster.ascx and finally on an aspx page.
Now at the aspx page i am unable to know the EventName.
If you have any better option then please tell me.
thanks & regards
Shrikant
Try to use the triggers of asp:UpdatePanel to post back the user control as the following codes.
<div>
<asp:UpdatePanel ID="upnlUserControl" runat="server">
<ContentTemplate>
<uc1:WebUserControl0 ID="WebUserControl0_1" runat="server" />
</ContentTemplate>
<Triggers>
<asp:PostBackTrigger ControlID="WebUserControl0_1" />
</Triggers>
</asp:UpdatePanel>
</div>
Hope it helps you.
No comments:
Post a Comment