Thursday, July 31, 2008

Windows dialog appears in

http://forums.asp.net/p/223035/384425.aspx

setting in internet explorer

Tools/InternetOptions/Security/LocalIntranet/CustomLevel/PrompForUserNameAndPassword

Wednesday, February 06, 2008

Handling more than 4000 characters in XMLType columns in Oracle

TOAD will allow only 4000 characters if you insert XML document as string.

Inserting XML document to XMLType column

Resolution: Use PL/SQL block in TOAD

declare x CLOB;
BEGIN
x:='long long... xml statement';
insert into (xmlCol) values (xmltype(x));
END;

Select Statements for XML data of more than 4000 characters :

Resolution: Use
GETCLOBVAL() instead of GETSTRINGVAL()

Thursday, September 13, 2007

Client Side GridView

This is the AJAX Client side Gridview with paging, sorting, drag and drop

http://www.codeplex.com/AjaxDataControls

CollapsiblePanel expand / collapse

From javascript

$find(BehaviorID).expandPanel();
$find(BehaviorID).collapsePanel();

in Code Behind


cpeLeft.Collapsed = false;
cpeSide.Collapsed = true;
cpeLeft.ClientState = "false";
cpeSide.ClientState = "true";

Friday, August 31, 2007

Update Panels are dangerous

http://encosia.com/index.php/2007/07/11/why-aspnet-ajax-updatepanels-are-dangerous/

IsDate equivalent in C#

We need not load the entire Microsoft.VisualBasic.Information.IsDate() for this function alone...

We can use the following the basepage

public static bool IsDate(object Expression)
{
string strDate = Expression.ToString();
try
{
DateTime dt = DateTime.Parse(strDate);
if (dt != DateTime.MinValue && dt != DateTime.MaxValue)
return true;
return false;
}
catch
{
return false;
}
}

Thursday, August 30, 2007

MaskedEditExtender + Mask for MMM d, yyyy format

Mask=99/99/9999 will give makededit mask to enter mm/dd/yyyy in textbox. I have tried with LLLL 9, 9999. No improvement. Looks like there is an issue in AJAXControlToolkit..

http://forums.asp.net/t/1145071.aspx

HTTP Keep-Alives Enabled

When it is enabled, server will make strong attempt to keep the connection open between request, thus improves the performance.

http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/ea116535-8eb9-4c80-8b14-b34418dbfe42.mspx?mfr=true

AJAX History Control

http://www.asp.net/learn/ajax-videos/video-149.aspx

but this is with AJAX Futures Microsoft.Web.preview.dll - Not with AJAX Toolkit.

Wednesday, August 29, 2007

Failed to start monitoring file changes in ASP.NET 1.0

Occurs in VS.NEt 2003, .NET 1.1, ASP.NET 1.0

Resolution : Give NetworkService and ASPNET access to the folder

http://support.microsoft.com/kb/317955