This is a migrated thread and some comments may be shown as answers.

Why my AddNewRecord button in a DetailsTable doesn't show the FormTemplate?

2 Answers 103 Views
Grid
This is a migrated thread and some comments may be shown as answers.
davortsan
Top achievements
Rank 1
davortsan asked on 04 Feb 2015, 09:38 AM
Hi guys,

I have a only one DetailTable in a RadGrid. This DetailTable shows the AddNewRecord button but if I pressed it, the FormTemplate in the EditFormSettings is not showed. In that DetailTable, I have a GridTemplateColumn with a LinkButton to edit the specific row. Using this LinkButton, the FormTemplate is showed successfully but not when I click on the AddNewRecord button.

Where could it be the problem, please?

Thanks a lot in advance.

Cheers.

David Ortega.

2 Answers, 1 is accepted

Sort by
0
davortsan
Top achievements
Rank 1
answered on 08 Feb 2015, 03:07 PM
I found the issue. The FormTemplate didn't show because a dropdownlist was in this FormTemplate and the value that I indicated in SelectedValue, wasn't on the dropdowlist.

Thanks a lot!

Cheers.
0
Accepted
Eyup
Telerik team
answered on 09 Feb 2015, 08:50 AM
Hi David,

Thank you for sharing the reason for your specific problem with our community. It may help other developers as well.

Generally, in these cases I suggest that you temporarily remove any ajaxification on the page (RadAjaxManager, RadAjaxPanel, UpdatePanel, etc.) and enable your script debugger (FireBug or F12) to see whether there are any errors interfering.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Grid
Asked by
davortsan
Top achievements
Rank 1
Answers by
davortsan
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or