Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: VS.NET and ASCX.CS.RESX Files


Message #1 by "Vijai Natarajan" <vijai@e...> on Fri, 29 Mar 2002 12:15:35 -0800
---
What am I trying to do?

create a WebUserControl1.ascx in a namespace of A.B.C

final outcome
                        WebUserControl1.ascx
                            WebUserControl1.ascx.cs
                            WebUserControl1.ascx.cs.resx

In  WebUserControl1.ascx.cs.resx file

I want to define the key value pair following the schema/dtd  of resx.file specifications.


and access the Value using Resource Manager in WebUserControl1.ascx.cs under Page_Load method.

Could you please verify and give me the right syntax of creating new Resource Manager. 

ex: 
ResourceManager.CreateFileBasedResourceManager

or new ResourceManager("A.B.C.WebUserControl1",.....)



Question:



1. Can I do this?

2. What Syntax should I use?

3. I searched the internet, there is not even any reference to the resx files of Web User Controls ( ascx.cs.resx)

So Please advice me how effectively I can use ascx.cs.resx file in my project.



Thanks,

Sincerely,

Vijai.












Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com

  Return to Index