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

RadGrid Performance Issue

11 Answers 170 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tom
Top achievements
Rank 1
Tom asked on 14 Jan 2011, 09:58 PM
When clicking on a link in my RadGrid I am getting very slow performance.  I've done some performance profiling in VS 2010 and with Fiddler and I've found the following. 

First, there is a large amount of data being sent to the client (about 250kb) for an AJAX enable grid that can be paged, filtered and sorted.  Bandwidth however isn't the problem because this is all running locally in my debug environment. 

Since bandwidth wasn't the issue I decided to profile the code.  When running VS Profiler and looking at the slow operations it tells me that the following functions are mostly responsible for the slow results:

gridItem.onBubbleEvent
system.text.regularexpressions.matchenumerator.movenext
system.text.regularexpressions.regex.match

Where onBubbleEvent is calling the functions beneath it and those function are responsible for 70% of the time it takes to render the page.  Can anybody suggest ideas for improving the performance?  If I had to guess I'd say that given the large amount of data that RadGrid is just having a tough time slogging through it all and rendering html.

11 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 17 Jan 2011, 11:07 AM
Hi Tom,

Please examine the last post in the following forum thread and see if it helps to improve the performance:
http://www.telerik.com/community/forums/aspnet-ajax/grid/radgrid-slow-in-ie-but-not-firefox.aspx

Greetings,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Tom
Top achievements
Rank 1
answered on 20 Jan 2011, 06:08 PM
I tried the top suggestion, i.e., turning viewstateEnable=false on radgrid and it doesn't affect page size.  Do I have to recompile the pages after changing this attribute?  I'm using Fiddler to check the page size and it is identical before and after changing this property.
0
Tom
Top achievements
Rank 1
answered on 20 Jan 2011, 09:48 PM
After further analysis I found that viewstate wasn't responsible for the sometime huge radgrid payload (~200-300Kb).   It's a javascript file being sent to the client via webresource.axd hiddenField.  Now I'm looking into UseEmbeddedScripts toggle to prevent this perhaps unnecessary code from being sent to the client.
0
Pavlina
Telerik team
answered on 21 Jan 2011, 03:30 PM
Hi Tom,

Please go through the following help article.
Client/server grid performance optimizations

Regards,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Tom
Top achievements
Rank 1
answered on 21 Jan 2011, 04:02 PM
Hi Pavlina, thanks for that tip.  It seems that the link is suggesting the same thing I was going to do, i.e., stop the download of the axd resources but instead of doing it directly via UseEmbeddedScripts, the linked article seems to do it indirectly by turning off all client features of the grid.  Is that an accurate assessment, i.e., is the goal just to prevent the webresource.axd from pulling down a huge Kb amount of javascript/css/skins and shoving it into a hidden field on the page?
0
Tom
Top achievements
Rank 1
answered on 21 Jan 2011, 04:21 PM
Hi again Pavlina, the article you linked to suggests  'turning off all client features', but I'm new to Radcontrols and that is easier said than done.  Do you know a link that describes how to do that? 

I can turn off simple things like client side sorting and filtering, but I'm concerned that there is some client side functionality that I might overlook.  For example, the following Telerik controls are in the target page (the page whose performance I'm trying to improve).  How do I turn off any client side functionality of these controls?  Aren't some of these controls implicitly client side, e..g., the AJAX controls, and if so, how would I turn it off?

RadScriptManager
RadSplitter
RadPane
RadGrid
GridEditCommandColumn
RadScriptBlock
GridButtonColumn
GridBoundColumn
GridCheckBoxColumn
GridTemplateColumn
RadSplitBar
RadEditor
RadAjaxManager
AjaxSetting
AjaxUpdatedControl
AjaxUpdatedControl
RadAjaxLoadingPanel
0
Tom
Top achievements
Rank 1
answered on 21 Jan 2011, 08:35 PM
Hi again,  I noticed something perhaps worth looking into.  In the target page (the page I'm trying to improve the performance on), there is a  RadAjaxLoadingPanel that is to be very slow, i.e., response times > 5sec and sometimes >10seconds.  After looking at it in Fiddler I found that when the panel updates itself it makes two requests rather than one which I describe in more detail below.  Moreover, each request POSTS a large Kb amount (150KB) and amount 3x greater than what it receives (50Kb)! 

Both posts are to the same URL (that of the page).  The first of its two posts gets a 401 response and then the second gets the streamed AJAX response. 

Since the up bandwidth is smaller than the down bandwidth I think I could get a performance gain of a second or so if I could just prevent the first of the two requests (the 401).  I could also get another gain if I could somehow reduce the payload, i.e., why is it sending so much Kb in the AJAX request?  Below is a sample of what it is sending in the request which, to me, appears to be excessive and the encoded contents of the entire RadAjaxLoadingPanel.

Thanks, Tom

ctl00%24ContentPlaceHolder1%24ScriptManager1=ctl00%24ContentPlaceHolder1%24ctl00%24ContentPlaceHolder1%24rgPointsPanel%7Cctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl58%24EditButton&ctl00_ContentPlaceHolder1_ScriptManager1_TSM=%3B%3BSystem.Web.Extensions%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3D31bf3856ad364e35%3Aen-US%3A1f68db6e-ab92-4c56-8744-13e09bf43565%3Aea597d4b%3Ab25378d2%3BTelerik.Web.UI%2C%20Version%3D2010.3.1215.40%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3D121fae78165ba3d4%3Aen-US%3Aaa801ad7-53c4-4f5c-9fd3-11d99e4b92f4%3A16e4e7cd%3A11a04f7e%3Af7645509%3A24ee1bba%3Af46195d3%3A58366029%3A874f8ea2%3Adc7e0bd%3A1569bb5f%3A63b115ed%3A1c565fc%3A30f1f089%3A19620875%3A490a9d4e%3Aed16cbdc%3B%3BTelerik.Web.UI%2C%20Version%3D2010.3.1215.40%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3D121fae78165ba3d4%3Aen-US%3Aaa801ad7-53c4-4f5c-9fd3-11d99e4b92f4%3Abd8f85e4%3B&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24txtDescription=CONFOUNDING%20FACTORS%20-%203&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24txtOrderNumber=27&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24ddlInputType=Textbox&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24txtControlHtmlTemplate=%3Clabel%20class%3D%22ipctlabel%22%20style%3D%22position%3Aabsolute%3B%20left%3A%20168px%3B%20top%3A%20516px%3B%22%20for%3D%22_ipct_Page_23_Point_27%22%3ECONFOUNDING%20FACTORS%20-%203%3C%2Flabel%3E%3Cinput%20style%3D%22position%3Aabsolute%3B%20left%3A%20398px%3B%20top%3A%20516px%3B%20width%3A%20139px%3B%22%20name%3D%22Point_27%22%20id%3D%22_ipct_Page_23_Point_27%22%20maxlength%3D%22%22%20type%3D%22text%22%20ipctypeid%3D%22Textbox%22%20class%3D%22ipct%22%20%2F%3E&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24txtLength=30&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24chkForceUpper=on&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24txtPivotYear=&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24txtLessCentury=&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24txtGreaterCentury=&ctl00%24ContentPlaceHolder1%24rgPoints%24ctl00%24ctl57%24EditFormControl%24ddlParentCrfSection=--%20None%20--&ctl00_ContentPlaceHolder1_rgPoints_ctl00_ctl57_EditFormControl_rwEditPointCodingDefs_ClientState=&ctl00_ContentPlaceHolder1_rgPoints_ctl00_ctl57_EditFormControl_RadWindowManager1_ClientState=&ctl00_ContentPlaceHolder1_rgPoints_ClientState=&ctl00_ContentPlaceHolder1_LeftPane_ClientState=%7B%22_originalWidth%22%3A%22370px%22%2C%22_originalHeight%22%3A%22898px%22%2C%22_collapsedDirection%22%3A1%2C%22_scrollLeft%22%3A0%2C%22_scrollTop%22%3A790%2C%22_expandedSize%22%3A0%2C%22width%22%3A370%2C%22height%22%3A898%2C%22collapsed%22%3Afalse%2C%22contentUrl%22%3A%22%22%2C%22minWidth%22%3A20%2C%22maxWidth%22%3A10000%2C%22minHeight%22%3A20%2C%22maxHeight%22%3A10000%2C%22locked%22%3Afalse%7D&ctl00_ContentPlaceHolder1_RadSplitBar1_ClientState=&ctl00_ContentPlaceHolder1_reFormEditor_dialogOpener_Window_ClientState=&ctl00_ContentPlaceHolder1_reFormEditor_dialogOpener_ClientState=&ctl00%24ContentPlaceHolder1%24reFormEditor=%253c%2521--Page%25280%2529--%253e%253c%2521--Text--%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%200.61in%253b%20font%253a%209pt%2F9pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%203.32in%253b%20position%253a%20absolute%253b%20top%253a%200.43in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253eThe%20Gleevec%2FGlivec%20%2526amp%253b%20Tasigna%20Pregnancy%20Exposure%20Registry%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522left%253a%204.23in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.47in%253b%20position%253a%20absolute%253b%20top%253a%200.51in%253b%20height%253a%200.15in%253b%2522%20for%253d%2522b12c96nfP1_SITEID%2522%253eSite%20%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522left%253a%205.06in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.67in%253b%20position%253a%20absolute%253b%20top%253a%200.51in%253b%20height%253a%200.15in%253b%2522%20for%253d%2522b12c96nfP2_PATIENTID%2522%253ePatient%20%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%204.58in%253b%20font%253a%208pt%2F8pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.33in%253b%20position%253a%20absolute%253b%20top%253a%200.74in%253b%20height%253a%200.15in%253b%20text-align%253a%20left%253b%2522%253e%2523%20%2523%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%205.69in%253b%20font%253a%208pt%2F8pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.45in%253b%20position%253a%20absolute%253b%20top%253a%200.74in%253b%20height%253a%200.15in%253b%20text-align%253a%20left%253b%2522%253e%2523%20%2523%20%2523%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522left%253a%205.04in%253b%20font%253a%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%201.06in%253b%20position%253a%20absolute%253b%20top%253a%201in%253b%20height%253a%200.15in%253b%2522%20for%253d%2522b12c96nfP4_Date_received%2522%253eDate%20Received%20%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%206.38in%253b%20font%253a%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%201.04in%253b%20position%253a%20absolute%253b%20top%253a%201.22in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253edd%2Fmmm%2Fyyyy%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%200.7in%253b%20font%253a%20bold%2012pt%2F12pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%203.13in%253b%20position%253a%20absolute%253b%20top%253a%200.67in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253eBIRTH%20DEFECT%20EVALUATOR%20FORM%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522left%253a%206.302in%253b%20font%253a%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.72in%253b%20position%253a%20absolute%253b%20top%253a%200.542in%253b%20height%253a%200.15in%253b%2522%20for%253d%2522b12c96nfP3_Baby_ID%2522%253eBaby%20ID%20%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%200.47in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.57in%253b%20position%253a%20absolute%253b%20top%253a%201.93in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253eUnique%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%200.39in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.72in%253b%20position%253a%20absolute%253b%20top%253a%202.08in%253b%20height%253a%200.15in%253b%20text-align%253a%20left%253b%2522%253eDefect%20ID%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.06in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.8in%253b%20position%253a%20absolute%253b%20top%253a%201.93in%253b%20height%253a%200.15in%253b%20text-align%253a%20left%253b%2522%253e1.%20Defect%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.08in%253b%20font%253a%208pt%2F8pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.76in%253b%20position%253a%20absolute%253b%20top%253a%202.08in%253b%20height%253a%200.15in%253b%20text-align%253a%20left%253b%2522%253e%2528see%20list%201-5%2529%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%201.28in%253b%20position%253a%20absolute%253b%20top%253a%201.97in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253e1a%252bb.%20Defect%20terms%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%203.7in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%201.28in%253b%20position%253a%20absolute%253b%20top%253a%201.93in%253b%20height%253a%200.15in%253b%20text-align%253a%20left%253b%2522%253e2.%20Organ%20System%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%203.949in%253b%20font%253a%208pt%2F8pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.76in%253b%20position%253a%20absolute%253b%20top%253a%202.057in%253b%20height%253a%200.15in%253b%20text-align%253a%20left%253b%2522%253e%2528see%20list%201-20%2529%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%204.96in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%201.04in%253b%20position%253a%20absolute%253b%20top%253a%201.93in%253b%20height%253a%200.15in%253b%20text-align%253a%20left%253b%2522%253e3.%20Temp%20Assn%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%205.16in%253b%20font%253a%208pt%2F8pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.72in%253b%20position%253a%20absolute%253b%20top%253a%202.08in%253b%20height%253a%200.15in%253b%20text-align%253a%20left%253b%2522%253e%2528see%20list%201-9%2529%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%206.14in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.92in%253b%20position%253a%20absolute%253b%20top%253a%201.97in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253e5.%20Etiology%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.88in%253b%20position%253a%20absolute%253b%20top%253a%202.24in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253ea.%20Verbatim%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.88in%253b%20position%253a%20absolute%253b%20top%253a%202.71in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253eb.%20Preferred%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%203.7in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%201.71in%253b%20position%253a%20absolute%253b%20top%253a%202.71in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253e4.%20Confounding%20Factors%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.88in%253b%20position%253a%20absolute%253b%20top%253a%203.23in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253ea.%20Verbatim%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.88in%253b%20position%253a%20absolute%253b%20top%253a%203.7in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253eb.%20Preferred%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%203.7in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%201.71in%253b%20position%253a%20absolute%253b%20top%253a%203.7in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253e4.%20Confounding%20Factors%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.88in%253b%20position%253a%20absolute%253b%20top%253a%204.21in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253ea.%20Verbatim%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.88in%253b%20position%253a%20absolute%253b%20top%253a%204.68in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253eb.%20Preferred%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%203.7in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%201.71in%253b%20position%253a%20absolute%253b%20top%253a%204.68in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253e4.%20Confounding%20Factors%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.88in%253b%20position%253a%20absolute%253b%20top%253a%205.2in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253ea.%20Verbatim%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.88in%253b%20position%253a%20absolute%253b%20top%253a%205.67in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253eb.%20Preferred%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%203.7in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%201.71in%253b%20position%253a%20absolute%253b%20top%253a%205.67in%253b%20height%253a%200.19in%253b%20text-align%253a%20left%253b%2522%253e4.%20Confounding%20Factors%253c%2Fdiv%253e%0D%0A%253cdiv%20style%253d%2522z-index%253a%201%253b%20left%253a%201.89in%253b%20font%253a%20bold%2010pt%2F10pt%20times%20new%20roman%252ctimes%252ctms%253b%20width%253a%200.88in%253b%20position%253a%20absolute%253b%20top%253a%206.18in%253b%20height%253a%200.19in%253b%20text-align
0
Pavlina
Telerik team
answered on 24 Jan 2011, 11:48 AM
Hi Tom,

The RadAjaxManager control allows you to easily create settings that update many controls on the page. Having a large number of updated controls can both help with a performance problem by rendering smaller portions of the page and worsen the situation by triggering unnecessary DOM layout updates. Dealing with such a performance problem will require actions specific for the current scenario.

Please refer to the following article for more information about how you can optimize client-side performance:
http://www.telerik.com/help/aspnet-ajax/ajxclientsideperformance.html

Additionally, if the problem still persists it will be best if you open a formal support ticket and send us a simple project which we can debug locally.

All the best,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Tom
Top achievements
Rank 1
answered on 24 Jan 2011, 01:50 PM
Hi Again Pavlina,  Thanks for your suggestion, but I'm fairly certain there isn't a client-side problem as, according to Fiddler, most of the processing occurs on the server.  For example, it takes approximately 15 seconds for the RadAjaxLoadingPanel to update itself when I click an 'expand' link in the panel.  Per Fiddler, about 90% of that time is just wait time, i.e., the client is waiting for the server to resond.

I used Visual Studio to see what taking so long at the server (see earlier post).  That analysis found that the following three methods were responsible for 70% of the work going on at the server:

gridItem.onBubbleEvent
system.text.regularexpressions.matchenumerator.movenext
system.text.regularexpressions.regex.match

My preliminary conclusion is that the server is trying to parse that rather large 150KB request payload.  Would you agree?
0
Tom
Top achievements
Rank 1
answered on 24 Jan 2011, 05:38 PM
Hi Again, Here is a little extra info...after digging into the code it appears that all the work on the server is to recompose the entire radGrid that is inside the Ajax panel.  The code really should just be expanding one row in the radgrid, i.e., all the other rows don't change.
0
Pavlina
Telerik team
answered on 26 Jan 2011, 05:33 PM
Hi Tom,

Can you open a formal support ticket and send us this project to check it locally what is going on?

Regards,
Pavlina
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Grid
Asked by
Tom
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Tom
Top achievements
Rank 1
Share this question
or