Welcome Guest Search | Active Topics | Sign In | Register

Custom Table Insert Dialog and ColorPicker Options
Philipp Jenni
Posted: Monday, July 21, 2008 1:42:17 PM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2007
Posts: 98
Hi,

I have add a colorpicker object to a custom table insert dialog in htmleditor. to use the targetcontrol property form the colorpicker object, i must have an asp:textbox. But the table editor dialog doest that support. So i want use this javascript in the ClientSideOnChange Property

Code: JavaScript
document.getElementById('eo_editor_table_bordercolor').value = oe_GetObject('colorPicker_BorderColor').getValue()


The script doesnt raise an exception but i doesnt work. have you an idee?

I have tested also with the javascript alert('xxx') command but it also doesnt work

Thanks Philipp
eo_support
Posted: Monday, July 21, 2008 1:50:08 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Hi,

You may want to try the code out without the editor first as feature itself should not have anything to do with the editor. Just use a ColorPicker and a TextBox control and then use ClientSideOnChange to update the textbox. If the problem persists, please paste your test code and we will take a look as soon as possible.

Thanks!
Philipp Jenni
Posted: Monday, July 21, 2008 2:18:00 PM
Rank: Advanced Member
Groups: Member

Joined: 6/9/2007
Posts: 98
I have tested with a blank page. The control works fine and i have found the bug in my page by loading the editor control.

thanks
eo_support
Posted: Monday, July 21, 2008 2:33:46 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,193
Excellent. Please feel free to let us know if you have any more questions.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.