Hello,
May somebody help me undestand this:
Let be a grid with one column only and 3 rows.
While I know that it is possible to have a customized editor ar row level, by means of the "EditorRequired", is it possible to have on the displaying side, not while editing, something like this:
if (Row == 0) display the cell with a Checkbox
if (Row == 1) display the cell with a TextBox
if (Row == 2) display the cell with a CustomControl, like a progress bar for example?
Thank you.
I have a GridView in my Winform application and its datasource is bound to a list of custom objects. Let's assume this custom object has 2 fields: name and ID, so the gridview has also 2 columns: name and ID. (name first, then the ID).
Now I want to select the row that has the given ID.
How can I select it? gridView1.Rows[0].IsSelected = true; is not OK here, because I don't know the index of the row.
The GridView has DataSource set this way (of course this is a simple example):
List<MyObject> myList=new List<MyObject>();
myList.Add(new MyObject("name1", 1));
myList.Add(new MyObject("name2", 2));
gridView1.DataSource = myList;
Thanks for your help
private
void
radGridView1_Initialized(
object
sender, EventArgs e)
{
this
.radGridView1.SummaryRowsBottom.Add(
new
GridViewSummaryRowItem(
new
GridViewSummaryItem[]{
new
GridViewSummaryItem(
"Balance"
,
"{0}"
, GridAggregateFunction.Sum)}));
this
.radGridView1.MasterTemplate.ShowTotals =
true
;
this
.radGridView1.MasterView.SummaryRows[0].PinPosition = PinnedRowPosition.Top;
}
private
void
radGridView1_ViewCellFormatting(
object
sender, CellFormattingEventArgs e)
{
if
(e.CellElement
is
GridSummaryCellElement)
{
e.CellElement.TextAlignment = ContentAlignment.MiddleRight;
Font summaryFont =
new
Font(
"Segoe"
, 9, FontStyle.Bold);
e.CellElement.Font = summaryFont;
}
}
hi ,
I am using custom cell in gridview. Custom cell contains 1 textbox and 1 label. So now how can i get event when i tab into this custom column. I want when in normal mode it will display label , and when in edit mode it will display textbox. Now i am using SetCotentCore to visible/hide control but how can i catch event when i tab in gridview.
https://www.screencast.com/t/75Qy9E3s
Hello.
I'm trying to create automated tests for RadGridView using TestStack.White, test should click on row. Code:
var searchResults = window.Get<Table>(SearchCriteria.ByAutomationId("searchResults"));
var row = searchResults.Row[0];
searchResults is found, but rows are always empty, even if there are rows on grid.
Also, when I review the form using Visual UI Automation verify (https://msdn.microsoft.com/ru-ru/library/jj160544.aspx), it shows strange information, no automation ids for elements and so on. So, it seems like it is not possible to write automated tests for RadGridView.Is this true, or if not, is there some guidance how to do this?
After the user selects an image file from the browse editor, I'd like to display it in a button, much like the example in the Telerik documentation. I've tried different calls to the button's methods including: Update, Refresh, and Invalidate. Nothing has worked. What am I missing?
1.
Private
Sub
radLogoFile_ValueChanged(sender
As
Object
, e
As
EventArgs)
Handles
radLogoFile.ValueChanged
2.
btnLogoImage.Image = System.Drawing.Image.FromFile(radLogoFile.Value)
3.
btnLogoImage.Update()
'Invalidate 'Refresh
4.
End
Sub
Hello,
I am using Visual Studio 2015.
I want a fresh project of ListView Checked Listbox (Winform Source)
I know there is a source code :C:\Program Files (x86)\Telerik\UI for WinForms Q2 2016\Examples\RichTextEditor\QuickStart\ListView\CheckedListBox
But i am unable to use it on my winform. It showing errors. I don't know why ?
Anyway can anyone help me to just give me ListView\CheckedListBox project in winform that i can open with Visual Studio and RUN.
Thanks