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 7718103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:04:57+00:00 2026-06-01T03:04:57+00:00

I have web forms page that has 2 controls. A gridview and an associated

  • 0

I have web forms page that has 2 controls. A gridview and an associated listview.

When i select the record in gridview the page posts back and i see the details of the gridline in listview which is located below the grid.

Now i want to transfer the listview to a jquery dialog control.

I have tried to find a solid way to do it but i am confused. the moment the dialog appears its closed , apparently because the postbaxk occurs in order for the detailsview to load..

Any suggestions?

Should i have to drop listview in a separate page and then call the page from the grid inside a jquery dialog? (how?)

Is there a way to call the listview and show it in a dialog box instead of showing it below the gris?

Thanks

Update1: Tried some things. Created a hidden field which i update based on the clicks from the controls. If the value of the field falls in a value that i define then i load the dialog on page_load , if not then it doesnt show. this works , but i am having problem with the edit/insert in the listview in the dialog…seems that it doesnt work…

  • 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-01T03:04:58+00:00Added an answer on June 1, 2026 at 3:04 am

    Since a postback is required after you load the details in the listview, you need to spit out javascript code during the postback that will put the listview into a jquery dialog.

    One way is this:

    <div id="dialogHolder"><!-- this is just a div enclosing the listview -->
        <asp:listview runat="server"...
    </div>
    

    Now, when you do the postback to populate the listview with the details, do this:

    private void populateListView()//
    {
         //code to populate listview above
         Page.ClientScript.RegisterStartupScript(this.GetType(),"dialogscript","$('#dialogHolder').dialog('open');",true);       
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a page in asp.net (web forms) that up until now only had
I am working on a web forms page which has a GridView which contains
I have an ASP.NET Web Forms web site. It has a page inside of
I currently have a web form aspx page that calls RegisterClientScriptBlock. This sends down
I have a web page with 3 forms on it. Not nested, just one
I have a web page where i have 2 forms when i click the
I have an ambitious requirement for an asp.net 2.0 web page that contains a
I have developed a web application (ASP.NET Web Forms). One of my customer has
I have a page that is based on a master page, the page has
Using web forms I know that you can only have one ASP.NET form on

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.