G
Galore
Hello,
In winforms, we had the DesignMode property, to know when we're
developing code or executing the application. I wonder if is there
something similar in webforms.
I need to write a webcontrol, but when I'm in design mode, I wish the
webcontrol rendering only its name:
Protected Overrides Sub Render(ByVal output As
System.Web.UI.HtmlTextWriter)
output.Write(String.Empty)
End Sub
And when it is being executed, I wish the webcontrol does not send
String.Empty to the Write method.
Any clue?
Thanks a lot!
In winforms, we had the DesignMode property, to know when we're
developing code or executing the application. I wonder if is there
something similar in webforms.
I need to write a webcontrol, but when I'm in design mode, I wish the
webcontrol rendering only its name:
Protected Overrides Sub Render(ByVal output As
System.Web.UI.HtmlTextWriter)
output.Write(String.Empty)
End Sub
And when it is being executed, I wish the webcontrol does not send
String.Empty to the Write method.
Any clue?
Thanks a lot!