TabStrip Demo - Application Scenario "Wizard"

2 posts, 0 answers
  1. GISWebDev
    GISWebDev avatar
    11 posts
    Member since:
    Feb 2008

    Posted 18 May 2010 Link to this post

    Hi,

    I have customized the wizard to the extent of merely changing the text and .css design and embedding the page in a masterpage.  I'm getting the following common error... "Object reference not set to an instance of an object." ... when I click the next button in the first control:

    <asp:Button runat="server" ID="nextButton" Text="Next" OnClick="nextButton_Click" 
        CssClass="nextButton" PostBackUrl="wizard.aspx" /> 

    The line of code it's hanging on is the first label update in the Preview section.

    Label 
    titleLabelPreview = (Label)previewControl.FindControl("titleLabel"); 

    Would this be related to changes I have ignored after using a masterpage?


  2. Yana
    Admin
    Yana avatar
    5030 posts

    Posted 20 May 2010 Link to this post

    Hi Ripsin,

    I guess that it should be like this:

    Dim previewControl As Control = Page.Master.FindControl("previewControl")
    Label titleLabelPreview = (Label)previewControl.FindControl("titleLabel");


    Best 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.
Back to Top