I have an issue that hopefully you can help me with. I have a search page for users. Do a search and a user or list of users is returned.
Double click and a control is opened in a modal window.
In this control I have a formview and a radgrid:
<FormView>
Details on the user which was selected (name, email, etc)
</FormView>
<RadGrid>
A list of security groups in which the user can be added/removed from
</RadGrid>
Note: two different datasources are used to populate the formview and radgrid.
the radgrid is in "editAllMode"
My issue is when I perform an update. The "update" button is in the formview, and triggers an event in which I can update the personal info of the user based on this method firing...."FormView_Updating". Args are (object sender, WLPItemUpdatingEventArgs e). I am using "e" to get the updated data for the formview. Now after the personal data is updated (which works fine), I want to make a call to update the user's security groups by
triggering in code the RadGrid's "nameOfGrid_UpdateAllCommand(object sender, UpdateAllCommandEventArgs e)" from inside the "Formview_Updating" event.
Here is my issue. I am not sure how fire the event appropriately. I can use "Grid.OnUpdateAllCommand"(takes 2 args, sender and UpdateAllCommandEventArgs) however I am unable to pass anything valid for the "UpdateAllCommandEventArgs" argument, which I need to see what groups have been selected for the user. Any ideas how i can ?
Thanks.
Double click and a control is opened in a modal window.
In this control I have a formview and a radgrid:
<FormView>
Details on the user which was selected (name, email, etc)
</FormView>
<RadGrid>
A list of security groups in which the user can be added/removed from
</RadGrid>
Note: two different datasources are used to populate the formview and radgrid.
the radgrid is in "editAllMode"
My issue is when I perform an update. The "update" button is in the formview, and triggers an event in which I can update the personal info of the user based on this method firing...."FormView_Updating". Args are (object sender, WLPItemUpdatingEventArgs e). I am using "e" to get the updated data for the formview. Now after the personal data is updated (which works fine), I want to make a call to update the user's security groups by
triggering in code the RadGrid's "nameOfGrid_UpdateAllCommand(object sender, UpdateAllCommandEventArgs e)" from inside the "Formview_Updating" event.
Here is my issue. I am not sure how fire the event appropriately. I can use "Grid.OnUpdateAllCommand"(takes 2 args, sender and UpdateAllCommandEventArgs) however I am unable to pass anything valid for the "UpdateAllCommandEventArgs" argument, which I need to see what groups have been selected for the user. Any ideas how i can ?
Thanks.