An example for creating a web custom control with full design view.

H

Houda Tahbaz

Hi,
I know I should use the ControlDesigner class if I want to implement design
mode behavior for a composition based control. However, do you know any
online examples which I could start with quickly?

Thanks,
Houda Tahbaz
 
S

Scott Mitchell [MVP]

Houda said:
I know I should use the ControlDesigner class if I want to implement design
mode behavior for a composition based control. However, do you know any
online examples which I could start with quickly?

Houda, check out this online sample chapter, titled "User Controls and
Custom Server Controls," from the book "ASP.NET in a Nutshell":
http://tinyurl.com/4b38c

This has an example of a complete custom server control, along with a
Designer and some explanation.

If you are after just code, you can download my open-source server
controls, skmMenu [http://skmMenu.com] and RssFeed
[http://scottonwriting.net/sowBlog/RssFeed.htm], both of which have
Designers whose code you can inspect and pick apart.

Happy Programming!

--

Scott Mitchell
(e-mail address removed)
http://www.4GuysFromRolla.com

* When you think ASP.NET, think 4GuysFromRolla.com!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top