Aaron Skonnard
MSDN Magazine June 2004
View Complete Post
Hi,
I am using Validation application block in my project and want to set validation message from resource file, but not able to do that. I tried giving the path of resource file in messageTemplateResourceType and name of resource in messageTemplateResourceName. But it did not help as I only receive the message if I have set something in messageTemplate even after setting the resource file.
Here is my code:
<validator lowerBound="1" lowerBoundType="Inclusive" upperBound="250" upperBoundType="Inclusive" negated="false" messageTemplate="" messageTemplateResourceName="PerilTypeAndDetailsSection.VMEnterWhere" messageTemplateResourceType="Asurion.jCare.Common.Resources.UIResources.PerilTypeAndDetailsSection, Asurion.jCare.Common.Resources, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" tag="" type="Microsoft.Practices.EnterpriseLibrary.Validation.Validators.StringLengthValidator, Microsoft.Practices.Enterpris
hey guy, i need help in a very troubling matter. I want to make a textbox with a specific style, within this style a set of images as background parts, how can i attach these images to the custom control as whenever i take the .dll file and add it to the toolbar the images do not appear. So i tried to make them as resource files and their property as embedded in .resx file, so how to make the css style background image url to be linked to any of those image.
thanks in advance
Hello,
I have Resource file...
I am using following code for Display Lable Text...
<
and I want to use that name for page title...
so I used "me.page.resources.resource.NAME" in code behind page.
but I want to use that NAME in
<%
Steps I have followed are1.I have created myres.en-GB.resx file at C:.2.then created locale specific myres.en-GB.resources using resgen at c: only,resgen c:\myres.en-GB.resx 3.Linked the Resource File to Assembly using AL.exe which is giving me assembly at c: only.Al /t:lib /embed:myres.en-GB.resources /out:ClassLibrary1.dll4.I have created one web application using vs 2008 & then build it.5.Then placed both resource file & dll in web applications Bin\en-GB folder.6.Anf finally written code at page load like CultureInfo info = new CultureInfo("en-GB"); Thread.CurrentThread.CurrentCulture = info; Assembly asd = Assembly.Load("ClassLibrary1"); ResourceManager res = new ResourceManager("myres.en-GB", asd.GetSatelliteAssembly(info)); string sdf = res.GetString("Lab1");
but after running application I m getting following errorMissingManifestResourceException", "Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "Cla
Microsoft offers more than 1,900 public and 500 private newsgroups that cover all aspects of Microsoft products and technologies. An individual newsgroup might get up to 15,000 postings per month, with developers answering customer questions, asking about specific product features, and getting product feedback.
MSDN Magazine May 2004
MSDN Magazine March 2004
MSDN Magazine February 2004
MSDN Magazine November 2003
Developers who use the Microsoft virtual machine (VM) will need to transition away from its use by January 2004. To comply with a court settlement with Sun Microsystems, Microsoft will not be able to update the Microsoft VM, even to repair critical security vulnerabilities.
MSDN Magazine September 2003
Privacy issues are of primary concern to those involved in Internet commerce. Some consumers are hesitant to provide information to Web sites without clearly understanding how their data will be used and with whom it will be shared.
MSDN Magazine August 2003
When you're looking for information about a specific technology, don't you wish you could rely on one site to point you to the most pertinent content? Now you can. Based on feedback from software developers, MSDN Online has centralized all developer information on specific technologies so you don't have to hunt in several locations.
MSDN Magazine June 2003
If you have an application that handles Windows Media content and you need an effective way to track content usage, Windows Media 9 Series now offers Digital Rights Management (DRM). It allows you to take advantage of the peer-to-peer distribution model and still redirect users back to your app once they have downloaded your content (prior to viewing).
MSDN Magazine May 2003
It's a well-known axiom in the world of programming: build the samples and they will come. ASP. NET is well suited for building online storefronts and communities, but a lack of easy-to-use, standardized samples has sometimes slowed adoption.
MSDN Magazine April 2003
Development can have its frustrating moments. How many times have you been in the middle of a project and encountered a problem you just couldn't solve alone? In order to help you through this, Microsoft provides quite a wide variety of support options from Web-based chats and newsgroups to paid premier customer support.
MSDN Magazine February 2003
If you are looking for technical architectural guidance, check out Microsoft patterns & practices. This site offers design practice guidelines for specific software needs utilizing multiple Microsoft products within the .
MSDN Magazine January 2003
Microsoft has recently launched the . NET Architecture Center, a site devoted to business, software, and infrastructure architects who want to understand the Microsoft approach to enterprise software.
MSDN Magazine November 2002
WS-Security is a recently proposed specification from Microsoft, IBM, and VeriSign. It has been submitted to OASIS for industry standardization. WS-Security builds on the SOAP specification to provide you with a standard mechanism to exchange secure, signed messages in a Web Services environment.
MSDN Magazine October 2002
Hall of Fame Twitter Terms of Service Privacy Policy Contact Us Archives Tell A Friend