Telerik Forums
UI for WinForms Forum
1 answer
105 views

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

======================================================================

Dobry Zranchev
Telerik team
 answered on 20 Aug 2010
3 answers
188 views
Hi there

We have appointments that span multiple days
Is there a way to determine the individual date that was clicked when I click on an appointment?

For example, if I have an appointment that runs from the 9th - 13th August, and I click on the appointment on the 12th, is there a way I can determine which day of the appointment I have selected?

Thanks
Dobry Zranchev
Telerik team
 answered on 20 Aug 2010
3 answers
129 views
Hello,

I have done the following in gridview in windows.

  1. Set datasource for gridview which has 3 columns (question, answer, active-boolean)
  2. Above displays check box for 3rd column
  3. Now i need only one check box to be checked at a time, but how to achieve that.

I will be helpful if any one can guide me

Thanx
Jai



Martin Vasilev
Telerik team
 answered on 19 Aug 2010
2 answers
421 views
Hello,

I have RadSplitContainer with two panels one above another. I need to hide the upper panel when user changes state of a toggle button to "off" and show that panel, when toggle state is changed to "on". The lower panel and it's contents must occupy the whole SplitContainer's surface when the upper one is hidden. I tried the following:

sp.SizeInfo.SizeMode = Telerik.WinControls.UI.Docking.SplitPanelSizeMode.Absolute;
sp.SizeInfo.AbsoluteSize = new Size(0, 0);
But it doesn't work at all. When I change height to "1":
sp.SizeInfo.AbsoluteSize = new Size(0, 1);
it works fine, but little nasty 1px width strip is visible. In design-time I can change splitter position so that AbsoluteSize.Width is 0. Also I can change panels height to 0 at runtime manually. Is there any way to do it programmatically?
Julian Benkov
Telerik team
 answered on 19 Aug 2010
2 answers
102 views

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();

 

Stefan
Telerik team
 answered on 19 Aug 2010
3 answers
959 views
I'm trying to use the RadPageView control but there is something that I need to do and I cannot find by myself actually.

How can I disable (or hide) the close tab button in strip view?

Thanks,
Georgi
Telerik team
 answered on 19 Aug 2010
3 answers
127 views
Hello!

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.}

The second problem is that e.RowIndex1 can be negative even when the e.CellValue1 contains a good value.

So, how should I sort the grid by underlying data using my custom logic?

Thank you.
Julian Benkov
Telerik team
 answered on 18 Aug 2010
1 answer
39 views
Can I import only  the new dll files of  "Scheduler and Reminder" in older version (May 2010) of telerik WinForms ?
Thank you in advance! 
Dobry Zranchev
Telerik team
 answered on 18 Aug 2010
3 answers
58 views
I am using Visual Studio 2010 Professional version 10.0.30319.1 and Telerik Rad Controls for WinForms Q2 2010 SP1 (2010.2.10.806). I have created a new Rad Controls Windows Forms Application.

I added a new data source to the Data Sources Window. If I try to drag a table from the Data Sources Window with the control type set as the default RadGridView control, I get the following error

"An error occurred while performing the drop:
Control 'RadGridView' cannot be used to bind to a table"

If I select the standard Microsoft DataGridView, it works fine.

Any ideas why the RadGridView does not work?

Thanks
Julian Benkov
Telerik team
 answered on 18 Aug 2010
1 answer
119 views
hi,

well we're new to radControls and are testing its abilities in a trial version.

the most important thing we need, is to use RadGridViews for our datasets. When you browse the data sets listed in the data source window, you can set a control as default for your tables within your datasets. I can find a lot of RadControls in it, but not the RadGridView Control.

I've also checked another data types, but RadGridView is not listed anywhere. why? is it possible to add this control manually? or is there any better/easier possibilities?


best regards,
A.V.
Julian Benkov
Telerik team
 answered on 18 Aug 2010
Narrow your results
Selected tags
Tags
GridView
General Discussions
Scheduler and Reminder
Treeview
Dock
RibbonBar
Themes and Visual Style Builder
ChartView
Calendar, DateTimePicker, TimePicker and Clock
DropDownList
Buttons, RadioButton, CheckBox, etc
ListView
ComboBox and ListBox (obsolete as of Q2 2010)
Chart (obsolete as of Q1 2013)
Form
PageView
MultiColumn ComboBox
TextBox
RichTextEditor
PropertyGrid
Menu
RichTextBox (obsolete as of Q3 2014 SP1)
Panelbar (obsolete as of Q2 2010)
PivotGrid and PivotFieldList
Tabstrip (obsolete as of Q2 2010)
MaskedEditBox
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?