Hi,
I wonder, how can I achieve one thing: I have defined skin (in asp.net meaning of that word) in default.skin, to set appropriate skin to all telerik textboxes:
<telerik:RadTextBox runat="server" Skin="Vista" EnableEmbeddedSkins="true" />Now, I would like filter textbox to use settings from default.skin file.
I've had no problem with RadComboBox used as filter control in my custom column class, skin was automatically applied. Why same thing isn't happening to textbox? And how could I achieve my goal?
Thanks in advance
Pako
AllowFilteringByColumn
="true"
showfiltericon
="true" filterlistoptions="VaryByDataType"
But I am unable to see the filter options menu on click of Filter icon which appears in Header. Instead the page posts back.
Please let me know how to achieve the Filtering option in my grid?
I am using Telerik.Web.UI.dll 2010.3.1215.35 version in my application.
Thanks In advance.
若要以中文阅读此电子邮件,请单击此处。
" (this resembles chinese characters) in html view and switch to design view it shows the chinese characters properly.Folks,
I am using RadControls for ASP.NET AJAX Q3 2010 SP2 with VS2010. I am using Form Template for editing rows. Below is my code.
In my form I have a RadioButton list (RadioButtonListApprovalType) with 3 list items. (Approved, Denied and Pending). I would like to see if the user's selects 'Denied', prior to updating the form, show an alert (i.e. 'Are your sure to Deny the Process?'). If user's chooses 'Yes', Update the row. If user's chooses 'No', Cancel the update. Basically I would like to see the same sort of alert prior to Deleting Radgrid rows.
Thanks
GC_0620
______________
<telerik:RadGrid ID="RadGrid1" runat="server" AllowFilteringByColumn="True" AllowPaging="True" AllowSorting="True" DataSourceID="SqlDataSource3" GridLines="None" AutoGenerateColumns="False" PageSize="8" Skin="Office2007" AllowAutomaticDeletes="True" AllowAutomaticUpdates="True" EnableLinqExpressions="False" OnColumnCreated="RadGrid1_ColumnCreated" OnUpdateCommand="RadGrid1_UpdateCommand" OnItemCommand="RadGrid1_ItemCommand" OnPreRender="RadGrid1_PreRender" OnItemDataBound="RadGrid1_ItemDataBound"> ''''' '''' <EditFormSettings EditFormType="Template"> <FormTemplate> <table id="Table2" class="form-controls" cellspacing="2" cellpadding="1" width="100%" border="0" rules="none" style="border-collapse: collapse; background: #DCDCDC;"> <tr> <td style="font-size: 11px"> Approval status: </td> <td> <asp:RadioButtonList ID="RadioButtonListApprovalType" DataTextField="ProcessStatus" TabIndex="11" DataValueField="ProcessStatus" RepeatDirection="Horizontal" runat="server" SelectedValue='<%# Bind("ProcessStatus") %>'> <asp:ListItem Text="" /> <asp:ListItem Text="Approved" /> <asp:ListItem Text="Denied" /> <asp:ListItem Text="Pending" /> </asp:RadioButtonList> </td> </tr> <tr> <td align="right" colspan="2"> <asp:Button ID="btnUpdate" runat="server" CssClass="form-button" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update" %>' /> <asp:Button ID="btnCancel" runat="server" CausesValidation="False" CssClass="form-button" CommandName="Cancel" Text="Cancel" /> </td> </tr> </table> </FormTemplate> </EditFormSettings> ''''' ''''' </telerik:RadGrid><div class="RadGrid RadGrid_Default" style="width:400px"> <table class="MasterTable_Default" cellspacing="0" style="width:100%"> <tr> <th class="GridHeader_Default">header cell</th> <th class="GridHeader_Default">header cell</th> </tr> <tr class="GridRow_Default"> <td>data cell</td> <td>data cell</td> </tr> <tr class="GridAltRow_Default"> <td>data cell</td> <td>data cell</td> </tr> </table> </div>
<telerik:GridBoundColumn DataField="First Name" FilterControlAltText="Filter First Name column" HeaderText="First Name" SortExpression="First Name" UniqueName="First Name"> <ItemStyle HorizontalAlign="Left" /> </telerik:GridBoundColumn> <telerik:GridTemplateColumn HeaderText="First Name" UniqueName="First Name"> <EditItemTemplate> <telerik:RadTextBox id="tbFirstName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "First Name") %>'></telerik:RadTextBox> <asp:RequiredFieldValidator id="RequiredFieldValidator1" runat="server" ErrorMessage="(Required)" ControlToValidate= "tbFirstName" ForeColor="Red"> </asp:RequiredFieldValidator> </EditItemTemplate> <ItemStyle HorizontalAlign="Left" /> <ItemTemplate> <asp:Label ID="dtFirst_Name" runat="server" Text='<%# Eval("First Name", "{0}") %>' /> </ItemTemplate> </telerik:GridTemplateColumn>