在运行时更改母版页表的位置 [英] Masterpage table position change at runtime

查看:69
本文介绍了在运行时更改母版页表的位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在MasterPage中,我有两个表,左表包含TreeView控件和Menu控件,右表包含ContentPlaceHolder,我尝试在运行时更改左表的位置,但不更改.如何解决?

In MasterPage, I have two table the left table contain TreeView control and Menu control, right table contain ContentPlaceHolder ,I try to change the position of left table at runtime but its not change. How to solve it?

推荐答案

Hi
Usankardurai,
Do the following steps:
Please covered your <table>your code...</table> inside the <div> element.
Example:
<code><div style='position:absolute;top:15px;left:15px;z-index:1000'>
     <table>
       your actual code is coming here...
     </table>
</div>
</code>
i have given style of <div> element so it will be always work with position that you want.

Please do let me know, if you still have position problem.
Thanks,
Imdadhusen</div>


这篇关于在运行时更改母版页表的位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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