Subscribe to Subscribers
Talk to Webmaster Tony John


Forums » .NET » .NET »

How we use pop up window in asp.net


Posted Date: 03 Jun 2009      Posted By:: D.mangalam     Member Level: Bronze    Member Rank: 0     Points: 1   Responses: 1



hai
while we clicking the checkbox popupwindow open in that we give text. how the giventext of popupwindow transfer to the another form textbox




Responses

#384936    Author: Abhay Kumar Raut      Member Level: Gold      Member Rank: 39     Date: 03/Jun/2009   Rating: 3 out of 53 out of 53 out of 5     Points: 3

onclick of checkbox call a javascript function and write code for open pop up and function a function to assign text of parent page.

onclick of close button in popup call that parent page javascript function like this.

function closeWindow(id) {
window.opener.hiddenBtnClick(pass the textbox value);
window.close();
}

in parent page'

function hiddenBtnClick (txtval)
{
document.getelementbyid(textboxid).value = txtval;
}

DNS MVM
Team Lead at MavStack Solutions
Bhubaneswar,Odisha
Thanks and Regards,
Abhay Kumar Raut
http://mavstack.com/



 
Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.



Next : How to split the string which is enclosed with quotes
Previous : Mail sending
Return to Discussion Forum
Post New Message
Category:

Related Messages



Follow us on Twitter: https://twitter.com/dotnetspider

Active Members
TodayLast 7 Daysmore...

Awards & Gifts
Copyright © SpiderWorks Technologies Pvt Ltd., Kochi, India
2005 - 2012 All Rights Reserved.
.NET and other trademarks mentioned in this site belong to Microsoft and other respective trademark owners.
Articles, tutorials and all other content offered here is for educational purpose only.
We are not associated with Microsoft or its partners.