
<
telerik:RadPanelItem Text="Case Age Filter" runat="server">
<Items>
<telerik:RadPanelItem runat="server">
<ItemTemplate>
<asp:Label ID="lblCaseAgeFilter" runat="server" Font-Size="10pt" Text="Show cases older than X days:"></asp:Label>
<asp:TextBox ID="CaseAgeFilter" runat="server" Font-Size="10pt" Height="15px" Width="25px"></asp:TextBox>
</ItemTemplate>
</telerik:RadPanelItem>
</Items>
</telerik:RadPanelItem>
</Items>
<CollapseAnimation Duration="100" Type="None" />
<ExpandAnimation Duration="100" Type="None" />
</telerik:RadPanelBar>
| <EditFormSettings EditFormType="Template"> |
| <FormTemplate> |
| <table width='100%'> |
| <colgroup><col width='10' /><col width='420' /><col width='200' /><col width=* /></colgroup> |
| <tr> |
| <td></td> |
| <td> |
| <table width='100%' border='0'> |
| <colgroup><col width='30' /><col width='200' /></colgroup> |
| <tr> |
| <td>Name</td> |
| <td> |
| <radI:RadTextBox ID="rtbAECName" runat="server" Text='<%# Bind( "AECName") %>' Width='190px'> |
| </radI:RadTextBox></td> |
| </tr> |
| <tr> |
| <td>Email</td> |
| <td> |
| <radI:RadTextBox ID="rtbEmail" runat="server" Text='<%# Bind( "Email") %>' Width='190px'> |
| </radI:RadTextBox></td> |
| </tr> |
| <tr align=right> |
| <td colspan="2"> |
| </td> |
| </tr> |
| </table> |
| </td> |
| <td> |
| <table><tr><td><asp:ListBox ID="lbAllCountries" runat="server" DataSourceID="odsCountries" |
| DataTextField="Country" DataValueField="ID" Rows="12" Width="220px"></asp:ListBox></td><td> |
| <asp:Button ID="btnAdd" runat="server" Text="-->" OnClick="btnAdd_Click" /><br /> |
| <asp:Button ID="btnRemove" runat="server" Text="<--" /></td><td> |
| <asp:ListBox ID="lbAssignedCountries" runat="server" Rows="12" Width="220px"></asp:ListBox></td></tr></table> |
| </td> |
| <td></td></tr> |
| <tr> |
| <td> |
| </td> |
| <td align="center" colspan="2"> |
| <asp:Button ID="btnUpdate" runat="server" Text="Update" CommandName="Update" /><asp:Button ID="btnCancel" runat="server" Text="Cancel" CommandName="Cancel" /></td> |
| <td> |
| </td> |
| </tr> |
| </table> |
| </FormTemplate> |
| <EditColumn UniqueName="EditCommandColumn1"> |
| </EditColumn> |
| </EditFormSettings> |
| <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="business_purchasing_orders_Default" %> |
| <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head runat="server"> |
| <title>Untitled Page</title> |
| </head> |
| <body> |
| <form id="form1" runat="server"> |
| <div> |
| <asp:ScriptManager ID="ScriptManager1" runat="server"> |
| </asp:ScriptManager> |
| <telerik:RadFormDecorator ID="RadFormDecorator1" DecoratedControls="All" runat="server" /> |
| <telerik:RadMaskedTextBox ID="RadMaskedTextBox1" Mask="(###) ###-####" PromptChar="0" runat="server"> |
| </telerik:RadMaskedTextBox> |
| </div> |
| </form> |
| </body> |
| </html> |
I have a radgid and some of labels on my form.
I want to get the text of a couple of columns in the selected row and put those values in labels located elsewhere on the form.
So my question is, what server side event should I use on the radgrd and then how do I get the text value of columns in that row.
LabelLastName.text = selectedrow.column(“EmployeeLastName”).text
Thanks for any help!
Bill
I have a Hierarchical Grid with one child table. I'd like to have the ability to search for an item in all of the child tables. For example the master table has purchase orders, the child table has part numbers, I want to show all the PO's that have a part number of 123.
I stumbled on the Search on Key Press Video in the video section and it works out great. I can do the search and everything comes up how I want it to.
The question I have, is when I added in the search option in the commandItem Template, I lost the "Add" and "Refresh" buttons at the same time. I tried looking in the documentation and didn't see much on for wiring in buttons for those options. Is there a place that I missed that I can look at?
Also, for searching the child table, is the way I'm going about it a any good or is there a better/quicker way of doing it?
Thanks,
Brett
