Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
ASP .Net
using .ascx file to create server control
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Karl Seguin, post: 452329"] Steve: You've pretty much summed up the limitation and advantages of both methods. My suggestion to those wishing to learn how to utilize custom server controls has always been to start slowly and build up on your knowledge. For example, I often say that it's important to start with simple custom server controls which inherit existing server controls (say a label you always want a colon appended to) and move forward. Yes, you should continue learning about them as they provide tremendous flexibility. There are plenty of online tutorials and examples as well to help you. I've also used [URL]http://www.amazon.com/exec/obidos/tg/detail/-/0735615829/103-0635232-3339822?v=glance[/URL] though I'm not sure I recommend it. In my opinion the book is extremely hard to follow and often makes custom server controls an even more complicated thing. Finally, an alternative to using Render is to use the CreateControl method which would let you add your table programatically. Table table = new HtmlTable(); .... however there are both downsides and upsides to this alternative... Cheers, Karl [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
ASP .Net
using .ascx file to create server control
Top