G
Guest
Hello,
I'm searching for a solution who permit me to create an TemplateColumn in a
DataGrid into codebehind... I found only solution for create it into the ASPX
code...
My problem is to find a solution for add ImageButton controls into this
column, for now my code is:
Dim colSupp As New TemplateColumn
colSupp.ItemTemplate = ???
What is the right code for put ImageButton controls in this column, and how
set the properties of this ImageButton controls (for example the URL of the
image of this ImageButton). I'm looking for how manage all events of this
ImageButton controls, for exemple when a user click on this control...
Sorry for my english who not good.... but i hope you understand that i'm
looking for solution for create all my TemplateColumn into codebehind, not
the ASPX code...
After it i place my DataGrid into a PlaceHolder, like i really need dynamic
solution that's why i want do it only and at 100% into codebehind.
Thanks for your help !
Tigrou
I'm searching for a solution who permit me to create an TemplateColumn in a
DataGrid into codebehind... I found only solution for create it into the ASPX
code...
My problem is to find a solution for add ImageButton controls into this
column, for now my code is:
Dim colSupp As New TemplateColumn
colSupp.ItemTemplate = ???
What is the right code for put ImageButton controls in this column, and how
set the properties of this ImageButton controls (for example the URL of the
image of this ImageButton). I'm looking for how manage all events of this
ImageButton controls, for exemple when a user click on this control...
Sorry for my english who not good.... but i hope you understand that i'm
looking for solution for create all my TemplateColumn into codebehind, not
the ASPX code...
After it i place my DataGrid into a PlaceHolder, like i really need dynamic
solution that's why i want do it only and at 100% into codebehind.
Thanks for your help !
Tigrou