How to collapse a toolbar? I tried this, but doesn't work:
$("#MyIdeas_toolbars_textToolbar").igToolbar("option", "isExpanded", "false");
Hello,
Thank you for contacting us.
You should pass the third parameter as Boolean and not String.
$("#MyIdeas_toolbars_textToolbar").igToolbar("option", "isExpanded", false);
Say you have:
@(Html.Infragistics().HtmlEditorFor(pModel => pModel.MyObject.MyProperty).ID("MyPropertyDescription").InputName("MyPropertyDescription") .Height("200") .Width("100%") .ShowTextToolbar(true) .ShowInsertObjectToolbar(true) .ShowFormattingToolbar(true) .ShowCopyPasteToolbar(false) .Render())
How to set expanded to false with Razor for every toolbar?
By the way, how to do it with Razor not JavaScript before the control is rendered?
Thanks Kolev, I have changed it to false not "false", unfortunately it is not collapsed yet, maybe I am not passing the correct selector, could you bring an small example please? Thanks.