[Mono-aspnet-list] Cannot add a System.Web.UI.HtmlControls.HtmlGenericControl

FcoLomas f_lomas at hotmail.com
Tue Jul 28 20:27:59 EDT 2009


Hi!

I use Mono 2.4 with the lastest release, I updated it today after the last
release announce, but I'm having a problem when I add an IFrame inside a a
ItemTemplate in a GridView, or an ITemplate implemented class on an user
control, the exception is:

Cannot add a System.Web.UI.HtmlControls.HtmlGenericControl to
DNA.UI.JQuery.DialogButton
Description: HTTP 500. Error processing request.

Stack Trace:

System.Web.HttpException: Cannot add a
System.Web.UI.HtmlControls.HtmlGenericControl to DNA.UI.JQuery.DialogButton
  at System.Web.UI.CollectionBuilder.GetChildControlType (System.String
tagName, IDictionary attribs) [0x00000] 
  at System.Web.UI.ControlBuilder.CreateSubBuilder (System.String tagid,
System.Collections.Hashtable atts, System.Type childType,
System.Web.UI.TemplateParser parser, ILocation location) [0x00000] 
  at System.Web.UI.ControlBuilder.CreateSubBuilder (System.String tagid,
System.Collections.Hashtable atts, System.Type childType,
System.Web.UI.TemplateParser parser, ILocation location) [0x00000] 
  at System.Web.Compilation.AspGenerator.ProcessTag (ILocation location,
System.String tagid, System.Web.Compilation.TagAttributes atts, TagType
tagtype, System.Boolean& ignored) [0x00000] 

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

DNA.UI.JQuery.DialogButton is part of my custom control, please any idea of
how to track what's happening?

Of course in .NET Framework 3.5 SP1 it's working right, the user control
without the IFrame inside works perfectly!
-- 
View this message in context: http://www.nabble.com/Cannot-add-a-System.Web.UI.HtmlControls.HtmlGenericControl-tp24710352p24710352.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.



More information about the Mono-aspnet-list mailing list