Quantcast
Channel: HomeSeer Message Board
Viewing all articles
Browse latest Browse all 4847

Webpage calling another web page

$
0
0
I am writing my first plugin and am trying to figure out how the callback mechanism works for multiple web pages.

I want to create one web page that is accessed from the plugin menu. I've been able to do that with callback.registerlink for the associated webPageDesc class instance. Let's call this the 'main' page. That all seems to work fine.

The 'main' web page has a button on it that will call another web page (call it the 'child' page). I don't want to run register the 'child' page the same way I did the 'main' page because I don't want the 'child' page to show up as another menu option from the HS3's plugin menu.

On the 'child' page I have a button that I want to trap in the PostBackProc method. The PostBackProc method is being called when I press the button on the 'child' page, but the 'page' parameter of the call is set to the page name of the 'main' page and not the 'child' page.

Does someone have a simple example that I could look at that has a main page calling a child page where only the main page is visible from the HS Plugin menu? In looking at the samples, none of them seem to have this type of web page structure.

Thanks,

Scott

Viewing all articles
Browse latest Browse all 4847

Trending Articles