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

Grouping control not saving values

Thread ID:

Created:

Updated:

Platform:

Replies:

33709 Aug 24,2005 04:24 PM UTC Aug 24,2005 06:05 PM UTC Windows Forms 3
loading
Tags: Grouping
Igor Kashtelyan
Asked On August 24, 2005 04:24 PM UTC

Hello, I have a dropdown form that has a grouping control and two buttons - OK and (guess which?..) Cancel. THe development was done about a month ago. Now I just need to add a static message to the form. But whenever I do anything on the form (even merely change size of the form), the grouping control stops working. One of its column has numbers, which are initialy all zeroes; so I enter another number, as soon as I move a cursor to another cell, the changed value turns back to zero. In other words, it just does not save values, although I can see values passed to it in the CurrentRecordContextChange event handler when I step through the code. Any thoughts on that?

Administrator [Syncfusion]
Replied On August 24, 2005 05:22 PM UTC

>>DropDown form What does this mean? Are you calling form.Show/ShowDialog to display a form from a button on another form? Or, are you using some kind of Popup control to display a form? You might check how each control is parented. This might affect focus issues and validation which may be affecting this problem. If you can upload a sample project showing the problem, we can try to debug it hear.

Igor Kashtelyan
Replied On August 24, 2005 05:50 PM UTC

Clay, There is a main GDBG that has some row cells of type dropdowncell, so this is the dropdown window that contains a form that has a Grouping control in it. I''ve just tried to add a static message to the form and all of a sudden the Grouping Grid is not working. I did some investigation, and it seems that it executes handlers to TableControlCurrentCellValidateString and CurrentRecordContextChange events, but never gets to execute a handler of SaveCellFormattedText event. It all works fine until I change anything on the form. I will try to extract some code to upload for your analysis, but do you have any idea why is it started happening? >>>DropDown form > >What does this mean? Are you calling form.Show/ShowDialog to display a form from a button on another form? Or, are you using some kind of Popup control to display a form? > >You might check how each control is parented. This might affect focus issues and validation which may be affecting this problem. > >If you can upload a sample project showing the problem, we can try to debug it hear.

Igor Kashtelyan
Replied On August 24, 2005 06:05 PM UTC

I got it. It was Visual Studio that was kicking out a reference to SaveFormattedText event handler, hence it was not called. My Regards.

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

;