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

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

Thread ID:





41371 Feb 28,2006 03:13 PM UTC Mar 1,2006 08:51 AM UTC WinForms 1
Tags: GridControl
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.


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