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. Image for the cookie policy date
close icon

How to move C# Label/TextBox control?

Hi, I put a C# label (label.Width = row.Width, label.Height = row.Height) to row #10 of the GDBG. When I move row #10 up or down, this label does not move to the new position of row #10. How to move this label? Please help!

1 Reply

AD Administrator Syncfusion Team May 12, 2005 09:40 AM UTC

The simplest way is to put the label as a "Control" CellType in the particular cell. Then when the cell gets scrolled, your label gets scrolled. Here is a thread that shows a snippet using a "Control" celltype for a chart, you can do the same for a label. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=28478 If you do not want to do this, then when the grid scrolls, you will have to move your label. This will take some coding. See this forum thread for a discussion. http://www.syncfusion.com/Support/Forums/message.aspx?MessageID=27889

Loader.
Live Chat Icon For mobile
Up arrow icon