TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
ruan
NA
6
0
Client side functionality with server side values
Sep 16 2004 10:46 AM
Hi, I'm developing an SMS based application. Firstly I need to limit the user to 155 characters in a textbox,and secondly, he should see the number of available characters left to type increase/decrease as he types them. I have two HTML textboxes next to one another on a form. The one textbox is read/write and the other read only. User enters a value into the write textbox, and the read texbox must show how many characters are left. This is fairly straight forward javascript; I just used a calculation function that gets called through the onpropertychange event of the texbox. My problem comes in when I try and get the value of the texboxes throug C#. C# does not recognise the texboxes as they are client side, and if I run the controls as server controls, I lose the client side functionality of being able to show the user the character amount without having to do a post back Help?
Reply
Answers (
1
)
Doubt in Whidbey
help with error