Re: UserControl in DataGridView cell

Charlotte Foust <[email protected]>
Newsgroups gmane.comp.windows.devel.dotnet.winforms
Message-ID <F55048AF7E974F429BB24597D7355EEA4B9E36@INFOSERVER04.infostat.local>
I don't see anywhere that you set the instance of the user control as
the EditorControl for the cell.  Have you tried that and had it fail?
It sounds like your user control is for some kind of search, so I don't
quite see what it would be doing in a grid.

Charlotte Foust

-----Original Message-----
From: Discussion forum for developers using Windows Forms to build apps
and controls [mailto:[email protected]] On Behalf Of
Francisco Serrano
Sent: Friday, May 25, 2007 2:49 PM
To: [email protected]
Subject: Re: [DOTNET-WINFORMS] UserControl in DataGridView cell

Hi!:

If you see, for example, the code in
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=465597&SiteID=1,
when the user does the first keystroke, the key is lost, and the cell
has focus, and not the usercontrol.

I need that an usercontrol with a textbox and a button, must works as a
cell with TextBoxColumn. It is possible? Any example?

Regards
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.