We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

GridGroupingControl AllowRemove overriding ReadOnly flag

Thread ID:





110312 Jul 29,2013 06:30 PM UTC Aug 5,2013 12:52 PM UTC ASP.NET Web Forms (Classic) 4
Tags: GridGroupingControl
Matt Holtz
Asked On July 29, 2013 06:30 PM UTC


Ran into this issue while testing with the gridgroupingcontrol with the allowremove tag overriding the readonly gridcolumndescriptor. For example, when entering edit mode with the following code it functions as intended, with the SID column greyed out. However, when toggling the AllowRemove flag to True it becomes editable.

Is there a proper way to enable removing rows that i'm missing? Should I be using baritems and parsing those instead?

 <syncfusion:GridGroupingControl ID="Testing" runat="server" AutoFormat="Monochrome"
                    EnableCallbacks="False" ShowGroupDropArea="False" DataSourceCachingMode="ViewState" DataMember="DefaultView">
                    <TableDescriptor AllowEdit="true" AllowRemove="false" AllowNew="true">
                            <syncfusion:GridColumnDescriptor MappingName="SID" HeaderText="SID" ReadOnly="true"/>
                            <syncfusion:GridColumnDescriptor MappingName="Name" HeaderText="SiteName"/>

Also, when I hit enter the update processes but doesn't exit the edit mode even though have set event args as per your examples with:
            e.Cancel = true;
            e.Handled = true;
at the end.

Any tips would be appreciated.

Matt Holtz
Replied On July 29, 2013 10:13 PM UTC

Okay figured out the issue to when the control gets rebound it loses it's readonly flag

Eswari S [Syncfusion]
Replied On July 30, 2013 09:02 AM UTC

Hi Matt,


Thank you for using Syncfusion products.


Happy to hear that your issue has been solved.


Please let us know if you need any further assistance.



Eswari S


Matt Holtz
Replied On July 31, 2013 07:13 PM UTC

To assist in those who may run into losing tabledescriptors on setting values to null, the flag you need to set is 
in the ggc declaration. I missed that and that's what was causing all of my issues.


Eswari S [Syncfusion]
Replied On August 5, 2013 12:52 PM UTC

Hi Matt,


Happy to hear that you found resolution.


Please let us know if you need any other assistance.



Eswari S


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon