Should I create a jQuery server control for ASP.net in order to make the best use of it in my applications?

I pretty successfully promoted jQuery in my organization. There is nothing special about this. However, one of the ideas that are called here to make it part of our application is to create a control on the ASP.net side. (For the foreseeable future, we will stick to WebForms.)

I'm not too alone in this approach, as it seems redundant when multiple script tags will do the job. We found an article on the Internet, and the amount of code involved is really not worth it. However, I heard that there are some advantages to caching or generating a script that come with server controls.

My questions:

  • Has anyone else written an ASP.net server element to serve jQuery js code?
  • Does anyone else think this is a crazy idea to just not write jquery or javascript code?
+5
source share
4 answers

, Microsoft ( Nokia) "" jQuery Visual Studio. , , , , , " MS jQuery" .

+4

. , , JQuery script.

1.js, , . .js, .

, , JavaScript, - JavaScript DLL. JavaScript , .dll, script.

+2

JavaScript , , JavaScript . , ​​jQuery, jQuery . , , , , . : , -, , . jQuery, , API . , , .

, , , API, .

+1

Scott Hanselman , ASP.net AJAX + JQuery. , javascript script. .

0

All Articles