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

[Solved] Render method

2 Answers 96 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.
Varghese
Top achievements
Rank 1
Varghese asked on 09 Sep 2011, 01:24 PM
In asp.net web forms, it is not necessary to call the Render method to display a user or custom control. The Telerik mvc extensions support a method called Render(). I can display the Telerik control without making the Render() call explicitly. Where is it necessary to use this method Render()?

2 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 09 Sep 2011, 01:38 PM
Hi Varghese,

 The Render() method is required when you need to nest Telerik Extensions - for example when you need to use a grid inside a tabstrip or when you need to nest html extensions which cannot be rendered using @() such as Html.Form.

In most other cases this is not required. For example the following are equivalent:

@(Html.Telerik().Window())

@ { Html.Telerik().Window().Render() ; }


Regards,
Atanas Korchev
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Varghese
Top achievements
Rank 1
answered on 09 Sep 2011, 10:24 PM
Thank you. To me it is a limitation.
Tags
Grid
Asked by
Varghese
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Varghese
Top achievements
Rank 1
Share this question
or