How do I set the center page of a frameset??
-
Hiya I have a asp.net app that contains a frameset (banner and content). For the left most page (my button panel), I have set a form that contains image buttons. When the user clicks an image button, another form should open in the center frame. My problem is that I do a Reponse.Redirect() but the page opens in the left most page (my button panel). How do I tell the page to open in the center frame?? ------------------------------------------------ header form ------------------------------------------------ button1 | FORM SHOULD OPEN HERE!!! button2 | button3 | ------------------------------------------------ Thanks.
-
Hiya I have a asp.net app that contains a frameset (banner and content). For the left most page (my button panel), I have set a form that contains image buttons. When the user clicks an image button, another form should open in the center frame. My problem is that I do a Reponse.Redirect() but the page opens in the left most page (my button panel). How do I tell the page to open in the center frame?? ------------------------------------------------ header form ------------------------------------------------ button1 | FORM SHOULD OPEN HERE!!! button2 | button3 | ------------------------------------------------ Thanks.
What you need to do is on the "client" side. When you do a post back for a button click, it hits the server and the results is displayed in the frame the call was made from. Instead, you need to intercept the click of the button on the client side in Javascript and then set the url location of the frame containing the pane you are targeting. This is assuming you are using buttons and not simple URLs. Rocky <>< www.HintsAndTips.com www.GotTheAnswerToSpam.com