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.

How to add multiple label controls to a cell

Thread ID:

Created:

Updated:

Platform:

Replies:

42872 Apr 7,2006 12:53 PM Apr 11,2006 11:30 AM Windows Forms 5
loading
Tags: GridControl
Kalyan Kondapalli
Asked On April 7, 2006 12:53 PM

Hi, I am looking for a way to add multiple label controls to a cell. The addition of the controls need to dynamic each with different bg color, font color etc.... I looked at an example of how to add multiple images to a cell using CellDrawn event, and I was hoping if there was way to add the labels in the same way too. Thank you, Kalyan

Administrator [Syncfusion]
Replied On April 10, 2006 09:16 AM

Hi Kalyan, Please refer to this forum thread that deal with a similar issue to see if that helps. Regards, Calvin.

Administrator [Syncfusion]
Replied On April 10, 2006 09:19 AM

Hi Kalyan, Sorry for the broken link, please find the link below. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=21064 Regards, Calvin.

Kalyan Kondapalli
Replied On April 10, 2006 05:47 PM

Hi Calvin, Thank you for your reply. I have looked at the example in the thread and also looked at the sample about creating a cell control for the custom user control. These solutions would work fine, if I have to use it only for a few cells, whereas in my case, almost every cell in the grid could potentially have these multiple controls for each cell... To better explain my need, I am working on a scheduler application, that would show multiple schedules created for multiple users in a single view. So I have calendar dates as columns and each user as a row. The reason, I need to add multiple controls to cell is becoz a user can have multiple schedules (the number of schedules are determined at runtime) for a schedule date. Each schedule is differentiated by different background color and each one of them should have an onclick event that would open the scheduler event. Also these event need to be visible right away on the grid (not when the user clicks on the particular cell, the way DropdownFormAndUserControlSample does, where the user sees the custom control only when clicked on the button) So, If I add panel control or a user control for every cell, it is affecting the performance, grid redraw and memory usage of the application. >Hi Kalyan, > >Sorry for the broken link, please find the link below. > >http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=21064 > >Regards, >Calvin. >

Administrator [Syncfusion]
Replied On April 11, 2006 08:10 AM

Hi Kalyan, I am not sure that the incident #24773 was also created by you, which has been update by Haneef. Here is the link for the sample updated in that incident. Regards, Calvin.

Kalyan Kondapalli
Replied On April 11, 2006 11:30 AM

Hi Calvin, Yes, I created the incident. The example that haneef has given is the one I was looking for. But the performance of that solution was not good. Anyway I have replied to Haneef and I will be tracking my issue there. Thanks a lot for your help. Kalyan >Hi Kalyan, > >I am not sure that the incident #24773 was also created by you, which has been update by Haneef. Here is the link for the sample updated in that incident. > >Regards, >Calvin.

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.

;