Can the RadBook contain input controls?

3 posts, 0 answers
  1. Stefan Buys
    Stefan Buys avatar
    22 posts
    Member since:
    Dec 2009

    Posted 01 Dec 2009 Link to this post

    Hi,

    I would like to utilize the RadBook control in the form a sequential questionnaire. This means that I need to display a Label for a question, RadioButtons for the rating and a TextBox for a general comment. The user must be able to flip through the pages and complete the questions listed on each page. Below is a sample of what I am attempting to achieve:

    <telerikNavigation:RadBook Margin="10" FoldSize="100,100" Opacity="0.80" BorderThickness="0" BorderBrush="{x:Null}" ShadowsVisibility="Collapsed"
        <telerikNavigation:RadBookItem Background="#FFDEDEDE"
            <StackPanel Margin="5" Orientation="Vertical" VerticalAlignment="Center"
                <StackPanel Margin="3" Orientation="Vertical"
                    <TextBlock x:Name="txbQuestionQuality" Text="Dealing with Swisttech, which of the following best describes the quality of customer service you have received:" TextWrapping="Wrap" Foreground="#FFDE0000"/> 
                    <StackPanel Margin="5" Orientation="Vertical"
                        <RadioButton x:Name="rbQualityVeryPoor" GroupName="Quality" Content="Very Poor" ClickMode="Press" /> 
                        <RadioButton x:Name="rbQualitySomewhatSatisfactory" GroupName="Quality" Content="Somewhat Satisfactory" ClickMode="Press" /> 
                        <RadioButton x:Name="rbQualityAverage" GroupName="Quality" Content="Average" ClickMode="Press" /> 
                        <RadioButton x:Name="rbQualityVerySatisfactory" GroupName="Quality" Content="Very Satisfactory" ClickMode="Press" /> 
                        <RadioButton x:Name="rbQualitySuperior" GroupName="Quality" Content="Superior" ClickMode="Press" /> 
                    </StackPanel>                         
                    <TextBox x:Name="txtQualityComment" Height="40" IsReadOnly="False" IsEnabled="True" VerticalScrollBarVisibility="Auto" Cursor="IBeam" Text="abc"/> 
                    <Path Fill="Black" Stretch="Fill" Stroke="Black" StrokeThickness="1" Height="2" Margin="0, 5, 0, 5" UseLayoutRounding="False" Data="M18.666668,142 L238.68282,142"/> 
                </StackPanel> 
            </StackPanel> 
        </telerikNavigation:RadBookItem> 
    </telerikNavigation:RadBook> 

    The problem I have at the moment is that the input controls such as the TextBox is not allowing the User to enter anything. Almost as though it is stuck in read-only mode. The same happened with the RadioButtons, until I figured out that I need to set the ClickMode="Press" in order for it to capture user input. Was the RadBook designed to work with input controls? If so, what exactly am I doing wrong here? Any advise would be greatly appreciated.
  2. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 01 Dec 2009 Link to this post

    Hello Stefan Buys,

    This was a bug in the official release. We fixed it and you can download the latest internal release from your account.

    Please let us know if you have any other questions.

    All the best,
    Valentin.Stoychev
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. DevCraft banner
  4. Michael Hamilton
    Michael Hamilton avatar
    1 posts
    Member since:
    Sep 2009

    Posted 01 Dec 2009 Link to this post

    Hi,

    Thank you for the swift reply. I have downloaded the latest build and extract the updated libraries. It works!

    Stefan
Back to Top