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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add Row Template

Thread ID:

Created:

Updated:

Platform:

Replies:

69460 Oct 29,2007 12:50 PM UTC Oct 31,2007 04:20 AM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: GridGroupingControl
Dave Daniels
Asked On October 29, 2007 12:50 PM UTC

Hello,

I was just wondering if it is possible add a new row using the same edit template I use for existing rows? If so, can this this be accomplished programmatically (i.e. my own custom button)

Thanks,
DVD

Dave Daniels
Replied On October 30, 2007 03:06 PM UTC

I must ask difficult questions. Is there no one who can answer this?

Daniel Jebaraj [Syncfusion]
Replied On October 30, 2007 09:18 PM UTC

Hi DVD,

Sorry for the delay. We are working on this and will post an update by tomorrow.

Thank you for your patience.

Best regards,
Daniel

>I must ask difficult questions. Is there no one who can answer this?


Melba Winshia [Syncfusion]
Replied On October 31, 2007 04:20 AM UTC

Hi DVD,

Thank you for your patience.

Yes. You can add a new row using the same edit template that you are using in the existing rows in your own custom button.

[C#]

protected void Button1_Click(object sender, EventArgs e)
{

this.GridGroupingControl1.TopLevelGroupOptions.ShowAddNewRecordBeforeDetails = true;
Syncfusion.Grouping.Record record = GridGroupingControl1.Table.AddNewRecord;
if (record != null)
{
record.BeginEdit();

}

}

Please refer the sample in the below link which illustrates the above:

http://websamples.syncfusion.com/samples/Grid.Web/5.2.0.25/693449/main.htm

Please try this and let me know if this helps.

Thanks,
Melba


CONFIRMATION

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.

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

;