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

TabStrip Demo - Application Scenario "Wizard"

1 Answer 35 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
GISWebDev
Top achievements
Rank 2
GISWebDev asked on 18 May 2010, 05:28 AM
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?


1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 20 May 2010, 01:12 PM
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.
Tags
TabStrip
Asked by
GISWebDev
Top achievements
Rank 2
Answers by
Yana
Telerik team
Share this question
or