I load a radgrid from a system.web.security.MembershipUserCollection.
This works fine. When i edit a row i get event Radgrid_UpdateCommand .
I need the dataitem for the row which should be the of type MemberShipUser
so i can update it using Membership.UpdateUser( dataitem)
The e.item.dataitem is nothing.
The grid also does not show the update after the UpdateCommand is done.
Any ideas on how I can do this?
Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource |
Dim mc As MembershipUserCollection |
mc = Membership.GetAllUsers |
RadGrid1.DataSource = mc |
End Sub |
I need the dataitem for the row which should be the of type MemberShipUser
so i can update it using Membership.UpdateUser( dataitem)
The e.item.dataitem is nothing.
The grid also does not show the update after the UpdateCommand is done.
Any ideas on how I can do this?