I am putting together a simple interface to allow Membership (Roles and Users) data to be managed.
I have an ODS which hooks into the GetAllRoles() method of the Roles provider which simply returns string [] containing each rolename.
I want to then allow roles to be deleted from the system using the automatic capabilities of the radgrid but cannot seem to get this to work. AFAICT there is no DayaKeyNames value to use for the string array which, if I autogenerate the columns at runtime is simply called "Item". I've created teh columns manually, a GridButtonColumn for the delete and a Rolename column. I have the DeleteMethod and DeleteParameters specified correctly in the ODS but nothing I do seems to get the value of the rolename passed to the ODS when I hit Delete. What do I need to do to get this value communicated properly? ALternatively what do I need to do to manually process the delete?
M
I have an ODS which hooks into the GetAllRoles() method of the Roles provider which simply returns string [] containing each rolename.
I want to then allow roles to be deleted from the system using the automatic capabilities of the radgrid but cannot seem to get this to work. AFAICT there is no DayaKeyNames value to use for the string array which, if I autogenerate the columns at runtime is simply called "Item". I've created teh columns manually, a GridButtonColumn for the delete and a Rolename column. I have the DeleteMethod and DeleteParameters specified correctly in the ODS but nothing I do seems to get the value of the rolename passed to the ODS when I hit Delete. What do I need to do to get this value communicated properly? ALternatively what do I need to do to manually process the delete?
M