单击“编辑图像"时如何显示面板? [英] How to Show the Panel while clicking the Edit image?

查看:69
本文介绍了单击“编辑图像"时如何显示面板?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!我在gridview上工作,但是当用户单击"edit"图标时,我必须显示该面板.基于此链接 [

Hi everyone! I worked on gridview but while user click''s on edit icon then i have to show the panel.Based on this link [[^]]i did my gridview.please help me

推荐答案

可能要使用Ajax框架,例如jQuery或原型.

创建一个占位符,为面板创建一个空的DIV,该占位符具有一个ID,以后可以使用.

当用户单击编辑按钮时,您将通过Ajax调用获取实际的编辑面板. jQuery.com的网站(以及Google,在CP上)上有很多这样的示例.

当结果返回时,您将把调用的结果放入占位符DIV中.同样,如果您看很多样本.

如果您有具体要求,很乐意为您提供帮助.祝你好运.

干杯.
You''re likely going to want to use an Ajax framework, such as jQuery or prototype.

Create a placeholder, empty DIV for the panel, that has an ID you can work with later.

When the user clicks on the edit button, you''ll fetch the actual edit panel via an Ajax call. There are many samples of this on jQuery.com''s web site (and Google, here on CP).

When the result comes back, you''ll put the results of the call into the placeholder DIV. Again, many samples if you look.

More than happy to help if you have specifics. Best of luck.

Cheers.


这篇关于单击“编辑图像"时如何显示面板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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