This is a migrated thread and some comments may be shown as answers.

ItemCommandEvent is not fired on GridButtonColumn when enableeventvalidation=false.

1 Answer 79 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Abhi Shinde
Top achievements
Rank 1
Abhi Shinde asked on 22 Aug 2011, 07:34 AM
Hi,
   
I am using radGrid on my page and set enableeventvalidation=false in page tag.

then by using following line of code I am not able to call ItemCommandEvent.
<telerik:GridButtonColumn ConfirmText="Delete this Record?" ConfirmDialogType="RadWindow"
                                                HeaderText="Delete" ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete"
                                                Text="Delete" UniqueName="DeleteColumn" HeaderStyle-HorizontalAlign="Center"
                                                HeaderStyle-Width="50px">
                                                <ItemStyle HorizontalAlign="Center" CssClass="rbDelete" />
                                            </telerik:GridButtonColumn>

I just replace above code with <itemTemplate> with radButton then its working fine (means control goes to ItemCommandEvent).

Can you please guide me why its behaving like this?

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 22 Aug 2011, 08:31 AM
Hello Abhi,

I tried the same scenario and it is working as expected in my end. 2011, 1, 315, 35 is the version in which I tried. Make sure that you use latest version. Please elaborate your scenario if it doesn't help.

Thanks,
Princy.
Tags
Grid
Asked by
Abhi Shinde
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or