Postback

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Krantor
    New Member
    • Aug 2008
    • 4

    Postback

    Hi All...can any plz assist...i am trying to force a postback on my main page...frmMain. aspx from my popup/child form...frmPopup .aspx when i click close on my popup page...can any1 help?
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    I'm sorry but I don't think that this is possible.
    It might be using JavaScript but I'm unaware of the solution if there is one.

    I would recommend using a "floating" <div> or Panel instead of using a child popup window. This will enable you to cause a postback when necessary.

    -Frinny

    Comment

    • Krantor
      New Member
      • Aug 2008
      • 4

      #3
      Hi...it is possible...i have code for it...but i used the code for just a popup from the main page...in this case im using the code from a main page with a depth of 2 screens...in other words i hav 2 popup pages and that i think is y im not able to force the postback here...but it has been done

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        Originally posted by Krantor
        Hi...it is possible...i have code for it...but i used the code for just a popup from the main page...in this case im using the code from a main page with a depth of 2 screens...in other words i hav 2 popup pages and that i think is y im not able to force the postback here...but it has been done
        That's pretty cool that you can do it back one level.....
        So why don't you just use the same technique to go back 2?

        Eg:
        Main Window-->PopUp-->PopUp

        if you're able to get back one level..
        Main Window-->PopUp<--PopUp

        Why not just do the same thing to get back to the Main?
        Main Window<--PopUp<--PopUp(closed)

        Comment

        Working...