Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Mehod on a different Page in a Frameset
Message
From
01/12/2002 12:02:57
Dan Greenberg
Freedom of Information, Inc.
Parker, Colorado, United States
 
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00728181
Message ID:
00728475
Views:
18
Hi Cathi,

Thanks for your answer, but Iam not sure what creating an instance of the page means in this situation. Aren't there already instances of the page there? What would the C# code be to do what you suggested and where should it be placed? It might help you to know that I am calling the SelectedIndexChanged event which places the values for the selection in Session Variables in the dropdown which is an asp dropdown list control. It is set to AutoPostback = True. After it posts I need the other page in the frameset to repost - which causes it to see the new session variables and react accordingly.

Right now if I make a choice from the dropdown it does the server side code and updates the Session Variables. If I push an html button right afterwords its onclick excutes the following javascript that is located in the same page:
function RefreshMain()
{
top.main.location.href='CustMain.aspx';
}

This makes the other page refresh - but I don't want the user having to select the choice and then push the button. It would be nice if the choice from the dropdown would do both.

I am not very advanced at the specifics yet. Thanks again in advance for all your help. Your presentations at Whilfest were very helpful.

Dan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform