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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. Javascript Problem in ASP.Net

Javascript Problem in ASP.Net

Scheduled Pinned Locked Moved ASP.NET
helpcsharpjavascriptasp-netsysadmin
4 Posts 4 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.
  • L Offline
    L Offline
    lav naphade
    wrote on last edited by
    #1

    Hi, Sir, 1)When pass javascript function in my server side custom control then he give me error 'Object Expected' but my function already exits in my javascript file. ? 2)When pass javascript function in my server side custom control then he give me error 'Undefied' but my textbox or control alrady already exits in my javascript file. ? Please send solution Thanks & Regards lav naphade

    lav naphade

    E A 2 Replies Last reply
    0
    • L lav naphade

      Hi, Sir, 1)When pass javascript function in my server side custom control then he give me error 'Object Expected' but my function already exits in my javascript file. ? 2)When pass javascript function in my server side custom control then he give me error 'Undefied' but my textbox or control alrady already exits in my javascript file. ? Please send solution Thanks & Regards lav naphade

      lav naphade

      E Offline
      E Offline
      eyeseetee
      wrote on last edited by
      #2

      can you post your code please

      1 Reply Last reply
      0
      • L lav naphade

        Hi, Sir, 1)When pass javascript function in my server side custom control then he give me error 'Object Expected' but my function already exits in my javascript file. ? 2)When pass javascript function in my server side custom control then he give me error 'Undefied' but my textbox or control alrady already exits in my javascript file. ? Please send solution Thanks & Regards lav naphade

        lav naphade

        A Offline
        A Offline
        Ashish Sehajpal
        wrote on last edited by
        #3

        have u just checked the HTML code(after execution) of the page where you've put that control? check that the names are same as the name used to get control by javascript.... if possible then provide code..

        Ashish Sehajpal

        S 1 Reply Last reply
        0
        • A Ashish Sehajpal

          have u just checked the HTML code(after execution) of the page where you've put that control? check that the names are same as the name used to get control by javascript.... if possible then provide code..

          Ashish Sehajpal

          S Offline
          S Offline
          Sankar Komma
          wrote on last edited by
          #4

          Make sure any syntax errors on your javascript function and double check the control client Id's in view source.

          smile :-)

          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