Hi,
I have RadListboxitems with context menu, after i selected one listboxitem now trying to invoke context menu for another item throws script error says "Microsoft JScript runtime error: 'this._dragSelector' is null or not an object". Am I missing any properties?
Listbox
-----------------
<telerik:RadListBox runat="server" Skin="Office2010Blue" EnableDragAndDrop="false" ClientIDMode="Static" ID="Listbox"
DataTextField="category" DataValueField="categoryid" OnClientContextMenu="showContextMenu"
AllowAutomaticUpdates="false" AllowDelete="false" AllowReorder="false" AllowTransfer="false" SelectionMode="Single"
Width="200px" Height="350px" OnClientSelectedIndexChanged = "Listbox_OnClientSelectedIndexChanged">
</telerik:RadListBox>
Contextmenu
------------------------
<telerik:RadContextMenu ID="Contextmenu" runat="server" Skin="Office2010Blue">
<Items>
<telerik:RadMenuItem Text="Add"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Edit "></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Delete"></telerik:RadMenuItem>
</Items>
</telerik:RadContextMenu>
Thanks,
Nagarajan.
I have RadListboxitems with context menu, after i selected one listboxitem now trying to invoke context menu for another item throws script error says "Microsoft JScript runtime error: 'this._dragSelector' is null or not an object". Am I missing any properties?
Listbox
-----------------
<telerik:RadListBox runat="server" Skin="Office2010Blue" EnableDragAndDrop="false" ClientIDMode="Static" ID="Listbox"
DataTextField="category" DataValueField="categoryid" OnClientContextMenu="showContextMenu"
AllowAutomaticUpdates="false" AllowDelete="false" AllowReorder="false" AllowTransfer="false" SelectionMode="Single"
Width="200px" Height="350px" OnClientSelectedIndexChanged = "Listbox_OnClientSelectedIndexChanged">
</telerik:RadListBox>
Contextmenu
------------------------
<telerik:RadContextMenu ID="Contextmenu" runat="server" Skin="Office2010Blue">
<Items>
<telerik:RadMenuItem Text="Add"></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Edit "></telerik:RadMenuItem>
<telerik:RadMenuItem Text="Delete"></telerik:RadMenuItem>
</Items>
</telerik:RadContextMenu>
Thanks,
Nagarajan.