User Control / Code-behind
Hello,
I create a User control (run by a codebehind file) in VS.NET.
If I look at the design of the ascx file, it shows up exactly as I want it to show up. (Basically some labels and textboxes in a table). The code-behind file is used to fill the textboxes with values retrieved from a SQL database.
I saved everything, and am trying to add the user control to a page.
It shows up as a gray thingy, almost like a button with the caption 'Usercontrol - myStatistics'.
How can I make sure the aspx page will properly recognise and load my control? (Even if it's just so I can test whether the control works on my webserver).
Thanks in advance.
Peter
__________________
http://entropia-online.blogspot.com/
|