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

  • Home
  • SEARCH
  • 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

Ask A Question

Stats

  • Questions 104k
  • Answers 104k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer The are a number of choices (most costing money): Team… May 11, 2026 at 8:38 pm
  • Editorial Team
    Editorial Team added an answer If you're dealing with a file, you could always try… May 11, 2026 at 8:38 pm
  • Editorial Team
    Editorial Team added an answer Not sure if this is what you are looking for.… May 11, 2026 at 8:38 pm

Related Questions

I feel like i am completely missing something because I am not able to
I am looking at globalizing an application that I have developed in asp.net mvc.
I need to be able to allow a user to enter Vietnamese text into
When I use the Visual Studio menu Tool -> Generate Local Resource, it changed

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.