Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 596241
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T16:09:03+00:00 2026-05-13T16:09:03+00:00

I need to load aspx page into jQuery UI’s modal dialog window. I used

  • 0

I need to load aspx page into jQuery UI’s modal dialog window.
I used following approach: load page content via ajax call into dialog’s div and show it:

$.get('Page.aspx', function(response){
    $('#dialog').html(response);
    $("#dialog").dialog('open');
});

but I’ve got very strange error (IE8) in line 137215738 (!): ‘theForm.elements.length’ – is null or not an object. JS debbuger says that source code is not available for such location. I have an assumption that this error happens because of multiple ‘form’ tags that appears on page after ajax call

I wonder, how can i fix this? Or maybe some other way of showing aspx page in modal dialog?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T16:09:03+00:00Added an answer on May 13, 2026 at 4:09 pm

    You cannot fully embed one ASPX page’s content within another for a couple of reasons:

    1. You would be nesting <html> tags in a non-sensical way.
    2. You are polluting one page’s javascript state with the other’s.

    You need to render Page.aspx as a partail view, rather than including the entire payload of an ASPX page.

    I’m not 100% sure if you can do this in plain-old-asp.net without calling the Render function of individual controls, using the Response stream as the target.

    In ASP.NET-MVC, however, you can use a PartialView result.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've never used InkCanvas control before. What I need is to load up a
I need to load an image into my program. I want to allow the
I need load image from assets I can read text file but i can
I need to load an XmlDocument from a URL. This has been working but
I need an example of creating t-sql query to load next 10 records (depends
I need to create a web app which will consume RSS feed. Do I
Hi I've got several XSLT 2.0 files. I need to transform these with C#..
I have already added delay loading to my project, using the instructions in http://msdn.microsoft.com/en-us/library/151kt790.aspx
I have implemented an Ajax request on my website, and I am calling the
Similar question to, Does it make sense to have multiple tomcat instances on the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.