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

Issue with editor after updating to 2010 SP

1 Answer 27 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Nen
Top achievements
Rank 1
Nen asked on 19 Oct 2010, 11:25 AM
we have the following in JavaScript to get hold of the one of the attributes that we set on editor from code-behind the following was  

editor._rootElement.attributes["PageclientID"].value;

working fine and after updating to the latest sp we run into the following issue, can you please let us know what needs to be done?


'editor._rootElement.attributes' is null or not an object


Thanks
-Nen

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 21 Oct 2010, 04:33 PM
Hi Nen,

You can use the following RadEditor's API to get the custom attribute value:

    var wrapper = editor.get_element();
    var pageClientID = wrapper.getAttribute("PageclientID");
    alert(pageClientID);


Best regards,
Rumen
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Nen
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or