all things Sitecore related

Javascript

Asp.Net: keyboard sort items

By on September 24, 2010 in ASP.Net, C#, Javascript with 0 Comments
Asp.Net: keyboard sort items

As proof of concept I wanted to sort images in a Grid by keyboard. The sort logic needed to be implemented on the server. My solution for this problem is a combination of Javascript and C#. First add following html to you .aspx. Notice that the body tag has runat=”server” and a ID. <body<strong> runat="server" […]

Continue Reading »

Playing with JQuery (fixing Intellisense in VS2008)

By on June 23, 2009 in Javascript, Visual Studio with 0 Comments

The last few years I spend a lot of time working with Asp.Net AJAX. It all worked pretty good, the only downside is that you do not have control the generated HTML. With jQuery you can manipulate generated HTML. This HTML can be generated fully controlled with a ListView. I'm a lazy programmer so the first […]

Continue Reading »

Asp.Net AJAX controltoolkit javascript funtions

By on June 25, 2008 in AJAX, Controls, Javascript with 0 Comments

I've search them all up for a 1000 times. Now I'm going to write them down as reference. This post will grow in the next few months. Remember do not forget to set the behaviorId of the control.  References: CollapsiblePanelExtender Expand: $find('BehaviorId')._doOpen(); Collapse: $find('BehaviorId')._doClose(); $find('BehaviorId').collapsePanel(); ModalPopupExtender Show popup: $find('BehaviorId').show(); Hide popup: $find('BehaviorId').hide(); 

Continue Reading »

Top