Results 1 to 5 of 5

Thread: Ajax tab does not work with aspx page with form tag in IE6

  1. #1
    Join Date
    Apr 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Ajax tab does not work with aspx page with form tag in IE6

    1) Script Title: Dynamic Ajax Content

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...axtabscontent/

    3) Describe problem:

    I have 2 aspx pages. One is the index.aspx and the other is the News.aspx. Both aspx pages contain own their form tag <form id="XXX" runat="server"> because both pages need to get a dataset from DB and then bind it to their own grid view...

    I try to put the ajax tab content in the index.aspx page and then have a tab to link to News.aspx...In fact, i found that it works fine in FireFox, but get a javascript error "unknown runtime error" in IE 6.0....

    I put some time to find the reason of that problem in IE6...finally i get a result is that the functions works fine in IE6 if there is no form tag in the news aspx page...

    So anyone can help me to sovle this problem so that my pages is also work fine in IE6...it takes me much of time before...thx

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    That probably means that the server generated code is invalid. It may look like HTML but it probably has some quirk or problem that IE has trouble dealing with once it is converted to a page request and then back into innerHTML. To solve this, try validating the generated HTML of the external aspx page. If it doesn't validate, make appropriate changes to it. To get a copy of its generated HTML, simply view it by itself in the browser and then use the browser's 'view source' to see the code that the server is serving. Copy and paste to a local page and run that through the w3c validator:

    http://validator.w3.org/
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default i have the same problem

    i have main aspx page which inherits from masterpage and the one which load in the tab is an aspx with button enclosed in form tag i got the same error , the error disappears when i remove the form tag from the loaded page
    it works fine in firefox

    plz any help will be appreciated

    thanks alot

    shaymaa

  4. #4
    Join Date
    May 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    i forgot to say that the html generated code is valid according to w3c
    so its not the problem

  5. #5
    Join Date
    May 2007
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I am also facing the same problem.Please suggest me some solution to fix this problem.Thanks in advance

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •