We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Edit Record with UseTemplateForm

Thread ID:





95231 Jun 28,2010 10:31 AM UTC Jul 2,2010 06:07 AM UTC ASP.NET Web Forms (Classic) 3
Tags: GridGroupingControl
Torsten Haussig
Asked On June 28, 2010 10:31 AM UTC

Hi everyone,

I'm validating Syncfusion GridgroupingControl for upcoming use in a future WebApplication (asp.net).

My actual problem is to edit a row of the grid with a customized form. I found some related topics here but none of them was really matching my use case.

The form template should be filled dynamicly with input fields (not static in Page Markup) and also assigned dynamicly.
Is there any designer template or automatism for creating such templates.
Is there a way to automatically map input field names and values?
To which field of the grid or tabledescriptor must the template be assigned to?

The way I've tried is not working (see appended file). IInstaniateIn is being called but the form is empty.




Torsten Haussig
Replied On June 28, 2010 07:46 PM UTC

Here's an update of the way i try to solve the described use case.
It's still not working.
I'm creating the Template dynamically and assign it to FormModeTemplate.
The created controls are not shown at all.
My question: which Template property of grid or descriptor is used to instantiate the user form?
Is there any error in the concept?



Torsten Haussig
Replied On June 29, 2010 05:41 AM UTC

Sorry, I posted the wrong files. Here the right ones.


Bharath M [Syncfusion]
Replied On July 2, 2010 06:07 AM UTC

Hi Torsten,

We regret for the delay in getting back to you.

After analysing the sample provided, we found that you are creating and binding the “FormModeTemplate” only on “SelectedRecordsChanged event”. To resolve this issue, we suggest you to set the “FormModeTemplate” on “PageLoad” event for every postback. The code snippet to explain this is as follows:

protected void Page_Load(object sender, EventArgs e)
this.Tech3Grid.TableDescriptor.FormModeTemplate = GetControl();

Let me know if you have any concerns.

Bharath M


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon