Passing values to another form!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • urcutesweety
    New Member
    • Apr 2007
    • 2

    Passing values to another form!

    Hi,
    I have 2 frames(top n bottom) each has one web form. Now I want to show any error message that occur in the top frame to be displayed in the bottom frame.
    I dont want to be redirected to another form.
    I tried this code but no use.

    btnTright.Attri butes.Add("oncl ick", "javascript:tra nRight(txtTrans ferRight.value) ")

    Can someone help me with it please????
  • Teenzonez
    New Member
    • Mar 2007
    • 36

    #2
    Hi

    How can we use frames in asp.net?Please help??

    Regards
    TeenzoneZ

    Comment

    • prabunewindia
      New Member
      • Mar 2007
      • 199

      #3
      by using the html tag <iframe> we can display more than one page in one page.
      for this u should design the aspx pages separately and give the url of those pages in the src attribute of the iframe

      ex:

      <iframe id="frame2" height="100" src="gridview.a spx?" width="100%" style="height: 285px; width: 558px;" scrolling="auto " >
      </iframe>
      Originally posted by Teenzonez
      Hi

      How can we use frames in asp.net?Please help??

      Regards
      TeenzoneZ

      Comment

      • prabunewindia
        New Member
        • Mar 2007
        • 199

        #4
        hi friend.
        i also tried for the same before 2 weeks(in my project)
        but didn't get the result to pass the value from one frame to another.
        i did it thru calling the main page again and passed the value thru query string
        If u get any more inform me plz

        prabu

        Originally posted by urcutesweety
        Hi,
        I have 2 frames(top n bottom) each has one web form. Now I want to show any error message that occur in the top frame to be displayed in the bottom frame.
        I dont want to be redirected to another form.
        I tried this code but no use.

        btnTright.Attri butes.Add("oncl ick", "javascript:tra nRight(txtTrans ferRight.value) ")

        Can someone help me with it please????

        Comment

        Working...