.ASCX to DLL
-
Can anyone tell me how to convert a user control file (ASCX) into a usable DLL Control? Jon G www.Gizmocoder.com
-
Can anyone tell me how to convert a user control file (ASCX) into a usable DLL Control? Jon G www.Gizmocoder.com
Well, I do not know of any way to embed the ascx view portion of the control in a DLL. You can create a project and build the control into a DLL, but have no clue how you would use it from there (at least with the designer). If you really need it in a DLL, consider converting it to a WebControl. Then you can use the DLL in any project and add it to your VS.NET toolbar in the designer. For me, I just use move the files and have multiple copies. A bit of pain if update it though as you have to update all the differnet copies. I heard a rumor that this limitation is no more in ASP.NET 2.0, but I have yet to find the time to play with it and find out. Rocky <>< www.HintsAndTips.com - Now with GMail Queue www.MyQuickPoll.com - 2004 Election poll is #33