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. Validators gives error on remote server

Validators gives error on remote server

Scheduled Pinned Locked Moved ASP.NET
asp-netcsharpsysadminregexhelp
3 Posts 3 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.
  • N Offline
    N Offline
    needhi_p
    wrote on last edited by
    #1

    Hi.. I am making a website using asp.net 2.0. I am using validators like required field validator & regular expression validator. Everything works fine on my local pc. But when i upload it on remote server, validators works fine but gives error "event is null or not an object" when i click on any linkbutton, on all pages where i have used validators with gridview. I tried removing validators & in dat case everything wrks fine. I also tried uploading folder aspnet_client/system_web/2_0_50727 on remote server. But still it gives same error. Can someone give me some solution. Its very urgent please....

    U A 2 Replies Last reply
    0
    • N needhi_p

      Hi.. I am making a website using asp.net 2.0. I am using validators like required field validator & regular expression validator. Everything works fine on my local pc. But when i upload it on remote server, validators works fine but gives error "event is null or not an object" when i click on any linkbutton, on all pages where i have used validators with gridview. I tried removing validators & in dat case everything wrks fine. I also tried uploading folder aspnet_client/system_web/2_0_50727 on remote server. But still it gives same error. Can someone give me some solution. Its very urgent please....

      U Offline
      U Offline
      Unknown Ajanabi
      wrote on last edited by
      #2

      requiredfieldvalidator and regular expression validator which are related with those texbox u make grouping with same name <asp:TextBox runat=server ID=ksearch ValidationGroup=ks CssClass=”txt”></asp:TextBox> <asp:ImageButton ID=”ImageButton1? ValidationGroup=ks Width=38 Height=24 ImageUrl=”images/gobutton.gif” OnClick=”go” runat=server/> <asp:CustomValidator ID=”cu” ValidationGroup=ks runat=server ControlToValidate=ksearch ValidateEmptyText=true ClientValidationFunction=”check” > which are grouped by using ValidationGroup=ks

      no knowledge in .net

      1 Reply Last reply
      0
      • N needhi_p

        Hi.. I am making a website using asp.net 2.0. I am using validators like required field validator & regular expression validator. Everything works fine on my local pc. But when i upload it on remote server, validators works fine but gives error "event is null or not an object" when i click on any linkbutton, on all pages where i have used validators with gridview. I tried removing validators & in dat case everything wrks fine. I also tried uploading folder aspnet_client/system_web/2_0_50727 on remote server. But still it gives same error. Can someone give me some solution. Its very urgent please....

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

        u r using ajaxenabled website ? if yes then try tagmapping....

        Ashish Sehajpal

        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