PDA

View Full Version : سوال: کلیک راست روی TreeView



RoostaYeBekr
یک شنبه 18 بهمن 1388, 09:16 صبح
سلام
:لبخندساده:
چطور می تونم وقتی که روی یک TreeView کلیک راست می کنم ، اون گزینه های کلیک راستی که خودم تنظیم کردم ، ببینم ؟

مثلا فرض کنید که با HTML زیر ، گزینه های کلیک راستم رو مشخص کردم که باید با کلیک راست روی هر نود این TreeView ، این گزینه ها رو ببینم :


<table visible="false" runat="server" style="width:17%;position: absolute;background-color:White;border:1px solid #000;width:100px;height:100px;" dir="rtl" frame='box' >

<tr style='width:100%;' >
<td style='width:100%;' >
ویرایش
</td>
</tr>
<tr style='width:100%;' >
<td style='width:100%;' >
حذف
</td>
</tr>
<tr style='width:100%;' >
<td style='width:100%;' >
برش
</td>
</tr>
<tr style='width:100%;' >
<td style='width:100%;' >
چسباندن
</td>
</tr>
<tr style='width:100%;' >
<td style='width:100%;' >
<asp:Button ID="Button_Exit" Width="99%" runat="server" Text="بستن" Font-Names="Tahoma" OnClick="Button_Exit_Click" />
</td>
</tr>
</table>


مرسی