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
105
Autopostback inside a WebDialogWindow
posted

Hi,

I have a drop down list (with Autopostback="true", and having few other text fields) inside a Web Dialog Window. Depending on the value selected from this list, another control needs to be shown.

It doesn't seem to work when I change the select value. I have a Submit button for this dialog window (simply closes the window for now), which when clicked makes the postback and update the 2nd control according to the drop down list value selected.

With firebug, there seems to be a post for the form but with a "500 Internal Server Error" and a response of "Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array."

And here is the stack trace:

[IndexOutOfRangeException: Index was outside the bounds of the array.] Infragistics.Web.UI.LayoutControls.DialogWindowBot.LoadClientObjects(Object[]

objects) +139

Infragistics.Web.UI.Framework.ObjectBase.LoadClientState(Object[] oData) +132 Infragistics.Web.UI.Framework.RunBot.HandleOnInit(HttpContext context) +194 Infragistics.Web.UI.Framework.ControlMain.OnInit(EventArgs e) +136 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.AddedControl(Control control, Int32 index) +198 System.Web.UI.ControlCollection.Add(Control child) +80 System.Web.UI.SimpleTemplate.InstantiateIn(Control control) +88 Infragistics.WebUI.UltraWebTab.UltraWebTab.RevalidateChildControls(

Boolean rebuild) +1420

Infragistics.WebUI.UltraWebTab.UltraWebTab.CreateChildControls() +42 System.Web.UI.Control.EnsureChildControls() +87 Infragistics.WebUI.UltraWebTab.UltraWebTab.EnsureChildControls() +12 Infragistics.WebUI.UltraWebTab.UltraWebTab.OnInit(EventArgs e) +67 System.Web.UI.Control.InitRecursive(Control namingContainer) +333 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210 System.Web.UI.Control.InitRecursive(Control namingContainer) +210

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378

System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +378


Any help is appreciated.

Environment: VS2008, Infragistics v9.2