0

i am using SharePoint 2010. I built a webpart which is displaying elements from another list on the same page. This works fine and fast but when i put in the conditional formatting the loading process of the site tooks a very long time, around 30-80 seconds. The aim is to view these elements (there are three: red, yellow and green) like a kind of a traffic light.

Code in SharePoint Workspace

Any tips for improving the performance?

4
  • 1
    usually I prefer use JavaScript instead of XSLT for many reason: is faster and you use the client process to formatting the result – Salvatore Di Fazio Apr 17 '13 at 10:11
  • I never used JavaScript before but I'll give it a try ;) – mbauer Apr 17 '13 at 11:12
  • ok seems it works a little bit but now i have the following problem: stackoverflow.com/questions/16086047/… – mbauer Apr 19 '13 at 6:01
  • 1
    Ok I'm going to ask you here and in the other question too... it's an hard work :) Please remember to vote :) – Salvatore Di Fazio Apr 19 '13 at 8:17
1

As I wrote in the comment above I prefer to use JavaScript for a couple of reason:

  • the workload is distributed on the clients instead of the server and that should give you better performance
  • it is more easy to integrate on your HTML

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.