在页面加载时查找转发器控件 [英] Find repeater control on page load

查看:81
本文介绍了在页面加载时查找转发器控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


大家好,

Hi all,


我有一个父页面,当我点击它时它会生成按钮然后它重定向到另一个页面,在查询字符串中有一些id我们在页面加载时收到该值重定向页面,然后将数据绑定到具有Label的reapter控件。当数据是相应id的avilabel
时,标签大小是完美的,否则大小变窄。现在我想检查它是否有数据,根据数据的可用性,我们可以从后面的代码管理标签的大小。

I have  a parent page which has generate button when i click then its redirects to another page with some id in query string we receive that value on page load on redirect page, then bind the data into reapter control which has a Label. when data is avilabel on corresponding id then label size is perfect else the size becomes narrow. now i want to check whether it has data or not, according to data avilibility we can manage the size of label from code behind.


问题是 - >

problems are->


1.标签在reapter里面。

1. label is inside in reapter.


2. Reapter绑定页面加载。

2. Reapter is binding on page load.


我尝试使用命名容器,但没有在谷歌上得到合适的例子。

i try to use Naming Container but not get the suitable example on google.



请紧急。

推荐答案

请在ASP.NET论坛中发布ASP.NET问题( http://forums.asp.net )。
Please post ASP.NET questions in the ASP.NET forums (http://forums.asp.net ).


这篇关于在页面加载时查找转发器控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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