When do we need User control and when should we use Custom control

Posted by Nav234 under Interview Questions on 9/28/2010 | Points: 10 | Views : 4028 | Status : [Member] | Replies : 2
Hi all ,

i just have a question .I know the difference in making of user control & custom control.

But When do we need User control and when should we use Custom control ?
How to decide.

Thanks in advance

S.Naveen...


Responses

Posted by: SheoNarayan on: 9/28/2010 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
You can have a look at the similar kind of thread at http://www.dotnetfunda.com/forums/thread1842-difference-between-user-controls-n-custom-controls.aspx that should help you understanding the different and when to use what?

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Nav234, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prasham on: 10/1/2010 [Member] Starter | Points: 25

Up
0
Down
One point to be decision is whether control will generic and used in multiple applications or it is application specific(and also contain the some UI). If control is generic and can be used in multiple applications then go for custom controls but if control is application specific and also contains the some layout then go for user control.

Thanks and Best Regards
Prasham

Nav234, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response