Hi,
I have a panelbar and whenever a particular item(say item 2) is clicked, i need a message box specifying do you want to contiune to redirect to the another page or not.
I have a panelbar and whenever a particular item(say item 2) is clicked, i need a message box specifying do you want to contiune to redirect to the another page or not.
Protected Sub RadPanelBar5_ItemClick(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadPanelBarEventArgs) Handles RadPanelBar5.ItemClick |
If TypeOf e.Item.Owner Is RadPanelItem Then |
Dim parentItem As RadPanelItem = CType(e.Item.Owner, RadPanelItem) |
Select Case parentItem.Text |
Case "Miscellaneous" |
If e.Item.Owner.Items(5).Selected = True Then |
'Here i want to display a messagebox using Javascript, if i want to continue. |
Response.Redirect("~/MessageforNewVersion.aspx") |
End If |
End Select |
End If |
End Sub |