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

[Solved] Really complex grid ? Is it possible with Telerik ?

4 Answers 84 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ju
Top achievements
Rank 1
Ju asked on 24 May 2011, 07:57 AM
Hello,

I have to build a new application from an old one. This application has some custom and complex grids. I was wondering if those grid could be done with telerik grid component. Ths grid is in attach file.

I'll try to describe this grid :
Each line of the grid is a complex structure displayed on multiple lines. One line could have a dropdownlist and a magnifying glass opening a modal popup.
Each line have also a delete button and a modify button (that is the easy part)

In the old application, the create form is in the top of the list but we will put in in a popup form now. So i will have to build a custom create/modify form. I think I saw example of that on the web.
This form will have multiple dropdownlists (I think I have to use the ViewData to fill those ddl)
It will also contains de maggnifyong glass opening another modal to search items. Clicking on a item will fill a textbox in the create modal popup.

I hope it's easily understandable.

Thanks for your comments

4 Answers, 1 is accepted

Sort by
0
Accepted
Atanas Korchev
Telerik team
answered on 24 May 2011, 08:13 AM
Hello Ju,

 Although the exact design may not be easily achievable we can get close enough.

 The grid supports inform editing which combined with a custom editor template would allow similar look and feel. Also you can embed dropdowns in the editor templates.

You can check the following recourses:

Grid editing example - shows the informs editing mode.
Custom popup code library project
DropDownList in grid popup code library project

I hope this helps,
Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ju
Top achievements
Rank 1
answered on 24 May 2011, 09:53 AM
Thanks for your quick response.
I'm beginning formating my lines with a client template and using html tags to have the same display.

I was wondering if it's possible de export ths html code in a cshtml ou an ascx and call it in the client template or in a server template.

Thanks for your time
Julien
0
Atanas Korchev
Telerik team
answered on 24 May 2011, 09:59 AM
Hello Ju,

The client-template accepts only strings. Perhaps you can render the partial view and return it as string.

Regards,

Atanas Korchev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Ju
Top achievements
Rank 1
answered on 24 May 2011, 01:36 PM
Hello,

i'm looking for Custom popup code library project and trying to do it in mvc3 and razor syntax.
I don't understand how the link between the grid and the Customer.ascx is made.

In my solution I added a column with the Edit command and I created a EditorTemplatesFolder with a cshtml inside. But the cshtml isn't called.

Must the cshtml have the same name as the grid or something like that ?

Thanks again for your help !

Nb : I've found it. The cshtml must have the same name as the model.
Tags
Grid
Asked by
Ju
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Ju
Top achievements
Rank 1
Share this question
or