or
RowDataItem("Event").Attributes("href") = "#"RowDataItem("Event").Attributes("onclick") = [String].Format("return showPriorityMenu(event)")function showPriorityMenu(e) { var contextMenu = $find("<%= rmPriority.ClientID%>"); $telerik.cancelRawEvent(e); if ((!e.relatedTarget) || (!$telerik.isDescendantOrSelf(contextMenu.get_element(), e.relatedTarget))) { contextMenu.show(e); } }'// This is called after users click to add a new gridProtected Sub LVScenarios_ItemDataBound(sender As Object, e As RadListViewItemEventArgs) Handles LVScenarios.ItemDataBound If TypeOf e.Item Is RadListViewDataItem Then Dim scenarioGrid As RadGrid = DirectCast(e.Item.FindControl("GVScenarios"), RadGrid) If Not scenarioGrid Is Nothing Then AddHandler scenarioGrid.ItemDataBound, AddressOf scenarioGrid_ItemDataBound scenarioGrid.DataSource = scenarioDataSource scenarioGrid.DataBind() '// If only one gird in the LVScenarios datasource, then the grid itemDataBound is fired, if more than one it is skipped and nothing ends up on the screen End If End IfEnd Sub