Hi,Guys,
I put some buttons on the left and a RadEditor on the right.
What I want to do:
1.click the button,then the RadEditor will show the specific html content.
2.the buttons not only mean a hyperlink but also a anchor in one page.
when clicking the anchor,the content in RadEditor will go to a specific localtion.
I write a js function for going to the anchor's position in the RadEditor's content.
The js function(scrolltoView) is registed when clicking the button with AjaxManager.
The problem:
1.when refreshing the content in RadEditor,the js function is fired and the RadEditor goes to the right position.
2.Howerver ,after the RadEditor is refreshed completely,it looks like the RadEditor loads some css style and then it goes to the wrong position.
How could this happen?Could I excute my js function after the css of RadEditor is loaded completely?
Thanks a lot,
Jack
I put some buttons on the left and a RadEditor on the right.
What I want to do:
1.click the button,then the RadEditor will show the specific html content.
2.the buttons not only mean a hyperlink but also a anchor in one page.
when clicking the anchor,the content in RadEditor will go to a specific localtion.
I write a js function for going to the anchor's position in the RadEditor's content.
The js function(scrolltoView) is registed when clicking the button with AjaxManager.
The problem:
1.when refreshing the content in RadEditor,the js function is fired and the RadEditor goes to the right position.
2.Howerver ,after the RadEditor is refreshed completely,it looks like the RadEditor loads some css style and then it goes to the wrong position.
How could this happen?Could I excute my js function after the css of RadEditor is loaded completely?
Thanks a lot,
Jack