Home All Groups Group Topic Archive Search About

Can we put ActiveX Control into the DataGrid Column?

Author
15 Feb 2005 3:22 PM
Vadim
Is it possible to put ActiveX Control into the DataGrid Column?

I've tried, but it seems to me that the only columns' types
are: hyperlink and linkbutton.

My email is: vad***@intelsysinc.com

Vadim

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Author
15 Feb 2005 3:55 PM
Alvin Bruney [MVP]
I'm not sure why you think this is true. Datacolumns should accept object
types. Since an activeX object is of type object, it should accept the
reference. You should proceed in the same manner as if you were adding a
drop down list control to the datagrid column. In addition, be sure to set
the aspcompat flag property of the page container to true to avoid
performance issues. If your activeX component does not have a user
interface, then the cell may be empty by the way.

--
Regards,
Alvin Bruney [Microsoft MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ http://www.lulu.com/owc
----------------------------------------------------------


Show quoteHide quote
"Vadim" <vadim***@hotmail.com> wrote in message
news:OF28ZI3EFHA.464@TK2MSFTNGP15.phx.gbl...
> Is it possible to put ActiveX Control into the DataGrid Column?
>
> I've tried, but it seems to me that the only columns' types
> are: hyperlink and linkbutton.
>
> My email is: vad***@intelsysinc.com
>
> Vadim
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!