No RadPageViewCollection clear() function?

2 posts, 0 answers
  1. Albert Shenker
    Albert Shenker avatar
    579 posts
    Member since:
    Mar 2004

    Posted 17 Jan 2018 Link to this post

    Its 2018. Why is there no client-side .clear() function on the RadPageViewCollection?
  2. Marin Bratanov
    Admin
    Marin Bratanov avatar
    4712 posts

    Posted 19 Jan 2018 Link to this post

    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.
Back to Top