Sunday, November 02 2008
Display Live Data In Silverlight Using ObservableCollection and INotifyPropertyChanged
Articles shows how to use ObservableCollection in combination with an object implementing INotifyPropertyChanged interface to display live data in Silverlight Application.
ObservableCollection is a generic dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed and INotifyPropertyChanged provides PropertyChanged notification to clients when any property value gets changed.
Thursday, October 30 2008
Authorization in ASP.Net MVC using XML Configuration.
Doing authorization in a clean way is always tricky, You want a delicate balance between an extreme abstraction and something like embedding roles in-side your compiled code, I have always preferred simple abstraction either using roles and their corresponding mappings in the database or using simple xml file to store action to role mappings.
Tuesday, February 05 2008
XSLT Transformation in ASP.net MVC framework
In my last post I talked about using partial view to render hierarchial data, however XSL transformation fits more naturally for such case. ASP.Net has XML control which can display XML document using Extensible Stylesheet Language Transformations. Following example shows ASP.NET MVC Framework way of doing similar thing.
Sunday, February 03 2008
Display hierarchical data in ASP.net MVC framework
This article shows possible ways to display hierarchical data in ASP.NET MVC framework using recursive partial view.
Monday, January 28 2008
AJAX Get Request using ASP.NET MVC & Prototype
This post presents a simple AJAX get call sample using ASP.NET MVC Framework and Prototype JavaScript framework.
Thursday, September 20 2007
Read Asp.net Request Param and Session dynamically into properties
Article shows how you can use Attributes and Reflection to dynamically populate property with value from param, session or context without writing any addition code. I have used this technique in past and I hope you will also find it useful.
Sunday, February 19 2006
Displaying single table database hierarchy with DataSet and DataRelations.
Hierarchies are difficult to store SQL tables and even more difficult to query and display.
This Example will show you how you can use DataRelation to convert single table hierarchy in to nested XML and then use XSLT to transform it to nested list.
Thursday, February 02 2006
AJAX Pager control
After AJAX Repeater control next logical thing was to try and create paging control, a control which renders paging links when you set its properties like page count and page number, I have been using similar control in asp.net page so I decided to implement same thing with JavaScript.
Monday, January 30 2006
AJAX Repeater control
Repeater control with ItemTemplate,HeaderTemplate,FooterTemplate,AlternatingItemTemplate and SeperatorTemplate created using JavaScript for binding data from XMLHTTP request.
Monday, September 27 2004
Posting from ASP.Net page to another URL
Sometime you need to post form to an outside url from asp.net pages. asp.net does not provide any straight forward way to accomplish this task.