File Name Not Getting From Child Window?

Mar 8, 2010

I am having to add button to file upload my form page, when user click the add button , file upload contol opened in pop up window with upload option,then browse file, when user click the upload button , the file name should be displayed in parent window and popup window should be closed , these all should be happen with out page refershing.

View 3 Replies


Similar Messages:

How To Pass A Parameter To The Child Window From Parent Window Using Window.open

Oct 18, 2010

i have an aspx page in which a link in the grid view opens a popup page . the data in the grid view would be dynamic and i need to send the id of the row of grid while calling the child window. i get the id using sender.id, but how would i send this using window .open()?

View 2 Replies

Web Forms :: Refreshing Child Window Through Another Child Window?

Mar 22, 2010

I have a webpage which does a lot of processing(for few minutes) and finally produces a result.

i have one more page which contains results of all previous operations.

Both pages are opened from a parent page. what i want is ,As soon as first page finishes its task , the result should be reflected in second webpage automatically.(Or we can say it should update the information according to the latest operation).So i need a page refresh at this instant. I don't want to do a regular interval refresh through Meta tag etc. Is it possible?

View 9 Replies

Javascript - Passing Data Between A Parent Window And A Child Popup Window With JQuery

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

On Close Button Click On Child Window,parent Window Refreshes?

May 20, 2010

Refresh the Parent Window. I open the child window,I want that on close button click on child window,parent window refreshes

Code:

[code]....

I searched all on the net & find the above soln,But its not refreshing.when i click on button1,then some Pop up appears see in Pic(with buttons Retry & Cancel). When i click on Retry again the child window loads Then again i click on button1,again popup appears & so on & on.

View 10 Replies

Web Forms :: How To Pass A Session Variable From Child Window To Parent Window

Feb 22, 2011

I have a page (parent) that open up a popup window using window.open javascript. User will then work on the popup window and the result will be stored in a session variable. When the user close the popup window, how can I put the value of the session variable back to the server control textbox of the parent window?

View 3 Replies

Data Controls :: Passing Values From Gridview In Child Window To Textbox In Parent Window?

Jul 29, 2013

I have a page, which contains 2 textboxes. When i click on the first textbox, i have to open a child window (tool), that contains a gridview control with 2 columns (corresponding to the 2 textboxes). When the user clicks on any row in the gridview, it should send back the 2 column values back to the parent window to the corresponding 2 textboxes. how do i achieve this?

View 1 Replies

Web Forms :: Parent Window Refreshing When Opening A Child Window?

Oct 22, 2010

Im having the flowwing problem i have a gridview that i want to list many records when i click on a row iwant to be able to click on a button and go to the form of this record in order to update it. All the navigation works fine.I click on the button and then using javascript i window.open the page that has the form the problem is that when the new page loads the parent page (the page that has the gridview refreshes and because there are many records it is really annoying how can i use window open to pop up a child page without having the parent window to refresh.

Because im using all this in a dotnetnuke framework i have tried enabling and disabling partial rendering to the parent page page but always refreshes when i open the child window

View 2 Replies

Javascript - Reporting Child Window's Events To Parent Window To Reset Timer Value Of User Timeout Code

Sep 2, 2010

I've got a Jquery function that I wrote which blacks out the screen after a certain amount of inactivity, creates a pop-up that allows the user to click a button to stay logged in, and logs them out (closing the application window) if they do not respond in time.

The environment is ASP.NET (VB). We don't technically use master pages, but we do have a parent page in which our header, footer and nav reside, and my Jquery code is called from that window, loaded via an IFrame.My problem is that if one is working in a child window, the parent window doesn't recognize that the system is in use, and will automatically engage at the allocated time.I've tried everything under the sun I can think of and nothing works properly. My event handler is working, and it does call the parent window function, but the timer is not being reset.

I have this function in the parent window:

<script language="javascript" type="text/javascript">
function window.reportChildActivity() {
SESSION_ALIVE = true; [code]....

View 1 Replies

Web Forms :: Pass Value From Child Window To Parent Window?

Mar 18, 2010

I have to develope on popup page which is popout from parent page,popup page have one grid with radio button,according to selection of particular radio button of gridview row and user click on select button popup should close and on parent page we have ID value of selected row of popup page.

According that ID value i have to fill some details in Parent page.

Popup
Name Email
RBT ABC A@yahoo.com
RBT DEF B@yahoo.com

SELECT BUTTON

So my query is how to close popup on select button and pass checked row id value to parent page and on parent page how can we get that id value and display some details.

View 2 Replies

Using The Javascript To Open A Child Window Using Window.showModaldialog?

Sep 24, 2010

I am using the javascript to open a child window using window.showModaldialog(), i have retuen a value from the child page is working fine in IE and firefox but is not working in chrome browser, is there any work around or alternative for it to work in chrome as well.

View 2 Replies

Accessing A Dropdown From Child Window

Jul 9, 2010

I have on server control(dropdown) and One button.user can select some values in dropdown and click button.I have to show a pop-up.In this pop-up I have show data based upon value selected in dropdown.How to access a dropdown in codebehind of pop-up screen.I am loading a .aspx in pop-up using javascript.

View 1 Replies

VS 2005 - Pass Child Window Value To Parent?

Sep 9, 2010

i open a lookup window through javascript:window.open(x,y,z). on that lookup window the user will search and the data will be displayed in gridview.

open child window

[Code]....

View 13 Replies

Web Forms :: How To Access A Control From Child Window

Jul 9, 2010

I have one dropdown in .aspx page and one button.When user click a button i have to show a pop-up window.In this pop-up i have to show data based upon value selected in dropdown.so how to access a dropdown. Its a server control dropdown.

View 3 Replies

Call Child Window Function From Parent Javascript

Feb 25, 2011

On my xyz.aspx page I added a Iframe and set it src to abc.aspx page, when I load xyz page Iframe is alos loaded as well abc.aspx page inside it. I am able to call a function from abc.aspx to xyz.aspx function, the question is how can I call abc.aspx function from my xyz.aspx page?

View 1 Replies

C# - How To Refresh A Parent Page When Child Window Is Closed

Feb 21, 2011

how to refresh a parent page when child window is closed.

View 2 Replies

AJAX :: How To Refresh Parent Page Details By Keeping Child Window Open

Apr 28, 2010

I have a screen where on filter icon click on a column i need to show a popup screen or a div looks like popup and in which will have list of check boxes with distinct values of all rows of column one (i.e. the data of popup is like below). All these check boxes are dynamically generated controls.

checkboxcontrol Data1
checkboxcontrol Data2
checkboxcontrol Data3

When user click on any of the above check boxes the parent grid should get refreshed with the filtered data and popup or div tag looks like popup should stay and should not be closed. How do i do this?

The main screen has details like below

Data1 Column2Data Column3Data
Data2 123Data Column3Data
Data2 Column2Data Column3Data
Data3 Column2Data Column3Data

How to refresh my parent page details by keeping my child div tag open or child window open? What is better approach whether to create server side div tag or a modal popup window?

[Code]....

View 4 Replies

Web Forms :: Newly Added Data In The Child Window Is Not Reflecting In The Parent Page?

Nov 17, 2010

I am opening a new window on clicking the button using folowing code

[Code]....

In a newly open window their is a form. on clicking the Save button i am cloging the clild window and refereshing the parent page using below mention code

Page.ClientScript.RegisterStartupScript(this.GetType(), "close", "<script language=javascript>window.opener.location.reload(true);self.close();</script>"); Upto here everything is fine. but the newly added data in the child window is not reflecting in the parent page.

[Code]....

View 5 Replies

Forms Data Controls :: Pass Value From Child (popup Window) To Textbox Within Listview In Parent Page

May 25, 2010

I have a listview that has n rows.

Within the EditItemTemplate and InsertItemTemplate I have a cell that has a textbox and a button.

When the button is clicked a popup window is shown, where the user can upload a picture. The name of the uploaded picture is retrieved.

Now I want to send that picture name back to the textbox within the listviews EditItemTemplate or/and InsertItemTemplate (that is ofcourse one at a time depending on what the user is doing, inserting or editing a row).

The code I have written so far looks like this. The below code has been abbreviated

[Code]....

The code behind looks like this (also abbreviated). Actually I don't think the code behind is needed, since its mainly javascript from the popup window (child page), but nevertheless here it goes.

[Code]....

And at last the child page / popup page.

Well there is not anything to see here, cause I'm using the Telerik RAD upload control, which is doing everything for me.

However the line below may be of interest. Here I'm taking the name of the uploaded file (picture) and printing it to a label.

[URL]

View 2 Replies

Web Forms :: Updating A Web Form / Call A SUB After Closing The "child" Window?

Jan 13, 2010

I have an ASP.NET web form with a button which opens a new browser window (without leaving the main window) using Javascript when it is clicked. The user is allowed to interact with this new opened window which has a button that closes it but before closing it, some server-side code is executed and the main form shoud be updated according to what the user did in the browser window.

Everything is working just fine except that I do not know how to update the main window. It has a SUB that does it while I am working with this main window alone but I do not know how to call such a SUB after closing the "child" window.

View 4 Replies

VS 2005 - HTML Input Control To Open File Dialog Window Where User Can Select A File

Jun 24, 2011

I am using HTML Input control that will open a file dialog window where user can select a file.

Is there a way to set a path from where to open the window. Right now it looks like the default folder is "My Documents".

I need it to point to something like "ftpexternalftp$Data"

View 1 Replies

C# - Modify XML File With A Dataset And Child Relations?

Mar 14, 2011

I want to modify an existing XML-File.

I used a DataSet to load the XML File with the ReadXml method.

I then displayed the relevant entries via the GetChildRows method.

I want to change/add/delete those ChildRows:

How can I accomplish this?

Below is the xml before edit

[code]....

View 1 Replies

C# - Formatting The Parent And Child Nodes Of A Treeview That Is Populated By A XML File?

May 24, 2010

I'm very new to xml so I hope I'm not asking any silly question here. I'm currently working on populating a treeview from an XML file that is not hierarchically structured. In the xml file that I was given the child and parent nodes are defined within the attributes of the item element. How would I be able to utilize the attributes in order for the treeview to populate in the right hierarchical order. (Example Mary Jane should be a child node of Peter Smith). At present all names are under one another.root

<item parent_id="0" id="1"><content><name>Peter Smith</name></content></item>
<item parent_id="1" id="2"><content><name>Mary Jane</name></content></item>
<item parent_id="1" id="7"><content><name>Lucy Lu</name></content></item>
<item parent_id="2" id="3"><content><name>Informatics Team</name></content></item>
<item parent_id="3" id="4"><content><name>Sandy Chu</name></content></item>
<item parent_id="4" id="5"><content><name>John Smith</name></content></item>
<item parent_id="5" id="6"><content><name>Jane Smith</name></content></item>
/root

View 2 Replies

Forms Data Controls :: Gridview Binding To A Particular Child Nodes In An Xml File?

Feb 10, 2011

<VegaMessage Type="EX_ACK_PEN" Value="A">
<VegaField Tag="11" Value="$11" Name="ClientOrderID(11)" />
<VegaField Tag="54" Value="$54" Name="Side(54)" />
<VegaField Tag="55" Value="$55" Name="Symbol(55)" /> [code]....

I have an xml file like this.I wnat to display a gridview when i click on the EX_ACK_PEN i want to display a gridview with fields Tag,Value,Name.How can i get the childnode values .

View 7 Replies

How To Open .txt File In A New Window

Nov 17, 2010

have a HyperLink control and a grid control on my .aspx page.

When user's start editing the content of the grid control, I create an ascii file and assign the location of the file the Hyperlink control using the following code.

Code:

hyperLinkFileOpen.NavigateUrl = fileName;

When the user's click on the hyperlink control, I want the file to be be opened in a new window. How can I do that? I browsed and found something below. But this doesn't work for my case because the fileName is created on the fly and I won't know the name and path of the file at design time.

Code:

[code]....

View 32 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved