Custom Resource Provider and meta:ResourceKey

Discussion in 'ASP .Net' started by =?Utf-8?B?S3VydGlz?=, Jun 14, 2006.

  1. 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.
    =?Utf-8?B?S3VydGlz?=, Jun 14, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?T2xlT2o=?=

    Custom Resource provider factory

    =?Utf-8?B?T2xlT2o=?=, Jun 1, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    1,831
    =?Utf-8?B?T2xlT2o=?=
    Jun 1, 2005
  2. LM
    Replies:
    1
    Views:
    7,142
    =?Utf-8?B?RFdT?=
    Mar 1, 2006
  3. Nym Pseudo

    META NAME and META HTTP-EQUIV

    Nym Pseudo, Sep 26, 2003, in forum: HTML
    Replies:
    1
    Views:
    548
    =?iso-8859-1?Q?brucie?=
    Sep 26, 2003
  4. Emil Christopher Melar

    Making an attribute similar to meta:resourcekey

    Emil Christopher Melar, Feb 22, 2006, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    173
    Emil Christopher Melar
    Feb 22, 2006
  5. Duane Johnson

    Meta methods to govern meta data?

    Duane Johnson, Oct 25, 2005, in forum: Ruby
    Replies:
    6
    Views:
    236
    Adam Sanderson
    Oct 28, 2005
Loading...

Share This Page