Reusing usercontrol

Results 1 to 2 of 2

Thread: Reusing usercontrol

  1. #1
    Join Date
    Dec 1969

    Default Reusing usercontrol

    In one of my projects I have created a login usercontrol which is simply two text boxes for login name and password.<BR>The path of my usercontrol is Inetpub/wwwroor/myproject1/includes/LginControl.ascx<BR><BR>I have a second site where I have to use the same kind of login feature and instead of wrting again I jus want to reuse the already created usercontrol LoginCntrol.ascx <BR><BR>I was wondering how cn I reuse this??<BR>Any help would be greatly appreciated.<BR>Thanks!!<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Reusing usercontrol

    Hi,<BR><BR>Copy the LginControl.ascx file in ur directory of second site and use the register tag to add the use control in the web page.<BR><BR>I think this will help.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts