Event EntryRemoved not fired when clicking the clearbutton with AutoPostBack="true"

4 posts, 0 answers
  1. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 06 Jun 2014 Link to this post

    Hello,

    Today I noticed that when you have AutoPostBack="true", and clicking the clear button, no postback is done at all. I think it would be logical to have a postback to EntryRemoved with an entries collection count of 0?

    anyway, There is a client side event, but how can I generate a postback to the RadDropDownTree EntryRemoved ?


    Tanks in advance,

    Erik
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 06 Jun 2014 in reply to Erik Link to this post

    Hi Erik,

    You can explicitly call a postback in the OnClientEntryRemoved event as follows.

    JavaScript:
    function OnClientEntryRemoved(sender, args) {
        __doPostBack();
    }

    Please elaborate your requirement if it doesn't help.
    Thanks,
    Shinu.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Erik
    Erik avatar
    314 posts
    Member since:
    Feb 2008

    Posted 11 Jun 2014 in reply to Erik Link to this post

    Hi Shinu,

    I did not mean this;

    When clicking the "Clear" button, no postback is done at all, even when AutoPostBack="true". Selecting an item will call the server events 'EntryRemoved' and 'EntryAdded', when clicking the "Clear" button, no postback is done at all, but it is a 'EntryRemoved' event.

    There is a clientSide event called 'OnClientClearButtonClicked', but there is no server side event for it and the postback is not done at all when clicking the "Clear" button.

    Erik
  5. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 16 Jun 2014 Link to this post

    Hello Erik,

    I have logged the issue in our internal system and we will implement it as soon as we could.

    Regards,
    Peter Filipov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top