William Duffy

Glasgow Based ASP.NET Web Developer

Post archive for ‘jQuery’

RssResult - An ASP.NET MVC RSS ActionResult

One of the most common tasks for data serving websites is offering an RSS feed that users can subscribe to in order to keep up with the latest updates to that data.
Previously I posted the article Creating a simple RSS feed using ASP.NET MVC which demonstrated how to create an RSS feed in a quick, [...]

JSON serialization in ASP.NET

When working with JavaScript and ASP.NET together you will no doubt find yourself having to return objects from the server side domain to the client side domain.
One common method of doing this is to return XML which represents the object you wish to return. You then map the values in the XML document to [...]

Keep element in view while scrolling using jQuery

I’ve just completed an interesting project; an online application form that calculated a quote dynamically using Javascript as the user specified their choices.  The quote details where to be displayed to the right of the form, but the form was longer than the height of the page so scrolling was required. In order to keep [...]

Retaining Anchor Position on ASP.NET Postback

I ran into a small problem the other day that although annoying, proved easy enough to fix. The problem arose because I was using JQuery UI tabs to allow multiple pageable gridviews to be managed on the one page. Whenever the gridview was paged a postback was initiated and the gridview paged as expected, however [...]