Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
197 views

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!

Rumen
Telerik team
 answered on 08 Apr 2019
5 answers
1.4K+ views
I have a grid with an form template for editing and adding.  The grid also has a deletebutton column to delete rows.  All the events are firing but the grid doesn't refresh after itemcommand completes its work after an insert, update or delete is performed on the database.  I've stepped through the code and rebind() is being called.  We bind to a list of objects.

This is the behavior I'm experiencing

Clicking Add
The edit form opens, I enter the data and press Save.  The data saves, the form does not close.  I then click Cancel, the form closes and the grid refreshes without a full postback,

Clicking the Edit icon in the row

The edit form opens, I modify the data and press Save. The data saves, the form does close (but only because I included Me.rgAccountGroupAuthorizations.MasterTableView.ClearEditItems()  The grid does not refresh.  If I click Cancel the form closes and the grid doesn't refresh.

Clicking the Delete icon in the row
After confirmation, the data is deleted but the grid doesn’t refresh.

I've isolated the code on its own page.  The page doesn't have any ajax proxy (we use master pages)  We would really prefer to use the form template feature rather than a custom edit page or user control. 

Here is the markup and codebehind

<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 Sub
 
Protected 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 Select
 
End Sub
 
Protected 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 If
 
End Sub

​
Jalal
Top achievements
Rank 1
 answered on 08 Apr 2019
2 answers
141 views

Hello,

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();
}
Roel
Top achievements
Rank 1
 answered on 08 Apr 2019
1 answer
326 views

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.

Attila Antal
Telerik team
 answered on 08 Apr 2019
1 answer
264 views

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?

Rumen
Telerik team
 answered on 08 Apr 2019
1 answer
147 views

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

Attila Antal
Telerik team
 answered on 08 Apr 2019
2 answers
125 views

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

Attila Antal
Telerik team
 answered on 05 Apr 2019
1 answer
355 views

In my asp.net application i programmatically create radgrid and add i to div and display it. 

now i would like to add programmatically created radgrids to radgridwrapper. (now i would like to programmatically create radgridwrapper and add radgrids to it.)

Can anyone please let me know how to do this in c#?

later i would like to export radgridwrapper to excel / csv. finding it difficult to export groups of radgrids to multiple excel sheets with my Telerik version 2017.2.503.40

i don't want to upgrade my telerik version as of now.

 

Attila Antal
Telerik team
 answered on 05 Apr 2019
1 answer
212 views

Hello

I have a form that has 7 grids.  Each grid is being displayed within a separate RadPanel.  Screenshot is attached.

We are using the Persistent Framework to store user settings.  The Save and Load work great!  The Reset works great if we are resetting all the grids.

My question is, Is it possible to Reset just one grid and allow all other grids to maintain their settings?  Is there a function available that allows us to get very granular when resetting certain controls on a page?

Thanks

Tom

Attila Antal
Telerik team
 answered on 05 Apr 2019
4 answers
1.7K+ views

I am using a RadGrid in batch edit mode with 4 editable columns.

This is working fine but I need to optionally set the columns as non-editable depending on which user is editing the screen.

eg. user A can edit all columns but user B can only edit 2 and user C only 1 column.

Is there a way to make an editable column non-editable when drawing the grid.

Thanks

Richard

Richard
Top achievements
Rank 1
 answered on 05 Apr 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?