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

Postback not firing

3 Answers 83 Views
ListBox
This is a migrated thread and some comments may be shown as answers.
Tommy
Top achievements
Rank 1
Tommy asked on 18 Oct 2010, 03:17 PM
Hi,

I have a problem. I have a server side event lstbox_profiles_Deleting and when I delete one item the event is not firing
My client code looks like this:

 

 

<telerik:RadListBox runat="server" ID="profiles" Width="500px" Height="600px" OnDeleting="lstbox_profiles_Deleting" AutoPostBack="true"

 

 

 

AllowReorder="True" Skin="Office2007" AllowDelete="True">

 

 

 

<Items>

 

 

 

<telerik:RadListBoxItem Text="Birthday present for Emily" />

 

 

 

<telerik:RadListBoxItem Text="Birthday present for Emily" />

 

 

 

</Items>

 

 

 

</telerik:RadListBox>

 


Thanks for your help.

3 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 18 Oct 2010, 08:57 PM
Hello Tommy,

I believe you have to set AutoPostBackOnDelete="true" for it to work.

I hope that helps.
0
Tommy
Top achievements
Rank 1
answered on 18 Oct 2010, 09:14 PM
Hi,

no, sorry. That didn't work...
0
Yana
Telerik team
answered on 21 Oct 2010, 04:23 PM
Hi Tommy,

I couldn't reproduced this issue - the event is fired without a problem, you can check this online demo.

Kind regards,
Yana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
ListBox
Asked by
Tommy
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Tommy
Top achievements
Rank 1
Yana
Telerik team
Share this question
or