+ Reply to Thread
Results 1 to 3 of 3

Thread: help with popup in master page

  1. #1
    avexs is offline VB.NET Forum Newbie avexs is on a distinguished programming path ahead
    .NET Framework
    .NET 3.0 (VS 2005/2008)
    Join Date
    Jul 2009
    Posts
    2
    Reputation
    0

    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.

  2. #2
    MattP is offline VB.NET Forum All-Mighty MattP has a reputation beyond repute MattP has a reputation beyond repute MattP has a reputation beyond repute MattP has a reputation beyond repute MattP has a reputation beyond repute MattP has a reputation beyond repute MattP has a reputation beyond repute MattP has a reputation beyond repute MattP has a reputation beyond repute MattP has a reputation beyond repute MattP has a reputation beyond repute
    .NET Framework
    .NET 4.0
    Join Date
    Feb 2008
    Location
    USA
    Posts
    1,040
    Reputation
    534

  3. #3
    avexs is offline VB.NET Forum Newbie avexs is on a distinguished programming path ahead
    .NET Framework
    .NET 3.0 (VS 2005/2008)
    Join Date
    Jul 2009
    Posts
    2
    Reputation
    0

    Default

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

    thanks.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts