why the background-color remains the same although another line was selected.
this only applies if foreColor is changed.
if (Convert.ToDateTime(cell.Value.ToString()) != Convert.ToDateTime(e.Row.Cells[ColumnTitle.GridOperation.Liefertermin].Value.ToString())) {
cell.NumberOfColors = 1;
cell.DrawFill = true;
cell.ForeColor = ColorDeltaLieferterminAbteilungstermin.FColor;
cell.Font = new Font(DefaultFont, FontStyle.Bold);
} else {
cell.Image = null;
cell.DrawFill = false;
cell.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
cell.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local);
cell.ResetValue(LightVisualElement.NumberOfColorsProperty, ValueResetFlags.Local);
cell.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
}
thanks andre
I've done some searching but was unable to find anything to help my specific case. I am using an AutoCompleteEditor class to enable drop down textboxes on my grid view, but I want to limit the token to 1 min and max. How can I do this? You may ask why I am using this instead of a ComboBoxColumn. The answer is: I have been instructed to not show any drop down arrows.
Here is the class that I've taken from forums:
class AutoCompleteEditor : RadTextBoxControlEditor
{
protected override Telerik.WinControls.RadElement CreateEditorElement()
{
return new RadAutoCompleteBoxElement();
}
public override void OnKeyDown(System.Windows.Forms.KeyEventArgs e)
{
RadAutoCompleteBoxElement element = this.EditorElement as RadAutoCompleteBoxElement;
if (element.IsAutoCompleteDropDownOpen)
{
return;
}
base.OnKeyDown(e);
}
}
I am trying to validate data entered into the cell, but it looks like end users are able to select multiple values. I want to completely disable this ability and allow only a single value to be selected.
It would be much simpler to use a regular ComboBoxColumn, but I am unable to convince decision makers other wise.
Hello everyone,
I've built an application using winforms (c++) and Telerik and when i run it from the computer i made it on, it works with no problems. However once i copy it over to my laptop, the .exe file simply won't run. No error messages, it just doesn't open. I have tried it on another computer and got the exact same problem.
I followed the guide here: https://docs.telerik.com/devtools/winforms/deployment-and-distribution/application-deployment
All the .dll files are in the same folder as the .exe and yet it still does not work. Has anyone had this problem before and would they be able to help me fix this please?
Thank you!
I have a control RadMultiColumn Control on my form as you can see here its showing Telerik.WinControls.UI.GridViewDataRowInfo in the text box however when selecting the option it then throws a null statement.
dpStockSelection.DataSource = _sageManager.ProductFetchAll();
public
List<Product> ProductFetchAll()
{
if
(!IsConnected)
throw
new
Exception(
"Not connected to Sage"
);
List<Product> products =
new
List<Product>();
SageDataObject230.IStockRecord sageStockRecord = (SageDataObject230.IStockRecord)_workSpace.CreateObject(
"StockRecord"
);
try
{
if
(sageStockRecord.MoveFirst())
{
do
{
products.Add(CreateProduct(sageStockRecord));
}
while
(sageStockRecord.MoveNext());
}
}
finally
{
sageStockRecord =
null
;
}
return
products;
}
I am using Q1 2008 Winforms.
There is radgridview named 'gv'. gv is filling with some manipulated data. I can filter by clicking and selecting some values. I want to filter wiht my own buttons. Basicially i created filter like this:(c#)
01.
private
void
btFilter3_Click(
object
sender, EventArgs e)
02.
{
03.
gridTest.EnableFiltering =
true
;
04.
this
.gridTest.FilterDescriptors.Remove(
"IssueDate"
);
05.
FilterDescriptor filter =
new
FilterDescriptor();
06.
filter.PropertyName =
"IssueDate"
;
07.
filter.Operator = FilterOperator.IsGreaterThan;
08.
filter.Value = DateTime.Now.AddMonths(-5);
09.
filter.IsFilterEditor =
true
;
10.
this
.gridTest.FilterDescriptors.Add(filter);
11.
}
By clicking the button code is running. On Screen; the date value (what i described above) is appearing on filter area. But data on the gv isn't filtering.
When i filter with another value(date) manually, gv is filtering. After that manually process when run code by clicking the button, code is running and data on the gv is filtering also.
I need filter without manually process.
What am i missing?
Hi everyone,
when a radmessagebox pops up , its not exactly on the center of screen .
How to align it to the center of screen?
I don't see an object called RadGridLocalizationProvider anywhere.
Is the RadGridLocalizationProvider an object encapsulated by the grid?