Hello,
I have a RadGrid I am using for customer maintenance. I would like the users to be able to insert, update and delete customers from this RadGrid. I'd also like to notify them that "Insert for customer: XXXXXX succeeded", "Customer XXXXXX updated" or "Unable to delete customer XXXXXX" after the insert/update/delete either succeeds or fails. Since I am setting the RadGrid's DataSource property in the RadGrid1_NeedDataSource event, I don't think that I can use AllowAutomaticDeletes, AllowAutomaticInserts, or AllowAutomaticUpdates along with the ItemDeleted, ItemInserted, or ItemUpdated events (if I can, I must have been doing something wrong).
Is there a way to notify the user the status of the operation without setting the RadGrid's DataSourceID and enabling Automatic operations?
Thanks,
Casey
***EDIT - I was able to accomplish this by setting a session variable in the ItemCommand of the RadGrid and then adding a new literal control to the end of the RadGrid with the session variable text as the message.
I have a RadGrid I am using for customer maintenance. I would like the users to be able to insert, update and delete customers from this RadGrid. I'd also like to notify them that "Insert for customer: XXXXXX succeeded", "Customer XXXXXX updated" or "Unable to delete customer XXXXXX" after the insert/update/delete either succeeds or fails. Since I am setting the RadGrid's DataSource property in the RadGrid1_NeedDataSource event, I don't think that I can use AllowAutomaticDeletes, AllowAutomaticInserts, or AllowAutomaticUpdates along with the ItemDeleted, ItemInserted, or ItemUpdated events (if I can, I must have been doing something wrong).
Is there a way to notify the user the status of the operation without setting the RadGrid's DataSourceID and enabling Automatic operations?
Thanks,
Casey
***EDIT - I was able to accomplish this by setting a session variable in the ItemCommand of the RadGrid and then adding a new literal control to the end of the RadGrid with the session variable text as the message.