We are developing an asp.net webpart that will be integrated in sharepoint site.
The webpart consists of a RadAjaxPanel that contains RadFormDecorator control, a checkboxlist control inside div, buttons, textboxes etc.
Below is the code markup.
RadAjaxPanel panel =
new RadAjaxPanel();
panel.ID =
"panel1";
RadFormDecorator formDeco = new RadFormDecorator();
formDeco.ID =
"radFormDeco";
formDeco.DecoratedControls =
FormDecoratorDecoratedControls.All;
formDeco.Skin = "Vista";
panel.Controls.Add(formDeco);
HtmlGenericControl
divChkBoxList = new HtmlGenericControl("div");
divChkBoxList.ID =
"divChkBoxList";
divChkBoxList.Attributes[
"style"] = "height: 140px; width: 255px; padding-left:10px; overflow:auto; border-style:none; background-color:Window";
chkBoxList =
new CheckBoxList();
chkBoxList.ID =
"chkBoxList";
chkBoxList.RepeatLayout =
RepeatLayout.Flow;
chkBoxList.Attributes[
"style"] = "height:100px;width:200px";
chkBoxList.DataSource = list_endUser;
chkBoxList.DataBind();
divChkBoxList.Controls.Add(chkBoxList);
panel.Controls.Add(divChkBoxList);Button
btnCancel = new Button();
btnCancel.Text =
"Cancel";
panel.Controls.Add(btnCancel);
The issues I am facing are:
1) As, I have chosen the "Vista" skin in RadFormDecorator, when I mousehover on a checkbox in the checkboxlist, the color of the checkbox should change to blue, which is not happening.
2) When I mousehover on the button control, the background color of button changes to blue but, the text on the button control displaces from its position.
Please reply asap, why are these issues happening at my end.
With Regards,
Shikha