hi.
i have contextmenu with Three items.
I want to Disable the Ajax to 1 and 2 item(s), i want to enable ajax only to 0th item.
0-ViewDetails
1.Audio Download
2.Document Download
can any one help me how to do this .
i did code like this in Page_Load.
If RadCDMenu.Items(0).Selected = False Then
RadScriptManager1.RegisterPostBackControl(RadCDMenu)
End If
but,it's not working properly.once i disable the ajax i can't able to Enable it.
Here i have to Refresh the page, then only i am getting ajax Enable .
can any one Help Me please....
Thank You
Suresh K
i have contextmenu with Three items.
I want to Disable the Ajax to 1 and 2 item(s), i want to enable ajax only to 0th item.
0-ViewDetails
1.Audio Download
2.Document Download
<telerik:RadContextMenu ID="RadCDMenu" runat="server" Skin="Hay" Style="position: static" Enabled="False" > |
<Items> |
<telerik:RadMenuItem runat="server" Text="View Details"> |
</telerik:RadMenuItem> |
<telerik:RadMenuItem runat="server" Text="Audio Download"> |
</telerik:RadMenuItem> |
<telerik:RadMenuItem runat="server" Text="Document Download"> |
</telerik:RadMenuItem> |
</Items> |
</telerik:RadContextMenu> |
can any one help me how to do this .
i did code like this in Page_Load.
If RadCDMenu.Items(0).Selected = False Then
RadScriptManager1.RegisterPostBackControl(RadCDMenu)
End If
but,it's not working properly.once i disable the ajax i can't able to Enable it.
Here i have to Refresh the page, then only i am getting ajax Enable .
can any one Help Me please....
Thank You
Suresh K