User Control to DLL
-
Hi, Can any body tell me how to convert the asp.net user control along with it's resource file ex localization and other class files that it is using and the ascx page to a single dll?? Help Appritiated. Do not forget to tune the Performance ;) Sudhir Yadav
-
Hi, Can any body tell me how to convert the asp.net user control along with it's resource file ex localization and other class files that it is using and the ascx page to a single dll?? Help Appritiated. Do not forget to tune the Performance ;) Sudhir Yadav
Sudhir Yadav wrote:
scx page to a single dll??
When you build the project which contains ASCX files, DLL will be created automatically. But to use this you need to supply the ASCX files and resource files. If you want all in a single assembly, go for Custom server controls.
-
Sudhir Yadav wrote:
scx page to a single dll??
When you build the project which contains ASCX files, DLL will be created automatically. But to use this you need to supply the ASCX files and resource files. If you want all in a single assembly, go for Custom server controls.
Thanks Navneet But i thought that there be any other solution other then custom control. Actually i was trying to avoid lengthy code to write composite controls. If there i anything else that you know please tell.
Do not forget to tune the Performance :-) Sudhir Yadav
-
Thanks Navneet But i thought that there be any other solution other then custom control. Actually i was trying to avoid lengthy code to write composite controls. If there i anything else that you know please tell.
Do not forget to tune the Performance :-) Sudhir Yadav
hello !! I have a project with me .. A namespace has 6 ".cs" files and I want to create a dll for that namespace and add to the project :- I am already having dll added but i have updated one of the .cs file now when I build the project and when i look into the dll , it does not shows any newly created dll .. why is it so . how can add a updated dll . plz hlp me out
Mrinal
-
hello !! I have a project with me .. A namespace has 6 ".cs" files and I want to create a dll for that namespace and add to the project :- I am already having dll added but i have updated one of the .cs file now when I build the project and when i look into the dll , it does not shows any newly created dll .. why is it so . how can add a updated dll . plz hlp me out
Mrinal
Dll will be created by the name of Application i think is it wen application or class library check the details it will override the existing one with same name so check the detials of that dll
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
Thanks Navneet But i thought that there be any other solution other then custom control. Actually i was trying to avoid lengthy code to write composite controls. If there i anything else that you know please tell.
Do not forget to tune the Performance :-) Sudhir Yadav
I don't find any other alternative. That's the way how ASCX files works. It's a replacement for include files in classical ASP. It needs the ASCX files to be present in the requested path. In ASP.NET 2.0 comes with WebResource concept, which allows you to embed the resources and access it with a temporary URL. I don't how much this is helpful in ASCX files. i successfully implemented that in Custom Server controls
-
I don't find any other alternative. That's the way how ASCX files works. It's a replacement for include files in classical ASP. It needs the ASCX files to be present in the requested path. In ASP.NET 2.0 comes with WebResource concept, which allows you to embed the resources and access it with a temporary URL. I don't how much this is helpful in ASCX files. i successfully implemented that in Custom Server controls
Ok, thanks Navneeth, Mean while i am trying the WebResource method of yours. Let's see what happens. I'v never done that before, so if i am having any trouble. I will bother you again bro. Bi 4 now
Do not forget to tune the Performance :-) Sudhir Yadav
-
Hi, Can any body tell me how to convert the asp.net user control along with it's resource file ex localization and other class files that it is using and the ascx page to a single dll?? Help Appritiated. Do not forget to tune the Performance ;) Sudhir Yadav
-
Hi JON, Thanks for your concern. Yes, i have already tried that method of using the user control. Creating the UC to DLL using web setup but when i reference that dll into different project it gives compile time error that dll not found for the one which i had added manually in the aspx file. If you have something to say, you are welcome. Also, i wanted to add the language resourse and other file into that dll so that it's a single unit all together. Is that possible?
Do not forget to tune the Performance :-) Sudhir Yadav