This is a migrated thread and some comments may be shown as answers.

disabling editor from serverside and set class

2 Answers 19 Views
Editor
This is a migrated thread and some comments may be shown as answers.
William
Top achievements
Rank 1
William asked on 11 Jun 2012, 01:00 PM
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 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Jun 2012, 01:55 PM
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.
0
William
Top achievements
Rank 1
answered on 12 Jun 2012, 02:02 PM
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.
Tags
Editor
Asked by
William
Top achievements
Rank 1
Answers by
Rumen
Telerik team
William
Top achievements
Rank 1
Share this question
or