ajax 4.0 0x800a139e - JavaScript runtime error: Sys.ArgumentException: Value must not

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dbrewerton
    New Member
    • Nov 2009
    • 115

    ajax 4.0 0x800a139e - JavaScript runtime error: Sys.ArgumentException: Value must not

    I'm in the throws of trying to upgrade my AJAX from 3.5 to 4. A new issue I'm encountering is an error if my control visibility is set to hidden.

    ajax 4.0 0x800a139e - JavaScript runtime error: Sys.ArgumentExc eption: Value must not be null for Controls and Behaviors.

    Anyone know how to get around this problem? Code base is C#.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    since JavaScript AJAX does not have any version, this seems to be a C# issue (moving to C# forum).

    Comment

    • dbrewerton
      New Member
      • Nov 2009
      • 115

      #3
      It's the AJAX Control Toolkit version 4.

      Comment

      • Luk3r
        Contributor
        • Jan 2014
        • 300

        #4
        This may be a silly question, but have you by chance tried hiding the control programmaticall y after the form loads rather than setting the hidden property to True?

        Comment

        • dbrewerton
          New Member
          • Nov 2009
          • 115

          #5
          No but that sounds like a great idea. What would I need to do to make it happen in C#?

          Comment

          • Luk3r
            Contributor
            • Jan 2014
            • 300

            #6
            In your Form_Load event you can just try:
            Code:
            ControlName.Visisble = False;
            Also, what is the name of your control? I was reading that AJAX 3.5 and 4.0 have some trouble dealing with controls that contain strange characters.

            Comment

            Working...