473,385 Members | 1,218 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Custom Resource Provider and meta:ResourceKey

G'Day,

I'm in the process of developing a custom ResourceProvider 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:resourcekey="ResourcePage1" (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 2501

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

Similar topics

8
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...
0
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...
1
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...
1
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...
1
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
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...
0
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...
1
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
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.