Top 15 Optimization Tips and Tricks

by Telerik.Sitefinity.DynamicTypes.Model.Authors.Author | May 15, 2007
While we do a lot to help you optimize RadControls in your applications, the Telerik community also does a great job of sharing optimization tips and tricks. One of the best list of optimization tricks ever produced by the community has recently surfaced on the Telerik forums. Some of these ideas are specific to optimizing the RadControls, but many of them are great optimization techniques for ASP.NET in general. So without further ado, here are the "Top 15 Telerik Community Optimization Tips & Tricks" (in no particular order):
  1. Make sure browser caching is enabled
    Many RadControls must load a fair amount of JavaScript to enable all of the client-side goodness that we love in our modern web apps. To make sure this JavaScript is only downloaded once (instead of on every page request), make sure your users enable caching in their browsers.

  2. Move ViewState off of the page
    If you've got a lot of controls on your page and ViewState is enabled, chances are it is adding a lot of weight to the page. If turning ViewState off is not an option, you can greatly reduce the HTML sent to the client by moving ViewState off of the page and into Session (or some other server-side storage mechanism). For a good tutorial on this process, check out the following article: http://www.codeproject.com/aspnet/PersistentStatePage.asp.

  3. Disable control ViewState
    Similar to the previous trick, you can also set "EnableViewState" on each control to False and then manually manage the state on each page postback. Those of us that developed with classic ASP may recall some of the numerous ways this was accomplished before ASP.NET gave us ViewState. Manually managing control state can be time consuming, but it can help you keep your page HTML trim.

  4. Use HTML Compression Tools
    One of the easiest ways to reduce the HTML that you send to the client is to use an HTML compression tool. Compression tools can reduce the size of the HTML sent over the "tubes" for RadControls by up to 75%. Check out this forum thread for more details: http://www.telerik.com/community/forums/thread/b311D-tdkga.aspx.

  5. Background Image Caching in IE
    By default, IE will not cache background images. If you use any CSS in your application (which you do if you use RadControls with skins), this can lead to a lot of wasted downloads in IE. Fortunately, there is a way to "trick" IE into caching background images. Check out the details here: http://www.telerik.com/community/forums/thread/b311D-teckk.aspx.

  6. Read the Documentation
    This may sound like a worthless trick, but don't discount it until you've given it a try. Almost all RadControls have a dedicated "Speed Optimization" topic in their documentation that contains tips specific to each RadControl. Visit the RadControls documentation to find these tips. (Here is a link to RadGrid's optimization documentation to get you started.)

  7. Use Http Analysis Tools
    How can you solve a problem without seeing it first? Free tools like Fiddler (for IE) and FireBug (for FireFox) help you peel back the curtain on your page's performance and quickly find bottlenecks in your page HTML that need to be optimized.

  8. Use 3rd Party Optimization Tools
    Still looking for optimization techniques that don't require much work? There are several tools, like port80 and cacheright, that help automate the process of optimizing your page. These tools can help eliminate many of the caching problems that you'd otherwise have to deal with manually.

  9. Use External Resources instead of EmbeddedResources
    Embedded resources are generally very good and very helpful. They allow you do just deploy a control assembly and not deal with any additional files. When a page uses EmbeddedResources, though, resources are pulled from an assembly using a handler and querystring value (like WebResource.axd?d=HTLSHE...). Unfortunately, these long querystrings are adding bulk to the HTML you are sending to the client. One Telerik community member found that setting "UseEmbeddedResources" to False (and using external resources in the RadControls folder instead) reduced page size from 80 kB to about 50 kB simply due to the shorter resource paths. Your mileage may vary depending on the RadControls you're using.

  10. Keep Control IDs Short
    Whenever you have deeply nested controls, the ID of the parent control is always appended to child control IDs (if the parents implement INamingContainer). If you have long control IDs, you can cause a fair amount of extra HTML to be rendered to the page. For example, if we have a RadTreeView with ID "RadTreeView1" in ContentPlaceHolder with ID "ContentPlaceHolder1" (in a MasterPage), the resulting client ID of the TreeView is "ctl00_ContentPlaceHolder1_RadTreeView1". If we had used shorter server IDs, we could have trimmed this output to "ctl00_cph1_rtv1" and reduced the overall HTML sent to our page. This trick should always be weighed against making your code difficult to maintain due to cryptic control IDs.

  11. Test Sites in IIS (not Cassini)
    The web server built-in to Visual Studio is very convenient for development, but it is not a good place to test your site's performance. Cassini does not do any caching of web resources and it is generally slower than IIS. You should always test your site in IIS before deploying it to a PROD environment to make sure you know how it will really perform.

  12. Use RamDisks in your Infrastructure
    If you have control over your servers and are willing to make some hardware changes to improve performance, RamDisks may be worth checking out. By using RamDisks instead of traditional HDD for things like tempdb storage in SQL Server or HTTP decompression scratch storage, you can (supposedly) deliver performance 50x's normal hard drives. Check out this resource for more details: http://www.superspeed.com/ramdisk.php.

  13. Use Incremental Page Fetch
    It sounds more exciting than it is, but by using RadAjax and some crafty coding you can help your pages load faster. In essence, you delay loading all of the user controls needed by your page so that the page will initially load faster and then load the controls with RadAjax. For details on this process, check out this link: http://www.telerik.com/community/forums/thread/b311D-tkkce.aspx.

  14. Remove Whitespace Characters
    You may not realize it, but all of the whitespace characters our page contains to make it easy to read add HTML bulk. We definitely don't want to get rid of all of our page formatting at design time, though, so there are modules like this that remove the whitespace at runtime. By tapping-in to the page's render method, you can easily search for whitespace characters in your page and remove them to keep your pages trim. Warning: this method may cause problems if you use it with the new RadControls "Prometheus".

  15. Don't use Label when Literal works
    Perhaps one of the most overlooked ASP controls is the "asp:literal" control. There are many times when ASP.NET developers use Label or HyperLink when Literal would do the job and save HTML bulk. For example, if you use a Label like this:
    <asp:label runat="server" Text="Some test text" ID="Label1" />
    will render:
    <span id="ctl00_Label1">Some test text<span>

    If you use a Literal like this:
    <asp:literal runat="server" Text="Some test text" />
    will render:
    Some test text

    The literal will not render any unnecessary span tags and help you reduce HTML sent to the client.
So there you go. The top 15 optimization tips and tricks as suggested by the Telerik community. Special credit goes to Johan, andyk, Martin Bischoff, and Mike for collecting most of these ideas in the forums. Feel free to add other optimization tricks in the comments if you think I've missed something important in this list.


Leave a comment
  1. petra | Jul 17, 2018
  2. AWS Solutions Architect | Jul 17, 2018
    we are using plastic kitchen faucets at home because they are very cheap and you can easily replace them if they broke:: AWS Solutions Architect
  3. Webdesign | Jul 17, 2018
    We still cannot quite believe that I was able to often be any type of those staring at the important points located on your blog post. My loved ones and i are sincerely thankful for your special generosity too as for giving me possibility pursue our chosen profession path. Basically information I acquired within your web-site. Webdesign
  4. Polypropyleen zwembad | Jul 17, 2018
    I loved as much as you will receive carried out right here. The sketch is attractive, your authored material stylish. nonetheless, you command get bought an edginess over that you wish be delivering the following. unwell unquestionably come more formerly again as exactly the same nearly a lot often inside case you shield this hike. Polypropyleen zwembad
  5. toah | Jul 17, 2018
    The correct speed to use can quickly become intuitive. Typically you’ll wish to make a cut slowly before gap up the saw to try to to the majority of the work. This can offer you a lot of management. Impede because the blade approaches its exit of the cut.
  6. 123.hp.com/setup | Jul 16, 2018
    Find your HP printer model and download drivers 123.hp.com/setup,Find instructions to install printer on Wireless & USB. Connect your HP printer setup via  Wireless on Windows, Mac, Smartphones etc. 123.HP.COM/SETUP </a href="http:>
  7. Avast Support | Jul 16, 2018
    If you are facing any issue related to Avast Antivirus, Avast customer support team is available to help you anytime.  You can call on the toll free number or write them an email about your problems. Avast support team will follow up on your request and your problem will be fixed as soon as possible.  The toll-free number remains active 24*7 so that users can immediately troubleshoot the issue without risking the protection of their devices.  Do not put your data on risk and call Avast support now! AVAST SUPPORT </a href="http:>
  8. AVG Support | Jul 16, 2018
    All in one tuning suite for your PC, Mac and Android. Improve your device performance by optimizing battery, network and storage. LIve chat and phone AVG support anytime. In case your order details are not visible then contact AVG support team.  One of their technicians will help you through the issue. AVG SUPPORT </a href="http:>
  9. link building services | Jul 16, 2018
    Partner with us for industry leading SEO services, to build a comprehensive strategy or help support your existing SEO initiatives. link building services
  10. toha | Jul 16, 2018
    Most diary software system permits you to form sub-categories to assist organize your entries. this can facilitate guests slender in even a lot of specifically on their interests. for instance, Bands From richandposh.com might need one cluster of classes for genre — rock, country, blues, etc. — and another for town of origin — state capital, Dallas, Houston, city, etc.
  11. Nancy Willson | Jul 16, 2018
  12. oscar | Jul 12, 2018
    DR OSCAR HERBAL ENLARGEMENT MATERNITY..Great specialist on herbal medicine forEmail droscarenlargementhome@yahoo.comCURE FOR KIDNEY PROBLEMS (herbal mixture) LOW SPERM COUNT(herbal pills)PREMATURE EJACULATION(herbal pills)HIP/BUM ENLARGEMENTBREAST ENLARGEMENTIMPOTENCE(herbal pills)HERPES CURE[ herbal mixture]MALE DYSFUNCTIONS[herbal pills] DIABETES CURE(herbal)WEAK ERECTION/CURE (herbal)ANTI-PREMATURE EJACULATION ( Herbalcream and pills)MALE INFERTILITY (cream andPills)CANCER CURE (herbal)GONORRHEA CURE [herbal]HERBAL MIXTURE TO LAST LONG IN SEX( herbal)CURE FOR STROKE( herbal mixture)MALE ORGAN ENLARGEMENT PUMPEmail me on droscarenlargementhome@yahoo.comOr what'sapp me on +2349039300771 FOR MORE INFORMATION
  13. oscar | Jul 12, 2018
    DR OSCAR HERBAL ENLARGEMENT MATERNITY..Great specialist on herbal medicine forEmail droscarenlargementhome@yahoo.comCURE FOR KIDNEY PROBLEMS (herbal mixture) LOW SPERM COUNT(herbal pills)PREMATURE EJACULATION(herbal pills)HIP/BUM ENLARGEMENTBREAST ENLARGEMENTIMPOTENCE(herbal pills)HERPES CURE[ herbal mixture]MALE DYSFUNCTIONS[herbal pills] DIABETES CURE(herbal)WEAK ERECTION/CURE (herbal)ANTI-PREMATURE EJACULATION ( Herbalcream and pills)MALE INFERTILITY (cream andPills)CANCER CURE (herbal)GONORRHEA CURE [herbal]HERBAL MIXTURE TO LAST LONG IN SEX( herbal)CURE FOR STROKE( herbal mixture)MALE ORGAN ENLARGEMENT PUMPEmail me on droscarenlargementhome@yahoo.comOr what'sapp me on +2349039300771 FOR MORE INFORMATION
  14. winee | Jul 12, 2018
    Thanks you very much for sharing these links. Will definitely check this outcanon support uk
  15. saritax | Jul 12, 2018
  16. toha | Jul 12, 2018
    The charge time conjointly proves to be improbably useful and therefore the sheer power of this machine alone makes for an honest reason to take a position in it. it's really the most effective bosch hammer drill on the market in our opinion. It’s 530 pounds of torsion, 2,000 rate and thirty,000 metronome marking build it a well crafted and valuable tool - one thing that each mason or artisan ought to have in his tool cabinet.
  17. DewaQQ | Jul 11, 2018
    After study a few of the blogs on your internet site now, we truly like your technique for blogging. I bookmarked it to my bookmark website list and are checking back soon. Pls check out my site in addition and inform me what you consider. DewaQQ
  18. dora judy | Jul 11, 2018
    My herpes is cured and it's miracle healing. Thanks to Dr. Sam who cure my Genital HerpesI was in trouble when doctor told me that I have been diagnosed with Genital Herpes. I thought about my Family, how they will feel if they knew, i was also felling pains in my Anus and vagina. I lost hope and I wept all day, but one day I was surfing the internet I found about Dr. Sam on how he cured a lady with natural herbs, I decided to contact him through his mobile number, i also wrote him letter through his email address. he guided me. I asked him for solutions and he prepared a herbal remedy and send to me,when i received it, i started taking it as directed. Thank God, now everything is fine, I’m cured by Dr. Sam herbal medicine, I’m very thankful to God and very happy with my hubby and family. You can contact him through his email address on  Email: Supremecurehome@gmail.comHis website: http://www.supremecurehome.blogspot.comWhatsapp: +2347087462033
  19. ose | Jul 09, 2018
    My name is ose.The conclusion by medical doctors that HIV has no cure is certainly not true because I’m a leaving testimony of how Dr ogbela uses black seed extracts and other herbal materials to cure HIV/AIDS and HERPES virus. I was leaving with HIV for more than 8years, consulted many doctors for treatment but all they administer is antiretroviral drugs which depresses me even more. On this blessed day i went to the river side to reflect and maybe commit suicide due to HIV. While there a lady ELOA noticed i was deep in thoughts and ask me what the trouble is and i told her my pains she offered to help because she has also benefited from Dr. Aikhomu cure. Right there she sent a mail to an African based herbalist (Dr Aikhomu) who replied and requested i send him information about myself. This conversation changed my story for good because less than 3 weeks of using his herbal remedies which he sent to me through courier the virus was completely out of my body and this shocked my personal home doctors. One would have thought the solution to this demon called (HIV), Herpes, Cancer or HPV etc would come from the world recognized scientists. Hey, if you are tired of antiretroviral drugs, heartbroken and in need of solution contact him on: (draikhomuherbalhome@gmail.com) or watsapp +2348125194620 and be saved. 
  20. toha | Jul 09, 2018
    Straight needles square measure the sort that have pointed tips and a flat, wide finish or knob to stay the stitches from slippery off. These square measure best for comes that you just wish to figure in rows, resembling scarves, blankets, and washcloths. they are available in many various sizes and in several lengths in addition, thus you'll notice a combine to fit your project.
  21. alex immoblle | Jul 07, 2018
    hello everyone here,i want you all to know that having a small penis is a big problem in your relationship or marriage because i have experience it in my marriage.i have been married for three year and myself and my wife loved each other very much but she was not happy with me because of my sex life with her also i have 3.5 inches penis on erection and i cum within 10 sec in bed with her and it was really disappointing for any woman in this world.my wife has threaten to divorce me if i did not find a solution to my problem but i have used a lot of PILLS, DRUGS, PUMPS, SURGERY, FAKE HERBAL MEDICINE etc.but nor rendered me the help i was looking for and i almost gave up on the issue until one day that i was searching through the internet then i saw a testimony of MR LUCAS MAVIS from GERMANY testifying of how DR SALATO help him enlarge his penis size from 2 inches to 9 within two weeks of using DR SALATO herbal cream and liquid.then i decided to give him a try,i visited his website link https://drsalatosolutionte0.wixsite.com/drsalato and i emailed him,he got back to me with some comfortable words and He told me what to do which i did as i was told and he sent me His HERBAL MEDICINE and it was just one week of using His medicine and my penis has increased to 6.5 inches,i cannot believed my eye because i never believed that anything could enlarge my penis and it is now two weeks and my penis is now 11 inches on erection with a strong and thick round also i now last very longer in bed with my wife (2-3hrs). my wife now love me more than before also she is always streaming during sex with her.we are living happily now more than before and i thank DR SALATO for saving my marriage and family.so if you are having same issue or problem then do not hesitate to contact DR SALATO for a solution to all your problem on his email drsalatosolutiontemple@gmail.com or visit his website https://drsalatosolutionte0.wixsite.com/drsalato you can call/whatsapp him +2348103629945 THANKS 
  22. syari rose | Jul 06, 2018
    i want to use this medium to let every one know that HIV/AIDS has cure and that Dr Ogbela is the solution. am from Texas i was tested HIV/AIDS positive in july the year 2011, then ealy this month i read aticle about Dr Ogbela having Hiv cure,i decided to look for him and lastly i was able to contact him through his email and phone number he told me everything that he needed and i play along too and he now then told me that he has prepared some local medicine that i need to drink it and he send it to me i axtually did as he directed, the later that night i was unable to sleep i urinate and toilet almost all the night i called him later that night to tell him how am feeling he told me that everything will be fine,few days later he called me and advice me that i should go to hospital to checked my status i actually did and i was now tested NEGATIVE i told everyboby right there at the hospital and i called him and thank him for his good work he told me to tell you out there if you knew you have this disease that you should contact him through his email drogbelaherbalhome@gmail.com or call him on +2348136354191. God Bless you
  23. https://damdaar.com/6-most-curable-cancers-in-the-world/ | Jul 06, 2018
    Hello! I merely wish to provide a massive thumbs up for that great information you’ve got here for this post. We are returning to your blog for more soon. https://damdaar.com/6-most-curable-cancers-in-the-world/
  24. ELLA CROOSE | Jul 06, 2018
    Finding out I was GENITAL HERPES AND HEPATITIS B wasn’t easy But as time has passed, I have slowly come to terms with my GENITAL HERPES AND HEPATITIS B, status and try to tackle it with a positive attitude. In mid-2012 I became quite ill. I developed persistent flu-like symptoms, headaches, a nagging cough and sores that wouldn’t heal. My skin felt as if it was crawling, my legs ached, I felt nauseous and lost weight. Then exhaustion hit. It was an indescribable tiredness and no matter how much I slept I never felt rested. In 2013 I was hospitalized when my CD4 count nosedived to 86 (Hepatitis B, Herpes-negative people have a CD4 count of between 700 and 1,000; a CD4 count of below 200 is considered dangerously low). It was a terrible time. There are lot to say about DR LEETU  but i can only mention few right now, this man is a very great, good and powerful DR LEETU , all thanks to him for giving me a second chance, if you are out there passing through any problem, you can contact him today on his email via: (DRLEETU99@GMAIL.COM), contact him on Whatsapp +2348132317058 and i know that he will help you also.Contact him for any kind of disease below like:1 Cancer2 Hiv3 Hepatitis C4 Barrenness5 Herpes6 Hpv7 Gonorrheal8 STI (sexually transmitted infection)9 STD (sexually transmitted disease)10 Stroke.11 FibroidContact Him for any kind of Disease Via (DRLEETU99@GMAIL.COM) or whatsapp +2348132317058
  25. Old Signs | Jul 05, 2018
    Over and over again I like to think about this problems. As a matter of fact it wasn’t even a month ago that I thought about this very thing. To be honest, what is the answer though? Old Signs
  26. Susan | Jul 04, 2018
    Hello everyone, I am here to share this article in respect of Dr Moonlight. After suffering from Herpes for 3 years. I ordered for herbal cure after reading about Dr Moonlight and his herbal exploit in curing Herpes. I contacted the email on moonlightspellcaster@gmail.com and he assured me that I will be cured in maximum of 2 week as long as I use the herbal medicine as instructed. I decided to get the herbal medicine because I wanted to give alternative medicine a try. To my greatest surprise, I started seeing positive results in less than three days and by the 7th day I got completely cured of my Herpes without any side effect. I will drop his email address for those with similar problems Via: moonlightspellcaster@gmail.com  this works perfectly without side effect but most people still do not believe in natural medicine, it's far more potent without side effect.
  27. Universitas Swasta di bandung | Jun 29, 2018
    This is a very exciting article, I’m looking for this know how. So you understand I established your web site when I was searching for sites like my own, so please look at my web site someday and post me a opinion to let me know how you feel. Universitas Swasta di bandung
  28. Sharon C. Zamora | Jun 28, 2018
    The likelihood of mistaking this box for something unique goes straight out of the window because of the judiciousness of the box. large bread box
  29. boost your brain | Jun 28, 2018
    You really should experience a tournament for starters of the finest blogs online. Let me recommend this great site! boost your brain
  30. how to grow hair faster | Jun 28, 2018
    Thanks for every other excellent post. The place else may just anyone get that kind of info in such an ideal manner of writing? I’ve a presentation subsequent week, and I am at the look for such information. how to grow hair faster
  31. Margaret | Jun 27, 2018
    A couple of weeks back I went to clean my glass stove by the glass cooktop cleaners and chose to snap a couple of pictures and report the super energizing procedure for you. I know it's what you're anticipating handling this end of the week: a little elbow oil over the stop top.
  32. Internet 800Supportdesk | Jun 27, 2018
  33. Nancy Willson | Jun 26, 2018
  34. lead generation services in singapore | Jun 25, 2018
    You got a very fantastic website, Glad I discovered it through yahoo. lead generation services in singapore
  35. cheapest self storage singapore | Jun 25, 2018
    My friend first found your blog on Google and she referred your blog to me.`-;,” cheapest self storage singapore
  36. actual day wedding photographer singapore | Jun 25, 2018
    Hi, Neat post. There’s a problem along with your site in web explorer, could test this… IE nonetheless is the marketplace leader and a good portion of people will omit your excellent writing because of this problem. actual day wedding photographer singapore
  37. singapore restaurant kitchen equipment suppliers | Jun 25, 2018
    The good intreguing articles keep me coming back here time and time again. thank you so much. singapore restaurant kitchen equipment suppliers
  38. Yahoo Customer Service Number | Jun 25, 2018

    Protect your Yahoo! Account with two-step Authentication Online Support 1-888-341-4774      

    Connect Hotmail Email Account In MS Outlook 2013  Toll Free Number 1-888-341-4774         

    How to Use Skype in Outlook Account Helpline Number 1-888-297-6323         

    How to Fix Gmail Slow Loading Issue Phone Number 1-888-312-5444 

  39. بهترین وکیل تهران | Jun 23, 2018
    I am typically to blogging and i actually recognize your content. The article has actually peaks my interest. I am going to bookmark your web site and maintain checking for brand new information. بهترین وکیل تهران
  40. Software Customer Service | Jun 22, 2018
  41. car title loans 90013 | Jun 22, 2018
    Auto title loans in Los Angeles are available from $2,600 and can be used for any purpose you choose. Applying and getting hold of the loan once you have made your decision is usually pretty fast, depending on your qualifications. car title loans 90013
  42. https://bachelor-party-montreal.weebly.com/ | Jun 22, 2018
    A friend of mine advised this site. And yes. it has some useful pieces of information and I enjoyed scaning it. Therefore i would love to drop you a quick note to express my cheers. Take care https://bachelor-party-montreal.weebly.com/
  43. links | Jun 22, 2018
    Backlinks can be easily touted as the backbone for gaining high search engine results, but it must be remembered that buying Backlinks isn't recommended at all. links
  44. seo company tampa | Jun 21, 2018
    I discovered your weblog website on google and examine a few of your early posts. Proceed to maintain up the excellent operate. I simply additional up your RSS feed to my MSN News Reader. In search of forward to studying extra from you later on!… seo company tampa
  45. Saeed | Jun 20, 2018
    This is wonderful post acnist
  46. Saeed | Jun 20, 2018
    Amazing Post Keep Posting.. <a href="https://acnist.com">Acnist</a>
  47. Saeed | Jun 20, 2018

    This is what I was looking for I always do some of these but few were missing that I didnt know..  <a href="https://acnist.com/nodular-acne/">acne nodule</a>

  48. messy | Jun 20, 2018
    Nice post mate, keep up the great work,HP customer service
  49. bulk kratom capsules | Jun 19, 2018
    GOod articles post. I have bookmarked this site. Keep up the good work bulk kratom capsules
  50. enterprise resource planning | Jun 19, 2018
    Beyonce, who headlined Glastonbury on Sunday evening, was talked about on social network sites much more compared to various other musician at the festival this particular year, according to Brandwatch enterprise resource planning

    Leave a comment