my code is below.
I have a session passed to a javascript alert box, the session contains a list of names.
i would like to have a button next to each name that when i click it, it deletes that item in the session. could i insert some kind of button script in the session? with an onclick?!
is it even possible, what are alternative methods. thanks so much guys really really appreciate the help.
MY CODE HERE
Dim message As String = "alert('" + Session("linkedSP").ToString() + "')"
ScriptManager.RegisterClientScriptBlock(TryCast(sender, Control), Me.GetType(), "alert", message, True)
What I have tried:
I have not tried anything yet! becs the code i tried wouldnt build.
Dim message As String = "alert('" + Session("linkedSP").ToString() + "')"
ScriptManager.RegisterClientScriptBlock(TryCast(sender, Control), Me.GetType(), "alert", message, True)