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 movie embeded of type="application/x-shockwave-flash" and it's not working. Am I doing something wrong? I copied the embeded code and replace the DIV in the ModalPopup example page and it's not working.
Autocompleteextender not working inside an user control tried all ways. i have a custom function.. inside the cs file itself like the following :-
I did something like this and it worked properly when it was in aspx but when i changed all this to ascx and when i added the user control in aspx the autocomplete is not working. say enablecontext = false; i have even tried that.. its not even reaching till that function. moreover i need contextkey to validate different autocomplete controls inside my page.
I am using a Calendar Extendar with in a user control and I am loading this user control on a aspx page dynamically. But after a post back event I am getting following error: calendar extendar may not register after post back.
i have used modalpopupextender in my project .. in that i have dropdownlist .problem is that when i want to select any item from the list by arrow keys the control goes from modalpopup to vertical scrollbar of the main screen and whole screen get scrolling when i use up and down arrow key...
i don't want it , i want when i use up and down arrow key the control should be on the modalpopup..
I am using a modal popup control which contains an UpdatePanel. There are one combo and few text boxes and Calendar control in it. When I select any item in combobox, then it's selection change event is fired and there iI set the values of other controls and finally I call update method of update panel. Functionality wise it works properly but it takes a time to update the panel.Here combobox contains around five thousands of items. But when it contains 100s of items it works good.
I have a flash on my page and I need to popup an ajax window, I use ModalPopupExtender. The problem is that ajax popup window always shows behind the flash in Internet explorer and Google Chrome. In firefox there are no such problem.
I have found a couple of good topics here in the forum and wanted to see any other extra ideas for this control that I am making and trying to implement. So here is the basic information:
The control is going to display a SQL output in a bunch of label controls. The information is going to be coming from a gridview control where the field is going to be hyperlinked.
So I am wanting to set the "TargetControlID" property to the .ascx page load event.
now what I have found is that I can simply run the Popup.show(); function in the .cs file at the end of the page load, but I still have to place a valid control within the TargetControlID property. As you know, the property cannot be "null" and if I put in the control ID for something that is not valid, then it won't work either. So the only thing I can think of is tying it back to the overall control itself. Then I can always change it on the fly if needed, but I think I would not have to since it would fire on the page_load event...
Not sure if this is making any sense... Just understand that have to make this control go across several web pages that are already fully developed. I am just adding this in as new functionality...
I have a page that has a few requirements1. A Gridview that is dynamically populated (and refreshed at a regular interval) with a button control that is conditionally displayed 2. The button control should show a ModalPopup of a Panel that serves as a form 3. This Panel form contains a textbox populated with a value from the gridview and another dropdown control I can get 2 of these 3 requirements via a couple of different approaches (like 1+2 work, but 3 fails or 2 +3 work but 1 fails).The code pasted below is the closest I have gotten, and is actually my preferred method, and I was wondering if anyone could tell me why the ModalPopupTextBox1 is not rendered when ModalPopup button is clicked.If I place the Gridview1 outside of UpdatePanel1 (refresh controlled by Timer1), the ModalPopup Panel works as expectedMarkup: GridUpdate.aspx
my problem is related with modalpopup control. i made a login control using it.
This works fine. Problem is this. When i click btniptal and then i refresh the page modal shows again. But When i click btngiris and then i refresh the page modal doesn't show. When clicking the btniptal button, the modalpopup should not show.If i make this codes in aspx page everything is ok. But i make this in usercontrol.
dear all, my requiredfieldvalidator is screwing up my ok button in my modalpopup and I dont know why. In otherwords, once I include my requiredfieldvalidator and the user clicks ok in the modalpopup, the ok doesnt get fired. see my code below.