Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 99707
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:26:21+00:00 2026-05-11T00:26:21+00:00

When I localize an asp.net page that is using bound controls (DetailsView, etc) that

  • 0

When I localize an asp.net page that is using bound controls (DetailsView, etc) that has TemplateFields bound using the <%# Bind() #> syntax, after the localization all of the bindings are removed and I have to go back in & rebind everything. I’m creating the localized resource file by switching to design view, then Tools / Generate Local Resource from the menu.

Has anyone else seen this problem, and if so, do you have any suggestions for a workaround?

Before:

<asp:TemplateField HeaderText='First Name:'>     <InsertItemTemplate>         <uc:FirstNameTextBox runat='server' ID='FirstName' ValidationGroup='Main' Text='<%# Bind('FirstName') %>' />     </InsertItemTemplate> </asp:TemplateField> 

After:

<asp:TemplateField HeaderText='First Name:' meta:resourcekey='TemplateFieldResource1'>     <InsertItemTemplate>         <uc:FirstNameTextBox runat='server' ID='FirstName' ValidationGroup='Main' />     </InsertItemTemplate> </asp:TemplateField> 

Edit: Looks like its just my own UserControls that lose the binding. I tried adding the Bindable and Localizable(false) attributes to the properties, but that didn’t seem to help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T00:26:22+00:00Added an answer on May 11, 2026 at 12:26 am

    Just found this… http://blog.smart-ms.ordina.nl/Generate+Local+Resource+Files.aspx

    Seems to do the trick without mangling your ASPX file at all… I’ve not run it over a master page / user control yet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My ASP.NET page has some html: Default.aspx : <h2><asp:Localize meta:resourcekey=lblTitle Text=Welcome to so runat=server></h2>
Trying to localize text in ASP.NET labels... want to add a ':' after the
I've inherited a web application written in ASP.NET that has an incomplete implementation of
I am trying to localize standart ASP.NET login control. When I change page culture
I have to build a registration form using asp.net mvc 3 jquery validate. That
How do you localize ASP.NET + javascript + Silverlight? I would like to be
I am just beginning to localize an ASP.NET MVC application. Most of the strings
What would be best practice to localize your ASP.NET MVC application? I would like
I've almost finished localizing a major website in ASP.NET. I'm using the CurrentUICulture to
How can I localize/internationalize attribute values in .NET? My specific example is for ASP.NET

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.