Hi,
I am trying to open form maximized depending on DPI settings.
Unfortunately when I try to do that from code-behind (this is Windows Desktop application) I do not have WindowState available.
Form that I use is RadRibbonForm.
Is it possible to set from code how form will be opened?
Thanks,
Oliver
racSchTechs.AutoCompleteDataSource = datatable;
racSchTechs.AutoCompleteDisplayMember =
"Name_Full"
;
racSchTechs.AutoCompleteValueMember =
"id_lanid"
;
Hi,
I have set the EnableAlternatingRowColor property in my master template to true, and to false for the gid child template. However its seems the grid obeys only the master template setting across all children templates.
Is it possible to set a child template EnableAlternatingRowColor property different from the master template at all?
Regards,
George
Hello,
I have a small form with an editable grid on it (databound to an ORM entity), and although I allow the users to edit most of the columns in a giving row, I would like to lock a few columns on the new row (when they click on "Click here to add a new row"). I have been trying to use gridview_CellFormatting, but I can't seem to figure out how to identify whether or not the column in context belongs to the new row (being created) or an already existing one on the grid.
Any help would be truly appreciated.
Thanks!
I used the Grid in the Telerik samples for WinUI C:\Program Files (x86)\Telerik\UI for WinForms Q1 2015\Examples\QuickStart\GridView\Rows\AddNewRow\Form1.cs and added the following code to get the UnitPrice in a blue font:
public Form1()
{
...
this.radGridView1.CellFormatting += new CellFormattingEventHandler(radGridView1_CellFormatting);
}
void radGridView1_CellFormatting(object sender, CellFormattingEventArgs e)
{
GridDataCellElement dataCell = e.CellElement as GridDataCellElement;
if (dataCell != null)
{
if (dataCell.ColumnInfo.Name.ToLower() == "unitprice")
{
dataCell.ForeColor = System.Drawing.Color.Blue;
dataCell.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0);
}
}
}
This works when the form get first loaded, but if I scroll the grid other cells also get blue randomly.
Is there something I can do about this?
Mat
Hi every one,
I want to to change my form the classic one to the same one in telerik panoroma exemple and i dont know how to do it
if someone have any idea please help me
Thanks for every one