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

Autocomplete Column with Huge Data is causing maxJsonLength error in JSON JavaScriptSerializer

When setting datasource for column in codebehind, I use the following vb.net code :

GrdTransMain.Columns(3).DataSource = LstItems

It works fine but when LstItems is a huge data, I get maxjsonLengthe serialization error.

How can I set grid column datasource with huge data?

5 Replies

FS Farveen Sulthana Thameeztheen Basha Syncfusion Team November 4, 2019 11:11 AM UTC

Hi Reginald, 

Thanks for contacting Syncfusion Support. 

Query#:- How can I set grid column datasource with huge data? 

We have checked your query and we have already discussed about this problem in our Syncfusion Knowledge Base documentation. Please refer to the KB link:- 


Please get back to us if you need any further assistance. 

Regards, 
Farveen sulthana T 




RE Reginald replied to Farveen Sulthana Thameeztheen Basha November 4, 2019 04:39 PM UTC

Hi Reginald, 

Thanks for contacting Syncfusion Support. 

Query#:- How can I set grid column datasource with huge data? 

We have checked your query and we have already discussed about this problem in our Syncfusion Knowledge Base documentation. Please refer to the KB link:- 


Please get back to us if you need any further assistance. 

Regards, 
Farveen sulthana T 



The link you posted discusses how to bind large data to GRID.

My case is different, I wand to bind large data to COLUMN.

I read the link you posted more than 10 times trying to adapt it for my case but I could not and I had to create this thread.

Can you please show me how to bind large data to a COLUMN of a Grid?




PK Padmavathy Kamalanathan Syncfusion Team November 6, 2019 03:20 AM UTC

Hi Reginald,

Thanks for your update. As we have suggested in our last update, you can use load on demand to bind data source to grid's column also. We suggest you to use RemoteSave Adaptor with offline property set to true and use "DataSource" property for the binding data to column.

Please refer the below help documentation,

If you have further queries, please get back to us.

Regards,
Padmavathy Kamalanathan



RE Reginald November 6, 2019 08:29 AM UTC

Thank you so much for your support.


PK Padmavathy Kamalanathan Syncfusion Team November 7, 2019 10:58 AM UTC

Hi Reginald,

Thanks for your update. If you have further queries, please get back to us.

Regards,
Padmavathy Kamalanathan


Loader.
Up arrow icon