sure you can put anything in there, even a jet plane...
this is for a hyperlink, substitute for your own user control.
//add a hyperlink for bogus results
HyperLink tb = new HyperLink();
tb.ForeColor = Color.Blue;
tb.Text = "Invalid";
tb.Font.Size = FontUnit.XXSmall;
tb.NavigateUrl = "Invalid.aspx";
e.Item.Controls[e.Item.Cells.Count - 1].Controls.Add(tb);
tb = null;
"Jim Mitchell" <jim_mitchellmindspring.com> wrote in message
news:eN9b7PNUDHA.1556TK2MSFTNGP10.phx.gbl...me> I guess I did not know that you can just put controls (like the image
> control) into a cell on the datagrid. If you have a minute, can you letto> know how you would do that?
> "Alvin Bruney" <vapordan_spam_me_nothotmail_no_spamhotmail.com > wrote in
> message news:O56HADNUDHA.3712tk2msftngp13.phx.gbl...> control> > in your itemdatabound or itemcreated event handler just add a label> > or any control that will take a url tag to the cell. then add the image>> > the newly inserted control.
> > "Jim Mitchell" <jim_mitchellmindspring.com> wrote in message
> > news:OVW6B4LUDHA.940TK2MSFTNGP11.phx.gbl...> > column> > > Is there any way to put in image button in the datagrid. The button> > property.> > > seems to have all the functionality, but does not have an img_url> >> > >
> > > Thanks in advance.
> > >
> > > Jim
> > >
> > >