or
| function disableDateTimePicker() |
| { |
| var picker = $find("<%= RadDateTimePicker1.ClientID %>"); |
| picker.get_dateInput().disable(); |
| $removeHandler(picker.get_popupButton(), "click", picker._onPopupButtonClickDelegate); |
| $removeHandler(picker.get__timePopupImage(), "click", picker._onTimePopupImageClickDelegate); |
| } |
| function enableDateTimePicker() |
| { |
| var picker = $find("<%= RadDateTimePicker1.ClientID %>"); |
| picker.get_dateInput().enable(); |
| $addHandler(picker.get_popupButton(), "click", picker._onPopupButtonClickDelegate); |
| $addHandler(picker.get__timePopupImage(), "click", picker._onTimePopupImageClickDelegate); |
| } |

Hi,
Is there any way we can handle the ImageButton event in <ItemTemplate> of a Teleric Rad Grid, rather then using the LinkButton.
I am binding OnItemCommand="GeneralRadGrid_ItemCommand" and providing the CommandName="Edit" on <ItemTemplete><asp:ImageButton ImageUrl="../images/bt_edit.gif" ID="EditImageButton" runat="server" CommandName="Edit" /></ItemTemplate>
But I am not able get to the handler
protected void GeneralRadGrid_ItemCommand(object source, GridCommandEventArgs e){
if (e.CommandName == "Edit")
{
Response.Redirect("GeneralClassification.aspx");
}
}
Kindly let me know the way to do so, earlier my teammate posted the same issue but did not got the code to run.
Thanks,
Pramod Singh