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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T00:21:12+00:00 2026-05-23T00:21:12+00:00

In my form I have a listview and a panel which is used as

  • 0

In my form I have a listview and a panel which is used as popup window inside a updatepanel.

I am dynamically creating popup window using modalpopupextender on listview ltemcommand.

here is my code to open the popup

protected void LstCreativeBin_ItemCommand(object sender, ListViewCommandEventArgs e)
    {
        switch (e.CommandName)
        {
            case "UploadFile":
                ListViewDataItem currentItem = (ListViewDataItem)e.Item;
                DataKey currentDataKey = LstCreativeBin.DataKeys[currentItem.DisplayIndex];
                int contestid = Convert.ToInt32(currentDataKey["participantSlno"]);
                IframeEdit.Attributes.Add("src", "Uploadfile.aspx?id=" + Convert.ToString(contestid));
                ModalPopupExtender1.Show();
                break;
        }
    }

My problem is the page is refreshing even if it’s inside the updatepanel. I have added the LstCreativeBin_ItemCommand to asynchronous trigger in update.

What is need here is :

  1. Opening the pop up asynchronously.
  2. Refreshing the update panel on popup close.
  • 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-23T00:21:13+00:00Added an answer on May 23, 2026 at 12:21 am

    how about opening the modalpopupextender without going to code-behind … if you open it with dynamic controls, you can point the modalpopupextender to TargetControlID a dummy like a hidden control, and you can add to each listview item a onclick to hidden_control.click() or just $find(modal).show()

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

Sidebar

Related Questions

What I have going on is a listview inside of my windows form. How
I'm coding in VS2008 using C#. On my form, I have a ListView control.
I have a few listview controls on a windows form and i've assigned a
In WinForms, I can design a form and have a TabValue to control which
I have subclassed Form to include some extra functionality, which boils down to a
I have a form in which people will be entering dollar values. Possible inputs:
I have a listView on my form. I want to add stuff to it
I have a ListView:TListview on my form ,and, I add many values(approximately 25k TListViewItem)
I have a ListView in a Windows Form that I bind a list of
I have a ListView control on my form set up like this in details

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.