Register | Login

ZettaCube Forum and Knowledge Base

Welcome to ZettaCube forum. Here you can discuss various issues regarding our ZeeControls product. If you want to contact our developers directly, please email to support@zettacube.com.

Please register to post a message. Registration is immediate and free. Return users please login here.

 
  Forum  Discussions  WebLayout and W...  WebLayout inside an arbitrary container
Previous Previous
 
Next Next
New Post 4/14/2009 8:18 AM
Resolved
  axel
3 posts
No Ranking


WebLayout inside an arbitrary container 

Hello,

     I would like to know if it is possible to use WebLayout inside an arbitrary asp.net container control (shipped with Asp.Net or third-party, like DevExpress round panel).

    I have tried to do that but with no success: 100% of width and height for Zee layout container inside asp.net panel does not help.

     Could you please help me to resolve my doubts?

Thank you,

Axel

 
New Post 4/14/2009 9:43 AM
  ZettaCube Support
57 posts
No Ranking


Re: WebLayout inside an arbitrary container 

Dear Axel,

At present, the height and width of a WebLayout must be in pixels.  It will only automatically resize with parent containers that are ZeeControls containers (such as WebLayoutPanel, WebDockPanel, and WebSplitterPanel).

Could you please tell us what kind of layout you want to achieve and we'll see how it can be accomplished with ZeeControls?

Regards

 

 
New Post 4/14/2009 10:20 AM
  axel
3 posts
No Ranking


Re: WebLayout inside an arbitrary container 

First of all, thank you for the reply.

Here is the problem:

Let's say there is a dynamically built edit form (which is only a piece of the Asp.Net web page) and there are two main requirements to its layout:

1. It must adjust to browser window size;

2. End user need to have an ability to customize layout of the form. (Under such customization I mean ability to hide/reposition controls and group them using predefined containers such as Tab Control, collapsable panel etc.)

I have been considering your control to give end users more flexibility in adjusting layout to browser viewport size.

As far as I see, to have my approach work I need to use standalone WebLayout control inside each of the predefined containers and resize this control manually with javascript so that it fits parent container. The same is valid for the outermost WebLayout that contains entire edit form.

 
New Post 4/14/2009 4:47 PM
  ZettaCube Support
57 posts
No Ranking


Re: WebLayout inside an arbitrary container 

Dear axel,

We hope we understand your requirements correctly.

The outermost WebLayout control could be set to fit the browser window, and within its panels (or nested panels), either end user's controls, or predefined containers are placed. Standalone WebLayout control are placed within the predefined containers (i.e. your approach).

Then you may listen to parent WebLayoutPanel's resize event and resize those standalone WebLayout controls accordingly (parent dimensins minus the predefined containers' borders).

 

 

 
New Post 4/15/2009 4:31 AM
  axel
3 posts
No Ranking


Re: WebLayout inside an arbitrary container 

Thank you for the advice.

 
Previous Previous
 
Next Next
  Forum  Discussions  WebLayout and W...  WebLayout inside an arbitrary container
Copyright 2009 by ZettaCube Limited