Hi
Dear
I have a grid with template column (item template and edit template) and i use required validation (client side) in item template because it is radtextbox, when export to excel, these fields have '*' in excel file .Why?
<telerik:GridTemplateColumn FilterControlWidth="70%" AutoPostBackOnFilter="true" DataField="Shomaresh"
HeaderStyle-Width="100px" HeaderText="<%$ Resources:Resource, Shomaresh %>"
UniqueName="Shomaresh">
<ItemTemplate>
<telerik:RadNumericTextBox Width="100%" runat="server" ID="rtxt_Shomaresh" Text='<%# Bind("Shomaresh") %>'>
</telerik:RadNumericTextBox>
<asp:RequiredFieldValidator ID="RFV_Shomaresh" runat="server" ErrorMessage="<%$ Resources:Resource, Shomaresh %>" Text="*" ValidationGroup="AnbarGardani" ControlToValidate="rtxt_Shomaresh" ForeColor="Red"></asp:RequiredFieldValidator>
</ItemTemplate>
<EditItemTemplate>
<telerik:RadNumericTextBox Width="100%" runat="server" ID="rtxt_Shomaresh" Text='<%# Bind("Shomaresh") %>'>
</telerik:RadNumericTextBox>
<asp:RequiredFieldValidator ID="RFV_Shomaresh" runat="server" ErrorMessage="<%$ Resources:Resource, Shomaresh %>" Text="*" ValidationGroup="AnbarGardani" ControlToValidate="rtxt_Shomaresh" ForeColor="Red"></asp:RequiredFieldValidator>
</EditItemTemplate>
</telerik:GridTemplateColumn>
I think this problem comes from required validator in item template.Other template columns that are not validator ,dont have this problem.
Please help.
Thanks.