| foreach (ClientOperation<RadTreeNode> operation in rtvMenu.ClientChanges) |

| <script type="text/javascript"> |
| function OnRequestStart(target, arguments) { |
| if (document.getElementById("FileUpload2") != null) { |
| var fileUpload = document.getElementById("FileUpload2"); |
| if (fileUpload.value != "") { |
| arguments.set_enableAjax(false); |
| } |
| } |
| } |
| </script> |
| <telerik:RadAjaxPanel runat="server" ID="radAjaxPanel" Width="100%" LoadingPanelID="radAjaxLoadingPanel" ClientEvents-OnRequestStart="OnRequestStart"> |
| <telerik:RadGrid ID="RadGrid1" |
| ... |
| <EditFormSettings EditFormType="Template"> |
| <FormTemplate> |
| <input id="FileUpload2" type="file" runat="server" class="fileUpload" /> |
| <asp:Button ID="buttonUploadFile" Text="Ladda upp" runat="server" ValidationGroup="validationGroupFile" CommandName='<%# (Container is GridEditFormInsertItem) ? "PerformInsert" : "Update" %>' CommandArgument="File" /> |
| <telerik:GridTemplateColumn UniqueName="RadChrt" HeaderText="RadChrt"> |
| <ItemTemplate> |
| <asp:Label Text="ChartPos" Visible="false" runat="server"> </asp:Label> |
| <telerik:RadChart ID="RadChart1" runat="server"> |
| <PlotArea> |
| <EmptySeriesMessage Visible="True"> |
| <Appearance Visible="True"> |
| </Appearance> |
| </EmptySeriesMessage> |
| </PlotArea> |
| <ChartTitle> |
| <TextBlock Text="Nested Chart"> |
| </TextBlock> |
| </ChartTitle> |
| </telerik:RadChart> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |
| RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { |
| if (e.Item is GridDataItem) |
| { |
| GridDataItem item = e.Item as GridDataItem; |
| RadChart chart = item["RadChrt"].FindControl("RadChart1") as RadChart; |
| } |
| } |
| how do i search for a radchart control in a template column within the mastertableview. i want to get the value NOT within the RadGrid1_ItemDataBound event. |
Hi, When adding grouping in the codebehind using the GridGroupByExpression is it possible to assign the header text of the grouping fields? Instead of 'SalesRegionDescription' I would like to display 'Sales Region'.
rgMain.MasterTableView.GroupByExpressions.Clear()
Dim expression1 As GridGroupByExpression = GridGroupByExpression.Parse("Geography, SalesRegionDescription Group By Geography, SalesRegionDescription")
rgMain.MasterTableView.GroupByExpressions.Add(expression1)
rgMain.MasterTableView.ShowGroupFooter =
True
Thanks
In RadGrid having 7000 records. When I Scroll RadGrid Task Manger shows CPU usage memory between 70 and 90 .The website is very slow .How I can improve performance of website .some times website is struck. How I can reduce memory usage of CPU. I am using IE 6 and IE 7.
Thanks in advance...