1
Vote

Height and Width not working properly

description

Thanks for your wonderful control.
 
When i set Height and Width for Rich Text Editor Control on Asp.Net Page then only its effecting on toolbar its not effecting for IFrame.
 
When i check your code, the iFrame height and weight fields are setting on CreateChildControls of Rte.cs, thats why its not effecting for Iframe, If you move to AddAttributesToRender method then its working fine.
 
Is there any way to set visibility for Toolbar Buttons?
 
I found that i can expose some properties in Rte.cs for some toolbar buttons and based on those properties i can add those respective buttons on "OnPreRender" of rte.cs.
 
Is that only way i can set visibility or is there other way?
 
Presently i am looking this control for testing only. Can you use this control on any real time project by changing source code as i mentioned above.

comments