ADO.NET Data Services : Efficient Error Handling across Application Tiers

While developing an application that spans multiple tiers , it is important that you be able to flow error information through the tiers without losing any context or details in the tiers. With ADO.NET Data Services , we have an error contract which guarantees that all errors thrown from the Data Service , wrapped inside…

2

Entities , How many ways do I count thee ?

Its a common ask that we introduce aggregating mechanisms in Data services so that one can do a Count of the number of entities present in an EntitySet easily. In this blog post , I will outline one method of implementing a “Count” method that works for you. The interface to the count method will…

8

GridViewFilterExtender : Filter GridView Rows Client-Side

Download Source Code and Sample application  :  Excel’s Filter Dialog My GridView Filter Extender                  The above Screen Shots look promising , don’t they ?So, How would one go about building such a control ? Well, I have it laid out in front of you .1) Find all unique Strings in the…

4

How to : Perform Operations on all instances of a Ajax Control Extender on a page

Consider a scenario wherein you have a lot of control Extenders on a page and you want to conduct operations on all instances Specific Extender or specific instances of an extender. We all know that we can reference certain instances of an Extender by using  its BehaviorID and the $find function. Now , consider an implementation…

3

HowTo : Change Visible Tab Using JavaScript in the MS AJAX TabControl

I have seen this in the forums a lot .. “How do I change the Visible Tab in the MS AJAX TabControl on the Client-Side using Javascript ?” Well, I have posted it several times and I think Its time I’d rather point people to a link than write the same piece again and again…

16

Sys.Preview.Timer Control – A Client Side Timer

We have quite often come across  scenarios where-in we need to execute certain client-Side code at certain intervals . What we often ended up doing is to use the window.setTimeOut() and the window.setInterval functions of IE to execute an expression at certain intervals of time .   The Sys.Preview.Timer Provides an abstraction over these functions and makes…

2

Customizing the Alert Messages in IE

Have you ever felt that this looks ugly ? Did you ever want to customize the Image , the text, the Icons ? You would probably want to customize it to the Look and feel of your web application. We are gonna talk about how to customize the Alert Box in IE . When we…

8

Change ServiceMethods and Web Service for the AutoCompleteExtender From Client Side

This is quite a common requirement and guess the Docs are not really clear as to how you can achieve this . Lemme see how I can help You want to  change the Webmethod that the AutoComplete Extender Talks to from the Client Side. You want to  change the WebService that the AutoComplete Extender Talks…

8

Implementing Image Zoom using MS Ajax Slider Control

The MS Ajax Control Toolkit provides a lot of cool controls that we can use to implement nifty effects in our applications. One of the controls we are gonna play with today is the Ajax Slider Control. The Slider Control Provides a way for the user to measure arbitrary values and set them using a…

8

Customizing the MS Ajax AutoCompleteExtender To Render Images Instead Of Text

We all know about the AutoComplete Extender from MS AJAX. It looks like this …..   I want to customize the Auto Complete behaviour to render images on the client side rather than the text nodes . My Server Side WebService returns an array of image URLs. I want to change the way the Results…

2