A
Alessandro Zifiglio
hi, I'm trying to display the content within my "templated databound custom
controls" templates at design time, in the vs.net designer. I'm able to get
the cotents of my template using the GetTextFromTemplate() method. This
returns all controls within my template as a string, for example if i had a
label control in there it would return : "<asp:label id="label1"
runat=server></asp:label>"
However in my GetDesignTimeHtml function within my designer class which i
use when i need an appropriate display of my custom control in the vs.net
designer, i'm unable to view the label control. Its like its not even there.
I'm able to pass html and display html. How does the vs.net designer view
controls. How do i display the contents of my template in the vs.net
designer. I'm running out of ideas.
I'd appreciate any help.
Alessandro Zifiglio
controls" templates at design time, in the vs.net designer. I'm able to get
the cotents of my template using the GetTextFromTemplate() method. This
returns all controls within my template as a string, for example if i had a
label control in there it would return : "<asp:label id="label1"
runat=server></asp:label>"
However in my GetDesignTimeHtml function within my designer class which i
use when i need an appropriate display of my custom control in the vs.net
designer, i'm unable to view the label control. Its like its not even there.
I'm able to pass html and display html. How does the vs.net designer view
controls. How do i display the contents of my template in the vs.net
designer. I'm running out of ideas.
I'd appreciate any help.
Alessandro Zifiglio