Jun 07, 2013, 2:55 AM
[CLOSED] Update SplitButton menu on DirectEvent?
Hi,
I think I already know the answer, but I'd like to update the menu of a SplitButton, during the DirectEvent action from a drop-down.
So the drop down fires the direct event, I do some server query, and get a result back, which I want to display in SplitButton. I've tried adding the menu items during the server side call, but my SplitButton isn't updating.
So the question is, can I ? Is there some simple doLayout? or Update/Refresh method I need to call? or would I need to return those items through the initial direct event, and update the SplitButton menu via client-side script?
Thanks,
Raphael
I think I already know the answer, but I'd like to update the menu of a SplitButton, during the DirectEvent action from a drop-down.
So the drop down fires the direct event, I do some server query, and get a result back, which I want to display in SplitButton. I've tried adding the menu items during the server side call, but my SplitButton isn't updating.
So the question is, can I ? Is there some simple doLayout? or Update/Refresh method I need to call? or would I need to return those items through the initial direct event, and update the SplitButton menu via client-side script?
Thanks,
Raphael
Last edited by Daniil; Jun 13, 2013 at 3:31 AM.
Reason: [CLOSED]