I see some posts on here of closing the Radwindow from server and client. What I am wondering if there are any easier ways now with the updated releases from telerik. Need to Close my radwindow on this button click and then refresh the page. If there and easy way to do on the code side. Instead of the scriptmanager below I would put in the close radwindow.
Protected Sub lnkVerify_Click(sender As Object, e As EventArgs) Handles lnkVerify.Click
Dim returnV As String = ""
sql = "exec usp_AnnualSignHR '" & Replace(HFDigSig.Value, "'", "''") & "', '" & HFEDIPI.Value & "'"
returnV = getData(sql).Rows(0)(0)
If returnV = "0" Then
pnlGrid.Visible = False
ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "OpenWindow", "alert('Thank you for signing your annual hand receipt. You will be redirected to your Hand Receipt');", True)
Response.Write("<
meta
HTTP-EQUIV
=
""
refresh""
content
=
""
1;url=~/User/UserHR.aspx"">")
Else
ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "OpenWindow", "alert('There has been an problem please contact the help desk.');", True)
End If
End Sub