or
Dear Sir,
i want to hide or disable context menu OnClientAppointmentContextMenu event my code is following but it is not working.
function
OnClientAppointmentContextMenuClick(sender, eventArgs) {
var menu = $find("<%= SchedulerAppointmentContextMenu.ClientID %>");
menu.visibility =
"hidden";
}
Please help me.
Thank You.
Chandan.

Hi,
I am trying to set the hight of a textbox control in the grid but it seems that its being limited and I cannot find what is limiting it. This limit seems to be there in edit mode as well. Below is the Column I am trying to set.
| <telerik:GridTemplateColumn DataField="Notes" HeaderText="Notes" |
| SortExpression="Notes" UniqueName="Notes"> |
| <EditItemTemplate> |
| <asp:TextBox ID="NotesTextBox" runat="server" Text='<%# Bind("Notes") %>' TextMode="MultiLine" Width="500px" hight="600px"></asp:TextBox> |
| </EditItemTemplate> |
| <ItemTemplate> |
| <asp:TextBox ID="NotesTextBox" runat="server" Text='<%# Eval("Notes") %>' TextMode="MultiLine" Width="500px" hight="100px" ReadOnly="true"> |
| </asp:TextBox> |
| </ItemTemplate> |
| </telerik:GridTemplateColumn> |

| div.RadMenu .rmItem a.rmLink:hover |
| { |
| cursor: pointer !important; |
| font-family : Tahoma; |
| font-size : 8pt; |
| border: 0px solid black; |
| background-color : #F5F5F5; |
| color :#F5F5F5; |
| } |
| div.RadMenu .rmItem |
| { |
| font-family : Tahoma; |
| font-size : 18pt; |
| background-color : #001465 ; |
| color : Silver; |
| border : none; |
| text-decoration : none; |
| } |
| div.RadMenu .rmItem a.rmExpandDown |
| { |
| background-color :transparent ; |
| background-image : none; |
| } |
| .RadMenu_Green .rmGroup |
| { |
| border: 1px solid green; |
| background-color: #fff; |
| } |
| <script type="text/javascript"> |
| Telerik.Web.UI.Editor.CommandList["Custom"] = function (commandName, editor, args) { |
| alert("Custom command 1"); |
| //for example you can apply bold formatting by firing the editor.fire("Bold"); |
| }; |
| Telerik.Web.UI.Editor.CommandList["Drop1"] = function (commandName, editor, args) { |
| alert("Custom command 2"); |
| // Execute your code here, provide it with any arguments that you need, etc. |
| }; |
| Telerik.Web.UI.Editor.CommandList["ButtonPresets"] = function (commandName, editor, oTool) { |
| //alert("Value Selected: " + oTool.get_value()); |
| //var editorName = "ContentPlaceHolder2_RadEditor2Wrapper" |
| //document.getElementById(ContentPlaceHolder2_RadEditor2Wrapper).ToolFile = "~/RadEditor Tools/ToolsFile" + oTool.get_value() +".xml" |
| editor.ToolsFile = "~/RadEditor Tools/ToolsFile" + oTool.get_value() + ".xml" |
| //documentdocument.location = document.location; |
| }; |
| </script> |