Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Changing Resource files programmatically in ASP.Net 4.5

Changing Resource files programmatically in ASP.Net 4.5

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nethelpquestionlearning
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    meeram39
    wrote on last edited by
    #1

    I know that I can retrieve the values in resx files programmaticaly. But, Is there a way to modify the values of existing resx key's? For eg: there is an entry already in the resx file as below: Key: UsernameReqdValidation Value: User Name is required. I want to change this value to 'UserName is mandatory'. Can this can be changed by the user on run time? I googled for a while, but couldn't find any useful stuff. Please help.

    A 1 Reply Last reply
    0
    • M meeram39

      I know that I can retrieve the values in resx files programmaticaly. But, Is there a way to modify the values of existing resx key's? For eg: there is an entry already in the resx file as below: Key: UsernameReqdValidation Value: User Name is required. I want to change this value to 'UserName is mandatory'. Can this can be changed by the user on run time? I googled for a while, but couldn't find any useful stuff. Please help.

      A Offline
      A Offline
      Afzaal Ahmad Zeeshan
      wrote on last edited by
      #2

      You might find these following links a bit interesting for yourself. :) http://msdn.microsoft.com/en-us/library/gg418542%28v=vs.110%29.aspx[^] Working with Resource Files in ASP.NET Programatically[^]

      The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups