I have a page named “main_page”, and I’d like to call a method on that page from the Session.
What is the syntax and perhaps best practice for this? I’m not having luck with this, and feel like I’m overlooking something obvious. The following is some code from a method in the WebSession - and it isn’t getting me where I need to go. Thanks for some pointers.
Var my_page As WebPage = Session.PageWithName("main_page", False) my_page.SomeMethodName()
5 posts - 3 participants