I use in my web part a Session[""]
and would like to notify the user when the session is expired. I check at the PostBack
event if the session is already okay, if not, I will execute a JS function which shows the SP.UI.Status
warning message.
Now I don’t know how I could execute the JS. I tested it the ScriptManager
, but then I get a error, that the SP.UI.Status
is not define.
How could I add the SP.UI.Status
at the PostBack?
[Edit]
The same issue occurs with SP.UI.Notify and is fixed with the same solution.