I have a webpage that contains a ModalPopupExtender who's PopupControlID contains a panel wrapped in an update panel. The panel contains a RadioButtonList and I have subscribed to the SelectedIndexChanged event in which I am setting an OnClientClick event for a button also inside the panel and update panel. My problem is that when the postback fires the controls in the panel are still enabled, that is the user can click the button before it has had a chance to set the OnClientClick code. Other update panels on this page (unrelated to the ModalPopup) seem to disable to use of other controls while the postback is occurring. How can I make this work in my ModalPopupExtender?
I have a user control (ascx) vs 2010 that contains a modalpopup extender thats popup control is an asp:panel. In that Panel I have an update panel and a contenttemplate inside the upd panel. It is a pretty simple example of its use, in that I have list box allowing the users to create a new row in a table.
However, when I click targetcontrol, the background changes to the expended modal background, but instead of being able to use the listbox, everything in the content panel is the same as the background and none of the controls on the panel are enabled. In other words, the entire page is loaded dimgray, including the updatearea.
I have a panel at the top of my page which contains some cascading dropdown lists. Once the user selects from the lists, they will click a 'Search' asp.net button and a gridview will appear below showing the search results. What I want to do is use JQuery to toggle the visibility of the search panel. I tried using the Ajax collapsiblepanelextender but ran into all kinds of problems, because there are many updatepanels and ajax extension controls on this page. It sounds so simple, just hide or show, but I can't get it to work. When I click the button, the panel hides. When I click it again, the panel does not reappear. I have also tried having 2 buttons, 'hide' and 'show', and had the same results. right now here is my code:
I need to select my field data using a 3 step drownlist process (shown in the following screenshot):
But I can't find a way to get the Model SelectedValue and SelectedItem when Select is clicked. After it's selected it has to be filled in the Autofield on the background, and when close is pressed the original value has to be reloaded.
Iam facing a problem in ModalPopupExtender, i have made a usercontrol to show a popup frame and made popheader for dragging the header. but iam unable to find the panel id for PopupDragHandleControlID. can anyone tell me how to do. user control
I'm developing an ASP.NET application with C# and Visual Studio 2008 SP1. I'm using WebForms.
I have an ASPX page with two UpdatePanels, one on the left that holds a TreeView and other on the right where I load dynamically user controls.
On the left panel I also have buttons to load user controls on the right. I have a ModalPopupExtender in a button that show I div with radiobuttons to select a type. When I choose an option and click ok it do a postback to load dynamically a user control but instead of dissapear these modal panel it appers on the bottom left corner of the page.
What's happening? I think it is about dynamic load.
Listview and findcontrol ans show and hide my panel.
I would like to show a faq-area with many questions and answers. If the page was load, i will show only the questions. Now the user can click the button show, then my panel must be visible = true and the answer of the clicked question was shown.
For my modalpopupextender control, within the panel control, can I have the buttons to be dynamically display based on condition?For example, in the panel control I have 2 buttons "OK" and "Cancel". On certain conditions, I want to show only "Cancel" button.
I have a gridview that is loaded inside a panel that is displayed using a ModalPopUpExtender. I have added in code (a div statement) to allow the gridview to have scrollbars. Doing so causes any button click to close the ModalPopUpExtender instead of proceeding on with the button click event. If I remove the scrollbars it works just fine and proceeds on just as if the user clicked the button.
How can I use the scroll bars and have the system not close the ModalPopUpExtender?