如何从页面访问usercontrol文本框的值? [英] how to access value from page to usercontrol textbox ?

查看:76
本文介绍了如何从页面访问usercontrol文本框的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我有一个由用户组成的控件
一个文本框,一个图像按钮

我在页面(Default.aspx)中访问此用户控件.

当我单击imagebutton时,我打开一个新窗口Default1.aspx
其中有一些链接按钮
当我单击链接按钮后面的那个linkbutton值之一时,应该在Usercontrol文本框中进行赋值
并且新窗口应该关闭

请帮助我

感谢

Hello Everyone,

i have one user control which consist
one textbox ,one imagebutton

i access this usercontrol in page(Default.aspx).

when i click on imagebutton i open one new window Default1.aspx
in which there are some link button
when i click on one of that linkbutton value behind link button shuuld be assing in Usercontrol textbox
and new window should be close

please help me

thanks

推荐答案

This[^] is what you want to do, I am sure all of those links will be good to tell you how.

The browser does not care about your user controls, it does not even know they exist.


这篇关于如何从页面访问usercontrol文本框的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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