| Next Tip?

Asp.net »

[20 Mar 2010 | 3 Comments | 9,019 views]

Use CSS and JavaScript in textbox in .aspx page.
Create a project and add a new .aspx page and then in the aspx page add the following code in the head section.
<style type=”text/css”>
.uppercase
{
text-transform: uppercase;
}
.lowercase
{
text-transform: lowercase;
}
.capitalize
{
text-transform: capitalize;
}
</style>
And then use the above classes in the code as
Typing Text in UPPERCASE
<br />
<asp:TextBox ID=”TextBox1″ runat=”server” CssClass=”uppercase”></asp:TextBox><br />
Typing Text in lowercase
<br />
<asp:TextBox ID=”TextBox3″ runat=”server” CssClass=”lowercase”></asp:TextBox><br />Typing Text in Capatlize
<br />
<asp:TextBox ID=”TextBox4″ runat=”server” CssClass=”capitalize”></asp:TextBox>
And then when you will type any text in these textboxes then they will appear as per the css class used.
And to use …

Asp.net »

[12 Mar 2010 | No Comment | 2,416 views]

Changing properties of textbox in visual studio 2010

To change the properties of the textbox at run time we need a textbox whose properties we will be changed and an event on which we can see the changes that we have made are applied so to solve the purpose of an event I have taken a command button or button whose click event will work for as the triggering event.

A Design view is shown here.

There are three controls:

And following changes are made to their properties.

Label1           

            ID: lbl_Name

            Backcolor: …

Asp.net »

[10 Mar 2010 | No Comment | 1,656 views]

Textbox Properties

In this article I will be talking about the few most commonly used properties of the textbox control. Some of the properties are similar as the label control which you can find here or on the mirror link

Rest of the properties I will deal in this article

Property Purpose

ID …

Asp.net »

[10 Mar 2010 | No Comment | 1,840 views]

–>
Changing Label Properties at run time
To change the properties of the label at run time we need a label whose properties we will change and an event on which we can see the changes that we have made are applied so to solve the purpose of an event I have taken a command button or button whose click event will work for as the triggering event.
A Design view is shown here.

There are three controls:
And following changes are made to their properties.
Label1
ID: lbl_Name
Backcolor: Aqua
BorderColor: #660066
BorderStyle: …

Javascript »

[18 Oct 2009 | No Comment | 2,670 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 …

Get Adobe Flash playerPlugin by wpburn.com wordpress themes