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.comwww.prenia.comWeblog: blogs.prenia.com/cathi