Hello Everyone,
I Have Created a Web User Control Which Should Be Registered in my Website For All Aspx Pages, I Know How To Register my User Control in aspx page, but The Thing is ,in My website i m having around 150+ aspx pages so i can register user control in all pages one by one but it takes lot of time for me is there any solution to register user control in all aspx pages at a time ?? if so how it is can anybody send sample code??
Thanks in Advance...
Manish Kumar ChoudharyPosted Dec 6, 2014, 4:51 AM
Go through these links u will get some help u to create the dll of ur user control.
http://msdn.microsoft.com/en-us/library/aa479318.aspx
http://stackoverflow.com/questions/4391212/generating-a-dll-of-a-web-usercontrol
http://www.codeproject.com/Articles/415109/How-to-Create-and-Use-a-User-Control-as-a-DLL
this may the other solution only as i think.
madhukeshwar murkibhaviPosted Dec 8, 2014, 5:12 AM
madhukeshwar murkibhaviPosted Dec 6, 2014, 4:35 AM
Actually That Website is Not having any Master page in it, i m working on this project very recently, and i dont know why they didnt used master page concept all pages are linked seperately sir so please tell me is there any other solution for this?
Manish Kumar ChoudharyPosted Dec 6, 2014, 3:49 AM
register it in Master Page.