30 September 2008

Search Direct "Code" as search result!!!

You can see ZIP file's code without downloading. there is also "Language" option in advance search to get result for particular language.

So start to find direct Code!!!

24 September 2008



Get home entertainment via BigFlix , Just Register, Pay fees, and get DVD to your home!!!

It also present in Ahmedabad.

read More about this site.

20 September 2008

Download Visual Studio 2008 SP1.

and also read about that what new in Visual Studio 2008 SP1 from here in power point presentation and also in text format here.

18 September 2008

Download .NET Framework 3.5 Common Namespaces and Types Poster in PDF format.


17 September 2008

When you have update panel in your web page, You wanted to update page, Actually there will be same page life cycle, and also Page_Load event, It means that suppose you have some code in Page_Load event to bind Grid which is not there in UpdatePanel, Normally it will go to rebind data!

So, the question is how could we know different between normal postback and post back via update panel?

There is a property in "ScriptManager" control to get this different named "IsInAsyncPostBack"


protected void Page_Load(object sender, EventArgs e)
{
if (!ScriptManager1.IsInAsyncPostBack)
{
///Page Regular code
}
else
{
///Code Only for controls inside Update Pagens
}
}

30 August 2008

Create "Tab" Image Online...



and download "PNG" format, very quickly.
DayPilot is an AJAX calendar/scheduling control for ASP.NET 2.0 that allows you to to build calendar-related applications: personal or shared event calendars, resource booking applications, time tracking applications, project management applications.




This one is g8!
If you want to apply theme to Ajax Controls Toolkit, You may get following error.


Parser Error


Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Unknown server tag 'ajaxToolkit:ControlName'.


This is because it is required to register all custom user controls in to the web.config file.

So, under "pages" element create "controls" and add folofing tag in to it.

add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>

Done, refresh the page. error is solved.

28 August 2008

Support you have a textbox and you want to display it's value in a label, we can face this problem that it will not show new line.
this is because the code is something like this:

protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text = TextBox1.Text;
}

but now change this code by :

protected void Button1_Click(object sender, EventArgs e)
{
Label1.Text = TextBox1.Text.Replace(Environment.NewLine, "
");
}

and see the result:

this is because if using "Environment" class.

09 August 2008

You can create your own site's Search Menu in quick search panel of Internet Explorer or in Firefox.

Actually there will be a XML file named "OpenSearch.xml". See Here


Lets See...

I have a page and "OpenSearch.xml" file in my solution explorer.




And add "LINK" tag in head tag of "aspx" page.

head runat="server"
title saAction title
link rel="search" type="application/opensearchdescription+xml" href="OpenSearch.xml" title="saAction"
/head

Now run the page...

See the result in Internet Explorer...




See the result in Firefox...


But this is not enough, there is some other requirement see here.