Hi:
I have a RadGrid where I have set EnablePostBackOnRowClick="true". On special situation, however, when a user click on a specific row (e.g.: if the value on a key is "xyz"), then I don't want the postback to take place.
I have tried to trap the OnRowSelecting event and was hoping that the following 2 lines of codes could cancel the postback. However, they don't. The postback occur anyway.
eventArgs.set_cancel(true);
return false;
Is there a way to cancel a postback when EnablePostBackOnRowClick="true"?
Justin
I have a RadGrid where I have set EnablePostBackOnRowClick="true". On special situation, however, when a user click on a specific row (e.g.: if the value on a key is "xyz"), then I don't want the postback to take place.
I have tried to trap the OnRowSelecting event and was hoping that the following 2 lines of codes could cancel the postback. However, they don't. The postback occur anyway.
eventArgs.set_cancel(true);
return false;
Is there a way to cancel a postback when EnablePostBackOnRowClick="true"?
Justin