AJAX :: Filtering Data While A Popup Window Is Opened?
Mar 26, 2010
I have a parameter page in asp.net consisting of many parameters. I am using ajax and filtering the values of the parameters based on the hierarchy. For example, only those branchs appear of a department if a single department is selectd on the listbox.
I also have a link button on my parameter screen which opens a popup window with a listbox in it. On the popup window, i select some listitems which i pass through the session into parent page when the popup window is closed. Till now, my popup window gets all the values from the data source to fill the listbox.
What i want now is to show only the filtered values on the popup window based on the selections made on the parent pages' parameters.
View 5 Replies
Similar Messages:
Apr 28, 2010
I am trying to open a popup window from main window using window.open() method. How to get back the value from the called popup window to the calling window in vb.net, basically i need to get back the value and populate in the text box available in the main window.
View 3 Replies
Nov 26, 2010
how to freez parent window when opened pop up window!
View 3 Replies
Feb 9, 2010
In my login page, after login, open default.aspx page with criptManager.RegisterStartupScript(this.Page, this.GetType(), "_opener", "window.open('Default.aspx');", true); but in default.aspx. on button click event ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "_opener", "window.open('Default2.aspx');", true); not running. How to run window.open from my file which is opened with ScriptManager.RegisterStartupScript(this.Page, this.GetType(), "_opener", "window.open('Default.aspx');", true);
View 2 Replies
Apr 18, 2012
I am using multiple ajax modal pup-ups. When i click on one of the pop-up, the background should be in freeze mode. so, that the users cannot click on the other pop-ups untill the opened pop-up should be closed.
View 1 Replies
Dec 3, 2010
I have the following HTML
<tr>
<td class="label" valign="top">
Affiliate Party
</td>
<td class="field">
<input type="hidden" name="ctl00$MainContent$ExternalAccountAttributes$AffiliatePartyId" id="AffiliatePartyId" />
<input name="ctl00$MainContent$ExternalAccountAttributes$AffiliatePartyName" type="text" id="AffiliatePartyName" class="PartyLookup" />
</td>
</tr>
and the following Javascript/jQuery
$(".PartyLookup").after("<img src='Images/book_open.png' class='PartyLookupToggle' style='padding-left:4px;' />");
$(".PartyLookupToggle").click(function () {
window.open("PartySearch.aspx", "PartySearch", "width=400,height=50");
return false;
});
I need to be able to flag ANY PartyId input field with class="PartyLookup" so that it will modify the DOM and include the image next to the input field. The popup window returns data to populate both the hidden and text fields, but since the click() is generic I need to pass it the ID of the input field.
View 2 Replies
Jul 16, 2013
I want to display a pop up window when i click on update button of gridview after editing. How this will be implemented.
View 1 Replies
Apr 11, 2010
I have a details view that appears when record is selected in a GridView. Can this details view be opened in it's own modal window that would allow me to use the full event model?
View 3 Replies
Jun 30, 2010
when i click on link, a window opened with datetime picker, i want to select the date and display into one textbox using java script.
View 2 Replies
May 12, 2010
i want to open new window while clicking on the linkbtn how can i do this
View 3 Replies
May 27, 2010
I'm working on a asp.net website developed a few years ago by other developers. They've used a poup-up window which they open from the main window. I want to get rid of this popup window and replace it by a floating div instead.
Ideally I want to re-use all the code of the popup window, put it in a asp.net user control, and place the user control in a div.
My question is, what is the best way to do it ? Should I add a hidden div with the user control on every pages from which the popup used to be call ?
Or is there a way to create the floating div on the fly whenever the user clicks on some trigger (a button or a linkbutton) ?
View 6 Replies
Jun 4, 2010
I have Page1 having Button1.
Page2 having Button 2 and an ascx control UC1. UC1 has a Button 3. Page2 is a modal dialog ( window.showModalDialog )
on Click of Button1 open Page2(modal dialog).
Page2 has UC1. UC1 has a button B3. On click of B3,instead of directly going to B3_click event, another post back happens. Thereafter opens login.aspx in another browser ( It is losing Session containing UserDetails as well as other session details).
now even If I continue entering Username and password, page2 reloads again in the new browser.
I am totally lost.
1) I do not know why UC1 button click makes another postback and thereafter opens up into another page losing all the sessions!!
I want to retain teh sessions till i go back to page1.
View 6 Replies
Sep 21, 2010
[Code]....
& my grid view html code id
i need popup window form here to
[Code]....
[Code]....
View 2 Replies
Feb 3, 2011
[Code]....
Modalpopupextender not displaying the popup window
View 7 Replies
Feb 14, 2011
I am opening popup window from main window. Now I want to do submit the parent window using window.opener.document.forms[0].submit() . But my parent window reloading again.
Shall we able to partial post back from child window using ajax control?
View 1 Replies
Feb 21, 2011
iam displaying progress image like 'processing' using ajax progress.....i dont want to touch the controls which are in page...it has to display like model popup...
View 9 Replies
Aug 11, 2010
I wish to do a modal popup window. I am new to AjaxControlToolkit. provide tutorial links explaining the necessary things to do this in a step by step manner.
View 2 Replies
Jun 9, 2010
I'm trying to use the modal popup window extender to display a 'loading' icon when the user uploads a file. I'm using the following:
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(beginReq);
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(endReq);
function beginReq(sender, args)
{
// shows the Popup
$find(ModalProgress).show();
}
function endReq(sender, args)
{
// shows the Popup
$find(ModalProgress).hide();
}
//END --
// on the .aspx page
<script type="text/javascript" language="javascript" >
var ModalProgress = '<%= modalProgress.ClientID %>';
</script>
<asp:Panel
ID="pnlModal"
CssClass="modalPopup"
Style="display: none"
Width="233px"
runat="server" >
<img alt="Loading Icon" src="../images/redLoading.gif" />
The file is being uploaded, depending on the number of records this may take up to a minute.
</asp:Panel>
which I found on Berseth's site but I cannot get it to work. 'Null' error when it's trying to pop the window. Does anyone out here have another way to do this.
View 5 Replies
Mar 29, 2011
I have a modal popup extender in my page. I use the master page, because of some layout reasons
we commented default Doctype in masterpage. (
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL]"
)
project is developed using VS2008, .NET3.5 .
I sepcified X="10" and Y="120" for modalpopup this works fine. but the problem is when the user scroll down the page he wont be able to see the modalpopup ( it always shows in the corresponding X,Y position). If i remove X,Y values horizontally it showing fine but vertically we are able to see only half of the popup window. how can we always show the popup window in the middle of the screen(eventhough user scrolls the page). I am using latest ajaxcontroltoolkit (3.5).
View 3 Replies
Dec 9, 2010
Is it possible to use buttons in a modal popup window and not have the window close after the postback?
View 2 Replies
Jun 23, 2010
I am exporting a datatable to an excel sheet. When the ExportToExcel event is fire it pops up a "file download dialog" asking if I want to open or save. What I want to do is right after user clicks on open, or save I would like to show a modal popup saying "Do you want to finalize this download?".
Here is some code, it all works except it won't show modal popup after exporting to excel. Why won't mpeFinalizeDownload.Show() run unless I comment out the line above it?
[Code]....
View 3 Replies
May 14, 2010
I am using modal popup extender in my web page, it is working fine, but when the page contents are expanded, modal popup displays with no background color. Here is more info -
The web page contains bunch of update panels that have reports in iFrame controls inside it. On click of save, I display modal popup with confirmation message. Initially, all panels are collapsed, modal popup is displayed properly with the gray background color. When i expand all the panels, page gets really huge and modal popup displays no background color (transparant). Below are the styles I am using -
.modalPopupBackground
{
background-color: Gray;
filter: alpha(opacity=50);
opacity: 0.50;
}
.modalPopup
{
background-color: white;
border-width: 3px;
border-style: solid;
border-color: #165EA9;
padding: 3px;
width: 600px;
height: 150px;
}
Here is the modal popup code -
<asp:Button ID="btnHiddenTarget" runat="server" Style="display: none" Text="HiddenTargetControlForModal" />
<ajaxToolkit:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btnHiddenTarget"
BackgroundCssClass="modalPopupBackground" PopupControlID="ModalPanel1" OkControlID="btnModalYes"
DropShadow="true" PopupDragHandleControlID="ModalPanel3" />
<asp:Panel ID="ModalPanel1" runat="server" Style="display: none;" CssClass="modalPopup">
<asp:UpdatePanel runat="server" ID="updPopupMsg">
<ContentTemplate>
<asp:Panel ID="ModalPanel3" runat="server" Style="cursor: move; background-color: #DDDDDD;
border: solid 1px Gray; color: Black; height: 20px">
<div>
<p style="text-align: center;">
<asp:Label runat="server" ID="lblInfoPopupHeader" Font-Bold="true"></asp:Label></p>
</div>
</asp:Panel>
<asp:Panel runat="server" ID="pnlPopupMsg" Style="text-align: left; vertical-align: middle;
overflow: auto; height: 100px">
<p>
<asp:Label runat="server" ID="lblInfoPopup" Font-Bold="true"></asp:Label></p>
</asp:Panel>
</ContentTemplate>
</asp:UpdatePanel>
<p style="text-align: center; vertical-align: bottom; height: 20px">
<asp:Button ID="btnModalYes" runat="server" Text="OK" CssClass="commandButton" Style="width: 100px;"
IgnoreDirty="Dirty" />
</p>
</asp:Panel>
Technical Environment - VS 2008 and AjaxControlToolkit 3.5.40412.0.
View 4 Replies
May 4, 2010
I copied the code from this tutorial:
[URL] into a page in a test project.
The problem is that when i push the client side button, it shows the popup and immediately refreshes (reseting to initial state of course).
Why is this happening in my new web project, but in that tutorial's demo doesn't?
I'm using IE7, FF3.5, VS2008, latest Ajax Control Toolkit.
View 8 Replies
Mar 22, 2011
I have a popup window (aspx page) which is used to save log messages to the DB. I want to close this popup as soon as the user clicks the save button and the message has been saved into the database. My issue is the popup does not close when I use an UpdatePanel in conjunction with an UpdateProgress control.
Pages and Controls: ImplantQuoteInfo.aspx, ImplantQuoteRevisionLogMessageAdd.aspx, ImplantQuoteRevisionLogMessageAdd.ascx
ImplantQuoteInfo.aspx: This page creates the popup windows using RegisterStartupScript
[Code]....
ImplantQuoteRevisionLogMessageAdd.aspx: This page holds the user control with the funcitonality
ImplantQuoteRevisionLogMessageAdd.ascx: This user control takes a message text and saves it into the database. The control uses an HtmlEditor inside an UpdatePanel and an UpdateProgress control.
Markup:
[Code]....
C# code behind:
[Code]....
PS: I am using .NET framework 4.0, Windows 7, SQL 2008 R2.
View 2 Replies
Sep 3, 2010
I have created list of thumbnail images in datalist and on clicking image i want to pass image name to Ajax control toolkit Modal Popup window which display bigger image.
View 2 Replies