Hello,
I have a grid with dynamic columns, and for certain columns I need a button link that allows navigation to the master record related with the value (buttonlink.jpg).
For example, if colums show "Customer code", left to the customer code an arrow allows to open the form "Customer" and shows all the information related with such code.
This is the code to show the button:
How can I do to catch the click in this button? Is it possible?
I have a grid with dynamic columns, and for certain columns I need a button link that allows navigation to the master record related with the value (buttonlink.jpg).
For example, if colums show "Customer code", left to the customer code an arrow allows to open the form "Customer" and shows all the information related with such code.
This is the code to show the button:
Private Sub gridSELECT_CellFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) _ Handles gridSELECT.CellFormatting e.CellElement.Image = Nothing If e.CellElement.ColumnInfo.Name = "CardCode" AndAlso TypeOf e.CellElement.RowInfo Is GridViewDataRowInfo Then e.CellElement.ImageAlignment = ContentAlignment.MiddleLeft e.CellElement.Image = My.Resources.arrow_right e.CellElement.TextImageRelation = TextImageRelation.ImageBeforeText End If End SubHow can I do to catch the click in this button? Is it possible?