Use Telerik Jquery library

Posted on: Wed May 05 22:33:44 -0700 2010. Updated on: Wed May 05 22:39:34 -0700 2010.
Category: Telerik Controls and Sitefinity

If you use Telerik controls and want to use jquery scripts in your stuff, you should pull the library from telerik. The best practice way of doing this is outline below. First, add the right script references, a typical script ref in your masterpage could look like this:


		
			
			

            
		
	

Next, at the end of your jquery functions, in the (_) at the end, replace 'jquery' for '$telerik.$' , without quotes of course.

(function($) {

		var modaldialog = {};
... your code here
})($telerik.$);

Comments:

Add a Comment:

simple_captcha.jpg
(human authentication)


Ads

Categories

About

Random foliage

This website is meant to be a reference for ASP Dot Net developers. The entries are a compilation of things I've figured out how to do and that I deem useful to keep of track for future reference. Assumptions: web development with: C Sharp (vb sucks), visual studio 05/08, .net 3.5, meant for programmers. Written by: James Reategui.