S
simon
when I click the button in datarepeater, I would like to set the bgcolor of the row to red.
I don't know how to get the reference to that row.
Something like this?
Private Sub rprPlists_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles rprPlists.ItemCommand
If e.CommandSource.GetType.Name.ToString() = "Button" Then
e.row.bgcolor=color.red
pnlTest.visible=true
end if
Then I show test panel and after click the cancel button on that panel, I would like that the coloured row in my datarepeater is set back to white.
Any example?
Thank you,
Simon
I don't know how to get the reference to that row.
Something like this?
Private Sub rprPlists_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles rprPlists.ItemCommand
If e.CommandSource.GetType.Name.ToString() = "Button" Then
e.row.bgcolor=color.red
pnlTest.visible=true
end if
Then I show test panel and after click the cancel button on that panel, I would like that the coloured row in my datarepeater is set back to white.
Any example?
Thank you,
Simon