Click here to Skip to main content
11,934,783 members (41,883 online)
Rate this:
Please Sign up or sign in to vote.
Hi guys;

I have Web Parts control in my project,

Layout orientation property of Web Parts can be Vertical or Horizontal.

But i want both Vertical and Horizontal at the same time to add controls lift, right,up and down.

How to do that please
Posted 6-Aug-11 17:40pm
Edited 8-Aug-11 12:55pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

At a time, itz not possible to set both orientation. In stead of defining in declarative way, we can adopt programmetic way as per the requirment. Meaning, the code behind can alter layout orientation using statement 'MyWebPartZone.LayoutOrientation = Orientation.Horizontal'.
MrProgrammer_78 6-Aug-11 23:42pm
Thanks man, but i want to make WebPartZone has two column.
I hope u understand me

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web01 | 2.8.151126.1 | Last Updated 8 Aug 2011
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100