Odd behavior with LinkButton controls in a RadPageView.

2 posts, 0 answers
  1. Sandra Walters
    Sandra Walters avatar
    30 posts
    Member since:
    Dec 2005

    Posted 29 Jan 2010 Link to this post

    Hello all.  I'm having a problem with some quirky behavior in a RadPageView.

    My page has a single RadMultiPage control, with no RadTabStrip.  The multipage is used to display a 'wizard'-like series of forms to the user.  I've placed some LinkButton controls at the bottom of each RadPageView for the user to proceed, go back, print a report, and so on.

    The LinkButton controls work just fine if the form loads with the RadMultiPage control's attribute SelectedIndex set to 0.  However, I need to be able to programmatically redirect to a different RadPageView on page load, depending on where the user came from.  To accomplish this, I'm passing some parameters in the URL when the app loads this page in order to determine where to start within the wizard.  In the Page_Load() event, I look at the URL parameter and, if necessary, set the RadMultiPage's SelectedIndex to the second RadPageView.

    This works great, the page loads with the second RadPageView displayed, everything's fine, except.... my LinkButtons no longer work.  The LinkButton controls at the bottom of the RadPageView no longer appear to trigger a postback.  I've tried using the OnCommand() event, I've tried switching to the OnClick() event, doesn't make a difference.  I've also tried moving where the RadMultiPage's SelectedIndex gets set - moved it to the RadMultiPage OnInit event and OnPreRender event with no change in behavior.

    Am I overlooking something obvious? 
  2. Yana
    Admin
    Yana avatar
    5032 posts

    Posted 03 Feb 2010 Link to this post

    Hello Sandra,

    Could you  please open a support ticket and send us a simple runnable page demonstrating the issue there? Thanks a lot

    Best wishes,
    Yana
    the Telerik team

    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
    Follow the status of features or bugs in PITS and vote for them to affect their priority.
Back to Top