M
Mihail Luca
Hi !
After the first researches I found out that with WebForms there is no easy
way to implement an IRootDesigner.
After inspecting the Web.UI.Page class I have found that it uses these
attribute:
[ DesignerAttribute(typeof(
Microsoft.VSDesigner.WebForms.WebFormDesigner) ),
System.ComponentModel.DesignerCategoryAttribute("ASPXCodeBehind"),
System.ComponentModel.DefaultEventAttribute("Load"),
System.ComponentModel.ToolboxItemAttribute(false)]
My ideea was to inherit from Web.UI.Page, and to put my own Designer
attribute instead of the default one. I have tried to derive from the
WebFormDesigner, but it doesn"t work. It doesn"t call even the constructor.
Does anyone has the smallest ideea how can i enter in the design time chain
of the Page object ?
Thank you,
Mihail
After the first researches I found out that with WebForms there is no easy
way to implement an IRootDesigner.
After inspecting the Web.UI.Page class I have found that it uses these
attribute:
[ DesignerAttribute(typeof(
Microsoft.VSDesigner.WebForms.WebFormDesigner) ),
System.ComponentModel.DesignerCategoryAttribute("ASPXCodeBehind"),
System.ComponentModel.DefaultEventAttribute("Load"),
System.ComponentModel.ToolboxItemAttribute(false)]
My ideea was to inherit from Web.UI.Page, and to put my own Designer
attribute instead of the default one. I have tried to derive from the
WebFormDesigner, but it doesn"t work. It doesn"t call even the constructor.
Does anyone has the smallest ideea how can i enter in the design time chain
of the Page object ?
Thank you,
Mihail