Hi,
I have a grid with template columns. In the grid, the rows are merged when the data are same. Since the number of columns in the grid are exceeding the grid's view, it is set to be scrollable. The problem is, when the grid is scrolled, there control in the column went missing.
This is the code that I use to merge the row
Protected Sub gvMain_PreRender(ByVal sender As Object, ByVal e As EventArgs) Handles gvMain.PreRender For Each dataItem As GridDataItem In gvMain.MasterTableView.Items If (dataItem.OwnerTableView.Name = "gvMain") Then Dim gtv As GridTableView = CType(dataItem.OwnerTableView, GridTableView) For rowIndex As Integer = gtv.Items.Count - 2 To 0 Step -1 Dim row As GridDataItem = gtv.Items(rowIndex) Dim previousRow As GridDataItem = gtv.Items(rowIndex + 1) If row("Name").Text = previousRow("Name").Text Then For col As Integer = gtv.Columns.Count - 1 To 0 Step -1 Dim gbcCol As String = CType(gvMain.MasterTableView.Columns(col).UniqueName, String) If Not (gbcCol.Equals("inclTrx") Or gbcCol.Equals("inclKYC") Or _ gbcCol.Equals("ShareholdingID") Or gbcCol.Equals("Shareholding") Or gbcCol.Equals("Remark")) Then row(gbcCol).RowSpan = If(previousRow(gbcCol).RowSpan < 2, 2, previousRow(gbcCol).RowSpan + 1) previousRow(gbcCol).Visible = False previousRow(gbcCol).Text = " " End If Next End If Next End If Next End Sub
Any thoughts?

hi all again, i asked you about muptiple line series in radchart in this post: https://www.telerik.com/forums/multiple-line-series-radhtmlchart
I created RadHtmlChart with the same parameters as previous post and using SqlDataSource. And this is my ASPX code:
<telerik:RadHtmlChart ID="RadHtmlChart1" runat="server" DataSourceID="dsJournal"><br> <PlotArea><br> <YAxis MaxValue="100" MinValue="-100"><br> </YAxis><br> <Series><br> <telerik:LineSeries DataFieldY="param_d" Name="LineSeries1"><br> </telerik:LineSeries><br> <br> </Series><br> <XAxis DataLabelsField="sensor_type"><br> <LabelsAppearance RotationAngle="-90" Visible="false"></LabelsAppearance><br> </XAxis><br> <CommonTooltipsAppearance Visible="true" Shared="true" /><br> <YAxis Step="10000"></YAxis><br> </PlotArea><br> <br> </telerik:RadHtmlChart>
This is my C# code with setting RadHtmlChart:
protected void RadChart1_ItemDataBound(object sender, ChartItemDataBoundEventArgs e)<br> {<br> e.SeriesItem.Name = (string) DataBinder.Eval(e.DataItem, "sensor_type");<br> }Bellow i will attach two picture:
1. what i have right now in RadHtmlChart with one LineSeries
2. the same structure table from database, where i need only a column "sensor_type" for multiple LineSeries in RadHtmlChart.
Thank you for your attention, i hope you will help me, and sorry for two similar post
Hi Everyone,
I am trying to use set_html function (besides other functions) but for some reason it stoped to work properly some weeks ago. Maybe related to jQuery version update, I don't know. This issue is freaking me out and I don't know how to solve it since it looks like something internal. Below you can see what I am saying, the error that I am facing.
Uncaught TypeError: Cannot read property 'selection' of undefined
at b.Selection.getRange (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:11847)
at b.Selection.getParentElement (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:11857)
at Telerik.Web.UI.Editor.TableInsertColumn.getSelectedCell (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:6130)
at Telerik.Web.UI.Editor.TableInsertColumn.getState (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:6179)
at c.RadEditor.getToolState (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:12870)
at b.DefaultToolAdapter.setToolState (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:16231)
at b.DefaultToolAdapter._onEditorSelectionChange (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:16408)
at Array.<anonymous> (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:6)
at Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:6
at c.RadEditor.raiseEvent (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d4.0.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen%3ab7585254-495e-4311-9545-1f910247aca5%3aea597d4b%3bTelerik.Web.UI%3aen%3acb3d1a3e-7303-48dc-a612-61700f912203%3a16e4e7cd%3a365331c3%3a24ee1bba%3a874f8ea2%3a63b115ed%3a1569bb5f%3a92fe8ea0%3afa31b949%3a4877f69a%3a3856fd9f%3ac128760b%3adc7e0bd%3a8547b8b2%3a30f1f089%3a19620875%3af46195d3%3a490a9d4e:1038)
Could you guys help me to figure this out?
Thanks in advance!

<telerik:RadGrid ID="rgAccountGroupAuthorizations" OnNeedDataSource="rgAccountGroupAuthorizations_NeedDataSource" OnItemDataBound="rgAccountGroupAuthorizations_ItemDataBound" OnItemCommand="rgAccountGroupAuthorizations_ItemCommand" Width="600" Height="100%" AllowFilteringByColumn="false" AllowPaging="false" AllowSorting="true" AutoGenerateColumns="false" Skin="Web20" ShowHeader="true" ShowFooter="false" CellSpacing="0" GridLines="Both" BorderWidth="0" EnableViewState="false" runat="server" > <ClientSettings Selecting-AllowRowSelect="true" EnablePostBackOnRowClick="true" EnableRowHoverStyle="true"> </ClientSettings> <MasterTableView TableLayout="Fixed" DataKeyNames="AuthorizationGroupID,OrganizationID" ClientDataKeyNames="AuthorizationGroupID,OrganizationID" CommandItemDisplay="Top" AllowMultiColumnSorting="false" AllowNaturalSort="false" EnableViewState="true"> <CommandItemTemplate> <div style="height: 30px; margin-left: 10px;"> <div style="float: left;"> <asp:LinkButton ID="btnInserAuthorizationGroup" CommandName="initinsert" font-size="Larger" Font-Bold="true" runat="server" ><img style="border:0px;vertical-align:middle;" alt="" src="../Images/add.gif" /><span style="padding-left: 10px; padding-top: 20px;">Add New Permission Group</span></asp:LinkButton> </div> </div> </CommandItemTemplate> <EditFormSettings EditFormType="Template"> <FormTemplate> <table id="Table2" class="baseTable"> <tr> <td class="col1"> <asp:Label AssociatedControlID="txtAuthorizationGroup" Text="Permission Group" runat="server" /><uc:rfm runat="server" /> </td> <td> <telerik:RadTextBox ID="txtAuthorizationGroup" Width="300" MaxLength="100" runat="server" /> <asp:RequiredFieldValidator ID="rfvtxtAuthorizationGroup" ControlToValidate="txtAuthorizationGroup" EnableClientScript="true" Display="Dynamic" ValidationGroup="AuthorizationGroup" ForeColor="red" ErrorMessage="Required" runat="server" /> </td> </tr> <tr class="footer"> <td colspan="2"> <telerik:RadButton ID="btnSaveAuthorizationGroup" Text="Save Permission Group" CommandName="InsertAuthorizationGroup" ValidationGroup="AuthorizationGroup" runat="server" /> <telerik:RadButton ID="btnSaveAuthorizationGorupCancel" Text="Cancel" CommandName="cancel" runat="server" /> </td> </tr> </table> </FormTemplate> </EditFormSettings> <SortExpressions> <telerik:GridSortExpression FieldName="AuthorizationGroup" SortOrder="Ascending" /> </SortExpressions> <Columns> <telerik:GridBoundColumn DataField="AuthorizationGroup" HeaderText="Permission Group Description" SortExpression="SortName" HeaderStyle-Font-Size="Larger" HeaderStyle-Width="180px" HeaderStyle-Font-Bold="true" ItemStyle-Font-Bold="true" ItemStyle-Font-Size="Larger"> </telerik:GridBoundColumn> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditButton" EditImageUrl="../Images/edit.gif" HeaderText="Edit"> <HeaderStyle HorizontalAlign="Center" ForeColor="#000000" Font-Bold="true" Width="50px" /> <ItemStyle HorizontalAlign="Center" ForeColor="#000000" Font-Bold="true" Width="50px" /> </telerik:GridEditCommandColumn> <telerik:GridButtonColumn ConfirmText="Delete this Permission Group?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="ImageButton" CommandName="Delete" ConfirmDialogHeight="160px" ConfirmDialogWidth="250px" UniqueName="DeleteButton" ImageUrl="../Images/delete.gif" HeaderText="Delete" > <HeaderStyle HorizontalAlign="Center" ForeColor="#000000" Font-Bold="true" Width="50px" /> <ItemStyle HorizontalAlign="Center" ForeColor="#000000" Font-Bold="true" Width="50px" /> </telerik:GridButtonColumn> </Columns> </MasterTableView></telerik:RadGrid>Protected Sub rgAccountGroupAuthorizations_NeedDataSource(sender As Object, e As GridNeedDataSourceEventArgs) Me.rgAccountGroupAuthorizations.DataSource = AuthorizationGroupManager.GetListOfAuthorizationGroupsByOrganizationID(Convert.ToInt32(Me.hidOrganizationID.Value))End SubProtected Sub rgAccountGroupAuthorizations_ItemDataBound(sender As Object, e As GridItemEventArgs) Select Case True Case TypeOf e.Item Is GridEditFormInsertItem Case TypeOf e.Item Is GridEditFormItem Dim GridEditFormItem As GridEditFormItem = DirectCast(e.Item, GridEditFormItem) If GridEditFormItem.IsInEditMode Then Using AuthorizationGroup As AuthorizationGroup = DirectCast(GridEditFormItem.DataItem, AuthorizationGroup) Dim txt As RadTextBox = DirectCast(GridEditFormItem.FindControl("txtAuthorizationGroup"), RadTextBox) txt.Text = AuthorizationGroup.AuthorizationGroup End Using DirectCast(GridEditFormItem.FindControl("btnSaveAuthorizationGroup"), RadButton).Text = "Update Permission Group" DirectCast(GridEditFormItem.FindControl("btnSaveAuthorizationGroup"), RadButton).CommandName = "updateauthorizationgroup" End If Case TypeOf e.Item Is GridDataItem Dim GridDataItem As GridDataItem = DirectCast(e.Item, GridDataItem) Dim AuthorizationGroupID As Int32 = Convert.ToInt32(GridDataItem.GetDataKeyValue("AuthorizationGroupID")) Dim imgbtn As ImageButton imgbtn = DirectCast(GridDataItem.FindControl("EditButton"), ImageButton) If imgbtn IsNot Nothing Then End If imgbtn = DirectCast(GridDataItem.FindControl("gbcDeleteButton"), ImageButton) If imgbtn IsNot Nothing Then imgbtn.CommandArgument = AuthorizationGroupID.ToString() End If Case TypeOf e.Item Is GridCommandItem Dim GridCommandItem As GridCommandItem = DirectCast(e.Item, GridCommandItem) Dim lnkb As LinkButton lnkb = DirectCast(GridCommandItem.FindControl("btnInserAuthorizationGroup"), LinkButton) If lnkb IsNot Nothing Then End If End SelectEnd SubProtected Sub rgAccountGroupAuthorizations_ItemCommand(sender As Object, e As GridCommandEventArgs) If TypeOf e Is GridCommandEventArgs And e.CommandName.ToLower = "delete" Then Dim GridDataItem As GridDataItem = DirectCast(e.Item, GridDataItem) Using AuthorizationGroup As AuthorizationGroup = AuthorizationGroupManager.GetAuthorizationGroup(DirectCast(GridDataItem.DataItem, AuthorizationGroup).AuthorizationGroupID) AuthorizationGroupManager.Delete(AuthorizationGroup) Me.rgAccountGroupAuthorizations.Rebind() End Using Me.rgAccountGroupAuthorizations.Rebind() ElseIf TypeOf e.Item Is GridEditableItem Then Dim GridEditableItem As GridEditableItem = DirectCast(e.Item, GridEditableItem) If Not GridEditableItem.IsInEditMode And e.CommandName.ToLower = "updateauthorizationgroup" Then Dim GridDataItem As GridDataItem = DirectCast(e.Item, GridDataItem) Dim AuthorizationGroupID As Int32 = Convert.ToInt32(GridDataItem.GetDataKeyValue("AuthorizationGroupID")) Dim txt As RadTextBox = DirectCast(GridDataItem.EditFormItem.FindControl("txtAuthorizationGroup"), RadTextBox) Using AuthorizationGroup As AuthorizationGroup = AuthorizationGroupManager.GetAuthorizationGroup(AuthorizationGroupID) AuthorizationGroup.AuthorizationGroup = txt.Text AuthorizationGroupManager.Update(AuthorizationGroup) End Using txt.Text = "" Me.rgAccountGroupAuthorizations.MasterTableView.ClearEditItems() Me.rgAccountGroupAuthorizations.Rebind() ElseIf GridEditableItem.IsInEditMode And e.CommandName.ToLower = "insertauthorizationgroup" Then Dim GridEditFormInsertItem As GridEditFormInsertItem = DirectCast(e.Item, GridEditFormInsertItem) Dim x As String = "" Dim txt As RadTextBox = DirectCast(GridEditFormInsertItem.FindControl("txtAuthorizationGroup"), RadTextBox) Using AuthorizationGroup As New AuthorizationGroup() AuthorizationGroup.OrganizationID = Convert.ToInt32(Me.hidOrganizationID.Value) AuthorizationGroup.AuthorizationGroup = txt.Text AuthorizationGroupManager.Insert(AuthorizationGroup) End Using txt.Text = "" Me.rgAccountGroupAuthorizations.MasterTableView.ClearEditItems() Me.rgAccountGroupAuthorizations.Rebind() End If End IfEnd SubHello,
I am using Telerik 2012 Q3 (.NET40) in a web application. The last few months, I am getting occasional bug reports about broken functionality. I have been able to trace this down to a radWindow not opening in a pop-up, but in fact replacing the complete page. Users claim they open the page by clicking the designated button and this is confirmed by the URL in the address bar, showing a query string like ?rwndrnd=0.8599367708780101. For them, the bug occurs sometimes.
So far, I have not been able to reproduce this issue. Users reporting it, all seem to be using Internet Explorer 11. The start of this bug may or may not be related to the upgrade of the web application, or the introduction of a newer version of Internet Explorer. It is hard to find out. I have seen a report in which a javascript error was in the Console, of some unrelated code.
Unfortunately, I cannot point to the actual web application, as it is non-public.
Has this behaviour been seen before and is there a solution to it?
I use the following code to open the radWindow:
function OpenForNewCase() {var oManager = $find('<%= RadWindowManager1.ClientID %>');var oWnd = oManager.GetWindowByName("wndNewCase");oWnd.SetUrl('<%= ResolveClientUrl("Forms/NewCase.aspx") %>');oWnd.Show();}
Hi all,
I have a 'people' view listing users in a RadGrid, with an expand icon to show a detail table for each user. Inside the detail table I have a tabstrip separating areas for the user. My latest tab is 'documents' which needs to be dynamically generated server side, and contains a list of categorised (by tabs) list (in radgrids) of documents. My application is working ok, except when I open/expand another user's detail table. The documents tab renders correctly for the current open user only. All of the others just disappear. See screenshot attached for reference.
I am using the itemcommand event to check for the existence of the tabstrip tab(s) and if it exists I add the radgrid(s) (to the documents tabs), and if it does not I create the tab(s) and then add the radgrid(s).
Any ideas? Is there a better way to do this? I notice when I expand the details view the entire parent radgrid refreshes (loading panel). Is there a way, perhaps, just to refresh the open details view?
Thanks,
Alex.

Good morning
I shall create a functionality for my users: at double click on RadComboBox (with the dropdown close) the combo is cleared.
ComboBoxs don't have client-side events as double click, right click, or others events that I can use.
Can you help me? How can I do this directly with combo?

Hello Team,
When I return data set from db, it has a field named "MoreThan 20 chk is on here" which am trying to display on PivotGrid. But this field has more than 20 characters hence on pivot grid we can see column name as "MoreThan 20 chk is o", What changes am suppose to make so that it displays full name "MoreThan 20 chk is on here"
Refer attachments for more details.
Thanks,
Mohan

Hi All,
I have a monitor running at 125% scaling (set in Windows Display settings). The radgrid width is calculated incorrectly. For some reason I always get a grid that is 503px wide (100% would be about 1500).
Both setting the scale to 100% and refreshing the page fixes it.
Moving the window to another monitor at 100% scaling and refreshing fixes it.
This looks to 100% be a bug in the way Telerik determines width when scaling is used.
Thanks,
Will
