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

Telerik controls layout

10 Answers 92 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Amit Kothari
Top achievements
Rank 1
Amit Kothari asked on 11 Nov 2011, 11:06 AM
Hi,

I am creating a website, which needs to have the controls formatting and other stuff get loaded dynamically.Do the telerik control support this feature, out of the box.
Or alternatively do it have the options of creating some XML/XSL files from the controls layout, and loading from the same files to build the UI.

I have find the same utility in Dev-Ex controls for windows application, and was curious if the same is with telerik then it will encourage me to have your product on-board with us.


Thanks

10 Answers, 1 is accepted

Sort by
0
Nikhil
Top achievements
Rank 1
answered on 14 Nov 2011, 05:05 AM
Hi,


I am looking for the same feature in telerik controls which give me inner xml of the layout control and i can use that xml for creating same UI dynamically again and again.


Thanks.
0
Ashish
Top achievements
Rank 1
answered on 14 Nov 2011, 05:18 AM
Hi
I  saw this feature in devEx controls but i think it is missing in telerik controls.
so if you want to competite with them you must provide this feature, if it is already available then plz let me know.



Thanks
0
Prangadj
Top achievements
Rank 1
answered on 14 Nov 2011, 12:20 PM
Folks, all telerik controls can instantiate programmatically in code behind as other .NET server controls. If you want to use XML and recreate from there, use page.parsecontrol method of the framework with xsl transform. I know this demo of the grid which does it, should be same with other Telerik controls.

-Prangadj
0
Amit Kothari
Top achievements
Rank 1
answered on 14 Nov 2011, 01:08 PM
Prangadj, Thanks for the information, however I have already seen that and my requirement is little bit different.
I need to have a mechanism in which the Layout of any control in my page gets created automatically [By some generic code] and I can be able to save the xml and can use the same by loading controls as and when required.
I will be having one page, which could have many different fields and the layout of the same will differ as per the conditions.
So this will not be the needful

Ashish, Yes this feature is readily available in DevEx for Win-forms.
But im not sure on Web control.
Can you please specify on this??


Thanks


0
Amit Kothari
Top achievements
Rank 1
answered on 14 Nov 2011, 01:08 PM
Prangadj, Thanks for the information, however I have already seen that and my requirement is little bit different.
I need to have a mechanism in which the Layout of any control in my page gets created automatically [By some generic code] and I can be able to save the xml and can use the same by loading controls as and when required.
I will be having one page, which could have many different fields and the layout of the same will differ as per the conditions.
So this will not be the needful

Ashish, Yes this feature is readily available in DevEx for Win-forms.
But im not sure on Web control.
Can you please specify on this??


Thanks


0
Stuart Hemming
Top achievements
Rank 2
answered on 15 Nov 2011, 09:44 AM
Guys,

This is very doable.

In my last position I wrote a suite that took the XML output from a 3rd-party COM application and generated forms, some of them multi-page forms, on the fly.

This was a couple of years back and the client requirement meant that I only needed to use RadInput, RadCalendar and RadGrid, but as @Prangadj has already said, there is no reason you can't do this for any of the controls.

My suite, which unfortunately is proprietary code of my ex-employer, allowed for the inclusion of multiple grids on a page with pre-selected column ordering and sorting and also for user-specific grid defaults (visible columns, grouping and sorting).

OK. That was the long answer.

The short answer is yes.

-- 
Stuart
0
Ashish
Top achievements
Rank 1
answered on 15 Nov 2011, 10:19 AM
Hi stuart,

As you said , i also agreed with you that it is doable but i want to know is there any feature of telerik controls through which i could generate the inner xml for layout of telerik controls because it would not be possible for me to write any suite to generate xml for more than of hundres of pages.

I appretiate your reply.

Thanks
0
Nikhil
Top achievements
Rank 1
answered on 15 Nov 2011, 10:34 AM
Hi Prangadj


Thanks for the link but that is not what i want. I will like to explain what i exactly want. Currently we have DevExpress controls which allow me to get the inner xml of layout controls and we use the same(xml) for recreation of layout dynamically.
I want the same feature in telerik controls, if this feature will be there in telerik controls then i can urge my company's seniors to buy telerik controls. Personally, i like telerik controls.

Waiting for your reply.

Thanks in Advance.
0
Prangadj
Top achievements
Rank 1
answered on 15 Nov 2011, 12:32 PM
Some of telerik controls have direct xml import feature, as ribbon and org chart. For others you can use what I said before, page.parsecontrol + xsl transform. Try it.

-Prangadj

0
Amit Kothari
Top achievements
Rank 1
answered on 22 Nov 2011, 08:50 AM
Ok, the term is Data Driven site...
We need to create few screens dynamically.
Hope this clarify further!
Tags
General Discussions
Asked by
Amit Kothari
Top achievements
Rank 1
Answers by
Nikhil
Top achievements
Rank 1
Ashish
Top achievements
Rank 1
Prangadj
Top achievements
Rank 1
Amit Kothari
Top achievements
Rank 1
Stuart Hemming
Top achievements
Rank 2
Share this question
or