如何在C#中显示弹出窗口 [英] How to Display a PopUp in C#

查看:452
本文介绍了如何在C#中显示弹出窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,

我想在GridView(GrdEmp_SelectedIndexChanged)事件中显示弹出消息.我想从GridView中获取一个字段值,并在发生SelectedIndexChanged事件时将该值显示为弹出窗口.

谢谢与问候,

Taposi.

Hello Friends,

I want to display a Popup Message in GridView(GrdEmp_SelectedIndexChanged) event.I want to take a field value from GridView and display that value as a Popup when SelectedIndexChanged event will happen.

Thanks & Regards,

Taposi.

推荐答案

像本CP文章中一样使用AjaxModalPopUp
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx [
Use AjaxModalPopUp as in this CP Article
ASP.NET AJAX Control Toolkit ModalPopupExtender Control in Action[^]
http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/ModalPopup/ModalPopup.aspx[^]


也许在选定的索引更改事件上,可以从服务器端执行此提示正在暗示

用于ASP.NET网站的类似于MessageBox的Windows窗体 [ ^ ]
Perhaps on selected index changed event, from server side you can do what this tip is suggesting

A Windows Form like MessageBox for ASP.NET Website[^]


请参考以下链接.

简单弹出控件

TaskbarNotifier,TaskbarNotifier,在C#中是一种类似于皮肤的MSN Messenger弹出窗口,现在在VB中. NET也是如此 [ ^ ]
Please refer the below link.

Simple Popup Control

TaskbarNotifier, a skinnable MSN Messenger-like popup in C# and now in VB.NET too[^]


这篇关于如何在C#中显示弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆