How to grab character count is codebehind

  •  03-16-2011, 7:40 AM

    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 Complete Thread