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

  • SEARCH
  • Home
  • 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 9314441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T02:08:04+00:00 2026-06-19T02:08:04+00:00

I have a page called EditProject.aspx?id=xxx I would like to invoke it wherever I

  • 0

I have a page called

EditProject.aspx?id=xxx

I would like to invoke it wherever I want in a modal dialog. The modal dialog is simple with bootstrap.

I would just like to know if there is a control to invoke the page somehow in a div or modal dialog.

I know about IFrame, but is there a nicer more modern way with asp .net?

Thanks

  • 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-06-19T02:08:05+00:00Added an answer on June 19, 2026 at 2:08 am

    You’d be better off moving EditProject.aspx to a user control, EditPorject.ascx.

    Userconrols work much the same as aspx pages, supporting the same events, but you can embed them within ASPX pages like so:

    <div id="edit-project-popup">
        <namespace:EditProject ID="editProject" runat="server" />
    </div>
    

    You can still access the query string parameters from the usercontrol. You can also pass values to the usercontrol by adding a property:

        public partial class EditProject : UserControl
        {
            public int ID
            {
                get;
                set;
            }
    
            protected void Page_Load(object sender, EventArgs e)
            {
               // Your Code   
            }
        }
    

    You can then set this property in the ASPX pages markup:

    <uc:EditProject ID="editProject" runat="server" ID="xxx" />
    

    or in the ASPX pages code behind:

    editProject.ID = "xxx";
    

    Hope this helps.

    For more information on user controls see this overview on MSDN:
    http://msdn.microsoft.com/en-us/library/fb3w5b53(v=vs.100).aspx

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

Sidebar

Related Questions

I have a page called test.aspx with test.cs. However, i want to access my
I have a page called send.email.php which sends an email - pretty simple stuff
I have a page called send.email.php which sends an email - pretty simple stuff
I have a page called profile.aspx that you can access through a meny, when
I have a page called Wesleys Shop and I want to add a tab
Suppose I have a page called view.php, if I give an argument like view.php?q=fruit,
I have an odd problem. I have a page called search.aspx. When the search
I want my WordPress blog to have a page called music. On that page
I have a page called test.aspx and in that page, I have the following
So I have html page called A.html it was called like this from B.html

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.