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. Image for the cookie policy date
close icon

Syncfusion Grid Grouping Extend/Derive

Hi,
I am trying to create a custom control by extending the GridGroupingControl. The grid is working fine in the page without the columns descriptors. To add the column descriptors i have extended the GrdiColumnDescriptor class and created my own control which i am trying to add in the aspx.

The code is as follows
***Grid***
public class CustomGrid : GridGroupingControl
{
public CustomGrid()
: base()
{
}
}

***GridColumn***
public class CustomGridColumnDescriptor : GridColumnDescriptor
{
public CustomGridColumnDescriptor ()
: base()
{
}
}

***Aspx***






....

But while implementing i get this following error
"The type ASIGridColumnDescriptor was not expected. Use the
XmlInclude or SoapInclude attribute to specify types that are not known
statically."
Could you please help me to solve this issue.

Thanks,
Venkat



9 Replies

VE Venkatsubbarao April 26, 2012 12:50 PM UTC

Hi,

Can you please let me know if this is possible at all.

Regards,
Venkat



RR Ranjithkumar R G Syncfusion Team May 4, 2012 06:37 AM UTC

Hi Venkat,

Thanks for your interest in Syncfusion products.

We are unable to reproduce your reported issue. Could you please share us your reported issue/sample which reproduced your reported issue, so that we can be able to resolve it from our end as soon as possible.

Please let us know if you have any concern.

Regards,
Ranjithkumar.




VE Venkatsubbarao May 31, 2012 09:16 AM UTC

Hi Ranjith,

Please find the Attached sample zip file.. 

The Zip file contains the sample solution and Word document which has screenshot of the error.

Thanks
Venkat




sample_a104868c.zip


RR Ranjithkumar R G Syncfusion Team June 6, 2012 03:55 AM UTC

Hi Venkat,

 

Thanks for your update.

 

We have forwarded your query to our development team for further analysis. We will update you on June 8,2012.

 

Please let us know if you have any concern.

 

Regards,

Ranjithkumar.



VE Venkatsubbarao June 18, 2012 09:33 AM UTC

Hi,

Can you please update me the status of the above issue? Its been well over 10 days.

Regards,
Venkat


RR Ranjithkumar R G Syncfusion Team June 21, 2012 10:56 AM UTC

Hi Venkat,

 

Thanks for your update.

 

We suggest you to use the extended column descriptor, you need to extend both ColumnsCollection and TableDescriptor and use those like these.

 

[CS]

 

<CustomTableDescriptor>
<CustomColumn>
<Custom:CustomGridColumnDescriptor ....>
<Custom:CustomGridColumnDescriptor ....>
<Custom:CustomGridColumnDescriptor ....>

                                                                                                                                               

Please let us know if you have any concern.

 

Regards,

Ranjithkumar.



VE Venkatsubbarao August 1, 2012 12:07 PM UTC

Hi Ranjith, I tried as per your sample but no luck... So, Please can you provide a working sample by extending the Syncfusion Grid. Thanks, Venkat


GS Gowri S Syncfusion Team September 4, 2012 06:09 AM UTC



GS Gowri S Syncfusion Team September 4, 2012 06:15 AM UTC

Hi Venkat,
 
Sorry for the delayed reponse.
 
We suggest you not to extend for column descriptors, instead use the column descriptors as follows,
 
<%@ Register Assembly="Syncfusion.Grid.Grouping.Web, Version=9.404.0.62, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89"
    Namespace="Syncfusion.Web.UI.WebControls.Grid.Grouping" TagPrefix="cc1" %>
 
<TableDescriptor>
    <Columns>
     <cc1:GridColumnDescriptor...../>
     <cc1:GridColumnDescriptor...../>
     <cc1:GridColumnDescriptor...../>
    </Columns>
</TableDescriptor>
 
Please let us know if you have any concerns.
 
Regards,
Gowri S.


ASI.WEB.NEW_4d7fd71f.zip

Loader.
Live Chat Icon For mobile
Up arrow icon