Hi,
I ajaxified a combobox which works fine, but I want it to be rendered inline:
The control will be updated, but the generated panel won't be rendered as inline-block.
Using
won't generate a panel at all and will throw an exception on postback because of the missing panel.
What else is necessary that the panel gets rendered as inline-block?
I ajaxified a combobox which works fine, but I want it to be rendered inline:
ajaxManager.AjaxSettings.AddAjaxSetting(cb1, cb2,
null
, UpdatePanelRenderMode.Inline);
The control will be updated, but the generated panel won't be rendered as inline-block.
Using
AjaxSetting setting =
new
AjaxSetting(cb1.ID);
setting.UpdatedControls.Add(
new
AjaxUpdatedControl(cb2.ID,
null
)
{
UpdatePanelRenderMode = UpdatePanelRenderMode.Inline
});
ajaxManager.AjaxSettings.Add(setting);
What else is necessary that the panel gets rendered as inline-block?