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. JavaScript
  4. Invalid characters

Invalid characters

Scheduled Pinned Locked Moved JavaScript
helpcsharpjavamcptools
4 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.
  • T Offline
    T Offline
    Tauseef A
    wrote on last edited by
    #1

    Hi guys I am creating some radio buttons at run time and also declaring its java script checked function, and providing it the name parameter coming from my entity's name property , but problem is this name contains such characters which generates client side error while creating radio button and its event , I cannot correct the data as my client needs these characters in their names , is there any way to solve this problem ? regards, Tauseef A Khan MCP Dotnet framework 2.0.

    L 1 Reply Last reply
    0
    • T Tauseef A

      Hi guys I am creating some radio buttons at run time and also declaring its java script checked function, and providing it the name parameter coming from my entity's name property , but problem is this name contains such characters which generates client side error while creating radio button and its event , I cannot correct the data as my client needs these characters in their names , is there any way to solve this problem ? regards, Tauseef A Khan MCP Dotnet framework 2.0.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      What characters are those? Can you show some code? Why don't you strip those characters from the name? And why does your client dictate what names you should give to your UI elements? It is none of his business.

      T 1 Reply Last reply
      0
      • L Lost User

        What characters are those? Can you show some code? Why don't you strip those characters from the name? And why does your client dictate what names you should give to your UI elements? It is none of his business.

        T Offline
        T Offline
        Tauseef A
        wrote on last edited by
        #3

        no ,client does not dictate my control names,for examle i have a class { string id; string name; } so while creating radio button at run time to its radioncheck event i am passing name as parameter , so if name contains some invalid characters (which i cannot strip out) so java script fails to create radion button at run time. Tauseef A Khan MCP Dotnet framework 2.0.

        L 1 Reply Last reply
        0
        • T Tauseef A

          no ,client does not dictate my control names,for examle i have a class { string id; string name; } so while creating radio button at run time to its radioncheck event i am passing name as parameter , so if name contains some invalid characters (which i cannot strip out) so java script fails to create radion button at run time. Tauseef A Khan MCP Dotnet framework 2.0.

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Show your code.

          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