| .tdMultiColDLL |
| { |
| border-style: none solid none solid; |
| border-width: 1px; |
| border-color: #000000; |
| } |
| <telerik:RadComboBox ID="ddlVoucher" runat="server" Skin="Vista" Width="500" MaxHeight="200" |
| HighlightTemplatedItems="true" AutoPostBack="true" CausesValidation="false"> |
| <HeaderTemplate> |
| <table style="width: 480px; text-align: left" cellpadding="0" cellspacing = "0"> |
| <tr> |
| <td style="width: 60px;" align="right" class="tdMultiColDLL">Voucher #</td> |
| <td style="width: 250px;" class="tdMultiColDLL">Vendor/Staff/Customer</td> |
| <td style="width: 80px;" align="right" class="tdMultiColDLL">Pmt Date</td> |
| <td style="width: 80px;" align="right" class="tdMultiColDLL">Invoice #</td> |
| </tr> |
| </table> |
| </HeaderTemplate><ItemTemplate> |
| <table style="width: 480px; text-align: left" cellpadding="0" cellspacing="0"> |
| <tr> |
| <td style="width: 60px;" align="right" class="tdMultiColDLL"> |
| <%#DataBinder.Eval(Container.DataItem, "VoucherId")%> |
| </td> |
| <td style="width: 250px;" class="tdMultiColDLL" > |
| <%#DataBinder.Eval(Container.DataItem, "VendorOrStaff")%> |
| </td> |
| <td style="width: 80px;" align="right" class="tdMultiColDLL"> |
| <%#CDate(DataBinder.Eval(Container.DataItem, "PaymentDate")).ToShortDateString%> |
| </td> |
| <td style="width: 80px;" align="right" class="tdMultiColDLL"> |
| <%#DataBinder.Eval(Container.DataItem, "InvoiceNumber")%> |
| </td> |
| </tr> |
| </table> |
| </ItemTemplate> |
| </telerik:RadComboBox> |
rsLocationCalendar.AllowEdit =
false;
however it did not do anything... I saw a sample but cannot seem to get it to work in the front end... Any help you can give would be great.
<
telerik:GridCalculatedColumn HeaderText="User's Name" UniqueName="UsersName" DataType="System.String"
DataFields="FirstName, LastName" Expression='{0} + " " + {1}' AllowFiltering="true"/>
If an user's name is Peter James and I filter the grid by first name or last name it works fine.If I filter for the full name Peter James,there are no records displayed in the grid.
Could you please let me know how I can filter the grid by full names( FirstName LastName).
Thanks,
Nandita.
Hello,
I have a client-side OnCommand handler setup for the RadGrid. It's setup for a page event on the client side, but for some reason, it's being called twice. I don't know what the issue is there... why would it be called twice?
Thanks.
| <telerik:RadGrid ID="PartnerListGrid" runat="server" |
| AllowSorting="True" GridLines="None" Skin="Vista" ShowGroupPanel="True" |
| OnItemDataBound="PartnerListGrid_ItemDataBound" AutoGenerateColumns="False" |
| OnCancelCommand="PartnerListGrid_CancelCommand" |
| oninsertcommand="PartnerListGrid_InsertCommand" |
| onupdatecommand="PartnerListGrid_UpdateCommand"> |
| ... |
| <EditFormSettings EditFormType="Template"> |
| <FormTableItemStyle Width="100%"></FormTableItemStyle> |
| <FormTableStyle GridLines="None" CellSpacing="0" CellPadding="2"></FormTableStyle> |
| <FormStyle Width="100%" BackColor="white"></FormStyle> |
| <EditColumn UniqueName="EditCommandColumn1"> |
| </EditColumn> |
| <FormTemplate> |
| <table id="Table2" cellspacing="2" cellpadding="1" width="100%" border="0" rules="none" |
| style="border-collapse: collapse"> |
| <tr>...</tr> |
| <tr>...</tr> |
| <tr> |
| <td align="right" colspan="2"> |
| <asp:Button ID="btnUpdate" Text="Update" runat="server" CommandName="Update"></asp:Button> |
| <asp:Button ID="btnInsert" Text="Insert" runat="server" CommandName="PerformInsert"></asp:Button> |
| <asp:Button ID="btnCancel" Text="Cancel" runat="server" CausesValidation="False" CommandName="Cancel"></asp:Button> |
| </td> |
| </tr> |
| </table> |
| </FormTemplate> |
| </EditFormSettings> |
| protected void PartnerListGrid_CancelCommand(object source, GridCommandEventArgs e) |
| { |
| PartnerListGrid.MasterTableView.ClearEditItems(); |
| } |