Geeks With Blogs
Krishna's weblog Frozen thoughts of a budding developer - jQuery, ASP.NET, AJAX and more... July 2009 Entries
Using .NET’s Register Script methods with jQuery’s $(document).ready()
In ASP.NET web apps, most of the times we would need to call JavaScript functions in page_load event of code behind, for various valid reasons. In such scenarios, we simply use .NET’s Register Script methods for emitting JavaScript code, which is absolutely fine. If you are using jQuery, you would write the logical flow of events to be executed in $(document).ready() function. However, if you are using Register script methods with jQuery, the output will not be as expected. I have faced this problem ......

Posted On Thursday, July 23, 2009 6:34 PM

Using .NET’s Register Script methods with jQuery’s $(document).ready()
In ASP.NET web apps, most of the times we would need to call JavaScript functions in page_load event of code behind, for various valid reasons. In such scenarios, we simply use .NET’s Register Script methods for emitting JavaScript code, which is absolutely fine. If you are using jQuery, you would write the logical flow of events to be executed in $(document).ready() function. However, if you are using Register script methods with jQuery, the output will not be as expected. I have faced this problem ......

Posted On Thursday, July 23, 2009 6:34 PM

Using .NET’s Register Script methods with jQuery’s $(document).ready()
In ASP.NET web apps, most of the times we would need to call JavaScript functions in page_load event of code behind, for various valid reasons. In such scenarios, we simply use .NET’s Register Script methods for emitting JavaScript code, which is absolutely fine. If you are using jQuery, you would write the logical flow of events to be executed in $(document).ready() function. However, if you are using Register script methods with jQuery, the output will not be as expected. I have faced this problem ......

Posted On Thursday, July 23, 2009 6:34 PM

Using .NET’s Register Script methods with jQuery’s $(document).ready()
In ASP.NET web apps, most of the times we would need to call JavaScript functions in page_load event of code behind, for various valid reasons. In such scenarios, we simply use .NET’s Register Script methods for emitting JavaScript code, which is absolutely fine. If you are using jQuery, you would write the logical flow of events to be executed in $(document).ready() function. However, if you are using Register script methods with jQuery, the output will not be as expected. I have faced this problem ......

Posted On Thursday, July 23, 2009 6:34 PM

Filtering .NET 3.5 returned JSON with jQuery
In .NET 3.5, when a Web service class is decorated with “ScriptService” attribute, the web service returns data in JSON format [MSDN]. I have demonstrated this with a simple example in the article, Passing JSON objects in .NET 3.5. Let us consider that our “person” class has several properties, of which only few are useful on the client side for data binding. We can filter this object in two ways: 1. On the server side:- Create a dictionary object [System.Collections.Generic... TKey, TValue)], ......

Posted On Wednesday, July 15, 2009 6:09 PM

Filtering .NET 3.5 returned JSON with jQuery
In .NET 3.5, when a Web service class is decorated with “ScriptService” attribute, the web service returns data in JSON format [MSDN]. I have demonstrated this with a simple example in the article, Passing JSON objects in .NET 3.5. Let us consider that our “person” class has several properties, of which only few are useful on the client side for data binding. We can filter this object in two ways: 1. On the server side:- Create a dictionary object [System.Collections.Generic... TKey, TValue)], ......

Posted On Wednesday, July 15, 2009 6:09 PM

Filtering .NET 3.5 returned JSON with jQuery
In .NET 3.5, when a Web service class is decorated with “ScriptService” attribute, the web service returns data in JSON format [MSDN]. I have demonstrated this with a simple example in the article, Passing JSON objects in .NET 3.5. Let us consider that our “person” class has several properties, of which only few are useful on the client side for data binding. We can filter this object in two ways: 1. On the server side:- Create a dictionary object [System.Collections.Generic... TKey, TValue)], ......

Posted On Wednesday, July 15, 2009 6:09 PM

Filtering .NET 3.5 returned JSON with jQuery
In .NET 3.5, when a Web service class is decorated with “ScriptService” attribute, the web service returns data in JSON format [MSDN]. I have demonstrated this with a simple example in the article, Passing JSON objects in .NET 3.5. Let us consider that our “person” class has several properties, of which only few are useful on the client side for data binding. We can filter this object in two ways: 1. On the server side:- Create a dictionary object [System.Collections.Generic... TKey, TValue)], ......

Posted On Wednesday, July 15, 2009 6:09 PM

Copyright © novogeek | Powered by: GeeksWithBlogs.net