(Boah)
12/31/2002 4:34:00 PM
Hello,
I have a *.ascx file, a *.ascx.cs code behind file and a *.ascx.resx
resource file.
Now I have put some javascript code inside the *.ascx.resx file.
How can I read that information?
This is what I have now:
ResourceManager manager = new
ResourceManager("ProjectName.Directoryname.filenameWithoutExtention",
Assembly.GetExecutingAssembly());
This also don't works:
ResourceManager manager = new
ResourceManager("ProjectName.Directoryname.filenameWithoutExtention",
typeof(filenameWithoutExtention).Module.Assembly);
This generates an error with the reason that it cannot find the file.
What am I doing wrong?
Is this a good place to save a javascript script?
Thanks for you help and advice!