Oct 19, 2018, 2:26 AM
[CLOSED] SelectAll items in a control, without triggering any event handlers
Hi Ext.NET,
Am trying to select all items in a multi-select combo box, from certain times in serverside processing. But do not want this to trigger any of the control's normal event handlers because it will cause unnecessary postbacks.
There is this article about doing something like this for the "change" condition of a control
https://forums.ext.net/showthread.ph...e-Change-event
But I wish to do this for SelectAll() of an Ext.NET MultiCombo control.
Cannot find a "raw" version of SelectAll. But I do see it has the raw version of SetValue (which doesn't fire any events).
SetValue takes an Object param. Can I leverage this to select all of the control's items? Or is there another better way?
Thanks,
Am trying to select all items in a multi-select combo box, from certain times in serverside processing. But do not want this to trigger any of the control's normal event handlers because it will cause unnecessary postbacks.
There is this article about doing something like this for the "change" condition of a control
https://forums.ext.net/showthread.ph...e-Change-event
But I wish to do this for SelectAll() of an Ext.NET MultiCombo control.
Cannot find a "raw" version of SelectAll. But I do see it has the raw version of SetValue (which doesn't fire any events).
SetValue takes an Object param. Can I leverage this to select all of the control's items? Or is there another better way?
Thanks,
Last edited by fabricio.murta; Oct 19, 2018 at 4:44 PM.