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
Any help is appreciated.Environment: VS2008, Infragistics v9.2
Hi Gavini,
The AJAX based controls (UpdatePanel, WebDialogWindow, WebSplitter, etc.) are not compatible with CallBackManager used by WARP and UltraWebTab with enabled async mode. Those controls can not be nested in each other, but they can by used only side by side.
You should either disable async mode of UltraWebTab, or wrap it into UpdatePanel.
More info on the above case:
The WebDialogWindow is inside a usercontrol, which in turn is inside a UltraWebTab. The tab has AsyncOption="LoadOnDemand", as I not wish to load all other tab data at once. But when the AsyncOption is set to Exclude it works fine, but with the html getting loaded on the intial page load. Is there an alternative suggestion for this?