Hi,
I seem to have a simple issue that I can't fix!
I have a RadToolBar within a RadGrid CommandItemTemplate.
When clicking any tool bar button, the functionality works fine but the state (ie: Checked) is lost.
When the button is clicked, the datatable is filtered, then I recall DataBind() then the tool bar button resets to the 'off' state.
Snippet below,
Any ideas for a quick fix?
Thanks,
Harry
I seem to have a simple issue that I can't fix!
I have a RadToolBar within a RadGrid CommandItemTemplate.
When clicking any tool bar button, the functionality works fine but the state (ie: Checked) is lost.
When the button is clicked, the datatable is filtered, then I recall DataBind() then the tool bar button resets to the 'off' state.
Snippet below,
Any ideas for a quick fix?
Thanks,
Harry
<
CommandItemTemplate
>
<
div
class
=
"filterEvents1"
>
<
telerik:RadToolBar
ID
=
"tbButtons"
runat
=
"server"
EnableEmbeddedBaseStylesheet
=
"false"
EnableEmbeddedSkins
=
"false"
OnButtonClick
=
"RadToolBar1_ButtonClick"
EnableViewState
=
"true"
AutoPostBack
=
"false"
>
<
Items
>
<
telerik:RadToolBarButton
CheckOnClick
=
"true"
ImageUrl
=
"~/images/ico-all-inactive.png"
Group
=
"showAll"
CheckedImageUrl
=
"~/images/ico-all-active.png"
height
=
"19px"
Checked
=
"false"
CommandName
=
"showAll"
/>