In JS that will execute on you button-click, get a reference to the form in
another frame, using document.frames reference, i.e.
var frm = document.frames["<framename>"].forms
Then you can manipulate any objects on that form and call their methods.
Create a hidden textbox on the form, and set its value to something that would
indicate that the button was pressed.
Then submit the form - frm.submit();
On server-side, check the value of that hidden field, and call appropriate
Hope this helps.
> I have a web-form, a button and server-side function that have to run
> when the button is clicked. Looks sipmle, but the web-form and the
> function are located in one frame and the button is located in
> The only way I know to overcome the gap between two different frames
> Thank you for help.