Click here to Skip to main content
15,890,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionwindow.showModelessDialog Pin
nikhil123425-May-09 1:56
nikhil123425-May-09 1:56 
AnswerRe: window.showModelessDialog Pin
Ramesh Swaminathan25-May-09 2:41
Ramesh Swaminathan25-May-09 2:41 
Questionproblem with iTextSharp Pin
sarang_k25-May-09 1:42
sarang_k25-May-09 1:42 
AnswerRe: problem with iTextSharp Pin
Vasudevan Deepak Kumar25-May-09 1:54
Vasudevan Deepak Kumar25-May-09 1:54 
GeneralRestful Web services [modified] Pin
manowj25-May-09 0:32
manowj25-May-09 0:32 
GeneralRe: Restful Web services Pin
Ramesh Swaminathan25-May-09 1:34
Ramesh Swaminathan25-May-09 1:34 
GeneralRe: Restful Web services Pin
manowj25-May-09 4:27
manowj25-May-09 4:27 
Questionvalidation Pin
rakeshs31225-May-09 0:10
rakeshs31225-May-09 0:10 
Hai all,

I have a multiline text box. I want to limit the charaters inside the textbox to 250. For that i written this code

in cs file i added the attributes like(txtEmpWithA is my textbox name)
this.txtEmpWithA.Attributes.Add("OnKeyPress", "txtreason_limit(event)");

and the function in aspx file

function txtreason_limit(evt)
			{
			
    if(document.form1.txtEmpWithA .value.length == 250)
                 { 
                 evt.keyCode = 0;
                 return;
                 }
             }


This is working fine when i am typing there ,but if i copy and paste,it taking more than 250 charactors

Please help

AnswerRe: validation Pin
padmanabhan N25-May-09 1:19
padmanabhan N25-May-09 1:19 
AnswerRe: validation Pin
Perry Holman25-May-09 21:56
Perry Holman25-May-09 21:56 
QuestionProblem regarding tab container Pin
sarang_k25-May-09 0:03
sarang_k25-May-09 0:03 
AnswerRe: Problem regarding tab container Pin
Herman<T>.Instance25-May-09 3:10
Herman<T>.Instance25-May-09 3:10 
Questionsnk to X509? Pin
devvvy24-May-09 23:39
devvvy24-May-09 23:39 
QuestionEdit Excel Sheet Online and Saving Changes? Pin
codingrocks24-May-09 23:26
codingrocks24-May-09 23:26 
AnswerRe: Edit Excel Sheet Online and Saving Changes? Pin
Ramesh Swaminathan25-May-09 0:01
Ramesh Swaminathan25-May-09 0:01 
GeneralRe: Edit Excel Sheet Online and Saving Changes? Pin
codingrocks25-May-09 3:15
codingrocks25-May-09 3:15 
QuestionIam run my project some characters included in the addressbar How to solve this Problem? Pin
smraj150324-May-09 23:17
smraj150324-May-09 23:17 
AnswerRe: Iam run my project some characters included in the addressbar How to solve this Problem? Pin
Herman<T>.Instance25-May-09 3:07
Herman<T>.Instance25-May-09 3:07 
Questionoverride Html control ClientId? Pin
devvvy24-May-09 23:10
devvvy24-May-09 23:10 
QuestionRegularExpressionValidator Pin
Robymon24-May-09 22:15
Robymon24-May-09 22:15 
QuestionUpdate user status to Online or Offline.....Pls help..... Pin
VinothRao24-May-09 22:08
VinothRao24-May-09 22:08 
AnswerRe: Update user status to Online or Offline.....Pls help..... Pin
Abhishek Sur24-May-09 22:21
professionalAbhishek Sur24-May-09 22:21 
GeneralRe: Update user status to Online or Offline.....Pls help..... Pin
VinothRao24-May-09 22:22
VinothRao24-May-09 22:22 
QuestionContent Managment System Pin
gauthee24-May-09 21:26
gauthee24-May-09 21:26 
AnswerRe: Content Managment System Pin
Ramesh Swaminathan24-May-09 23:55
Ramesh Swaminathan24-May-09 23:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.