Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing Mehod on a different Page in a Frameset
Message
 
To
29/11/2002 11:51:09
Dan Greenberg
Freedom of Information, Inc.
Parker, Colorado, United States
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00728181
Message ID:
00728388
Views:
16
You have to create an instance of the page you are trying to reference. Then you can call the method on the page.

>This is the complete message:
>
>Here is the situation I need help with:
>
>1. I have a HTML Page that has frames and each frame contains an ASPX page, all of the individual pages have been given names in the frameset
>
>2. I have and asp Drop Down list in one page that when changed I want to call a method that is in one of the other pages. The the page where the dropdown is called "Header" and the page where the method is located is called "Main" I am trying to call the method on Main from the drop down list's SelectedIndexChanged event.
>
>3. When a value is chosen from the DropDown, I am changing values in Session which can be retrieved from the Main page's methods. This is working fine since I can push a button on the Main page that executes the method and the changed values from the dropdown list change. I want this to happen without the user having to push a button.
>
>I imagine there is a relatively straightforward way of doing this.
>
>Thanks in advance to anyone who can help me with this.
>Dan
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform