views:

234

answers:

0

Hi, I have a page with a user control which uses UpdatePanel, if I insert after this control an Asp:Button, the onClick event of the asp:Button is not fired. I tried to insert an Asp:HyperLink but the in line code to call a method (takeNavigateUrl()) returning a string is not called:

<asp:HyperLink ID="AddOrg" Visible='<%# userH %>' Text="Add" CssClass="OptionButton" runat="server" NavigateUrl='<% takeNavigateUrl() %>'/>

The strange thing is that if I remove from the page the user control which uses UpdatePanel everything works perfectly!

Any ideas? How can I debug this problem??