<
telerik:RadComboBox
ID
=
"RiskCriteriaRadComboBox"
Runat
=
"server"
DataSourceID
=
"RiskCriteriaDefs"
DataTextField
=
"RiskCriteria"
DataValueField
=
"RiskCriteria"
DropDownWidth
=
"400px"
SelectedValue='<%# Bind("RiskCriteria") %>'
Width="140px">
<
HeaderTemplate
>
<
table
text-align:left"="">
<
tr
>
<
td
style
=
"width:100px;"
>
Criteria</
td
>
<
td
style
=
"width:300px;"
>
Definition</
td
>
</
tr
>
</
table
>
</
HeaderTemplate
>
<
ItemTemplate
>
<
table
text-align:left"="">
<
tr
>
<
td
style
=
"width:100px;"
>
<%#DataBinder.Eval(Container.DataItem, "RiskCriteria")%>
</
td
>
<
td
style
=
"width:300px;"
>
<%#DataBinder.Eval(Container.DataItem, "Definition")%>
</
td
>
</
tr
>
</
table
>
</
ItemTemplate
>
</
telerik:RadComboBox
>
Hello,
We are experiencing a problem where the EditFormSettings modal popup is not being rendered the correct height. The contents of the form is a usercontrol that renders available actions based on the grid item you have chosen to edit. What seems to be happening is that the modal popup window's height is being rendered before the user control finishes its calculation of which actions to display. We have tried calculating the actions on the Init event but that doesn't seem to work.
This is only a problem on the first load of the page after your browser history has been cleared, or if you are visiting the page for the first time.
Other things to note is that our actions and grid are separate user controls. I have attached a screenshot of what the problem looks like.
Thank you,
Tzvetan Devnaliev
private void AddSpecialDay(List<RadCalendarDay> SpecialDays, DateTime Date)
{
RadCalendarDay specialDay = new RadCalendarDay();
specialDay.Date = Date;
specialDay.ItemStyle.BackColor = Color.Red; \\ For example - Actual values are from the DB
specialDay.ItemStyle.BorderColor = Color.Blue;
specialDay.ItemStyle.ForeColor = Color.Yellow;
specialDay.ToolTip = "TEST";
SpecialDays.Add(specialDay);
}
However I cannot get the ForeColor changes to take effect.
Has anyone any advice on how I can get this to work?
Thanks
Andrew