Please help.
4 Answers, 1 is accepted
If you mean you need to show the insert form from the code-behind, you can simply do:
RadGrid1.MasterTableView.InsertItem();
Kind regards,
Veli
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
<ClientSettings>
<Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="false" >
</Scrolling>
</ClientSettings>
and need to insert a record(with editform template) performing some validations. Once the validation check is over , grid automatically creates a new row same as previous row. When we try to hit the save button it throws below error:
Microsoft JScript runtime error:
Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive: .
Attached screenshot for reference.. Contents in red color box is created automatically by grid after the validations at server side.
When I remove the Scroll settings and perform insert operation everything works fine. No idea when scroll option is enabled grid behave differently.
Any ideas!!.
Could you please post your aspx markup code with the related code behind file? Thus we will be able to get more information about your scenario and provide you more to the point answer. Also at a meantime if you have RadAjaxManager or RadAjaxPanel in your application could you please try disabling ajax, by setting the EnableAjax property of the RadAjaxManager/RadAjaxPanel control to "false" and let me know what is the real exception message.
Looking forward for your reply.
Greetings,
Radoslav
the Telerik team