Author: admin

  • Blog
  • Author: admin

I’m Microsoft MVP again. Thank you all

Today is one of the great day in my life. I’m again an Microsoft MVP for .NET and I’m happiest person on the earth and proud of it. Today’ I got this award for fourth time. Earlier I got this award for year 2010,2011 and 2012 for Visual C#. I would like to thank all

How to hide title bar in jQuery UI modal dialog?

jQuery UI is a great open source set of user controls and it’s very easy to use. Recently one of my friend asked question that how we can hide title bar in jQuery UI Dialog? so this post is a reply to him. Let’s create a simple html and use jQuery Ui modal dialog. Following

Replace line breaks in C#

In recent days I was working on a project want to replace \r\n to a new character but it was giving very strange behaviour. It was not replacing proper. Let’s create that scenario. I have written following code. using System; namespace WebApplication1 { public partial class WebForm1 : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs

General Error Class for ASP.NET

#Region “NameSpace”Imports System#End RegionNamespace Abc.ErrorPublic Class CustomError#Region “Declartion”Private Shared _errorno As IntegerPrivate Shared _errorname As IntegerPrivate Shared _errordescription As StringPrivate Shared _errorsource As String #End Region #Region “Properties”Public Shared Property ErroNo() As IntegerGetErroNo = _errornoEnd GetSet(ByVal Value As Integer)_errorno = ValueEnd SetEnd PropertyPublic Shared Property ErrorName() As StringGetErrorName = _errornameEnd GetSet(ByVal Value As String)_errorname =