Rank: Member Groups: Member
Joined: 9/22/2008 Posts: 14
|
Hello,
I'm using HTML editor component on my aplication, full controls.
I want to link save button of the editor component to my save button of the general form.
If I assing the same handler of general save button form I recive an error on "If Page.IsValid Then" line.
"Page.IsValid cannot be called before validation has taken place. It should be queried in the event handler for a control that has CausesValidation=True and initiated the postback, or after a call to Page.Validate."
This component doesn't have "CausesValidation" property? How can i solve this?
Otherwise How can disable or hidden this save button of editor control?
Could you help me?
Thank you.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, Your best option might be using a customized header. With custom header you can remove standard buttons and put your own UI elements in the toolbar area. Here is an example with custom header: http://demo.essentialobjects.com/Default.aspx?path=Editor\_i1\_i1Thanks!
|