How to grab character count is codebehind

Last post 03-16-2011, 7:40 AM by gorglar. 0 replies.
Sort Posts: Previous Next
  •  03-16-2011, 7:40 AM 66687

    How to grab character count is codebehind

    Hi,
     
    when characters exceed allowed number an popup warning box is showed. When the users click ok on that one, the page do postback logic. How can I grab the number of character to make a check that the number has not exeeded and thereby, not do the job... Here is logic:
    if(NumberOfCharacters < 500)
    {
    //my routine is handled 
    else
    {
       //nothing should happen 
     
    The cuteeditor is registered in the aspx page as id="cuteditor1"
     
    Regards
    Kenneth 
    Filed under:
View as RSS news feed in XML