Web Control Style

If we are deploying the survey control using the Web Control Deployment we can customize the style by change the itemstyle attributes on the provided ASP.net survey control code .

Feedback Server offers us a great flexibility as it allows us to change almost any part of the control's design :
  • <QuestionStyle>
  • <QuestionValidationMessageStyle>
  • <QuestionValidationMarkStyle>
  • <ConfirmationMessageStyle>
  • <SectionOptionStyle>
  • <SectionGridAnswersItemStyle>
  • <SectionGridAnswersAlternatingItemStyle>
  • <SectionGridAnswersStyle>
  • <SectionGridAnswersHeaderStyle>
  • <ButtonStyle>
  • <AnswerStyle>
  • <MatrixStyle>
  • <MatrixHeaderStyle>
  • <MatrixItemStyle>
  • <MatrixAlternatingItemStyle>
  • <FootStyle>


How To Apply A CSS
If we have already some pre-made CSS we can also apply them to the style items in the following way.

Suppose that we have a CSS style like :

.myQuestionCSS
{
 background-color: #003F51;
 color : #C0FAFF;
 font-family: Arial, Verdana, sans-serif;
 font-size:x-small;
}

We would apply it to any of the style items listed above like this :

<QuestionStyle CssClass="myQuestionCSS">
</QuestionStyle>

 



Related Topics
Style Introduction
Style Editor



©2006 Data Illusion. All Rights Reserved.