Hi all,
I'm using grid view to display my data. All works well but all names which start with "US_TV" are ellipsis automatically but cell length is wide enough to display all content.
Don't know what's problem ????
Hi
I want to draw a diagram similar to the one in the attached image.
It will be great if the names of vertical lines could be frozen to the top section of the diagram.
The user should not be able to modify the diagram.
I have a very simple grid - its blank. No rows, no columns. The grid control's name = gg
In Code I add one column: GridViewTextBoxColumn() like this:
Dim myCol As GridViewDataColumn = Nothing
myCol = New GridViewTextBoxColumn()
myCol.DataType = GetType(String)
myCol.Name = "Test Texteditor"
myCol.FieldName = "TestText"
myCol.HeaderText = "TestText"
myCol.ReadOnly = False
myCol.IsVisible = True
gg.Columns.Add(myCol)
I have another method that creates a row for testing.
I've checked ReadOnly on: Grid, Row, Column and Cell. ALL are ReadOnly = False
but when I double-click on the cell - nothing happens. No Text Editor nothing. At first I thought, ok I'm creating this column dynamically so there must be some methods I'm supposed to hook into (AddHandler) and specifically I figured I'd need to hook into EditorRequired but there's no such method for a GridViewDataColumn() so I'm really stuck.
I'm 100% certain I'm doing something stupid and any help or nudge or shove in the correct direction would be very appreciated.
Thank you!
-Curtis
Hi
I want to clear the pivotgrid contents.
I am using LocalDataSourceProvider and providing datatable as itemsource.
If I set the LocalDataSourceProvider object to null, I get NullReference exception.
I have emptied the rows and columns, but the grid does not refresh.
Is there meanwhile a way to control the position of the axis crossing ? It's strictly fixed to an outside corner of the ChartArea ?
I found this old thread with an answer, may be things have changed meanwhile
https://www.telerik.com/forums/drawing-x-axis-on-chart-view-at-zero-when-negative-values-exist
RadChartView is such a rich thing, it's on wonder while such a basic feature as control the axis crossing is missing.
That means a 4 quadrant chart (going f.e. from -100 to +100 on both axis, with having the axis crossing at (0,0)) is strictly impossible ?
hi telerik
foreach (GridViewDataRowInfo row in re_ItemregiView.Rows)
{
//
}
The gridview data sorted by clicking on the Gridview header. the data from the source above will have the same content but in a different order.
I want to get an ordered sequence of data on the source.
Hi
When the combined width occupied by rowheaders and columnheaders is less than the width of the container of pivotgrid, horizontal scrollbar appears on the screen.
But when the row headers alone occupy width more than the width of the container of pivotgrid, horizontal scrollbar does not appear. Enabling autoscroll on the container of pivotgrid does not help in this case.
hi
im using
design a radMultiComboBox with 3 column(two column is visible) and one column to select "ValueMember". use the below code for "filtering" :
1.
customerlist.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
2.
CompositeFilterDescriptor compositeFilter =
new
CompositeFilterDescriptor();
3.
FilterDescriptor prodName =
new
FilterDescriptor(
"FullName"
, FilterOperator.Contains,
""
);
4.
compositeFilter.FilterDescriptors.Add(prodName);
5.
compositeFilter.LogicalOperator = FilterLogicalOperator.Or;
6.
this
.customerlist.EditorControl.FilterDescriptors.Add(compositeFilter);
every thing work perfectly, but in my project, when user type the name that not in DB, the application show the messagebox and open new form to add item into database.
private
void
customerlist_KeyDown(
object
sender, KeyEventArgs e)
{
if
(e.KeyCode == Keys.Enter)
{
if
(!
string
.IsNullOrEmpty(customerlist.Text))
{
string
name = customerlist.Text;
rollback:
if
(_db.Customer.Any(p => p.FullName.Contains(customerlist.Text.Trim())))
{
int
id =
int
.Parse(customerlist.SelectedValue.ToString());
var result = _db.Customer.First(p => p.CustomerId == id);
txttel.Text = result.HomeTel;
txtmobile.Text = result.Mobile;
txtaddress.Text = result.Address;
SendKeys.Send(
"{tab}"
);
str =
null
;
}
else
{
RadMessageBox.Show(
this
,
"مشتری جدید باید در لیست مشتریان ثبت شود"
);
using
(FrmAddPerson frm =
new
FrmAddPerson())
{
frm.txtfullname.Text = customerlist.Text;
frm.radGroupBox1.Enabled =
false
;
frm.radGridView1.Enabled =
false
;
frm.ShowDialog();
}
cCustomer();
customerlist.Text = name;
goto
rollback;
}
}
}
}
when user press enter, this code should be work, but radmulticolumncombobox.Text property, is null (" "). while must be show what's user typed in combobox.
for example, in radmulticolumncombobox.Datasource, these exist : john,david,oliver , and user input : jason => radmulticolumncombobox.Text should be = "jason", but it's null.
Dim currentCell = RemindersGridView.Rows(RemindersGridView.Rows.Count - 1).Cells(2)
currentCell.RowInfo.IsCurrent = True
currentCell.ColumnInfo.IsCurrent = True
currentCell.BeginEdit()