This is just an idea, sort of a hack
DataGrid dg
oldstyle = dg.Attributes["style"];
dg.Attributes["style"] = changeZindexVal ue(oldStyle, newZindexValue) ;
The datagrid is renered as a table, perhaps you can use
dg.Attributes["style"]; to get the style string of the table.
Then you have to write the changeZindexVal ue function to repalce "z-index:
XX" with something different
just ideas, I don't know if it'd work
"Karl" <none> wrote in message news:eC******** ******@TK2MSFTN GP09.phx.gbl...
The only thing I can think of is that you do datagrid.style. add("z-index",
555); in the click event. it will apply the style to the <table tag
representing your grid.
Karl
"mark" <ma**@remove.co m> wrote in message
news:_F******** ******@newsfe3-gui.ntli.net... is it possible to change an elements Z-INDEX value on an onclick event
in codebehind ?
id like to change the posistion of a datagrid once a button has been
pressed
cheers
mark