G
Guest
Hi,
I am having a trivial problem which is not that important but I would
like to know if I am missing something. I have created a user control. When I
drag the user control into one of the web forms, it should generate the
variable in the code -behind like Protected WithEvents uc1 as UserControl1.
But it is not generating that. So Everytime I drag the user control onto one
of the forms I need to manually add that variable. Am I missing something to
generate that code? Please let me know.
Thanks,
Sridhar.
I am having a trivial problem which is not that important but I would
like to know if I am missing something. I have created a user control. When I
drag the user control into one of the web forms, it should generate the
variable in the code -behind like Protected WithEvents uc1 as UserControl1.
But it is not generating that. So Everytime I drag the user control onto one
of the forms I need to manually add that variable. Am I missing something to
generate that code? Please let me know.
Thanks,
Sridhar.