Hi,
When I have the standard ASP.NET Wizard and the UltraWebGrid on the same ASCX file, then I get a strange DotNetNuke error saying that the module can not be injected into the ContentPane. However, the module is there but its not working properly.
Error message:
Unhandled error loading module.DotNetNuke.Services.Exceptions.ModuleLoadException: Unhandled Error Adding Module to ContentPane ---> System.NullReferenceException: Object reference not set to an instance of an object. at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.IdentifyDocumentType(Page p) at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.Initialize() at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.Control_Init() at Infragistics.WebUI.UltraWebGrid.UltraWebGrid.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at System.Web.UI.WebControls.Wizard.CreateControlHierarchy() at System.Web.UI.WebControls.Wizard.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.WebControls.Wizard.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.UI.Skins.Skin.InjectModule(Control objPane, ModuleInfo objModule, PortalSettings PortalSettings) --- End of inner exception stack trace ---
Is there a known issue when using ASP.NET Wizard and UltraWebGrid together?
EDIT: This error started appering after I upgraded to the very latest Infragistics release (NetAdvantage for .NET 2008 Vol. 3 CLR 2.0)
Hello,
I have seen something very similar (in fact, the very same stack trace) in a forum post recently that was related to a Sharepoint WebPart, so I am almost positive the problem is the same there. Please, check out the following forum thread for details:
http://forums.infragistics.com/forums/t/17345.aspx
There are a couple of suggestions and workaround there, plus a follow-up from one of our developers that this is a bug that will be fixed in the January hotfix. So you can try the workarounds or install the hotfix (23rd Jan) available here:
http://forums.infragistics.com/forums/t/18638.aspx
Hope this helps.