Wednesday, February 25, 2009

Acess Class Object in Hashtable

http://www.java2s.com/Tutorial/ASP.NET/0140__Collections/UsingForEachwithaHashtablesdefaultIEnumeratorimplementationC.htm

Friday, January 23, 2009

Google Site

http://sites.google.com/site/rajattechworld/other

Wednesday, December 24, 2008

FCK Editor Server Side Validation (Custom Validation)

For Reference Site.

http://forums.asp.net/t/1021255.aspx
FCKeditorV2:FCKeditor ID="FCKeditorDecs" runat="server">
FCKeditorV2:FCKeditor

asp:CustomValidator runat="server" ID="cvBody" SetFocusOnError="true" Display="dynamic" Text="Please Enter Description !!" ValidationGroup="Property" ClientValidationFunction="ValidateContentText">
asp:CustomValidator

--Js Function
function ValidateContentText(source,args)
{
var fckBody= FCKeditorAPI.GetInstance('<%=FCKeditorDecs.ClientID %>');
sTemp1 = fckBody.EditorDocument.body.innerHTML
var _blankspace=' ';
var _nospace='';

isValid = true;
regX = new RegExp(_blankspace,"g");
sTemp1 = sTemp1.replace(regX,_nospace);

_blankspace='

';
regX = new RegExp(_blankspace,"g");
sTemp1 = sTemp1.replace(regX,_nospace);

_blankspace='

';
regX = new RegExp(_blankspace,"g");
sTemp1 = sTemp1.replace(regX,_nospace);

_blankspace='

';
regX = new RegExp(_blankspace,"g");
sTemp1 = sTemp1.replace(regX,_nospace);

_blankspace='

';
regX = new RegExp(_blankspace,"g");
sTemp1 = sTemp1.replace(regX,_nospace);

_blankspace='
';
regX = new RegExp(_blankspace,"g");
sTemp1 = sTemp1.replace(regX,_nospace);

var sTemp1 = sTemp1.replace(/^\s+/, '');
sTemp1 = sTemp1.replace(/\s+$/, '');

if(sTemp1.length == 0)
{
fckBody.EditorDocument.body.innerHTML = '';
source.innerHTML = "Please Enter Description !!";
isValid = false;
}

args.IsValid = isValid;
}

Tuesday, December 16, 2008

Friday, November 7, 2008

Xquery Tutorial in asp.net

http://www.pietsieg.com/articles%5Cxquery%5Cbeginner%5CUsing%20XQuery%20in%20ASP.NET%20-%20OLD%20MS%20XQuery%20Demo%5CUsing%20XQuery%20in%20ASP.NET.htm#_Toc16356124

http://aspnet.4guysfromrolla.com/articles/071603-1.2.aspx

Monday, November 3, 2008

Friday, October 31, 2008

Bhupesh/baba Site

http://sites.google.com/site/bhupeshrawatsite/Home
http://sites.google.com/site/meetashwanianand/