Click here to Skip to main content
15,892,674 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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?
Posted
Updated 26-Aug-10 18:01pm
v2
Comments
Christian Graus 24-Aug-10 1:55am    
How do you want to move it ? Do you want to change the master page template ? What have you tried ?
Sandeep Mewara 24-Aug-10 13:08pm    
What do you mean by change position? Sounds like you want to construct page dynamically. What have you tried so far? Try CSS first, might help.
sankar guru 27-Aug-10 2:18am    
i want to hide menu control div and resize contentplaceholder div at runtime .

1 solution

XML
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>
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900