在Gridview上创建上下文菜单 [英] Create Context Menu on Gridview
本文介绍了在Gridview上创建上下文菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个Gridview,显示医生的约会列表.
要求是-医生将右键单击约会"(显示在gridview中),然后将在上下文菜单中为他提供4个选项-(接受/拒绝/取消/转移).如果他选择接受,则状态应在数据库中从待定约会更改为接受约会.
如何在后面的代码中创建用于接受/拒绝/取消/转移的上下文菜单.
谢谢,
Sneha
I have a Gridview that shows list of Appointments to the doctor.
The requirement is - Doctor will right click on Appointment (shown in gridview) and he will be given 4 options in context menu - (Accept/Reject/Cancel/Transfer). If he selects Accept, the status should get change in database from pending appointment to accept appointment.
How to create context menu for accept/reject/cancel/transfer in code behind.
Thanks,
Sneha
推荐答案
看看这个描述性网站- ^ ]
Have a look at this descriptive site - Adding a Context Menu to ASP.NET Controls[^]
这篇关于在Gridview上创建上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文