Tuesday, April 20, 2010
Friday, March 12, 2010
Changing properties of textbox in visual studio 2010
Thanks and Regards
Meetu Choudhary
Microsoft MVP (ASP.Net)
DNS MVM Awardee | Microsoft Certified Professional | Microsoft Certified Technology Specialist |
Co-founder / Webmaster : www.jaipurmentor.com | www.msdotnetmentor.com | www.indiaalt.net | Lead Editor / Webmaster : www.dotnetspider.com | www.silverlightclub.com | interview.msdotnetheaven.com | forum.msdotnetheaven.com | My Blog : http://aspnetbymeetu.blogspot.com | My Profile : www.google.com/profiles/meetuchoudhary
Wednesday, March 10, 2010
Textbox Properties
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 to change the name of the control which we use in code file
AccessKey the shortcut key used with the combination of alt to access the control at runtime
Columns to set how many charters will be displayed in the textbox
Rows to set how many lines will be displayed in the textbox
Enabled true or false to set whether the control can be accessed by the user at runtime or not
MaxLenght to define how many characters can be entered in the textbox if it is 0 that means no limit is set
ReadOnly true or false to set that the value of control is not changed at runtime by the user
If true user can't change the value
TextMode Single: user can enter value in one line
Multiline: user can use the enter key to insert new line and type in the new line
Password: acts like a password field the actual characters will not be displayed
To view the video please visit http://www.jaipurmentor.com/share-tech-videos/viewvideo/4/learning-videos/textbox-properties.html
Thanks and Regards
Meetu Choudhary
Microsoft MVP (ASP.Net)
DNS MVM Awardee | Microsoft Certified Professional | Microsoft Certified Technology Specialist |
Co-founder / Webmaster : www.jaipurmentor.com | www.msdotnetmentor.com | www.indiaalt.net | Lead Editor / Webmaster : www.dotnetspider.com | www.silverlightclub.com | interview.msdotnetheaven.com | forum.msdotnetheaven.com | My Blog : http://aspnetbymeetu.blogspot.com | My Profile : www.google.com/profiles/meetuchoudhary
Thursday, June 18, 2009
Move Cursor to the Last Index in The Texbox
<script type="text/javascript" language="javascript">
function moveindex() {
var me2 = document.selection.createRange();
me2.moveStart("character", 200);
me2.select();
}
</script>
code for calling the function in the body section
<asp:TextBox ID="TextBox1" runat="server" onfocus="moveindex()"/>
Thanks and Regards
Meetu Choudhary