| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Not sure if this is the right group for this question, but here goes: I have a page containing 2 frames. In the top frame, I have an ASP.NET form and 2 combo boxes, selecting an item from the first combo causes a postback to the same page, where in the SelectedIndexChanged event I fill the second combo. The Target property of the form is set to the bottom frame. I have a submit button in the form, the PostBackUrl property of which is set to a different page that writes the output I want in the bottom frame. Whenever I select an item in the first combo, I get a copy of the top frame's content appearing in the bottom frame (WITH the correctly populated 2nd combo). This is as I expect, as the form is posting back but the output target is the bottom frame. Clicking the submit button does put the correct output in the bottom frame. My question is, how can I update the combo box contents on the form via postback, and also redirect the submission output of the form to a different frame? Do I need to have 2 forms? Can the form for the submit button be nested within the server form, if so, how? I'm sure there must be a simple solution to this! Any help greatly appreciated. |
|
#2
| |||
| |||
| John wrote: > Not sure if this is the right group for this question, but here goes: > > I have a page containing 2 frames. > > In the top frame, I have an ASP.NET There was no way for you to know it (except maybe by browsing through some of the previous questions before posting yours - always a recommended practice), but this is a classic (COM-based) asp newsgroup. ASP.Net is a different technology from classic ASP. While you may be lucky enough to find a dotnet-savvy person here who can answer your question, you can eliminate the luck factor by posting your question to a newsgroup where the dotnet-savvy people hang out. I suggest microsoft.public.dotnet.framework.aspnet. There are also forums at www.asp.net where you can find a lot of people to help you. HTH, Bob Barrows -- Microsoft MVP -- ASP/ASP.NET Please reply to the newsgroup. The email account listed in my From header is my spam trap, so I don't check it very often. You will get a quicker response by posting to the newsgroup. |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.