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

[Solved] Top Alignment of GridViewToggleRowDetailsColumn

3 Answers 72 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Pawan Sharma
Top achievements
Rank 1
Pawan Sharma asked on 22 Dec 2009, 06:32 AM
Hi All, 

I got problem in vertically aligning of GridViewToggleRowDetailsColumn. I have tried to use verticalAlignment with this control but it doesnot work . Can anybody please enlighten me on the solution.

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 22 Dec 2009, 06:51 AM
Hi,

Can you post more info about your scenario and desired result? Please post also your grid version.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Pawan Sharma
Top achievements
Rank 1
answered on 04 Jan 2010, 10:34 AM

I have a GridviewToggleRowDetailsColumn & One more column say checkbox whose Height is 150 px. When I Add a new Row or Edit Existing row. The "+" Sign of GridviewToggleRowDetailsColumn comes in centre (Vertically) while i want it to be stick to the top.

Code Snippet
<telerikData:GridViewDataColumn.CellEditTemplate>

<telerikData:GridViewToggleRowDetailsColumn Width="35" UniqueName="BtnToggle" Header=" "/>

<telerikData:GridViewDataColumn.CellEditTemplate>

<DataTemplate>

<StackPanel VerticalAlignment="Stretch" >

<CheckBox Margin="2,0,2,0" HorizontalAlignment="Left" VerticalAlignment="Top" Height="150" DataWidth="200" BorderThickness="1" Name="chkList" IsCheckedPropertyPath="IsSelected" />

</StackPanel>

</DataTemplate>

</telerikData:GridViewDataColumn.CellEditTemplate>

0
Rossen Hristov
Telerik team
answered on 06 Jan 2010, 01:14 PM
Hello Pawan Sharma,

Please, see my reply in the other forum thread that you have recently opened.

Sincerely yours,
Ross
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Pawan Sharma
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Pawan Sharma
Top achievements
Rank 1
Rossen Hristov
Telerik team
Share this question
or