Hi folks,
Is there a way for the calculator control to be permanently 'dropped down'? I want to be have a control on a form so it can be dragged around the screen. and have it permanently anchored to the form it is on.
Thanks folks.
Hello,
i've got a short question. Is there a build in way to set the PageSize dynamically so that the number of rows displayed will be calculated in relation to the grid height?
If not i think i will implement it in SizeChanged event. Any suggestions or experiences for that?
Best Regards,
Yves
' Cells
dataProvider.AggregateDescriptions.Add(
New
PropertyAggregateDescription()
With
{ _
.PropertyName =
"IVResp"
, _
.AggregateFunction = AggregateFunctions.Count, _
.TotalFormat =
New
PercentOfColumnTotal(), .CustomName =
"Percentage of Responses"
, .StringFormat =
"#0.0"
_
})
How can load documents with password Protected using pdf viewer.
I'm trying Telerik UI for WinForms and i have an application which should open Password Protected PDF. How can i do that ?
Thanks
public class CustomGroupHeaderCell : GridGroupContentCellElement
{
public event EventHandler MeCheckChanged;
private RadCheckBoxElement checkbox;
public CustomGroupHeaderCell(GridViewColumn column, GridRowElement row)
: base(column, row)
{ }
protected override void CreateChildElements()
{
base.CreateChildElements();
checkbox = new RadCheckBoxElement();
checkbox.MinSize = new System.Drawing.Size(5, 5);
checkbox.ToggleStateChanged += new StateChangedEventHandler(checkbox_ToggleStateChanged);
Children.Insert(0,checkbox);
ApplyThemeToElement(checkbox, "Bruder");
}
private void checkbox_ToggleStateChanged(object sender, StateChangedEventArgs args)
{
if (MeCheckChanged != null)
MeCheckChanged(this, null);
}
protected override System.Drawing.SizeF ArrangeOverride(System.Drawing.SizeF finalSize)
{
SizeF size = base.ArrangeOverride(finalSize);
RectangleF rect = GetClientRectangle(finalSize);
if (this.checkbox != null)
this.checkbox.Arrange(new RectangleF(rect.Right - this.checkbox.DesiredSize.Width - 5,
rect.Top + (rect.Height - this.checkbox.DesiredSize.Height) / 2,
this.checkbox.DesiredSize.Width,
this.checkbox.DesiredSize.Height));
return size;
}
private void ApplyThemeToElement(RadItem item, string themeName)
{
try
{
if (item.ElementTree == null) return;
DefaultStyleBuilder builder = ThemeResolutionService.GetStyleSheetBuilder(
(RadControl)item.ElementTree.Control,
item.GetThemeEffectiveType().FullName,
string.Empty, themeName) as DefaultStyleBuilder;
if (builder != null)
item.Style = builder.Style;
}
catch (Exception ex)
{ }
}
}
}
Dear members,
i have 3 grids on 3 forms, but just one gridview is directly visible for the end user, because the other forms are on seperate monitors away from the pc users view.
What i want is, that a condtional rules that is defined for the main grid will be copied to the both others.
Is this supported and if not can i bind for example the rowbackcolor to a my.settings.value?
i have used
Dim obj = New ConditionalFormattingObject("MyCondition", ConditionTypes.Startswtih, "1 -", "", True)
obj.CellForeColor = Color.Red
obj.RowBackColor = my.settings.fcDIV1
Me.RadGridView1.Columns("Name").ConditionalFormattingObjectList.Add(obj)​
but i have gotten a null reference exception.
Kind regards
Martin
Hello,
is there a way to have the RadProgressbarElement show a gradient that only uses part of the defined color range depending on the actual progress (eg. at 50% only BackColor1->BackColor2, at 75% BackColor1->BackColor3, at 100% BackColor1->BackColor4)?
Kind regards,
Andreas