RadTreeView1.DataFieldID =
"ID"
I have a hierarchical radgrid with 2 detail tables in it. I want to use fileupload control in one of the detail table. For this I placed a fileUpload control in one detail table as follows
<telerik:GridTemplateColumn DataField="sURL" HeaderButtonType="TextButton"
HeaderText="sURL" SortExpression="sURL" UniqueName="sURL">
<EditItemTemplate>
<asp:FileUpload ID="sURLTextBox" runat="server"/>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="sURLLabel" runat="server" Text='<%# Eval("sURL") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
Now on clicking the Update command in edit view of the grid, I want to save the filename selected using the fileupload browser.
Appreciate all your help.
Thanks
protected void radTreeViewTopicsGridFilter_NodeDataBound(object sender, RadTreeNodeEventArgs e) { DataRowView dataSourceRow = (DataRowView)e.Node.DataItem; }RadChart1.Legend.Marker.Appearance.Border.PenStyle = System.Drawing.Drawing2D.DashStyle.Solid; RadChart1.Legend.Marker.Appearance.Border.Width = 1; RadChart1.Legend.Marker.Appearance.Border.Color = Color.Silver; LabelItem item1 = new LabelItem(); item1.Marker.Appearance.FillStyle.MainColor = HexToColor("#2FBA2F"); item1.Marker.Appearance.FillStyle.FillType = FillType.Solid; item1.Marker.Appearance.Figure = "Rectangle"; item1.TextBlock.Text = "Good";
<telerik:RadComboBox ID="WeekEndingCB" Font-Size="Large" runat="server" OnSelectedIndexChanged="WeekEndingCB_SelectedIndexChanged" OnTextChanged="WeekEndingCB_TextChanged" AutoPostBack="True" Style="width: 7.2em;"> <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> <ItemTemplate> Text: "<%# Eval("Text") %>" </ItemTemplate> <Items> <telerik:RadComboBoxItem Value="10/3/2010" Text="10/3/2010" />
<telerik:RadComboBoxItem Value="10/10/2010" Text="10/10/2010" />
</Items></telerik:RadComboBox>