Hi,
I have a ultragrid with 2 bands ( band[0] and band [1])
In band[1] i have placed a button on a cell. Anybody please let me know that how can i assign a text for that button.
Note:
If that button has placed in band[0] i can able to assign the text in initialize row event. like this,
e.Row.Cells[..].Value = "some text";
but i am not sure about the child band buttons
If e.Row.Band.Index = 1 Then 'This row is in the child band End If
If e.Row.Band.Index = 1 Then
'This row is in the child band
End If
End Sub
It might also make sense to set this in the datasource, rather than the grid.
Trausti
HI Trausti,
Thanks for your reply. It is working fine.
Can you please tell me, how can i make the cell which is editable in the child band
Saravanan Nagarajan