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

Can't get Editor Content in Wizard Control

2 Answers 68 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Chase Florell
Top achievements
Rank 1
Chase Florell asked on 21 Oct 2008, 01:05 AM

Ok, so this seems like a pretty normal operation, but my label is not getting populated with the RadEditor.Content .. why would this be?

I am using a wizard control and in the second to last WizardStep (Step5) I have 6 small RadEditors.

Then I run the following

Protected Sub WizardStep6_Load(ByVal sender As ObjectByVal e As System.EventArgs) Handles WizardStep6.Load  
 
        'Descriptions from Editor  
 
        lblDetails69.Text = txtBusinessDescription.Content  
        lblDetails70.Text = txtMarketDescription.Content  
        lblDetails71.Text = txtFinancialDescription.Content  
        lblDetails72.Text = txtIncluded.Content  
        lblDetails73.Text = txtReasonForSale.Content  
        lblDetails74.Text = txtOtherInfo.Content  
 
    End Sub 

But the details labels do not get populated with any content... does anyone have an answer?

2 Answers, 1 is accepted

Sort by
0
George
Telerik team
answered on 21 Oct 2008, 10:49 AM
Hi Chase,

I tested the scenario locally and everything worked fine on my side - please find attached a sample video that demonstrates my test. Could you please open a support ticket and send us a sample runnable project where the problem can be observed? We will examine it locally and do our best to provide a solution.


Best wishes,
George
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Chase Florell
Top achievements
Rank 1
answered on 21 Oct 2008, 08:15 PM
Though I am still struggling with this, it turns out it has nothing to do with Telerik.  My Wizard is inside a UserControl that is dynamically loaded into an aspx page.

If I add an additional step to the Wizard, or go "previous/next" on the last page, the information is there.  It has something to do with the dynamic usercontrol not passing the information on the first postback but working on the second postback.

I could hardcode the UserControl into the ASPX page (which works fine), however that would defeat the purpose of using the UserControl in the first place.



PS: the Test Video's as EXE's totally sucks... is there no way you can just upload the AVI's in the future?  Thanks.
Tags
Editor
Asked by
Chase Florell
Top achievements
Rank 1
Answers by
George
Telerik team
Chase Florell
Top achievements
Rank 1
Share this question
or