Hello, everyone.
I have a question regarding the timing and functionality of a RadButton inside a GridButtonColumn.
I have a RadGrid that's getting its data from SQL. In the GridButtonColumn is a PushButton that has its button text set from a field in the database. Since these buttons will do different things based on their text, I'd like to know if it's possible to dynamically assign the CommandName property. I've noticed that I can't use things like CommandName='<%# DataBinder.Eval(Container, "DataItem.buttonCmd") %>' like I can with GridBoundColumns. Is there another way I can do this?
I have a question regarding the timing and functionality of a RadButton inside a GridButtonColumn.
I have a RadGrid that's getting its data from SQL. In the GridButtonColumn is a PushButton that has its button text set from a field in the database. Since these buttons will do different things based on their text, I'd like to know if it's possible to dynamically assign the CommandName property. I've noticed that I can't use things like CommandName='<%# DataBinder.Eval(Container, "DataItem.buttonCmd") %>' like I can with GridBoundColumns. Is there another way I can do this?