This is a migrated thread and some comments may be shown as answers.

Reducing HTML footprint

1 Answer 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paresh
Top achievements
Rank 1
Paresh asked on 25 Mar 2014, 08:17 AM
Hi,
I was checking Telerik UI for ASP.NET AJAX Q1 2014 trial version for feasibility.
I found that it generates lots of JavaScript for single control.
for example, i attached javascript code generated for a RadGrid with 10 row and single column. but it generated so many JSON properties. its size is more than 2 kb.

Is it possible to reduce it?
I mean most of the properties value are default. they can be prevented.

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 27 Mar 2014, 04:01 PM
Hello Paresh,

Please note that RadGrid is a complex control and it is expected that the JSON with the description of the properties and their values will be bigger.

As for your question if the generated code could be reduced, indeed, there are some default values and properties that could be removed, but this could not be achieved on your end.

I have contacted our developers team and I am logging this as an improvement request in our system, so they could investigate the possibility for introducing such optimization for the controls.

Please let us know if any further questions arise.


Regards,
Konstantin Dikov
Telerik
 

Build cross-platform mobile apps using Visual Studio and .NET. Register for the online webinar on 03/27/2014, 11:00AM US ET.. Seats are limited.

 
Tags
General Discussions
Asked by
Paresh
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or