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.

ExtraSection with editable textbox field not retaining value

Thread ID:

Created:

Updated:

Platform:

Replies:

55115 Jan 23,2007 09:24 PM Jan 3,2009 05:41 AM Windows Forms 10
loading
Tags: Grouping
James Blibo
Asked On January 23, 2007 09:24 PM

I have a custom engine that adds a ExtraSection with textbox cells above the header. I want to populate the ExtraSection row to add status information above each column header based on certain logic in my code.

How can I write to specific cells of the ExtraSection row based on specific logic in my code. I also noticed that when I entered a value in the ExtraSection cell and tab away, the value disappear. Please help

Administrator [Syncfusion]
Replied On January 24, 2007 05:37 AM

Hi James,

Thank you for being patience.

The reason for the values not being stored is because the grid does not store any values that are being entered in the extra section. To store any values, an external table have to be maintain like hash table etc.

In the following sample, a gridcontrol is placed in the extra section. The grid cell has been made use of to store the values. Please refer to the following code snippet for more details.
GGC_GCInExtraSection.zip

Another way is to maintain hash table to store the values that are being entered in the text box of the extrasection.

Kindly let us know if you need any further assistance.
Have a nice day.

Best regards,
Madhan

James Blibo
Replied On February 22, 2007 08:23 AM

I place a button on the form and tried to write to some cells in the gridcontrol like this..

this.gridControl1[1, 5].Text = "5";
this.gridControl1[1, 6].Text = DateTime.Now.ToShortTimeString();
this.gridControl1.Refresh();

...but the value a does not show up until i physically click on the gridcontrol. How can I make the value immediately show up

Administrator [Syncfusion]
Replied On February 22, 2007 02:16 PM

Hi James,

Is it possible for you to upload us a sample or modify the attached sample to reproduce the issue here? This will help us to analyse the issue further.

GridSetText.zip

Thanks for your patience.

Best regards,
Haneef

James Blibo
Replied On February 22, 2007 03:15 PM

Here's the sample. Click on the button to write some values dynamically to the embedded gridcontrol. The value is written to the gridcontrol cell but is not visible. Click on the extrasection that contains the gridcontrol and the value will now appear.

Issue_.zip

James Blibo
Replied On February 27, 2007 01:43 PM

Any update on this?

Administrator [Syncfusion]
Replied On February 28, 2007 04:36 PM

Hi James,

Your incident #32100 has been updated. Please refer the incident for more details.

Best regards,
Haneef

Sameer Khan
Replied On December 31, 2008 01:26 PM

would it be possible for you to post the answer in the forum?

I am looking to solve a similar problem.

>Hi James,

Your incident #32100 has been updated. Please refer the incident for more details.

Best regards,
Haneef



Rajadurai C [Syncfusion]
Replied On January 2, 2009 08:22 AM

Hi Sameer,

Thanks for your interest in Syncfusion products.

Please refer to the following sample that solves this problem.
http://www.syncfusion.com/Support/user/uploads/GGC_GCInExtraSection2_be32eb65.zip

Regards,
Rajadurai


Sameer Khan
Replied On January 2, 2009 09:17 AM


This sample doesn't work right, I removed the grouping at run time, and expanded one of the rows; the app immediatley crashes.

In any case; I was looking for ideas on how to add a combo box and a check box which actually retains it's value after a selection has been made.

I saw one example of a combobox; which didnt retain it's value.

I tried adding a check box, and it would not accept values.

If there is some documentation that I can read and understand the process better, then please post a link to that.

If not; I am hoping that you would provide me with a working example of a check box; combo box, user control in the extra section.


Rajadurai C [Syncfusion]
Replied On January 3, 2009 05:41 AM

Hi Sameer,

Please followup with the following forum thread as this is the duplicate of #58781
http://www.syncfusion.com/support/forums/message.aspx?MessageID=58781

Regards,
Rajadurai


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.

;