disabling editor from serverside and set class

3 posts, 0 answers
  1. William
    William avatar
    2 posts
    Member since:
    Jun 2012

    Posted 11 Jun 2012 Link to this post

    There were a few things i was trying to do.
    First off, i have the following 1 line of code:

    _bleh

    .MemoEditor memoEditor = new _bleh.MemoEditor(__stuff__);  //modified for privacy of company.

                           
    which calls the RadEditor.

    I was looking through the code to see 1) where i can assign the class in the server side code as well as 2) Where do I, from the codebehind, set enabled = false? 

    I was looking for some sort of attribute setter and getter for the constructed html, but i didnt see anything from my first glance.

     

     

  2. Rumen
    Admin
    Rumen avatar
    14437 posts

    Posted 12 Jun 2012 Link to this post

    Hi,

    The provided information and code are not enough to determine what your exact scenario is.

    If your code however inherits RadEditor, you will be able to use its Enabled and Styles server properties.

    Regards,
    Rumen
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. William
    William avatar
    2 posts
    Member since:
    Jun 2012

    Posted 12 Jun 2012 Link to this post

    I had looked deeper at the code and late yesterday resolved it.  While there was inheritance, the commands were nested in a wrapper that i was unaware of.
Back to Top