문제

Hi I'm looking but can't see

Is there a way to change the caption on a gridButton on a Telerik RADGrid (on a ASP.NET web page) , depending on another of the bound fields (in this case active) e.g if active = true text = "Disable", if active = false then text "Enable"

I have resolved the issue by iterating through the e.items on the databound event, but wonder if there a 'cleaner' method for doing this

Cheers

도움이 되었습니까?

해결책

OnItemDataBound would be the right place.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top