Div Header

This public forum is for user-to-user discussions of ASP.NET Maker. Note that this is not support forum.
Post Reply
crash
User
Posts: 151

Div Header

Post by crash »

I have a table called users.. in the table is a field called Status
Each user has a different status

How do I get the CurrentUser status to show in my Div Header

Thanks


MichaelG
User
Posts: 1110

Post by MichaelG »

Use the Page_DataRendering server event to add content to your page header. To get current user information, use the CurrentUserInfo function as described in:
https://aspnetmaker.dev/docs/#/customscripts.html


crash
User
Posts: 151

Post by crash »

Thanks got that working... How would I get the value from a certain record linked to that user... I want to put that in the DiV...


MichaelG
User
Posts: 1110

Post by MichaelG »

Use the User_Valdiated server event to get extra user info:
https://aspnetmaker.dev/docs/#/customsc ... _validated


Post Reply