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

No RadPageViewCollection clear() function?

1 Answer 38 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Albert Shenker asked on 17 Jan 2018, 04:23 PM
Its 2018. Why is there no client-side .clear() function on the RadPageViewCollection?

1 Answer, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 19 Jan 2018, 02:13 PM

Hi Albert,

The main reason is that this is a server side collection and clearing it on the client-side is not possible. Even if we did store some sort of a flag to execute a .Controls.Clear(), that is likely to cause a ton of errors in the application logic and even in parsing the POST data, and thus, we cannot implement it.

On the other hand, you can always manipulate the DOM and clean out the HTML elements with JavaScript if you like.

Regards,

Marin Bratanov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
TabStrip
Asked by
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
Answers by
Marin Bratanov
Telerik team
Share this question
or