Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Postbacks produce error after JQuery/AJAX requestPostbacks produce error after JQuery/AJAX request
Previous
 
Next
New Post
12/17/2009 8:19 AM
 

I am having a module with Ajax Control Toolkit TabControler. On the 1st tab I have the criteria for a search, on the 2nd some results in order for user to refine them. From there I am displaying the last results in the 3rd tab using JQuery with the following code:

    function getHotelAvl(htlID) {
        /*Retrieving the tab container control using new $get javascript function. */
        var tabContainer = $get($get('tabID').value);
        if (tabContainer != undefined && tabContainer != null) {
            $("#divHotelAvl").html("<img alt='Loading...' src='images/progressbar.gif'/>");
            tabContainer = tabContainer.control;
            tabContainer.set_activeTabIndex(2);
            searchHotelAvl(htlID);
        }
        return false;
    }
    function searchHotelAvl(htl) {
        $.ajaxSetup({
            global: false,
            type: "GET"
        });
        $.ajax({
            url: "showHotelAvl.aspx?htl=" + htl,
            cache: false,
            async: true,
            success: function(html) {
                $("#divHotelAvl").html(html);
            }
        })
    }

Everything works fine here, however every button/link on the page that causes postback (even the menu and the logout links), produces the error bellow. After clicking NO to debug js, I am redirected to the page JQuery requested (showHotelAvl.aspx) and not the page I am looking in order to handle the postback.

Line: 123580194
Error: Sys.ArgumentTypeException: Object of type 'dnn.controls._submitComponent' cannot be converted to type 'Sys.IDisposable'.
Parameter name: object

 
New Post
12/18/2009 8:56 AM
 

Today I tried to disable "Module Supports Partial Rendering", however I got the same behaviour...

 
New Post
12/29/2009 10:35 AM
 

Nobody knows anything about this? Nobody cares? Am I the only person who has this silly problem?

I think it is serious because I cannot use jquery/ajax functionality in DNN. So, either nobody uses it, or I am missing something here...

 
New Post
3/5/2010 6:41 AM
 

Hi there!

I've got the same problem!

Line: 103990517
Error: Sys.ArgumentTypeException: Object of type 'dnn.controls.DNNNodeEventArgs' cannot be converted to type 'Sys.CancelEventArgs'.
Parameter name: instance

I got this when i alert the HTML part

"asp.net ajax client-side framework failed to load"

 
New Post
3/5/2010 8:18 AM
 
I've got your SOLUTION! Probably the .aspx page your getting with jQuery still had the FORM tag in it. Remove it and the error is gone.
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Postbacks produce error after JQuery/AJAX requestPostbacks produce error after JQuery/AJAX request


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out