开发者

Is it possible to hide few controls of an UpdatePanel when the page is getting loaded for the first time?

I have a User control(ascx) that has an Update panel. When the page is getting loaded on some condition i want it to hide few of its controls of the UpdatePanel. Is it possible??

I开发者_开发百科f any expert can help me out, i would really appreciate that!

thanks in advance! Ram


Sure, in your updatepanel's load event, set the Visible property of those controls to false. Alternatively, you could use the CSS style display to toggle their visibility.

You can also set these in the original page load if you prefer.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜