4 Answers, 1 is accepted
0
Accepted
Shinu
Top achievements
Rank 2
answered on 07 Jul 2011, 11:41 AM
Hello Sunil,
Try setting the property ClickToOpen to True.
aspx:
Thanks,
Shinu.
Try setting the property ClickToOpen to True.
aspx:
<telerik:RadMenu ID="RadMenu1" runat="server" ClickToOpen="true">. . . . . . . . </telerik:RadMenu>Thanks,
Shinu.
0
Sunil
Top achievements
Rank 1
answered on 07 Jul 2011, 01:01 PM
Thanks Shinu for quick response..
But i dont want it to collapse when i perform other operations... only on specific button i want to close
which will be inside menu Item template.
Once it is opened i need to refer other page and do some operation so i want it to be opened untill i close manually.
And in my application there are two RadCombobox in RadMenuItem ItemTemplate which will be have postback for SelectedIndexChange
event.The moment i select item in combobox it collapse....
But i dont want it to collapse when i perform other operations... only on specific button i want to close
which will be inside menu Item template.
Once it is opened i need to refer other page and do some operation so i want it to be opened untill i close manually.
And in my application there are two RadCombobox in RadMenuItem ItemTemplate which will be have postback for SelectedIndexChange
event.The moment i select item in combobox it collapse....
0
Shinu
Top achievements
Rank 2
answered on 07 Jul 2011, 02:53 PM
Hello Sunil,
Try attaching OnClientItemClosing and cancel the event based on the condition.
Javascript:
Thanks,
Shinu.
Try attaching OnClientItemClosing and cancel the event based on the condition.
Javascript:
function OnClientItemClosing(Sender, args) { if (args.get_domEvent() == null) { args.set_cancel(true); } }Thanks,
Shinu.
0
Sunil
Top achievements
Rank 1
answered on 07 Jul 2011, 05:25 PM
Thanks Shinu...
I'l Try this, Thanks a lot
I'l Try this, Thanks a lot