Windows Develop Bookmark and Share   
 index > Windows Forms Designer > how to host different controls in the same column in DataGridView control
 

how to host different controls in the same column in DataGridView control

I found this sample code in the forum.

when I implement this and try to scroll using the vertical scroll bar, the date control doesn't move as its position is fixed. The date control is not bound to the cell.

Can some one help with me with this?

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2031112&SiteID=1

Thanks

Abi

Abi_ramanan  Monday, June 02, 2008 8:50 PM

You should handle the Scroll event as well to change the location of the hosted control, check this thread

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1425662&SiteID=1

Zhi-Xin Ye  Thursday, June 05, 2008 11:51 AM

You should handle the Scroll event as well to change the location of the hosted control, check this thread

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1425662&SiteID=1

Zhi-Xin Ye  Thursday, June 05, 2008 11:51 AM

You can use google to search for other answers

Custom Search

More Threads

• Selecting control within my user control in the Designer
• Embedded user control cuts off if placed within a base form class
• Lost my main form in designer
• vb.net 2005 shutdown error when adding default icon to property page
• DataGridView Problem
• setting the Opacity on a ListView (help please)
• Designer generated code does not represent the displayed form
• can't change label text
• Accessing Design-Time Only Properties
• Custom Control builds but is not found