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:
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.
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.