Hello Telerik Team,
I have a grid that I bind on the client side.
I want to create a custom filtering column for my grid. I have successfully derived from GridBoundColumn to create GridFilteringBoundColumn. I override the SetupFilterControls method and all is well.
However, I also have a GridButtonColumn that I would like to be able to filter on. If I derive from GridButtonColumn in the same exact way as above, the cells do not get rendered as hyperlinks and clicking on the text in the cell does nothing (I expect it to do a fireCommand with my command name that I assigned.
I have verified with a debugger that the CommandName property is set correctly but I can't figure out why the cells do not render properly. In the browser, when I use the Telerik GridButtonColumn, the cells all contain text of this form:
but with my derived Column, all I get is simpletext after the grid binds on the client side.
What am I missing?
Thanks
Bob
I have a grid that I bind on the client side.
I want to create a custom filtering column for my grid. I have successfully derived from GridBoundColumn to create GridFilteringBoundColumn. I override the SetupFilterControls method and all is well.
However, I also have a GridButtonColumn that I would like to be able to filter on. If I derive from GridButtonColumn in the same exact way as above, the cells do not get rendered as hyperlinks and clicking on the text in the cell does nothing (I expect it to do a fireCommand with my command name that I assigned.
I have verified with a debugger that the CommandName property is set correctly but I can't figure out why the cells do not render properly. In the browser, when I use the Telerik GridButtonColumn, the cells all contain text of this form:
<
a
onclick
=
"if(!$find('ctl00_WebPartManager_WorkAreaWebPart_MainControl_WorkAreaGrid_ctl00').fireCommand('DisplayDetails','0')) return false;"
href
=
"javascript:__doPostBack('ctl00$WebPartManager$WorkAreaWebPart$MainControl$WorkAreaGrid$ctl00$ctl04$ctl01','')"
>J1542A</
a
><
br
>
but with my derived Column, all I get is simpletext after the grid binds on the client side.
What am I missing?
Thanks
Bob