I have button on a page in a user control that captures the current screen html, converts it to PDF format and pops up an asp.net form that simulates a new email form with the PDF document attached allowing the user to email a screen print of the current page. This is done by rendering the page twice, once for the PDF creation and then again to rerender the page to the screen. This works fine with non ajax controls, and with ajax controls I simply need to register the script control with the RadScriptManager in the OnPreRender event.
However when I try to do this with a page that has a RadGrid on it I get an issue that I have been unable to resolve. I have enabled ContextFilterMenu oand FilteringByColumn for the grid. One of the columns in the grid is called Order_Qty with a unique name of ColOrder_Qty.
When I try to render the RadGrid For the PDF creation I get the following error:-
Script control 'RNTBF_ColOrder_Qty' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors(). Parameter name: scriptControl
So my question is, What is this RNTBF_ColOrder_Qty script control, and mores to the point how do I get a reference to it in order to be able to register it with the RadScriptManger prior to rendering?
Stuart Watton
However when I try to do this with a page that has a RadGrid on it I get an issue that I have been unable to resolve. I have enabled ContextFilterMenu oand FilteringByColumn for the grid. One of the columns in the grid is called Order_Qty with a unique name of ColOrder_Qty.
When I try to render the RadGrid For the PDF creation I get the following error:-
Script control 'RNTBF_ColOrder_Qty' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors(). Parameter name: scriptControl
So my question is, What is this RNTBF_ColOrder_Qty script control, and mores to the point how do I get a reference to it in order to be able to register it with the RadScriptManger prior to rendering?
Stuart Watton