Visual Basic .NET Forums  
Click here to advertise with us

Go Back   Visual Basic .NET Forums > ASP.NET > Web Forms

Web Forms Discussion on web forms related topics, web form development, techniques, etc.

VB.NET Forums Newsletter Signup:
Email address:


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-09-2009, 12:07 AM
VB.NET Forum Newbie
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Jul 2009
Posts: 2
Reputation: 0
avexs is on a distinguished programming path ahead
Default help with popup in master page

Hi,

i have a problem with getting value from popup in master page.
my page is like this:

Master.master
-->index.aspx
--->viewItem.ascx

this "viewItem.ascx" will change dynamically based on request.
the problem is not with that..
my problem is getting value(parameter) from popup form into control(textbox) in "viewItem.ascx"

in my popup.aspx, i use this javascript
<script type="text/javascript" language="javascript">
function getDetails()
{
window.opener.document.getElementById("TextBox1"). = document.getElementById("TextBox1").value;
self.close();
return false;
}
</script>

i test it by calling from myTest.aspx.. i can get that return value.
but, because of i'm using masterpage... i want to view it in textbox in viewItem.ascx. the name for textbox and button is same... but different is its in .ascx page.
can any1 help?

tqs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-09-2009, 6:26 PM
VB.NET Forum Idol
.NET Framework: .NET 2.0 (VS 2005)
 
Join Date: Feb 2008
Location: USA
Posts: 877
Reputation: 499
MattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond reputeMattP has a reputation beyond repute
Default

Maybe this will be of some value: ASP.NET Wiki: Javascript: Passing value from popup window to parent form's TextBox
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-12-2009, 9:05 PM
VB.NET Forum Newbie
.NET Framework: .NET 3.0 (VS 2005/2008)
 
Join Date: Jul 2009
Posts: 2
Reputation: 0
avexs is on a distinguished programming path ahead
Default

thanks.
i already try it...but i can't get it also.
maybe i'll try other tech.

thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





All times are GMT -4. The time now is 6:24 AM.

Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2


For advertising opportunities click here.