I am tryign to migrate from RadGrid for ASP.net to RadGrid Prometheus and having an issue. I used to get Key Values like this
But this prodcues an error (below) in prometheus version. How do I got about this in the new grid?
Error:
Compiler Error Message: BC30408: Method 'Protected Sub rgPartners_EditCommand(source As Object, e As Telerik.WebControls.GridCommandEventArgs)' does not have the same signature as delegate 'Delegate Sub GridCommandEventHandler(source As Object, e As Telerik.Web.UI.GridCommandEventArgs)'.
Can anybody shed some light on this?
Protected Sub rgPartners_EditCommand(ByVal source As Object, ByVal e As GridCommandEventArgs)
'Get the value from the Grid column
Dim key As Integer = Convert.ToInt32(Me.rgPartners.MasterTableView.Items(e.Item.ItemIndex)("PartnerID").Text)
Session(
"editKey") = key
Server.Transfer(partnerdetails.aspx,
True)
End Sub
But this prodcues an error (below) in prometheus version. How do I got about this in the new grid?
Error:
Compiler Error Message: BC30408: Method 'Protected Sub rgPartners_EditCommand(source As Object, e As Telerik.WebControls.GridCommandEventArgs)' does not have the same signature as delegate 'Delegate Sub GridCommandEventHandler(source As Object, e As Telerik.Web.UI.GridCommandEventArgs)'.
Can anybody shed some light on this?