Hi,
I have a page with left frame and right frame. From left frame page, I manage to code a script to invoke Button1_Click which resides in a right frame page, provided the Button_Click function is coded in the <head> section of html.
When I move the Button_Click function to rightFrame.aspx.vb, the following error encountered when I run the page.
[ rightframe.Private Sub Button1_Click(sender As Object, e As System.EventArgs)' is not accessible in this context because it is 'Private'. ]
I coded Button_Click function in html page as "private" as well.
I changed the Private to Public in vb file, the error was not prompted, but the codes in Button_Click seems not being executed at all during runtime.
Appreciate if anyone can provide some guidance on this.
Thanks & Best Regards.
---
Posted using Wimdows.net Newsgroups - http://www.wimdows.net/newsgroups/