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

Problem with RadToolbar with Event Bubbling

2 Answers 49 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Noha
Top achievements
Rank 1
Noha asked on 29 Sep 2010, 10:57 AM
Dear Telerik Team

I have used the Rad Toolbar in a user control file.

and I dragged this user control on my Web Form page to use it.

I handle the events of Rad Toolbar items in my web form page (Event Bubbling).

When I run my application, the problem that I faced is when clicking any item in Rad Toolbar ----> No Post Back happened !!!!

and so My event handlers cannot run !!

so, What is the problem ? and How I can solve it ???

Best Regards

2 Answers, 1 is accepted

Sort by
0
Cori
Top achievements
Rank 2
answered on 29 Sep 2010, 08:53 PM
Hello Noha,

I've noticed that the RadToolBar has an AutoPostback property. Have you tried setting that to true?

Perhaps that is the issue. Although, the button's should postback regardless if it's set or not, at least it has for me.

The only other thing I can think off is that their is a problem with your event bubbling code. If my first suggestion doesn't work, perhaps you can show us a snippet of how you're raising the events in your user control.

I hope that helps.
0
Noha
Top achievements
Rank 1
answered on 30 Sep 2010, 08:25 AM
Dear Cori

Thank you so much for your help..

I tried your suggestion outside my application and it works well !

It seems that I have a conflict problem in my application, I'll try again ..

I'll get back to tell u the result sooon

Best Regards
Tags
ToolBar
Asked by
Noha
Top achievements
Rank 1
Answers by
Cori
Top achievements
Rank 2
Noha
Top achievements
Rank 1
Share this question
or