Development With A Dot

Blog on development in general, and specifically on .NET

Sponsors

News

My Friends

My Links

Permanent Posts

Portuguese Communities

Browse by Tags

All Tags » JavaScript (RSS)
Wrapping ASP.NET Client Callbacks
Client Callbacks are probably the less known (and I dare say, less loved) of all the AJAX options in ASP.NET, which also include the UpdatePanel , Page Methods and Web Services . The reason for that, I believe, is it’s relative complexity: Get a reference...
Using ASP.NET Resources in JavaScript
If you use resources in your web application to localize your strings on the server side, you may have also felt the need to use the same resources in JavaScript. The thing is, there wasn’t any straightforward way to do it. Until now, that is! I wrote...
ASP.NET MVC Validation Complete
OK, so let’s talk about validation. Most people are probably familiar with the out of the box validation attributes that MVC knows about, from the System.ComponentModel.DataAnnotations namespace, such as EnumDataTypeAttribute , RequiredAttribute , StringLengthAttribute...
ASP.NET MVC CRUD Validation
One thing I didn’t refer on my previous post on ASP.NET MVC CRUD with AJAX was how to retrieve model validation information into the client. We want to send any model validation errors to the client in the JSON object that contains the ProductId , RowVersion...
Detecting Authentication Expiration in ASP.NET
I recently had to solve a problem: when issuing an asynchronous call by using an UpdatePanel , if the user is no longer authenticated – due possibly to long inactivity – this situation is silently ignored. What happens is, when an unauthenticated user...
Calling WCF Web Services from JavaScript
This post was long due, so here it is. Prepare for a long post! Whenever you need to consume a WCF web service from a web page, you have (at least) three options: Have the ASP.NET ScriptManager generate a strongly-typed JavaScript proxy to the service...
jQuery 1.4.3 Released
Get it from here . Some performance improvements and also some new functionalities. See the release notes and all the API methods that were changed .
Glimmer
Glimmer allows you to easily create interactive elements on your web pages by harnessing the power of the jQuery library. Without having to hand-craft your JavaScript code, you can use Glimmer’s wizards to generate jQuery scripts for common interactive...
Number Parsing in JavaScript
How many times did you have this in your code: var str = getSomeNumber(); //say, 1212 var num = parseInt(str); window.alert('Number is: ' + num); //Number is: 1212 Nothing special about it... or is it? It happens that JavaScript's parseInt function is...
More Posts