Hello,
I'm experiencing some problems with a gridview bound to a bindingsource (using entity framework 5).
The RowsChanging event does not fire on binding operations, neither on the initial binding nor on any subsequent reloading of data. The RowsChanged event does. To my understanding before every RowsChanged event, the RowsChanging event should fire at least once.
I tried using the gridview.Rows.CollectionChanging event, but it does not exist - though it should according to the documentation.
The event DOES fire if I modify the rows at runtime (like removing one row).
simplified version of the code (tried variations of binding to the MasterTemplate, with or without BeginEdit etc):
Kind regards,
Andreas
public
RadForm1()
{
InitializeComponent();
radGridView1.RowsChanging += RadGridView1OnRowsChanging;
bs =
new
BindingSource {DataSource = context.Sonderthema_Art.ToList()};
radGridView1.DataSource = bs;
}
private
void
RadGridView1OnRowsChanging(
object
sender, GridViewCollectionChangingEventArgs gridViewCollectionChangingEventArgs)
{
throw
new
NotImplementedException();
}
Hi.
If i want to loop appointments, i do this:
For Each a In uiRadSchedulerMain.Appointments
Dim test = a.Start
.....and so on.
Next a
But what if i have 2, or more, resources to a appointment, how to loop these? I only get the first resourceId if eg. there are two or more resources to one appointment.
Hello
I am using the RichTextEditor control to allow users to create a document (which may include embedded images). The RTF text is then stored in a database, and a Windows Service is supposed to print the document at a later date.The Windows Service does not allow any dialog or form to be shown, so neither a normal print dialog, nor converting to PDF and printing with a PDF Viewer can be used to print.
My current approach has been to convert the RTF to a PDF with RtfFormatProvider and PdfFormatProvider, save it to a file, and print it using the Print verb. However, no matter what options are given to the Print process, it still tries to start the Adobe PDF Viewer to print.
Does Telerik offer a way to print RTF documents without any UI? Or perhaps stock WinForms has a way that I am overlooking.
I am using version Q3 2014 (2014.3.1104)
Thank you for any assistance.
//
// radGrid
//
this
.radGrid.MasterTemplate.AllowSearchRow =
true
;
this
.radGrid.MasterTemplate.AutoExpandGroups =
true
;
this
.radGrid.MasterTemplate.EnableFiltering =
true
;
this
.radGrid.MasterTemplate.MultiSelect =
true
;
this
.radGrid.MasterTemplate.ShowFilteringRow =
false
;
this
.radGrid.MasterTemplate.ShowHeaderCellButtons =
true
;
this
.radGrid.MasterTemplate.HorizontalScrollState = Telerik.WinControls.UI.ScrollState.AlwaysShow;
this
.radGrid.Name =
"radGrid"
;
this
.radGrid.ReadOnly =
true
;
this
.radGrid.ShowHeaderCellButtons =
true
;
this
.radGrid.Size =
new
System.Drawing.Size(1028, 262);
this
.radGrid.TabIndex = 5;
this
.radGrid.Text =
"Test Results Browser Grid"
;
this
.radGrid.SelectionChanged +=
new
System.EventHandler(
this
.radGrid_SelectionChanged);
this
.radGrid.CellClick +=
new
Telerik.WinControls.UI.GridViewCellEventHandler(
this
.radGrid_CellClick);
this
.radGrid.ContextMenuOpening +=
new
Telerik.WinControls.UI.ContextMenuOpeningEventHandler(
this
.radGrid_ContextMenuOpening);
this
.radGrid.FilterExpressionChanged +=
new
Telerik.WinControls.UI.GridViewFilterExpressionChangedEventHandler(
this
.radGrid_FilterExpressionChanged);
this
.radGrid.FilterChanged +=
new
Telerik.WinControls.UI.GridViewCollectionChangedEventHandler(
this
.radGrid_FilterChanged);
this
.radGrid.Click +=
new
System.EventHandler(
this
.radGrid_Click);
private
void
ConfigureRadGridGrouping()
{
GroupDescriptor groupByBall =
new
GroupDescriptor();
groupByBall.GroupNames.Add(
"Balls"
, ListSortDirection.Ascending);
this
.radGrid.EnableCustomGrouping =
false
;
this
.radGrid.GroupDescriptors.BeginUpdate();
this
.radGrid.GroupDescriptors.Add(groupByBall);
this
.radGrid.GroupDescriptors.EndUpdate();
}
private
void
AsignTitlesToRadGridBrowser()
{
/// Telerik
foreach
(var column
in
this
.radGrid.Columns)
{
column.HeaderText =
string
.Empty;
column.IsVisible =
false
;
column.VisibleInColumnChooser =
false
;
}
this
.radGrid.Columns[
"Reference"
].HeaderText =
"Reference"
;
this
.radGrid.Columns[
"Reference"
].IsVisible =
true
;
this
.radGrid.Columns[
"Reference"
].VisibleInColumnChooser =
true
;
this
.radGrid.Columns[
"Reference"
].AllowGroup =
true
;
this
.radGrid.Columns[
"Title"
].HeaderText =
"Title"
;
this
.radGrid.Columns[
"Title"
].IsVisible =
true
;
this
.radGrid.Columns[
"Title"
].VisibleInColumnChooser =
true
;
this
.radGrid.Columns[
"Title"
].AllowGroup =
true
;
this
.radGrid.Columns[
"Balls"
].HeaderText =
"Balls"
;
this
.radGrid.Columns[
"Balls"
].IsVisible =
true
;
this
.radGrid.Columns[
"Balls"
].VisibleInColumnChooser =
true
;
this
.radGrid.Columns[
"Balls"
].AllowGroup =
true
;
}
Hello,
Is there a way to change the default appointment times to use military time instead of regular time? So instead of the appointment time showing 1:00 - 2:00 it would show 13:00 - 14:00.
Kind regards,
David