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

Layout Design using telerik.

3 Answers 109 Views
GridView
This is a migrated thread and some comments may be shown as answers.
sivakanth
Top achievements
Rank 1
sivakanth asked on 13 Dec 2010, 02:57 PM
Hello Telerik Team,
                               First of all i should thank to telerik team.Becoz of read my thread.

We have one requirement in WPF using telerik rad control.here we have 10 fields.(model i will attached below)
In this project first i want to split two sections in rad grid.
The first 5 fields design in left section.another 5 fields designed  in Right section.

 we also have enable/disable option in every field in setting page.

Enter Name    (Label box)

Text Box

Address

Text Box

Standard

Combo Box

Pin code

Text Box

Section

Text Box

State

Combo Box

Age

Text Box

Country

Combo Box


if i disable left section any field mean after that the right side of top field will come into left section of bottom field.

The model i will attached below.if i disable standard mean the layout will come

Enter Name    (label box)

Text Box

Pin code

Text Box

Section

Text Box

State

Combo Box

Age

Text Box

Country

Combo Box

Address

Text Box

 

 


is it possible?

if possible mean pls give me some coding regard my thread?

if not possible mean also give some ideas?

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 14 Dec 2010, 09:02 AM
Hi sivakanth,

Basically, the functionality you want to implement is not quite possible within a single RadGridView. What I can suggest is to create two grids, defined next to each other and fill each of them with the items you want. Once you remove an item from the first grid for example, you may remove the first item from the second grid and insert it in the Items collection of the first grid. 

All the best,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
0
sivakanth
Top achievements
Rank 1
answered on 14 Dec 2010, 10:15 AM
Hello Maya,
                     I am not asking about Removing any fields. I just want if i disable any one field mean the next field will goes top(Example if i disable 2nd field then 3rd field will up in the place of 2nd).That time first section last value will be empty.here we don't want empty.but same time second section last position can be empty.

again i enable the hiding field mean finally original layout we want.

if any doubt see my previous post(Tables). we want that layout design only. its may using radgrid or any other controls.

if u have any official problem to share other ideas pls
contact me s.sivakanth@gmail.com
0
Maya
Telerik team
answered on 14 Dec 2010, 12:36 PM
Hi sivakanth,

Unfortunately, this is scenario is achievable only with removing the items you want to hide. As mentioned previously, you may keep the original collection of items and restore it when required. However, you may take a look at our online demo and run through our RadControls. Thus will be able to test them and see if there is one more appropriate for your scenario.
 

Kind regards,
Maya
the Telerik team
Browse the videos here>> to help you get started with RadControls for WPF
Tags
GridView
Asked by
sivakanth
Top achievements
Rank 1
Answers by
Maya
Telerik team
sivakanth
Top achievements
Rank 1
Share this question
or