Blogger Widgets
  • Sharing Photos using SignalR
  • TFS Extenstion - allows copy work items between projects
  • Displaying jquery progressbar with ajax call on a modal dialog
  • Managing windows services of a server via a website
  • Exploring technologies available to date. TechCipher is one place that any professional would like to visit, either to get an overview or to have better understanding.
  • SignalR

    Sharing Photos using SignalR

Search This Blog

Wednesday, 24 August 2011

Formatting date in XSL using .NET standard formatting

Microsoft standard .NET date format can be used in xsl transform which is a key feature provided using msxsl:script Element. The following snippet demonstrates using .NET "ToShortDateString" inside XSL transform:- Above defined method "ToCSharpShortDateString" can be used as follows:- Now that xsl is ready, lets use this with ASP.NET xml control . Code behind should look something like this. XmlDocument doc = new...

Thursday, 18 August 2011

jqGrid error at line $t.p.colModel[lvc].width += cr;

Recently I am getting an error in jqGrid plugin at the following line :- $t.p.colModel[lvc].width += cr; After debugging through the code this issue occurs with in the function setGridWidth: function (nwidth, shrink) ..... $t.p.colModel[lvc].width += cr; ..... where nwidth is null So while calling method setGridWidth on a grid make sure...

Friday, 12 August 2011

Using SQL Server Compact with FluentNHibernate

FluentNHibernate is an alternative to NHibernate that supports Object Relational Mapping framework. Actually FluentNHibernate is build on top of NHibernate that provides strongly typed mapping using c# as opposed to xml mapping (.hbm.xml). SQL Server CE (Compact edition) is commonly used for small applications as this would not need any packaging and is a simple file copy. Using FluentNHibernate with SQL Server CE 3.5 file has...

JQGrid extension to track row selection between pages

Have been using JQGrid for quite some time now and was pretty impressed with the jqGrid plugin itself. Ok now, how about extending jqGrid for tracking selection between pages. Here is a jquery extension that does the job. ; (function($) { $.jgrid.extend({ enableTracking : true, gridTrackingIds : null, TrackPageSelection: function (Rowids, selected, currentpageno) { var currentPage...

Tuesday, 9 August 2011

JQGrid sorting with date and time column using localization

Have been using JQGrid for quite some time now and have got stuck with unable to sort on DateTime columns. But finally managed a way to be able to handle this. Not only to allow sorting but also should be able use localization and display/sort in current local format. Not use if this is the right way and works for me. The various DateTime formats available are listed at DateTime formats. Assuming the default date format is "The...
Copyright © 2013 Template Doctor . Designed by Malith Madushanka - Cool Blogger Tutorials | Code by CBT | Images by by HQ Wallpapers