[SOLVED] Â List page tabs |
5/2/2018 6:28:49 PM |
ASPRunner.NET General questions | |
jadach authorDevClub member
Does anyone know how to set a specific tab on the list page as active based on a session variable? |
|
admin 5/3/2018 | |
When you click a tab URL changes and you can note that URL and make a redirect to that URL in one of events. Just make sure you do not enter redirect loop as page will be reloaded and you will run the same event again. |
jadach authorDevClub member 5/3/2018 | |
When you click a tab URL changes and you can note that URL and make a redirect to that URL in one of events. Just make sure you do not enter redirect loop as page will be reloaded and you will run the same event again.
https://MyDomain.com/dbo_FMSProgram/list?mastertable=dbo.FMS&masterkey1=2&masterkey2=Jenson3
https://MyDomain.com/dbo_FMSProgram/list?mastertable=dbo.FMS&masterkey1=2&masterkey2=Jenson3&tab=D1 or |
Pete K 5/3/2018 | |
Just taking a stab here -- could you write code in the BeforeProcessList() event of that page, process the URL and add the desired tab to the end, then do a redirect back to itself with the tab appended? Not sure if that would work but that;s what I would try. |
jadach authorDevClub member 5/3/2018 | |
Just taking a stab here -- could you write code in the BeforeProcessList() event of that page, process the URL and add the desired tab to the end, then do a redirect back to itself with the tab appended? Not sure if that would work but that;s what I would try.
|
admin 5/3/2018 | |
I think the code flow should as follows
|
jadach authorDevClub member 5/3/2018 | |
I think the code flow should as follows
|
jadach authorDevClub member 5/3/2018 | |
I think the code flow should as follows
|
jadach authorDevClub member 5/4/2018 | |
I got it working. Not sure if this is the very best way, but it works well. XSession.Session["NextSession"] = data3["NextSession"].ToString();
string x = System.Web.HttpContext.Current.Request.Url.AbsoluteUri; |
Pete K 5/7/2018 | |
deleted |