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

How to move C# Label/TextBox control?

Thread ID:





28895 May 12,2005 04:18 AM UTC May 12,2005 09:40 AM UTC WinForms 1
Tags: GridControl
david bosak
Asked On May 12, 2005 04:18 AM UTC

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!

Administrator [Syncfusion]
Replied On 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


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

This page will automatically be redirected to the 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