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.
Syncfusion Feedback

is there an event after the date selection in a monthCalendar cell

Thread ID:

Created:

Updated:

Platform:

Replies:

41371 Feb 28,2006 03:13 PM UTC Mar 1,2006 08:51 AM UTC Windows Forms 1
loading
Tags: GridControl
Pierre-Luc
Asked On February 28, 2006 03:13 PM UTC

when the date is selected in the Monthcalendar dropdown and the same that appears in the currentcell.text, I need to update my database. For now I work with a button containing a loop to save everything, but I would like to place the update in an event.... I know it is not currentCellCloseDropDown, for I tested it... So I would need either an event the is thrown after the text is changed in the cell (so I can use the .text property in my SQL command) or the name of the property that would contain the selected date in the monthcalendar please help, Pierre-Luc

Administrator [Syncfusion]
Replied On March 1, 2006 08:51 AM UTC

Hi Pierre, Thanks for your interest, You can go for the CurrentCellChanged Event to get the changed text in the cell and update the database accordingly. Below is code snippet. private void gridControl1_CurrentCellChanged(object sender, System.EventArgs e) { GridCurrentCell cc = this.gridControl1.CurrentCell; if(cc.Renderer.StyleInfo.CellType == GridCellTypeName.MonthCalendar) { Console.WriteLine(cc.Renderer.ControlText); // update in to database } } Best Regards, Madhan.

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

;