AJAX :: Modal Pop Up Extender Doesn't Pop Up With Details View?
Jun 7, 2010
I have the following code that I'm trying to get to work in a project. I've stepped into all of it and it executes in the correct order. The correct methods are called. The values that are passes are what they should be. I can't figure out why the modul pop extender doesn't open up with the details view in it though.
I have virtually the same code in another project and it works fine. I've compared the two but can't find the problem with it in this project.
I'm thinking of using a modal pop up control that would have a details view in it. I currently have a details view that uses CSS Friendly control adapters with the CssSelectorClass attribute. Can I use the CSS friendly CssSelectorClass property with a details view in the modal pop up and style it as I'm currently doing with my Details View?
I am using the ajax popup for inserting some details. When you click on a Save button on the web page, a window pops up (ajax Modal popup) and once you enter the fields in the popup and click submit button in the popup, all the fields in the webpage and the popup window should be inserted into a sql table. I wrote a sql stored stored procedure for this. This is the way i did but the details are not being inserted into the SQL table.
I am trying to use the modal pop up extender. I found this source, through a tutorial:
The problem is that nothing seems to happen. This should make Panel1 into a modal box and display it. Instead, it just reloads the page, displaying nothing. I'm working in visual studio 2010. My project is an asp.net project, using .net 4.0. The AjaxControlToolkit.dll is V 3.5.40412.2. I have no code behind the code. I did add a reference to AjaxControlToolkit in my project.
I am new to Ajax and want to find out if what i am about to do is correct. I want to create an aspx page that has two buttons.
One button called GetData, to connect tothe database and get table information into a grid view the other button called Create new row, that open an input form in a modal extender to add new row into a table
My question, is that do I use the same input form for add and edit functionality or I create two forms one for Add and another for edit.
The next question, how can i call the edit input form from a grid view.
The Top is IE and the bottom is FireFox. Firfox is showing correctly. In IE, however, the grey background start directly on the left edge of the page and not across the window span, and the modal target stays below the grey background.
I try to accomplish the following: When I click on a LoginStatus to log out, I want a modal popup extender to popup ONLY when some condition is true.The mpue has a targetcontrolId that refers to the LoginStatus-control, a PopupControlId that refers to a asp:panel-control.So far I accomplished only two situations:
I am using modal popup extender to display a user control which has AjaxToolKit- calender extender. When i click on it, it is shown in the background and i cant click or select a date.. i couldnot get it to work..