Dim
stream as System.IO.Stream
RadDock1.SaveToXml(stream)
In Q2 2010 SP1, we use following codes to implment appointments using recurrencerule. But the appointment time in recurring appointments do not show correctly ( see attached screen shot). This happens to all recurrence rules ( monthly, weekly and daily)
==========================================================================================
radScheduler1.Appointments.Clear();
Appointment ap = new Appointment();
DailyRecurrenceRule drule = new DailyRecurrenceRule();
drule.Start =
DateTime.Today;
drule.End =
DateTime.Today.AddYears(2);
ap.Start =
new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, 9, 0, 0);
ap.End =
new DateTime(DateTime.Today.Year, DateTime.Today.Month, DateTime.Today.Day, 11, 0, 0);
ap.RecurrenceRule = drule;
radScheduler1.Appointments.Add(ap);
=================================================================
There is not problem , using the same codes in earlier versions such as Q2 2009
======================================================================
I will be helpful if any one can guide me
Thanx
Jai
sp.SizeInfo.SizeMode = Telerik.WinControls.UI.Docking.SplitPanelSizeMode.Absolute;
sp.SizeInfo.AbsoluteSize = new Size(0, 0);
sp.SizeInfo.AbsoluteSize = new Size(0, 1);
I am using a RadGridView in my application. It is connected to a binding datasoure. I am using the following code to insert new records. I have two database fields called createdon and createdby. I have to insert values to those two fields whenever I insert a new record. How can I achieve that?
this
.Validate();
this.substationBindingSource.EndEdit();
this.db.SubmitChanges();
I have a problem with custom sorting in the latest WinForms RadGridView (2010.2.10.806). It worked well with version 2009.3.9.1203. I use Visual Studio 2008 with .NET 3.5.
The code snippet is very simple:
01.
foreach
(GridViewDataColumn column
in
grid.Columns)
02.
column.CustomDataOperation = CustomDataOperation.Sorting;
03.
...
04.
05.
void
grid_CustomSorting(
object
sender, GridViewCustomSortingEventArgs e)
06.
{
07.
MyItem item1 = grid.Rows[e.RowIndex1].DataBoundItem
as
MyItem;
08.
MyItem item2 = grid.Rows[e.RowIndex2].DataBoundItem
as
MyItem;
09.
...
10.
}
When the grid column header is clicked, the System.StackOverflowException occurs in grid_CustomSorting at the point where e.RowIndex1 or e.RowIndex2 is accessed. Moreover, it occurs even if we have
1.
void
grid_CustomSorting(
object
sender, GridViewCustomSortingEventArgs e)
2.
{
3.
int
ind1 = e.RowIndex1;
4.
}