M
|
Mack88DevClub member 4/8/2019 |
Hi Tim, |
admin 4/8/2019 | |
Read "page" parameter from the URL as HttpContext.Current.Request.QueryString["page"].ToString() if (HttpContext.Current.Request.QueryString["page"].ToString() == "edit1") |
T
|
Tim author 4/9/2019 |
Thank you both! Chris, based on your link (not sure how I missed that blog post) I was able to see that this is just a post value, so I came up with: |
C
|
Corrie 4/20/2019 |
You might be able to use $_GET["page"] Hi all, In version 10.1 I have created 2 edit pages and now I want to run different event code depending on which page loads. The event I'm using is Before record updated. So something like: if (GET_PAGE_NAME == "edit1") { Do stuff } else { Do other stuff } How do I get the page name? Or maybe there's a different way to run different code for different edit pages of the same table? Thanks, Tim |