Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
Issue with UpdatePanel and Infragistics Editors
posted

Basically I have WebHtmlEditor and WebCurrenty Editor in a usercontrol  which for testing i called "ctlEditOffer", that control is hidden by default:

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">

<ContentTemplate>

<asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />

<uc1:ctlEditOffer ID="ctlEditOffer1" runat="server" Visible="false" />

</ContentTemplate>

</asp:UpdatePanel>

On the code behind for Button1 is the following code:

 ctlEditOffer1.Visible = true;

When Button1 is clicked, it correctly shows the control with the Infragistics editors, along with a javascript error "Object Expected"

so basically you cannot do anything with the infracontrols.


What I think its happening is not loading the javascript files required for the controls if there are in a UpdatePanel, any ideas?

 

Thanks

Parents Reply Children
No Data