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

Newly added row is not removed upon cancel

Thread ID:





85775 Jul 6,2009 09:13 AM UTC Jul 8,2009 12:50 PM UTC ASP.NET Web Forms (Classic) 4
Tags: GridGroupingControl
Ruslan Gasanbekov
Asked On July 6, 2009 09:13 AM UTC



User decides to add new row (clicks on the empty row at the top of the grid). Use sets values to various fields. User decides to cancel the addition. User
presses the x button (i am using yncfusion:NavigatorBar ).
The recorded is added instead of being removed.

See the attachement.

Please advice.



Rekha P [Syncfusion]
Replied On July 6, 2009 01:45 PM UTC


Thank you for your interest in Syncfusion Products.

We regret to let you know that ButtonBars in GridGroupingControl has been deprecated and we would suggest you to use GridPager control associated with GridGroupingControl. Please refer the sample to illustrate this.


Please refer below for more details about GridPager control.

The GridPager control is used to page the data and to display as a navigation control for databound controls that implement the IPagingContainer interface. You can associate the GridPager control with the PagingControlID. This would bind the GridPager with the databound control. The default markup that is rendered requires client script to do postbacks.

Pager Items :

In order to render out the navigation elements, you must add the Pager Items to the control. The following list of pager items can be used with the GridPager.

- NextPreviousPagerItem - Enables users to navigate through pages, one page at a time, or to jump to first or last page.
- NumericPagerItem - Enables user to select a page by page number.
- TemplatePagerItem - Enables user to create custom paging UI.

Find the below code to add a Grid pager to the page.


PagingControlID="GridGroupingControl1" Width="445px">

ShowFirstPageButton="True" ShowPreviousPageButton="True" ShowLastPageButton="False"
ShowNextPageButton="False" ButtonType="Link" FirstPageImageUrl="" LastPageImageUrl=""
LastPageText="" NextPageImageUrl="" NextPageText="" PreviousPageImageUrl="" Visible="True" />
NextPreviousLinkCssClass="" PreviousPageImageUrl="" PreviousPageText="..." Visible="True" />
ShowFirstPageButton="False" ShowPreviousPageButton="False" ShowLastPageButton="True"
ShowNextPageButton="True" ButtonType="Link" FirstPageImageUrl="" FirstPageText=""
LastPageImageUrl="" NextPageImageUrl="" PreviousPageImageUrl="" PreviousPageText=""
Visible="True" />

EditLinkText="Edit" EnableDelete="True" EnableEdit="True" UpdateLinkText="Update"
CancelImageUrl="" DeleteImageUrl="" EditImageUrl="" UpdateImageUrl="" Visible="True" />

Please refer the below sample link.


Please let me know if this helps you.


Ruslan Gasanbekov
Replied On July 7, 2009 11:58 AM UTC

10x for the update.

But you haven't addressed by question.
Whenever i decide to cancel addition of the new record (by pressing cancel link of GridRowEditUpdateLink) the record is added to the grid(instead of being removed).

Please examine the attachement.

Please advise.

Rekha P [Syncfusion]
Replied On July 8, 2009 10:02 AM UTC


I am afraid that I am not able to reproduce this issue. Also I have created a simple sample to test this issue using GridRowEditUpdateLink template and it is available in the below link along with the video clip.


Video Clip:

Please have a look at the above sample and if still the issue exists, could you please try reproducing it in the above sample and send us the modified sample so that we could sort out the cause of the issue and provide you a solution?

Please let me know if you have any other concerns.


Ruslan Gasanbekov
Replied On July 8, 2009 12:50 PM UTC

after examining the code attachement, I was able to solve the problem.


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

or the page will be automatically redirected to 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