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. asp.net ValidatorCalloutExtender unhandled exception error

asp.net ValidatorCalloutExtender unhandled exception error

Scheduled Pinned Locked Moved ASP.NET
csharpjavascriptasp-netcomsysadmin
5 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
    murali_utr
    wrote on last edited by
    #1

    Unhandled exception at line 79, column 1 in http://localhost:49456/about\_us.aspx?\_TSM\_HiddenField\_=ToolkitScriptManager\_HiddenField&\_TSM\_CombinedScripts\_=;;AjaxControlToolkit,+Version=1.0.20229.20821,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c5c982cc-4942-4683-9b48-c2c58277700f:e2e86ef9:9ea3f0e2:9e8e87e9:1df13a87:4c9865be:ba594826:757f92c2

    0x800a139e - JavaScript runtime error: Sys.ArgumentNullException: Value cannot be null.

    above error occured for the following code

    <td style="text-align:left" class="content">
    <asp:TextBox ID="txtName" Width="225px" AutoPostBack ="true" runat="server"
    ValidationGroup="valEnquiry" CausesValidation="True" TabIndex="1"></asp:TextBox>
    <br />
    <asp:RequiredFieldValidator ID="RFName" runat="server" ValidationGroup="valEnquiry" ControlToValidate="txtName" ErrorMessage="Please Enter Your Name" ForeColor="Red"></asp:RequiredFieldValidator>
    <cc1:ValidatorCalloutExtender
    ID="val_reqDTT"
    runat="server"
    TargetControlID="RFName">
    </cc1:ValidatorCalloutExtender>
    </td>

    Have A Nice Day! Murali.M Blog

    L 1 Reply Last reply
    0
    • M murali_utr

      Unhandled exception at line 79, column 1 in http://localhost:49456/about\_us.aspx?\_TSM\_HiddenField\_=ToolkitScriptManager\_HiddenField&\_TSM\_CombinedScripts\_=;;AjaxControlToolkit,+Version=1.0.20229.20821,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en-US:c5c982cc-4942-4683-9b48-c2c58277700f:e2e86ef9:9ea3f0e2:9e8e87e9:1df13a87:4c9865be:ba594826:757f92c2

      0x800a139e - JavaScript runtime error: Sys.ArgumentNullException: Value cannot be null.

      above error occured for the following code

      <td style="text-align:left" class="content">
      <asp:TextBox ID="txtName" Width="225px" AutoPostBack ="true" runat="server"
      ValidationGroup="valEnquiry" CausesValidation="True" TabIndex="1"></asp:TextBox>
      <br />
      <asp:RequiredFieldValidator ID="RFName" runat="server" ValidationGroup="valEnquiry" ControlToValidate="txtName" ErrorMessage="Please Enter Your Name" ForeColor="Red"></asp:RequiredFieldValidator>
      <cc1:ValidatorCalloutExtender
      ID="val_reqDTT"
      runat="server"
      TargetControlID="RFName">
      </cc1:ValidatorCalloutExtender>
      </td>

      Have A Nice Day! Murali.M Blog

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

      The message is telling you where the error occurs, and what type of error it was. However we cannot guess what your Javascript code is trying to do.

      M 1 Reply Last reply
      0
      • L Lost User

        The message is telling you where the error occurs, and what type of error it was. However we cannot guess what your Javascript code is trying to do.

        M Offline
        M Offline
        murali_utr
        wrote on last edited by
        #3

        hi Richard thanks for your reply. But there is no javascript code in the pages.

        Have A Nice Day! Murali.M Blog

        L 1 Reply Last reply
        0
        • M murali_utr

          hi Richard thanks for your reply. But there is no javascript code in the pages.

          Have A Nice Day! Murali.M Blog

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

          Then it must be in the Ajax code. You need to use your debugger to find out what value is missing, presumably the name field.

          M 1 Reply Last reply
          0
          • L Lost User

            Then it must be in the Ajax code. You need to use your debugger to find out what value is missing, presumably the name field.

            M Offline
            M Offline
            murali_utr
            wrote on last edited by
            #5

            Thanks Richard. Thanks for your effort. Need to add the following tag in web.config file for .Net Framework 4.5

            <appSettings>
            <add key="ValidationSettings:UnobtrusiveValidationMode" value="None">
            </appSettings>

            Have A Nice Day! Murali.M Blog

            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