When I drag and drop my custom control on to the webform, it displays as a little (resizable) square in design.
If I click the html tab to go to html view, then click the Design tab again, the control shows just fine (like a regular textbox).
Is there some event I am missing or a property that needs to be set?
The top is what is looks like when I place the control on the form.
The bottom is what it looks like when I go to html view and then back to design view...
http://vbforums.com/attachment.php?s=&postid=1669737
Any Ideas what is going on?Solution: I had to override the render event.
Like this
Protected Overrides Sub render(output As HtmlTextWriter)
EnsureChildControls()
MyBase.Render()
End Sub
Showing posts with label drag. Show all posts
Showing posts with label drag. Show all posts
Saturday, March 31, 2012
Subscribe to:
Posts (Atom)