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

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

5 Answers 105 Views
DropDownTree
This is a migrated thread and some comments may be shown as answers.
Erik
Top achievements
Rank 2
Erik asked on 06 Jun 2014, 09:48 AM
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

5 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 06 Jun 2014, 11:06 AM
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.
0
Erik
Top achievements
Rank 2
answered on 11 Jun 2014, 11:07 AM
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
0
Peter Filipov
Telerik team
answered on 16 Jun 2014, 10:31 AM
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.

 
0
Andrea
Top achievements
Rank 2
Iron
answered on 25 May 2017, 02:21 PM

Hi,

this bug is been fixed? If yes (I hope because it is 3 years ago) from what version?

 

Regards.

0
Vessy
Telerik team
answered on 30 May 2017, 01:31 PM
Hi Andrea,

I am afraid that this issue has not been resolved due to the low demand on its impovement. You can find details on the way we are prioritizing our bug backlog here:
http://docs.telerik.com/devtools/aspnet-ajax/licensing/old-versions-support-policy#bug-fixes

As per your request for this item, I have increased its priority and created a public item for it, so you can vote on its implementation in order to increase its priority even more here:
https://feedback.telerik.com/Project/108/Feedback/Details/217772

Regards,
Vessy
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
DropDownTree
Asked by
Erik
Top achievements
Rank 2
Answers by
Shinu
Top achievements
Rank 2
Erik
Top achievements
Rank 2
Peter Filipov
Telerik team
Andrea
Top achievements
Rank 2
Iron
Vessy
Telerik team
Share this question
or