Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
1.0K+ views
Hi,

we are using a radgrid and randomly get the below error for the column used in GroupByExpressions. The column exists in the query and it works fine most of the time,  but sometimes it throws the below error. I have gone through many forum posts but no avail. The try catch statements too dont handle the error and we get the yellow screen of death. we have posted the server log too below. We are using version 2014.1.403.45 of the controls.
Any help would be greatly appreciated. 
aspx
001.<telerik:RadGrid ID="radProject3" runat="server"
002.                            AutoGenerateColumns="False"
003.                            AllowSorting="True"
004.                            AllowPaging="True"
005.                            ShowFooter="True"
006.                            ShowGroupPanel="true"
007.                            AllowFilteringByColumn="False"
008.                            EnableGroupsExpandAll="True"
009.                            EnableHeaderContextMenu="true"
010.                            EnableHeaderContextFilterMenu="False"
011.                            CellSpacing="0"
012.                            PageSize="25"
013.                            >
014.                            <ExportSettings HideStructureColumns="true"
015.                                ExportOnlyData="true"
016.                                IgnorePaging="true"
017.                                OpenInNewWindow="true"
018.                                FileName="TaskSheet"
019.                                >
020.                                <Csv RowDelimiter="Tab" />
021.                                <Excel Format="Html" AutoFitImages="true" />
022.                                <Pdf FontType="Link" ForceTextWrap="true" BorderColor="#000000" BorderStyle="Thin" BorderType="AllBorders" DefaultFontFamily="Arial"  >
023.                                    <PageHeader>
024.                                        <LeftCell Text="" TextAlign="Left" />
025.                                        <RightCell Text=""  TextAlign="Right" />
026.                                    </PageHeader>
027.                                </Pdf>
028.                            </ExportSettings>
029.                            <MasterTableView DataKeyNames="FullJobNo, t_Briefno, t_BriefVersionNo, t_BriefRevisionNo"
030.                                ClientDataKeyNames="FullJobNo, t_Briefno, t_BriefVersionNo, t_BriefRevisionNo"
031.                                AllowMultiColumnSorting="True"
032.                                EnableHierarchyExpandAll="true"
033.                                GroupLoadMode="Server"
034.                                Name="ARMPROJECT"
035.                                FilterItemStyle-Height="10px"
036.                                CommandItemDisplay="top"
037.                                CommandItemStyle-Height="5px"
038.                                >
039.                                 <PagerStyle Mode="NextPrevAndNumeric"  AlwaysVisible="true" PageSizes="{20, 25, 50, 75, 100, 200, 250, 500, 750, 1000, 1000}"></PagerStyle>
040.                                <GroupByExpressions>
041.                                    <telerik:GridGroupByExpression>
042.                                        <SelectFields>
043.                                            <telerik:GridGroupByField FieldName="assignedto" HeaderText="Assigned To" />
044.                                        </SelectFields>
045.                                        <GroupByFields>
046.                                            <telerik:GridGroupByField FieldName="assignedto" SortOrder="Ascending" />
047.                                        </GroupByFields>
048.                                    </telerik:GridGroupByExpression>
049.                                </GroupByExpressions>
050.                                <CommandItemSettings
051.                                    ShowExportToExcelButton="false"
052.                                    ShowRefreshButton="true"
053.                                    ShowAddNewRecordButton="false" />
054.                                <Columns>
055.                                    <telerik:GridTemplateColumn DataField="Fav" GroupByExpression="Fav Group By Fav" UniqueName="Fav" HeaderText="Fav" SortExpression="Fav" ItemStyle-Width="16px" AllowFiltering="false" HeaderStyle-Width="16px">
056.                                        <ItemTemplate>
057.                                            <asp:ImageButton runat="server" ID="ImgFav" ImageUrl='<%# String.Format("~/images/icons/{0}", Eval("imgFav"))%>' Width="16px" Height="16px" />
058.                                            <asp:HiddenField runat="server" ID="hdnFav" Value='<%#Eval("Fav") %>' />
059.                                            <asp:HiddenField runat="server" ID="hdnIntRev" Value='<%#Eval("InternalReview1") %>' />
060.                                            <asp:HiddenField runat="server" ID="hdnClPr" Value='<%#Eval("ClientPresentation1") %>' />
061.                                            <asp:HiddenField runat="server" ID="hdnDead" Value='<%#Eval("Deadline1") %>' />
062.                                        </ItemTemplate>
063.                                    </telerik:GridTemplateColumn>
064.                                     <telerik:GridBoundColumn DataField="FavText"  UniqueName="FavText" HeaderText="Fav" SortExpression="FavText" AllowFiltering="false" Visible="false" ItemStyle-Width="30px" HeaderStyle-Width="30px">
065.                                        <ColumnValidationSettings>
066.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
067.                                        </ColumnValidationSettings>
068.                                    </telerik:GridBoundColumn>
069.                                    <telerik:GridBoundColumn DataField="FullJobNo" UniqueName="FullJobNo" HeaderText="Job No" SortExpression="FullJobNo" ItemStyle-Width="90px" AllowFiltering="false">
070.                                        <ColumnValidationSettings>
071.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
072.                                        </ColumnValidationSettings>
073.                                    </telerik:GridBoundColumn>
074.                                    <telerik:GridTemplateColumn GroupByExpression="FullBriefNo Group By FullBriefNo" UniqueName="FullBriefNo" HeaderText="Brief No" SortExpression="FullBriefNo" AllowFiltering="false" ItemStyle-Width="70px">
075.                                        <ItemTemplate>
076.                                            <asp:Label runat="server" ID="lblFullBriefNoWithD" Text='<%#Eval("FullBriefNoWithD")%>' Width="70px"></asp:Label>
077.                                            <asp:Label runat="server" ID="lblFullBriefNo" Text='<%#Eval("FullBriefNo") %>' Visible="false"></asp:Label>
078.                                             <asp:HiddenField runat="server" ID="hdnCostCentreCode" Value='<%#Eval("t_costcentrecode") %>' />
079.                                        </ItemTemplate>
080.                                    </telerik:GridTemplateColumn>
081.                                    <telerik:GridBoundColumn DataField="t_BriefType" UniqueName="t_BriefType" HeaderText="Brief Type" SortExpression="t_BriefType" AllowFiltering="false">
082.                                        <ColumnValidationSettings>
083.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
084.                                        </ColumnValidationSettings>
085.                                    </telerik:GridBoundColumn>
086.                                    <telerik:GridBoundColumn DataField="t_briefdescription" UniqueName="t_briefdescription" HeaderText="Brief Title" SortExpression="t_briefdescription" AllowFiltering="false"
087.                                        ItemStyle-HorizontalAlign="Left"  HeaderStyle-HorizontalAlign="Left">
088.                                        <ColumnValidationSettings>
089.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
090.                                        </ColumnValidationSettings>
091.                                    </telerik:GridBoundColumn>
092.                                    <telerik:GridBoundColumn DataField="t_jobdescription" UniqueName="t_jobdescription" HeaderText="Job Description" SortExpression="t_jobdescription" AllowFiltering="false"
093.                                        ItemStyle-HorizontalAlign="Left"  HeaderStyle-HorizontalAlign="Left" HeaderStyle-width="200px">
094.                                        <ColumnValidationSettings>
095.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
096.                                        </ColumnValidationSettings>
097.                                    </telerik:GridBoundColumn>
098.                                    <telerik:GridBoundColumn DataField="brieffeed" UniqueName="t_brieffeed" HeaderText="Feed" SortExpression="brieffeed" AllowFiltering="false">
099.                                        <ColumnValidationSettings>
100.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
101.                                        </ColumnValidationSettings>
102.                                    </telerik:GridBoundColumn>
103.                                    <telerik:GridBoundColumn DataField="t_taskname" UniqueName="t_taskname" HeaderText="Task Name" SortExpression="t_taskname" AllowFiltering="false">
104.                                        <ColumnValidationSettings>
105.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
106.                                        </ColumnValidationSettings>
107.                                    </telerik:GridBoundColumn>
108.                                    <telerik:GridBoundColumn DataField="assignedto" UniqueName="t_assignedto" HeaderText="Assigned To" SortExpression="assignedto" AllowFiltering="false">
109.                                        <ColumnValidationSettings>
110.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
111.                                        </ColumnValidationSettings>
112.                                    </telerik:GridBoundColumn>
113.                                    <telerik:GridBoundColumn DataField="ClientName" UniqueName="ClientName" HeaderText="Client Name" SortExpression="ClientName" AllowFiltering="false">
114.                                        <ColumnValidationSettings>
115.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
116.                                        </ColumnValidationSettings>
117.                                    </telerik:GridBoundColumn>
118.                                    <telerik:GridBoundColumn DataField="BrandName" UniqueName="BrandName" HeaderText="Brand Name" SortExpression="BrandName" AllowFiltering="false">
119.                                        <ColumnValidationSettings>
120.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
121.                                        </ColumnValidationSettings>
122.                                    </telerik:GridBoundColumn>
123.                                    <telerik:GridTemplateColumn GroupByExpression="t_OriginalFileName Group By t_OriginalFileName" UniqueName="t_FileName" HeaderText="File Name" SortExpression="t_OriginalFileName"
124.                                        AllowFiltering="false"
125.                                        Exportable="false">
126.                                        <ItemTemplate>
127.                                           <%-- <asp:LinkButton runat="server" ID="lnkViewFile" OnClick="lnkViewFile_Click" Text='<%#Eval("t_FileName") %>'></asp:LinkButton>--%>
128.                                               <asp:Label runat="server" ID="lblViewFile" Text='<%#Eval("t_OriginalFileName")%>' Visible="true" ></asp:Label>
129.                                        </ItemTemplate>
130.                                    </telerik:GridTemplateColumn>
131.                                    <telerik:GridBoundColumn DataField="InternalReview" UniqueName="InternalReview" HeaderText="Internal Review" SortExpression="InternalReview1" AllowFiltering="false"
132.                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
133.                                        <ColumnValidationSettings>
134.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
135.                                        </ColumnValidationSettings>
136.                                    </telerik:GridBoundColumn>
137.                                    <telerik:GridBoundColumn DataField="Deadline" UniqueName="Deadline" HeaderText="Deadline" SortExpression="Deadline1" AllowFiltering="false"
138.                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
139.                                        <ColumnValidationSettings>
140.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
141.                                        </ColumnValidationSettings>
142.                                    </telerik:GridBoundColumn>
143.                                    <telerik:GridBoundColumn DataField="ClientPresentation" UniqueName="ClientPresentation" HeaderText="Client Presentation" SortExpression="ClientPresentation1" AllowFiltering="false"
144.                                        HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left">
145.                                        <ColumnValidationSettings>
146.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
147.                                        </ColumnValidationSettings>
148.                                    </telerik:GridBoundColumn>
149.                                    <telerik:GridBoundColumn DataField="t_UploadedBy" UniqueName="t_UploadedBy" HeaderText="Created By" SortExpression="t_UploadedBy" AllowFiltering="false">
150.                                        <ColumnValidationSettings>
151.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
152.                                        </ColumnValidationSettings>
153.                                    </telerik:GridBoundColumn>
154.                                    <telerik:GridBoundColumn DataField="t_UploadedOn" UniqueName="t_UploadedOn" HeaderText="Created Date" SortExpression="t_UploadedOn" DataFormatString="{0:dd-MM-yyyy HH:mm:ss}" AllowFiltering="false" ItemStyle-Width="110px">
155.                                        <ColumnValidationSettings>
156.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
157.                                        </ColumnValidationSettings>
158.                                    </telerik:GridBoundColumn>
159.                                    <telerik:GridBoundColumn DataField="t_ApprovalStatus" UniqueName="t_ApprovalStatus" HeaderText="Brief Status" SortExpression="t_ApprovalStatus" AllowFiltering="false">
160.                                        <ColumnValidationSettings>
161.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
162.                                        </ColumnValidationSettings>
163.                                    </telerik:GridBoundColumn>
164.                                    <telerik:GridBoundColumn DataField="t_flowstatusname" UniqueName="t_flowstatusname" HeaderText="Flow Status" SortExpression="t_flowstatusname" AllowFiltering="false">
165.                                        <ColumnValidationSettings>
166.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
167.                                        </ColumnValidationSettings>
168.                                    </telerik:GridBoundColumn>
169.                                    <telerik:GridBoundColumn DataField="CreativeDirectorName" UniqueName="t_CreativeDirectorCode" HeaderText="Creative Director" SortExpression="CreativeDirectorName" AllowFiltering="false">
170.                                        <ColumnValidationSettings>
171.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
172.                                        </ColumnValidationSettings>
173.                                    </telerik:GridBoundColumn>
174.                                     <telerik:GridBoundColumn DataField="taskstatus" UniqueName="taskstatus" HeaderText="Status" SortExpression="taskstatus" AllowFiltering="false">
175.                                        <ColumnValidationSettings>
176.                                            <ModelErrorMessage Text=""></ModelErrorMessage>
177.                                        </ColumnValidationSettings>
178.                                    </telerik:GridBoundColumn>
179.                                </Columns>
180.                            </MasterTableView>
181. 
182.                            <ClientSettings AllowDragToGroup="true" AllowColumnsReorder="true"
183.                                ReorderColumnsOnClient="true" ColumnsReorderMethod="Reorder">
184.                                <Resizing EnableRealTimeResize="True" ResizeGridOnColumnResize="True"
185.                                    AllowColumnResize="True" ClipCellContentOnResize="false" AllowResizeToFit="true"  />
186.                                <ClientEvents OnRowDblClick="RowDblClick"
187.                                    OnRowContextMenu="RowContextMenu" />
188.                            </ClientSettings>
189.                            <GroupingSettings ShowUnGroupButton="true"></GroupingSettings>
190.                        </telerik:RadGrid>

Code
01.Private Sub radProject_NeedDataSource(sender As Object, e As GridNeedDataSourceEventArgs) Handles radProject3.NeedDataSource
02.       Try
03.           Dim dsData As DataSet = New DataSet
04.           dsData = LoadBrief()
05.           radProject3.DataSource = dsData
06.       Catch ex As Exception
07. 
08.       End Try
09.   End Sub


Server Error Log
01.Exception information:
02.    Exception type: ArgumentException
03.    Exception message: Column 'assignedto' does not belong to table Table.
04.   at System.Data.DataRow.GetDataColumn(String columnName)
05.   at System.Data.DataRow.get_Item(String columnName)
06.   at lambda_method(Closure , DataRowView )
07.   at System.Linq.Lookup`2.Create[TSource](IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, IEqualityComparer`1 comparer)
08.   at System.Linq.GroupedEnumerable`3.GetEnumerator()
09.   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
10.   at System.Linq.OrderedEnumerable`1.<GetEnumerator>d__0.MoveNext()
11.   at Telerik.Web.UI.GridLinqGroupingHelper.CreateAllGroups(IEnumerable enumerable, List`1 groupFields, GridGroup parentGroup, Int32 level)
12.   at Telerik.Web.UI.GridLinqGroupingHelper.GetGroupedItemsForCurrentPage(IQueryable queryable)
13.   at Telerik.Web.UI.GridDataTableFromEnumerable.FillData35()
14.   at Telerik.Web.UI.GridDataTableFromEnumerable.FillData()
15.   at Telerik.Web.UI.GridResolveEnumerable.Initialize()
16.   at Telerik.Web.UI.GridResolveEnumerable.EnsureInitialized()
17.   at Telerik.Web.UI.GridEnumerableFromDataView..ctor(GridTableView owner, DataView dataView, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText)
18.   at Telerik.Web.UI.GridDataSourceHelper.CreateGridEnumerable(GridTableView owner, IEnumerable enumerable, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText)
19.   at Telerik.Web.UI.GridDataSourceHelper.GetResolvedDataSource(GridTableView owner, Object dataSource, String dataMember, Boolean caseSensitive, Boolean autoGenerateColumns, GridColumnCollection presentColumns, String[] additionalField, Boolean retrieveAllFields, Boolean enableSplitHeaderText)
20.   at Telerik.Web.UI.GridTableView.get_ResolvedDataSource()
21.   at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource)
22.   at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)
23.   at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)
24.   at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)
25.   at System.Web.UI.WebControls.DataBoundControl.PerformSelect()
26.   at Telerik.Web.UI.GridTableView.PerformSelect()
27.   at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
28.   at Telerik.Web.UI.GridTableView.DataBind()
29.   at Telerik.Web.UI.RadGrid.DataBind()
30.   at Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason)
31.   at Telerik.Web.UI.RadGrid.OnLoad(EventArgs e)
32.   at System.Web.UI.Control.LoadRecursive()
33.   at System.Web.UI.Control.LoadRecursive()
34.   at System.Web.UI.Control.LoadRecursive()
35.   at System.Web.UI.Control.LoadRecursive()
36.   at System.Web.UI.Control.LoadRecursive()
37.   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Maria Ilieva
Telerik team
 answered on 03 Apr 2015
2 answers
150 views
Hi,

We're using your editor for editing HTML e-mail templates. Almost each container as IMG, TD, TABLE are resizeable in the editor, but we don't want this option for the TABLE and TD tags, se we want to disable this option for specific HTML tags. Is this possible?

Kind regards,
Jelle de Boer
Erick
Top achievements
Rank 2
 answered on 03 Apr 2015
1 answer
82 views
Hi there,

I do receive the combobox list information in the PDF file, however , it doesn't come in the csv file.
what could be the reason ?
thank you
I've added the grid format.
<telerik:RadGrid AutoGenerateColumns="False" ID="RadGrid4" AllowFilteringByColumn="True" AllowSorting="True" runat="server" OnItemCommand="RadGrid4_ItemCommand" OnItemCreated="RadGrid4_ItemCreated" EnableLinqExpressions="false" HtmlEncode="true" OnNeedDataSource="RadGrid4_NeedDataSource" GroupingSettings-RetainGroupFootersVisibility="true"
                        ShowGroupPanel="True" CellSpacing="-1" GridLines="Both" Skin="Office2010Silver" EnableViewState="true" Width="100%">
                        <PagerStyle Mode="NextPrevAndNumeric" />
                        <GroupingSettings CaseSensitive="false" />
                        <ClientSettings AllowKeyboardNavigation="true">
                        </ClientSettings>
                        <ExportSettings OpenInNewWindow="true" FileName="i-Dispatch Job Part Used Report" ExportOnlyData="true">
                            <Pdf PageHeight="210mm" PageWidth="297mm" DefaultFontFamily="Arial Unicode MS" PageTopMargin="45mm"
                                BorderStyle="Medium" BorderColor="#666666" PaperSize="A4">
                            </Pdf>
                        </ExportSettings>
                        <MasterTableView Width="100%" DataKeyNames="JobID" HierarchyLoadMode="ServerOnDemand" ShowGroupFooter="true" AllowMultiColumnSorting="true">
                            <Columns>
                                <telerik:GridMaskedColumn DataField="JobID" HeaderText="JobID#"
                                    FilterControlWidth="50px" AutoPostBackOnFilter="false" CurrentFilterFunction="EqualTo"
                                    FilterDelay="2000" ShowFilterIcon="false" Mask="#####" GroupByExpression="JobID Group By JobID">
                                    <ColumnValidationSettings>
                                        <ModelErrorMessage Text=""></ModelErrorMessage>
                                    </ColumnValidationSettings>
                                </telerik:GridMaskedColumn>
                                <telerik:GridBoundColumn DataField="JobTitle" FilterControlAltText="Filter JobTitle column" HeaderText="Job Title" SortExpression="JobTitle" UniqueName="JobTitle">
                                    <ColumnValidationSettings>
                                        <ModelErrorMessage Text="" />
                                    </ColumnValidationSettings>
                                </telerik:GridBoundColumn>
                                <telerik:GridDateTimeColumn DataField="JobBookedDate" PickerType="DatePicker" EnableTimeIndependentFiltering="true"
                                    DataFormatString="{0:dd/MM/yyyy HH:mm }" DataType="System.DateTime" FilterControlAltText="Filter JobBookedDate column" HeaderText="Job Booked Date" SortExpression="JobBookedDate" UniqueName="JobBookedDate">
                                    <ColumnValidationSettings>
                                        <ModelErrorMessage Text="" />
                                    </ColumnValidationSettings>
                                </telerik:GridDateTimeColumn>
                                <telerik:GridTemplateColumn DataField="AssignedStaffID" HeaderText="Mobile Staff" UniqueName="AssignedStaffID"
                                    HeaderStyle-Width="200px" SortExpression="AssignedStaffID">
                                    <FilterTemplate>
                                        <telerik:RadComboBox ID="comboStaff" DataTextField="StaffName"
                                            DataValueField="StaffID" Height="100px" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("AssignedStaffID").CurrentFilterValue %>'
                                            runat="server" OnClientSelectedIndexChanged="StaffIndexChanged">
                                            <Items>
                                                <telerik:RadComboBoxItem Text="All" />
                                            </Items>
                                        </telerik:RadComboBox>
                                        <telerik:RadScriptBlock ID="RadScriptBlock10" runat="server">
                                            <script type="text/javascript">
                                                function StaffIndexChanged(sender, args) {
                                                    var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                                    tableView.filter("AssignedStaffID", args.get_item().get_value(), "EqualTo");
                                                }
                                            </script>
                                        </telerik:RadScriptBlock>
                                    </FilterTemplate>
                                    <ItemTemplate>
                                        <%# Eval("Staff") %>
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridTemplateColumn DataField="CreatedBy" HeaderText="Added By" UniqueName="CreatedBy"
                                    HeaderStyle-Width="200px" SortExpression="CreatedBy">
                                    <FilterTemplate>
                                        <telerik:RadComboBox ID="comboAdded" DataTextField="StaffName"
                                            DataValueField="StaffID" Height="100px" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("CreatedBy").CurrentFilterValue %>'
                                            runat="server" OnClientSelectedIndexChanged="AddedByIndexChanged">
                                            <Items>
                                                <telerik:RadComboBoxItem Text="All" />
                                            </Items>
                                        </telerik:RadComboBox>
                                        <telerik:RadScriptBlock ID="RadScriptBlock11" runat="server">
                                            <script type="text/javascript">
                                                function AddedByIndexChanged(sender, args) {
                                                    var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                                    tableView.filter("CreatedBy", args.get_item().get_value(), "EqualTo");
                                                }
                                            </script>
                                        </telerik:RadScriptBlock>
                                    </FilterTemplate>
                                    <ItemTemplate>
                                        <%# Eval("AddedBy") %>
                                    </ItemTemplate>
                                </telerik:GridTemplateColumn>
                                <telerik:GridBoundColumn DataField="PartCode" FilterControlAltText="Filter PartCode column" HeaderText="Part Code" SortExpression="PartCode" UniqueName="PartCode">
                                    <ColumnValidationSettings>
                                        <ModelErrorMessage Text="" />
                                    </ColumnValidationSettings>
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="PartName" Aggregate="Count" FooterText="Total parts: " FilterControlAltText="Filter PartName column" HeaderText="Part Name" SortExpression="PartName" UniqueName="Part Name">
                                    <ColumnValidationSettings>
                                        <ModelErrorMessage Text="" />
                                    </ColumnValidationSettings>
                                </telerik:GridBoundColumn>
 
                                <telerik:GridNumericColumn DataFormatString="{0:$###,##0.00}" DataField="PartPurchasePrice" DataType="System.Double" NumericType="Currency"
                                    HeaderText="Purchase Price" SortExpression="PartPurchasePrice" UniqueName="PartPurchasePrice" Aggregate="Sum" FooterText="Total : " FooterAggregateFormatString="{0:C}">
                                    <FooterStyle Font-Bold="true"></FooterStyle>
                                </telerik:GridNumericColumn>
                                <telerik:GridNumericColumn DataFormatString="{0:$###,##0.00}" DataField="PartSalePrice" DataType="System.Double" NumericType="Currency"
                                    HeaderText="Recommended Sale Price" SortExpression="PartSalePrice" UniqueName="PartSalePrice" FooterText="Total: " Aggregate="Sum" FooterAggregateFormatString="{0:C}">
                                    <FooterStyle Font-Bold="true"></FooterStyle>
                                </telerik:GridNumericColumn>
                                <telerik:GridNumericColumn DataFormatString="{0:$###,##0.00}" DataField="JobPartUnitPrice" DataType="System.Double" NumericType="Currency"
                                    HeaderText="Sale Price Charged" SortExpression="JobPartUnitPrice" UniqueName="JobPartUnitPrice" Aggregate="Sum" FooterAggregateFormatString="{0:C}">
                                    <FooterStyle Font-Bold="true"></FooterStyle>
                                </telerik:GridNumericColumn>
                                <telerik:GridNumericColumn DataField="JobPartQuantity" DataType="System.Double"
                                    HeaderText="Quantity" SortExpression="JobPartQuantity" UniqueName="JobPartQuantity" Aggregate="Sum" FooterAggregateFormatString="{0:n}">
                                    <FooterStyle Font-Bold="true"></FooterStyle>
                                </telerik:GridNumericColumn>
                                <telerik:GridNumericColumn DataFormatString="{0:$###,##0.00}" DataField="JobPartGST" DataType="System.Double" NumericType="Currency"
                                    HeaderText="GST Charged" SortExpression="JobPartGST" UniqueName="JobPartGST" Aggregate="Sum" FooterAggregateFormatString="{0:C}">
                                    <FooterStyle Font-Bold="true"></FooterStyle>
                                </telerik:GridNumericColumn>
                                <telerik:GridNumericColumn DataFormatString="{0:$###,##0.00}" DataField="JobPartTotal" DataType="System.Double" NumericType="Currency"
                                    HeaderText="Total" SortExpression="JobPartTotal" UniqueName="JobPartTotal" Aggregate="Sum" FooterAggregateFormatString="{0:C}">
                                    <FooterStyle Font-Bold="true"></FooterStyle>
                                </telerik:GridNumericColumn>
                                <telerik:GridCalculatedColumn HeaderText="Gross Margin" UniqueName="GrossMargin" DataType="System.Double" DataFormatString="{0:$###,##0.00}"
                                    DataFields="JobPartUnitPrice, PartPurchasePrice" Expression="{0}-{1}" FooterText="Total : "
                                    Aggregate="Sum">
                                </telerik:GridCalculatedColumn>
                                   <telerik:GridCalculatedColumn HeaderText="Gross Margin Percentage" UniqueName="GrossMarginPercentage" DataType="System.Double" DataFormatString="{0:P}"
                                    DataFields="JobPartUnitPrice, PartPurchasePrice" Expression="iif({0}=0,0,iif(({0}-{1})=0,0,(({0}-{1})/{0})*100))" FooterText="Total : "
                                    Aggregate="Sum">
                                </telerik:GridCalculatedColumn>                               
                            </Columns>
                            <GroupByExpressions>
                                <telerik:GridGroupByExpression>
                                    <GroupByFields>
                                        <telerik:GridGroupByField FieldName="JobID"></telerik:GridGroupByField>
                                    </GroupByFields>
                                    <SelectFields>
                                        <telerik:GridGroupByField FieldName="JobID" HeaderText="JobID#"></telerik:GridGroupByField>
                                    </SelectFields>
                                </telerik:GridGroupByExpression>
                            </GroupByExpressions>
                        </MasterTableView>
                        <ClientSettings AllowDragToGroup="true">
                            <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                        </ClientSettings>
                        <GroupingSettings ShowUnGroupButton="true"></GroupingSettings>
                    </telerik:RadGrid>
Kostadin
Telerik team
 answered on 03 Apr 2015
3 answers
112 views
Hi,

We have an issue with the ordered/unordered list options in the editor. Adding an unorderedlist causes the entire text in a TD element to be intended, not the specific text where the cursor is placed or text is selected. 

Reproduceable steps:
- Go to the demos: http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx
- Paste the following text into the editor:

Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Cum sociis natoque penatibus et magnis dis parturient montes

- Put your cursor at beginning ot the second paragraph (at beginning of the word Cum)
- Press on the unordered list button

The unordered bullet will be added at beginning of the first paragraph. 
This is an bug issue for us because of high count people working with it, so it's URGENT for us.

Are you aware of this issue?

Kind regards,
Jelle de Boer
Erick
Top achievements
Rank 2
 answered on 03 Apr 2015
1 answer
51 views
Hello,

Well after upgrade from Telerik version of 2011 to 2015 RadScheduler stoped working. The problem resides in

<%#Container.ItemIndex%>

Always is represented by empty space. The exact  code 

<asp:ImageButton ID="imgAdmin" runat="server" OnCommand="verCalendarioAdmin"<br>                                    CommandArgument='<%#Container.ItemIndex%>' ImageUrl="./Img/Perfil/administrar.png"  ToolTip='<%$ Resources: GridAdministrar %>'/>    
                       
Nencho
Telerik team
 answered on 03 Apr 2015
1 answer
128 views
Is there any way to detect during OnClientItemClicking/OnClientItemClickedwhether a RadMenuItem has PostBack=False? 
Nencho
Telerik team
 answered on 03 Apr 2015
3 answers
164 views


Please look at my month view and look at the Day/Week view I
did not find my appointments/meeting in Day/Week view why??

Please advise…

Thanks

Plamen
Telerik team
 answered on 03 Apr 2015
3 answers
133 views
Hello there,

I have 100% height problem in File Explorer. I tried the solution at below but treeview + splitter + grid have 67 pixel when i check the source of the page...


html, form, body { height: 100%; margin: 0px; }
Guss
Top achievements
Rank 2
Veteran
 answered on 03 Apr 2015
2 answers
197 views
I need help. I need to make the FileExplorer resize it's length and width to match it's parent container.  I attempted to implement the code found here .  The browser cannot interpret the Telerik functions so I consistently get a "is not a function" response from Firebug debugger for .get_grid(), etc..  Why am I getting the error message and how can I accomplish resizing the FileExplorer to it's parent Container?  The FileExplorer is in a panel, which is in the bottom half of another panel which the width of the RadSlidingPane (ID=LSlidingPane @ line 4) can be resized by the client.  The FileExplorer's height needs to resize to the width of the sliding pane onresize and the height of it's container onload.  If this can't be done, I at least need to be able to view the bottom of the FileExplorer.  Presently, I can only view the upper portion and not the bottom horizontal scrollbar.  Any help is greatly appreciated.  Thanks.

​
001.<telerik:RadSplitter id="RadSplitter1" runat="server" Height="488" Width="767">
002.        <telerik:RadPane id="LPane" runat="server" width="22px" Scrolling="None">
003.            <telerik:RadSlidingZone ID="LSlidingZone" runat="server" Width="22px">
004.                <telerik:RadSlidingPane ID="LSlidingPane" runat="server"
005.                EnableDock="True" EnableResize="True" Scrolling="None" Title="Location"
006.                Width="250px">
007.                    <telerik:RadSplitter ID="Radsplitter3" runat="server" Height="275" Orientation="Horizontal" Width="260">
008.                              <telerik:RadPane ID="LoRadpane" runat="server" Scrolling="None" CssClass="AutoHeight" >  
009.                                  <asp:Panel ID="pnlL" runat="server" >
010.                                        <div ID="DivC" align="center" style="overflow: hidden">
011. 
012.                                                <asp:DropDownList ID="Bdropdwn" runat="server"
013.                                                AutoPostBack="false" Height="25px" Width="200px">
014.                                                </asp:DropDownList>
015. 
016.                                                    <br />
017.                                                    <p />
018.                                                <asp:ListBox ID="RListBox" runat="server" AutoPostBack="false"
019.                                                Height="150px" Width="200px">
020.                                                </asp:ListBox>
021.                                                <br />
022.                                       </div>
023.                                    </asp:Panel>
024.                                </telerik:RadPane>
025.                             <telerik:RadSplitBar id="URadsplitbar" runat="server" CssClass="tab_click">
026.                             </telerik:RadSplitBar>
027.                                 <telerik:RadPane id="URadpane" runat="server">
028.                                     <asp:Panel id="pnlU" runat="server" Height="100px" Width="260px">
029.                                          <div id="layer" align="center" >
030. 
031.                                                                   <p align="center">
032.                                                                   <input id="file" type="file" width="200px" />
033.                                                                   </p>
034.                                              </div>
035.                                        <div id="dvFileExplorer" >
036.                                            <asp:Panel runat="server" ID="pnlFileExplorer" class="dvFileExplorerContent" >
037.                                                 
038.                                                <telerik:RadFileExplorer ID="RadFileExplorer" runat="server"
039.                                                    EnableOpenFile="false"
040.                                                    ExplorerMode="Default" Width="100%" >
041.                                                </telerik:RadFileExplorer>
042. 
043.                                            </asp:Panel>
044.                                        </div>
045.                                      </asp:Panel>
046.                                  </telerik:RadPane>
047.                             </telerik:RadSplitter>
048.                    </telerik:RadSlidingPane>
049. 
050.                <telerik:RadSlidingPane ID="MPane" runat="server" EnableDock="True" EnableResize="True" Title="Message(s)" Height="275" Width="260">
051.                    <div id="AccordionMPane">
052.                    </div>
053.                </telerik:RadSlidingPane>
054.                  <telerik:RadSlidingPane id="EPane" runat="server" EnableDock="True" EnableResize="True" Title="Error(s)" Height="275" Width="260">
055.                    <div id="AccordionEPane">
056.                    </div>
057.                  </telerik:RadSlidingPane>
058.                  <telerik:RadSlidingPane id="SPane" runat="server" EnableDock="True" EnableResize="True" Title="Summary" Height="275" Width="260">
059.                    <div id="AccordianSPane">
060.                    </div>
061.                  </telerik:RadSlidingPane>
062.                 </telerik:RadSlidingZone>
063.        </telerik:RadPane>
064. 
065.      <%--Splitter Bar--%>
066.      <telerik:RadSplitBar id="RadSplitbar1" runat="server">
067.      </telerik:RadSplitBar>
068. 
069.      <%--Main Pane--%>
070.      <telerik:RadPane id="MiddlePane" runat="server" Scrolling="None">
071.               <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
072.                <ContentTemplate>
073.                    <div id="TabDiv" class="tabcontainer" style="margin:0px;border-width:0px; padding:0px;border:none;">
074.                        <ul class="tabs">
075.                            <li><a href="#W#" class="tab-link current">W</a></li>                  
076.                            <li><a href="#S1#" class="tab-link">S1</a></li>                 
077.                            <li><a href="#S2#" class="tab-link">S2</a></li>   
078.                            <li><a href="#S3#"  class="tab-link">S3</a></li>                  
079.                            <li><a href="#R#" class="tab-link">R</a></li>
080.                        </ul>
081.                        <div id="W#" class="tab-content">
082.                        </div>
083.                        <div id="S1#" class="tab-content">
084.                         <div >
085.                         </div>
086.                        </div>
087.                        <div id="S2#" class="tab-content">
088.                         <div >
089.                         </div>
090.                        </div>
091.                        <div id="S3#" class="tab-content">
092.                         <div >
093.                         </div>
094.                        </div>
095.                        <div id="R#" class="tab-content">
096.                         <div >
097.                         </div>
098.                        </div>
099.                    </div>
100.               </ContentTemplate>
101.               </asp:UpdatePanel
102.           </telerik:RadPane>
103.    </telerik:RadSplitter>
Guss
Top achievements
Rank 2
Veteran
 answered on 03 Apr 2015
2 answers
109 views
I've been toying with using this control for a webapp on the iPhone. Since there is no scroll bar for iPhone Safari, I would like to be able to display longer lists in FileTree ExplorerMode. Is there a way to dynamically change the height of the tree that appears? I can set it to an arbitrary longer value, but would prefer that the height autoresize resize itself to the content displayed.

Thanks!
Guss
Top achievements
Rank 2
Veteran
 answered on 03 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?