This is a migrated thread and some comments may be shown as answers.

Lay out control

6 Answers 54 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Angie
Top achievements
Rank 1
Angie asked on 30 Mar 2012, 04:06 PM
Would telerik have something similar to this ? 

http://community.devexpress.com/blogs/theonewith/archive/2008/06/05/the-one-with-the-silverlight-and-the-layout-management.aspx

we need something like this for complex ui stuff. is there any Telerik control we could use for?

6 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 30 Mar 2012, 04:09 PM
Hi ,

Do you need something like :
http://demos.telerik.com/silverlight/#Docking/FirstLook ?

Greetings,
Pavel Pavlov
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Angie
Top achievements
Rank 1
answered on 30 Mar 2012, 04:21 PM
no. something like this

http://www.devexpress.com/Products/NET/Controls/Silverlight/Layout/layout_control.xml
http://www.devexpress.com/Support/Center/e/E3550.aspx


so we could use that control layout other controls something equivalent to gridview but since gridview you have to know which row and which column to position child controls and you have to know how many rows and columns you need.

But see this DXLayoutControl you don't have to know those stuff there is more flexibility and we can align and toggle visibility of dynamic ui. Is there something like this in telerik silverlight or in silverlight which we might not know of?
0
Angie
Top achievements
Rank 1
answered on 12 Apr 2012, 03:22 PM
Any idea how to do this using telerik? can i use propotional stack panel for this
0
Pavel Pavlov
Telerik team
answered on 13 Apr 2012, 09:53 AM
Hello,

I have checked the link and I still believe RadDocking is the match. Please check out all docking examples at :

http://demos.telerik.com/silverlight/

Actually absolutely all Silverlight controls are presented there. In case I have misunderstood the requirement , please checkout the rest of the list of rad controls demonstrated there.

Regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Angie
Top achievements
Rank 1
answered on 13 Apr 2012, 03:09 PM
No docking won't help. I'm not trying to control window or place items in a window.

I'm trying to find a better solution to put fields in a form so its all get aligned according to group. Microsoft's solution is GridView because it gives a table like feel but that has to keep track of which grid row and column. StackPanel is the solution we are using now but StackPanel doesn't align vertically according to each child control for example

What stack panel could do

<StackPanel Orientation="Horizontal" Margin="0,0,0,3">
<sdk:Label Content="long Long long Text" />
<TextBox TextWrapping="Wrap" Width="300"
                             Text="Blabla"
                             VerticalAlignment="Bottom"/>
</StackPanel>
<StackPanel Orientation="Horizontal" Margin="0,0,0,3">
<sdk:Label Content="Short Text" />
<TextBox TextWrapping="Wrap" Width="100"
                             Text="Blabla"
                             VerticalAlignment="Bottom"/>
</StackPanel>
What Happens -------------- long long Text [blabla] short Text [blabla] What i Need is --------------- long long Text [blabla] short Text [blabla] There is no way to align Long Label TextBox to align vertically with Short Text TextBox we could give each TextBox its own Margins by Eyeballing but that is time consuming when editing and creating. We are looking for a simple solution where you could Group lables to one group and text box to another so it gets vertically and horizontally aligned according to the values. This would be pretty helpful when building large data forms. Let me know if you have any solution for this.
0
Pavel Pavlov
Telerik team
answered on 13 Apr 2012, 03:22 PM
Hi ,

In the context of two columns - one with label and one with a textbox and mentioning DataForm...actually we have a control that may serve these - have you checked our RadPropertyGrid ?  Additionally the width of the column is user resizable there.

Kind regards,
Pavel Pavlov
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
General Discussions
Asked by
Angie
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Angie
Top achievements
Rank 1
Share this question
or