AJAX :: Web User Control And Modalpopup Extender?

Dec 16, 2010

I am quite new to asp.net. I would like to ask for some advice on how this scenario can be achieved. Here is the problem:

I have a 5 gridviews on my page. In each gridview, I have two important columns. They are SellerID and BuyerID. Because I already have too many gridviews on the page, I want to load a webuser control with a modalPopupExtender when either SellerID or BuyerID is clicked. That is to say if a user select a SellerID, the details information about that SellerID should be loaded with DetailView from the user control and if the buyerID is click, the details information about that buyer should be loaded with another detailview
from the user control as well.

My problem is I do not know how to get the Selected Value from the gridView since the DetailView is in the WebUserControl. One more thing, both SellerID and BuyerID are in the same GridView, so how can we distinguish when a user select a SellerID or vice versa.

I have a modalpopup extender attached to a button. That is to say the button is the targetcontrol id of the modalpopupsxtender. I would still like the onclick event of that button to work because only the onclient click event is working. How can i go about this.

i have a page insert data to sql server. On the page there is a combobox and there is a button next to the combox box . when i click the button, open a modal popup extender, adds some data to database. I use gridview in the mpe. The problem is

i need some little help from expert.i bound a gridview using datatable but not record from database but datatable with viewstate.so one by by row i added in a gridview but not in database.i do like following...

i bound a empty query(like 1=2) in a gridview and in EmptyTemplate i have a button.when user click this button a Modalpopup display and user entry the modalpopup and when submit the button of modalpopup then one row is added in the gridview and it is working fine. below is code.

[Code]....

but problem is in EDIT time in same gridview.there is a Edit button and i need when user click on the edit button the same popup will display with this row's record and user modify some data there then when he click popup button then same row will be modify.below is my code Add as well as edit.when i debug then record is display in modal popup control but modal popup display with blank record.

I have developed a website in VS2008 express. I want to modalpopup extender that is displayed with the click of a button template field in a grid.when i do this ,i assign the id of button as TagetControlId of modalpopup,the error is that "The TargetControlID of 'ModalPopupExtender1' is not valid. A control with ID 'btnEdit(button id)' could not be found." try to assign targetcontrolid at run time by findcontrol method at page load/onrowbound event

i am using a datalist and in this i have a table when i am click on a button then popup display the table .but the position is fixed i want to change the position of popup dynamically as we have many button

I am trying to use ValidatorCalloutExtender in ModalpopUp but i am unable to show it on panel its shows behind my panel ..Is there any solution for this thing..??I am able to validate the textbox but want to show the message in ValidatorCalloutExtender

I have an AJAX PopupControlExtender nested within a modal popup. When the pop up control is shown, it is hiding behind the modal popup and have tried setting the z-index of the pop up control but it simply will not appear above the Modal popup.Please suggest me if there is any other way to make pop up extender appear on top of modal extender.

I have an iframe inside my main page. There is a modalpopup extender inside the iframe page. So when the modalpopup is shown, the parent of the modalpopup is the iframe body and the main page parent body. Thus the overlay only covers the iframe and not the entire page. So I want to open the modalpopup extender in the iframe's Parent window.

I am using the newest AJAX control toolkit. What I want to accomplish is I have a modal popup panel with cascading dropdown list and radio button inside. The issue is the postback. RadioButton and Cascading dropdown have postback so that will cause the modal panel disappear after the postback. I just want the panel disappear after I click the ok button on the panel and send the data into a field in a page. What I did was I placed the update panel inside the popup panel. If I did that, I would see the dropdown lists automatically refresh every time by accessing the webservice. If I placed the update panel outside, the dropdown would not be triggered. Even I set the trigger for the Update Panel, it will not see that way.

I have an issue with gridview and ascx's inside. Into the item template I'm dynamically loading ascx files depending on the row hiddenfield value. Ascx control is then "opened" in panel with modalpopup extender. The issue is ascx control with ceratin programming logic behind does not postback in this scenario.

i have used your code to export <div> to pdf & it works fine but when i am using a ajax controls in a <div> tag then it gives me error message i.e :-

Extender control 'CalendarExtender2' is not a registered extender control. Extender controls must be registered using RegisterExtenderControl() before calling RegisterScriptDescriptors().Parameter name: extenderControl