BoldSignA modern eSignature application with affordable pricing. Sign up today for unlimited document usage!
Hi Rakotondrabesa,
Thanks for contacting Syncfusion support.
The button control is not available since it was child control of Ribbon while trigger collection evaluating in update panel that’s why, the reported issue has thrown. So in order to avoid the exception, we suggest you to register the button in AsyncPostBackControl with script manager in Page_Load
. Please refer the below code snippet:
[CS]
protected void Page_Load(object sender, EventArgs e)
{
// Register the AsyncPostBackControl in scriptmanager
ScriptManager scriptManager3 = ScriptManager.GetCurrent(this.Page);
Control button = Ribbon1.FindControl("button1");
scriptManager3.RegisterAsyncPostBackControl(button);
}
By default, any control which was placed under the update panel will trigger the asynchronous postback only. So let us know the reason why you have tried to trigger the button in update panel else have you tried to do asynchronous postback for a button which was act as sub control of Ribbon but placed outside of update panel. Then please add the AsynPostBackTrigger programmatically in the same update panel on page load event.
We have prepared the Ribbon sample with your use case scenario and its available in the bellow link:
http://www.syncfusion.com/downloads/support/forum/119025/WebApplication1_(2)-1569826691.zip
Please let us know if you have any other queries.
Regards,
Muralishankar
Hi Rakotondrabesa,
Thanks for your update,
Please let us know if you have any other queries.
Regards,
Muralishankar