473,806 Members | 2,607 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Custom Resource Provider and meta:ResourceKe y

G'Day,

I'm in the process of developing a custom ResourceProvide r for an ASP.Net
web application written in C# 2.0, which uses SQL server as the data store.
I'm half way there! After setting the key for the resource provider in the
web.config to the custom provider, view a page in the VS ide in design mode,
choose tools/create resources for page, the custom resource provider is fired
up and the resources are stored in a SQL table.

After this, the aspx file is automatically modified to include
meta:resourceke y="ResourcePage 1" (or the appropriate key) in the tag for
every element which has resources associated with it. Problem is, this tag in
the @Page directive is causing the web application to not compile because of
errors. The actual error goes something like this; "CodeFile cannot be used
without inherits.." while both CodeFile and inherits are there!

Does anyone know what the actual problem might be?

Thanks in advance for any help.

Jun 14 '06 #1
0 2524

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
6081
by: Andreas Zita | last post by:
Hi Im creating my first 2.0 site and I cant find the Build Action property? I want to embedd an image-file in my site-assembly but I don't know how? In 1.1 I could set Build Action to Embedded Resource in the properties pane but this doesn't seem to be available any more??? /Andreas
0
1269
by: jonathan.eves | last post by:
Hi I am having a hard time with localization of the sitemap. I have created a custom SiteMapProvider which inherits from StaticSiteMapProvider. For which everything works fine. The next thing i did was to add a unique resource key to each the nodes and add these resource keys to my globalisation database. Running a SQL Trace shows that the call for the localized resource is never made. Here is the code that builds creates my nodes
1
6674
by: luciano.marchese | last post by:
I just want to get at runtime meta:resourcekey value. This is my code: <asp:Button ID="Button1" runat="server" meta:resourcekey="Button1Resource1" Text="Button" /> The problem is that it's not an attribute of the control. I'd like to know what is the value of meta:resourcekey. I mean, not the content of the resource, but the value of this attribute. In this case what I want to get as the result at runtime is "Button1Resource1" Any idea...
1
3627
by: schneider | last post by:
Is it possible to get access to the local resource (App_LocalResources) of an aspx page from within a user control located somewhere else? I have created a user control which I want to add to a page and read values from the page's local resource. But within the code of the user control, I can only access the local resource of the user control itself in its own App_LocalResources folder. Can someone help me please? Cheers, Hannes
1
7361
by: deerchao | last post by:
Is there any way I can get all resource keys with in a compiled and embedded resx file? Thanks!
0
2898
by: Rene Goris | last post by:
Hi all, I am trying to add meta:resourcekey's to database programmatically looping throug webcontrols, but i cann't read the 'meta:resourcekey' from the webcontrol. The 'meta:resourcekey' will not show up as attribute. How can i get the value of the 'meta:resourcekey' ? THE CODE: public string RetrieveControls(Control myControl){
0
2065
by: zeplynne | last post by:
Having a problem with ServerValidateEventArgs value when a Custom Validator is fired. The method that is executed is very simple. Evertime it is fired the value of ServerValidateEventArgs is always blank while debugging (the textbox does have a value in it). The code is from a web control that is inside another web control (aspx page that has control on it, and that control contains the control that doesn't validate). Both controls are...
1
3739
by: =?Utf-8?B?V29ua28gdGhlIFNhbmU=?= | last post by:
Hello, I have a custom control, and want to derive a second control from that control. public class CustomButton : Button { } public class SpecialCustomButton : CustomButton
1
2263
by: =?Utf-8?B?Tmljb2xhcw==?= | last post by:
Can't make the Login Control to work with Local resources <asp:Login ID="lgi_Controls" runat="server" meta:resourcekey="lgi_Controls" > </asp:Login> UserNameLabel.Text remain the same as well as all the other sub-control Any idea why and how to resolve this Thanks
0
10623
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10371
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9192
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6877
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5546
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5683
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4330
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3852
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3010
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.