如何保留回发中动态添加的服务器控件 [英] How to retain dynamically added server controls on postbacks

查看:71
本文介绍了如何保留回发中动态添加的服务器控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在设计一个使读者能够发表评论的Blogosphere.我希望保留添加到页面上占位符的动态添加的标签控件,并在后续请求或回发到同一页面上显示这些控件.请 我该怎么办?

I am in the process of designing a blogosphere that enable readers to leave comments. I want my dynamically added label controls added to the placeholder on the page to be retained and displayed on subsequent requests or postbacks to the same page. Please how do I go about this?

我曾经尝试过使用View State,但是这对我来说却是个难题.谢谢.

I have tried using View State but it's kind of beyong me how to work it. Thank you.

推荐答案

 

谢谢您的发帖!  ;我建议将您的问题发布到MS论坛之一中,

HomeASP.NET Forums » General ASP.NET » State Management


这篇关于如何保留回发中动态添加的服务器控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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