I have made a context menu switch and a treeview! The context menu role is to delete the node on right click (from the delete button in menu of course) but the problem is that selectednode.text is always null! I want to get the text of the selected node
and search in database to delete it from database! Here is the code
TreeView
<asp:TreeView runat="Server" ExpandImageUrl="~/images/database.png" CollapseImageUrl="~/images/database.png" OnTreeNodePopulate="Node_Populate" ID="tvwauthors" >
<Nodes>
<asp:TreeNode Text="Existing Database" PopulateOnDemand="true" Value="0" />
</asp:TreeView>
</div>
Context menue
<script type="text/javascript">
var $b = jQuery.noConflict(true);
$b(document).ready(function () {
$ ...
Go to the complete details ...