i have a radpanelbar bind with datasource during pageload. when i click on the item, the screen auto refresh again.
how do i prevent the page from reload/refresh after clicked?
appreciate any inputs. thanks!
regards,
Richard
3 Answers, 1 is accepted
0
Kate
Telerik team
answered on 20 May 2013, 08:41 AM
Hi Richard,
Thank you for contacting us.
In general a clicking of the RadPanelItem should not cause a postback of the page unless you attach the OnItemClick server side event. Can you please provide more details on your scenario or a very simplified runnable page so I can get the behavior that you have from my side? Thus I can inspect it locally and help you out in the most effective way.
Thank you in advance for your cooperation.
Kind regards,
Kate
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Even I am having the same issue, where rad panel bar has "OnItemClick" server side event.Is there any way to stop the post back on it item click.Please help on this.
Regard,
Sandhya.
0
Ivan Danchev
Telerik team
answered on 09 Dec 2015, 07:31 AM
Hello Sandhya,
If you don't want clicking on the PanelBar's items to initiate a postback do not subscribe to the server-side OnItemClick event. You can subscribe to the OnClientItemClicking and OnClientItemClicked client-side events:
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 Feedback Portal
and vote to affect the priority of the items