如何更改单一表单上的按钮 [英] How to change Button on Single form

查看:97
本文介绍了如何更改单一表单上的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在处理单个aspx(C#)表单,因此在该表单中我有一个图像,其名称表示文本
当我单击图像或文本时,新表单已在该表单上打开了按钮(添加选项),但是我想当我单击图像时,将单击(添加选项)&按钮打开同一个表单(当我单击其名称时(图片名称)将打开相同的表单,并在上一个按钮上放置另一个按钮(立即购买).
所以请告诉我我该怎么办.

解决方案

我无法正确理解您的问题.

我不确定,请尝试一下.
使用面板.

首先将图像隐藏在click事件中,然后显示包含您想要的所有必需内容的面板.根据要求输入文字.


i am working on single aspx(C#) form so in that form i have an image & its name means text
when i clicked on image or text new form has opened in that form on button(Add Option) is there,but i want when i clicked on image same form will be open with button(Add Option)& when i clicked on its name(image name) same form will be open with another button has placed on previous button(Buy now).
so please tell me what can i do for that.

解决方案

I am not able to understand your question properly.

I am not sure but try this.
Use panels.

First hide the image in the click event and show the panel which contains all of required things u want..


In place of using multiple buttons it''s better to use single button with different text as per requirement.


这篇关于如何更改单一表单上的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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