468,110 Members | 1,573 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,110 developers. It's quick & easy.

user control to custom databound control

hey all,
i have a user control that has a user control in it. is it possible to turn
this whole thing into 1 custom databound control or would i need 1 custom
control per 1 user control? can you nest custom controls like you can user
control? is this ok to do?

thanks,
rodchar
Nov 21 '07 #1
2 1006
You can have what's called a composite control. If you search around, I've
seen some examples of how to easily convert UserControls into CustomControls.

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com

"rodchar" wrote:
hey all,
i have a user control that has a user control in it. is it possible to turn
this whole thing into 1 custom databound control or would i need 1 custom
control per 1 user control? can you nest custom controls like you can user
control? is this ok to do?

thanks,
rodchar
Nov 21 '07 #2
Thank you for the help.
rod.

"Peter Bromberg [C# MVP]" wrote:
You can have what's called a composite control. If you search around, I've
seen some examples of how to easily convert UserControls into CustomControls.

--Peter
"Inside every large program, there is a small program trying to get out."
http://www.eggheadcafe.com
http://petesbloggerama.blogspot.com
http://www.blogmetafinder.com

"rodchar" wrote:
hey all,
i have a user control that has a user control in it. is it possible to turn
this whole thing into 1 custom databound control or would i need 1 custom
control per 1 user control? can you nest custom controls like you can user
control? is this ok to do?

thanks,
rodchar
Dec 4 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Steve Gadlin | last post: by
2 posts views Thread by sck10 | last post: by
1 post views Thread by Solo | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.