Hi Team!
I’m new to playing around with the Wisej framework. I’ve seen some topics in regards to URL parameters in the forum but I don’t have a clear scenario. What I just need to do is pass parameters through the URL to another wisej web page. I have test1 page, when I click on a button or link, I want to redirect to test2 page. So far, I know how to receive the parameters from the URL, BUT what I don’t know how to do is to SEND the parameters from one page to another. I know this was discussed on another thread but please if you can show me a small example, I’d be more than appreciative.
Thanks in advance!
Carlos
Hi Carlos,
Wisej works pretty much like Winform and as far as navigation is concerned, you can just instantiate the page, add properties to it (in order to initialize them) and finally show it. If you want to redirect outside the Wisej application, you can use Application.Navigate(“url”).
Page1 page = new Page1();
page.Parameter1 = "value"; // Parameter1 can be a property of your Page1 class
page.Show();
Best,
Kevin(ITG)
Please login first to submit.