[Mono-dev] Controls within a control in ASP.NET

Wael Zeenni bigzee at zeenni.net
Sun Aug 24 15:03:48 EDT 2008

Hey all,  

I'm currently using ASP.NET controls from ComponentArt for my  ASP.NET applications since the ComponentArt DLL is fully compatible  with Mono (except for one function).  

Now, everything works fine in my apps using the ComponentArt  controls (such as treeviews, buttons, etc.) but now the problem is  this:  

One of  the ComponentArt controls is a Dialog Box control that  encapsulates other controls within it (like buttons, tables, text  boxes, etc.) The minute I add a dialog control to my page and then put  some other controls inside it, I start getting the following error:  

Object reference not set to an instance of an object  

Description: HTTP 500. Error processing request.  

Stack Trace:  

System.NullReferenceException: Object reference not set to an instance of an object  
  at ASP.default_aspx.__BuildControl__bctrl_4 (ComponentArt.Web.UI.DialogContent __ctrl) [0x00000]   
  at ASP.default_aspx.__BuildControl_dlgError () [0x00000]   
  at ASP.default_aspx.__BuildControl_form1 () [0x00000]   
  at ASP.default_aspx.__BuildControlTree (ASP.default_aspx __ctrl) [0x00000]   
  at ASP.default_aspx.FrameworkInitialize () [0x00000]   
  at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context) [0x00000]   
  at System.Web.HttpApplication+<Pipeline>c__Iterator5.MoveNext () [0x00000]   
  at System.Web.HttpApplication.Tick () [0x00000]   

Version information: Mono Version: 2.0.50727.42; ASP.NET Version: 2.0.50727.42  

Now, it obviously works with Windows just fine, but when I  tested it in XSP2 (Mono v2.0 Preview) or on my Linux box (OpenSUSE with  Mono 1.9.1) I get the errors above. I'm not sure where to go from here.  

Any ideas? Or are there any workarounds? Any help would be great!  

Thanks all.  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080824/f847951a/attachment.html 

More information about the Mono-devel-list mailing list