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.
Unfortunately, activation email could not send to your email. Please try again.

Add Row Template

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 11:06 AM

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

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

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 12:20 AM

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.

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.

;