23 February 2008

Start to search in Gujrati language.

It will display Gurati language keyborad and search result in Internet Explorer.

20 February 2008

Download some learning Video for ASP.NET 3.5 from MSDN.

You can also download source code for them.

There are more then 100 video series for ASP.NET related technology.

14 February 2008

Visual Studio have a small "Browse With..." feature in IDE.

"Browse with" menu is use to browse our web page in particular selected browser.


Right click on solution explorer, on "aspx" page.



This is "Browse with" dialog box.

You can add any new browser which is not register here, like "FireFox", "Opera" etc, by clicking on "Add" button.

Select the browser name and "Set as Default" to open every time your web site in the same browser.


You can also set bowser resolution (window size) by clicking on bellow drop down.



And there is another small one feature "Internal Web Browser", here will browser your site in you IDE directly.

12 February 2008

Customer event is very easy from Web User Controls.

Just 4 steps of code for this!


1) Declare event in the user control

public EventHandler AddNew;


2) Fire that event form user controls event.

if (AddNew != null)
AddNew(sender, e);


(like button click event in that control.)

3) Now asign that event in Page_OnInit event for that control.

protected override void OnInit(EventArgs e)
{
myUserCotrol1.AddNew = new EventHandler(MyNewEventMethod);
}


4) Now wight down that method in which one you declared in page onInit event


protected void MyNewEventMethod (object sender, EventArgs e)
{
//Some code;
//Some code;
}

Done!!!!