Wrox Programmer Forums
|
Visual Studio 2008 For discussing Visual Studio 2008. Please post code questions about a specific language (C#, VB, ASP.NET, etc) in the correct language forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Studio 2008 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 21st, 2008, 09:37 PM
Registered User
 
Join Date: Aug 2008
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default counting characters from a textbox


hello...
well here's the case im trying to make a page that will send messages.
now im limiting the user to type only 500 characters per message..
i explicitly define the maxlength property of the textbox to 500.
the problem is i also have this tiny textbox containing the number of characters a user can only use, that will decrement as the user type in the message.

thanks... :D

:-)
 
Old October 7th, 2009, 10:39 PM
Registered User
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default counting characters from a textbox

hello Dear!!
write code to count character when user enter key into textbox in TextBox_KeyPress() event procedure. To do this you have to be well familier with key event. if you still unable to do this write back, i will give you the code. thanks
 
Old October 7th, 2009, 10:40 PM
Registered User
 
Join Date: Sep 2009
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default counting characters from a textbox

hello Dear!!
write code to count character when user enter key into textbox in TextBox_KeyPress() event procedure. To do this you have to be well familier with key event. if you still unable to do this write back, i will give you the code. thanks





Similar Threads
Thread Thread Starter Forum Replies Last Post
pointing cursor from one textbox to other textbox lakshmi_annayappa ASP.NET 1.0 and 1.1 Basics 2 August 2nd, 2007 03:41 PM
counting characters in a field emiminja SQL Language 1 August 26th, 2006 12:35 AM
Masked TextBox & formatting TextBox melvik C# 1 September 22nd, 2003 11:01 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.