| Next Tip?

Javascript »

[18 Oct 2009 | No Comment | 286 views]

Using the window.open method by Gaurav Arora
The syntax of the window.open method is given below:
open (URL, windowName[, windowFeatures])
URL
This is the URL of the page which open in the new window.
It could be blank.
windowName
A name to be given to the new window.
The name can be used to refer this window again.
windowFeatures
It contains the various window
features for the popup window i.e. status bar, address bar etc
The following lines of code, open a new browser window with standard features :
window.open (“http://interview.msdotnetheaven.com”,”MsDn Interview Questions”);
Changing the features of the Popup
By using …

LINQ »

[17 Oct 2009 | No Comment | 212 views]

A Lambda expression is nothing but an Anonymous Function, can contain expressions and statements. Lambda expressions can be used mostly to create delegates or expression tree types. Lambda expression uses lambda operator => and read as ‘goes to’ operator.
Left side of this operator specifies the input parameters and contains the expression or statement block at the right side.
Example: myExp = myExp/10;
Now, let see how we can assign the above to a delegate and create an expression tree:
delegate int myDel(int intMyNum);
static void Main(string[] args)
{
//assign lambda expression to a delegate:
myDel myDelegate = …

Asp.net »

[10 Oct 2009 | No Comment | 138 views]

Directive Syntax @ Control
The @Control directive is used in an Asp.Net user controls. The @Control directive helps us to define control-specific attributes to be used by the ASP.NET control parser and compiler Hence it can be used only with .ascx (User Control) files.
The attributes of @Control directives are
a. Language: This Attribute is same as we read in the Page directive.
Value: Is a valid string which can represent any .NET-supported language, including VB || C# || Pearl || Jscript || any other .NET
Purpose: Tell the compiler about …

Asp.net »

[10 Oct 2009 | No Comment | 145 views]

Directive Syntax
Directives are instructions used to specify settings (related to how a page should render and processed) used by the page and user control compilers when they process ASP.NET Web Forms page (.aspx) and user control (.ascx) files. These are the essential part of every ASP.NET Page or Control.
Directives can be located anywhere in an .aspx or .ascx file, but the standard practice is to include them at the beginning of the file (The advantage of using them at the top or the beginning of the file is that we …

Asp.net »

[19 Sep 2009 | No Comment | 490 views]

In previous Articles we have discused that how we can upload a dile using .asmx web service and isolated storage space. Here in continution to the topic I am going to discuss how we can use WCF for the same purpose.
Steps :

Create the a silverlight project with the “FileUploadWCF” name.
Make these important changes in the properties of FileUploadWCF.Web project

Right click on FileUploadWCF.Web.

Select Properties

Under Web tab Select Specific port and give the port number I am using port number 1366
Note: we are using specific port so that every time we …

Get Adobe Flash playerPlugin by wpburn.com wordpress themes