Jul 26, 2015, 10:41 AM
[CLOSED] Portlet Resizable=false not working in ext.net 3.2
Hi
This is the example of the Portal Simple in mvc2 examples - http://mvc2.ext.net/#/Portal/Simple/ and this is the same in mvc3 examples - http://mvc.ext.net/#/Portal/Simple/
If you notice in the 2.0 you can NOT resize the portlets which the behavior I expect. In the new 3.2 examples it is resizable by default.
thanks you
idrissb
This is the example of the Portal Simple in mvc2 examples - http://mvc2.ext.net/#/Portal/Simple/ and this is the same in mvc3 examples - http://mvc.ext.net/#/Portal/Simple/
If you notice in the 2.0 you can NOT resize the portlets which the behavior I expect. In the new 3.2 examples it is resizable by default.
@functions
{
private void InitPortlet(Portlet portlet)
{
portlet.Html = "={text}";
portlet.BodyPadding = 5;
portlet.CloseAction = CloseAction.Hide;
// ADDED THIS but it does not work - the following 3 settings do not take
portlet.Resizable = false;
portlet.Reorderable = false;
portlet.Draggable = false;
portlet.DirectEvents.Hide.Action = "PortletHide";
portlet.DirectEvents.Hide.EventMask.ShowMask = true;
portlet.DirectEvents.Hide.EventMask.Msg = "Saving...";
portlet.DirectEvents.Hide.EventMask.MinDelay = 500;
portlet.DirectEvents.Hide.ExtraParams.Add(new { id = portlet.ClientID });
}
}
What is the proper way to disable resizing the portlets and prevent them from being moved.thanks you
idrissb
Last edited by fabricio.murta; Jul 27, 2015 at 1:35 AM.
Reason: [CLOSED]