PLEASE - Session Variables OR Response.Write querystring to target frame?

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default PLEASE - Session Variables OR Response.Write querystring to target frame?

    Hi, I'm doing an asp.net app (first one) and NEED to use frames (so
    please don't tell me not to!). I'm loading a mainframe.htm with two
    aspx files (for example: left.aspx, right.asp).

    QUESTION: I need to pass variables but can't figure out how to do it
    with a Response.Write?variables command into the left.aspx page/frame.

    My other thought was to use Session Variables. I know for them to be
    globally available they can't be in a sub or function. These variables
    will come from the initial page my user gets (login.aspx) but they are
    based on user selections in listboxes
    (cboCustomer.selecteditem.text)...controlled by subs or functions,
    obviously.

    HOW do I (1) pass variables to a child frame when both right and left
    child frames are loading (via loading mainframe.htm) OR (2) how do I
    set Session variables FROM user selections (i.e., selecteditemchanged
    event would be a Sub and therefore not available by the other
    pages???)

    Please tell me what I'm probably not yet understanding. REALLY need
    this information. Thanks a million,

    Kathy
    KathyB Guest

  2. Similar Questions and Discussions

    1. [SOLVED] Session loses all variables during Response.Redirect
      Ok, don't ask me why, but this solved it: Replace the line: Directory.Move(tempEventDirName, createdEventDirName); With:...
    2. Help, Target Frame Error
      I have a new state that I am adding to a flashmap, and have a major problem with the action script not being able to find the Target Frame. This...
    3. Session loses all variables during Response.Redirect
      Hi, Just a hint. If you change anything in the Bin directory of the application the application will be restart and all the session data will be...
    4. Response.Write and Response.Redirect
      On my Page_Load event, i need to do some validation and then either let them proceed, or display a error message and boot them back to the previous...
    5. need help using javascript to target a frame!
      First off, please excuse the crossposting--I really need an answer quickly. I have a decent amount of experience with html but not javascript....
  3. #2

    Default Re: PLEASE - Session Variables OR Response.Write querystring to target frame?

    Hi,

    the easy way is to pass data between the frames using client side
    javascript.

    Natty Gur, CTO
    Dao2Com Ltd.
    28th Baruch Hirsch st. Bnei-Brak
    Israel , 51114

    Phone Numbers:
    Office: +972-(0)3-5786668
    Fax: +972-(0)3-5703475
    Mobile: +972-(0)58-888377

    Know the overall picture


    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur Guest

  4. #3

    Default Re: PLEASE - Session Variables OR Response.Write querystring to target frame?

    Thanks, but that doesn't really help me. I need an example and would
    also appreciate someone answering my question re: session variables. The
    app is a closed one on an intranet, very controlled environment.

    At least, could someone please tell me how to pass variable from a page
    to a specific child page (not the parent frame?) in javascript???

    thanks,

    KathyBurke

    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Kathy Burke Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139