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

PageView client-events ?

3 Answers 51 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
MB
Top achievements
Rank 1
MB asked on 21 Apr 2012, 12:00 AM
Are there any client events on the PageView (or event MultiPage) control that I can subscribe to with jQuery ?

Specifically, I would like to be able to subscribe to an event that lets me know the selected pageview is about to be shown, so that I can make some adjustments to the content - analogous to the RadWindow "beforeShow" event.

I know that the default answer is probably to use one of the tabSelect events, but that is not quite what I require.

3 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 24 Apr 2012, 09:59 AM
Hi,

The RadMultiPage does not have client-side events to which you could subscribe. The RadPageViews are div elements which when hidden have display:none style applied, and when showed it's changed to display:block.

Regards,
Dimitar Terziev
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.
0
MB
Top achievements
Rank 1
answered on 24 Apr 2012, 11:18 PM
Ok, thanks for that.

I realise that the PageView is just shown/hidden by changing the display style (so there is no native event to easily bind to)  but equally obvious is that some client-side logic makes that change, meaning that there is potential (for Telerik) to create a cancellable custom event at the code which manages it.

It would certainly be useful for my application (I have a timing issue to manage - which Tab-OnSelecting/Selected doesn't solve) - and might be of use to others ?
0
Dimitar Terziev
Telerik team
answered on 27 Apr 2012, 11:26 AM
Hi,

Thank you for your feedback, I shall forward your request to our development team.

Greetings,
Dimitar Terziev
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.
Tags
TabStrip
Asked by
MB
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
MB
Top achievements
Rank 1
Share this question
or