Telerik Forums
UI for WinForms Forum
2 answers
93 views

Hi,

From my main form (where scheduler is), I am trying to add new appointment and show edit form like this:

IEvent newAppointment = new CustomAppointment();
newAppointment.Start = Record.RecordStart;
newAppointment.End = DateTime.Now;
// ...
 
cScheduler.Appointments.Add(newAppointment);
cScheduler.ShowAppointmentEditDialog(newAppointment, false);

The problem is when user click cancel or close button in edit form. After that appointment will be still in collection.
How to check if user cancel appointment and delete it form collection? 



konrad
Top achievements
Rank 1
 answered on 03 Jan 2013
1 answer
666 views
hello.
i when add a row in multicolumncombo get error below

Unable to cast object of type 'Telerik.WinControls.UI.CurrentRowChangedEventArgs' to type 'Telerik.WinControls.UI.Data.PositionChangedEventArgs'.

i create multicolumncombo in another forms and add rows do not see any error but when woud add rows in multicolumncombo in main form my program eccur error.
Ivan Petrov
Telerik team
 answered on 03 Jan 2013
8 answers
794 views
I am using a BindingList object as my datasource and I would like to use an image list to display images in my treeview.  I looked for an ItemDataBound event or something similiar, but I did not see it.  I tried to use the DrawNode Event but I would get an error saying that the ImageIndex Property could not be updated because the treeview was in lock mode or something along those lines.  How do you suggest adding images when databinding?

Thanks.
Stefan
Telerik team
 answered on 03 Jan 2013
1 answer
575 views
I am using sql database.
I want to save content(include text,picture and tables) of rtb to database.I didn't get the idea correctly from help document.can u provide an example or code
Stefan
Telerik team
 answered on 03 Jan 2013
1 answer
82 views
I want to add root node to self referenced database binded RadTree View.
RadContextMenu contextMenu = new RadContextMenu();
RadMenuItem addRootNodeItem = new RadMenuItem("New Node");
addRootNodeItem.Click += addRootNodeItem_Click;
contextMenu.Items.Add(addRootNodeItem);
radTreeView1.RadContextMenu = contextMenu;

void addRootNodeItem_Click(object sender, EventArgs e)
{
RadTreeNode RootNode = new RadTreeNode("New Node");
radTreeView1.Nodes.Add(RootNode);

I tried above code but which returns error Object reference not set to an instant of of an object.
Any other method to do this?
Ivan Todorov
Telerik team
 answered on 03 Jan 2013
1 answer
65 views
I had binded radTree view with a self referenced sql database as per Binding to Self Referencing Data in help document.
if i delete a node and it has child nodes and updated database using tableadpter method
1.Node data removed from database
2.Child node data remain in databse
so how to delete these child nodes too ?



Ivan Todorov
Telerik team
 answered on 03 Jan 2013
6 answers
153 views
I would like to extend a RadRibbonBarGroup to make a group with a set of RadButtonElements.  Can that be done...easily?
Boryana
Telerik team
 answered on 03 Jan 2013
1 answer
130 views
I'm binding GridView to a datasource referencing a dataset with filtering enabled. I understand the filtered rows are in the ChildRows collection - but how do apply that to the underlying datasource so I can remove the filtered records?
Stefan
Telerik team
 answered on 03 Jan 2013
4 answers
229 views
My project contains several parameters that can be used to filter the displayed appointments. 
Examples are:
1. Guest Name
2. Employee Name
3. Appointment Category (Spa, Sports, etc.)
4. Location (Spa room 1, Tennis Court 1, Stable 1, etc.)
5. Appointment Type (massage, tennis, horse back riding, etc.)

I would like to provide a combobox for each parameter and allow the user to select the filters. Is there a method, similar to filtering a bindingsource?

Also, Is there any method to refresh the appointments? If computer 1 is displaying the scheduler and a new appointment is made at computer 2, I would like computer 1 to be able to click a "refresh" button and see the changes to the database.
Peter
Telerik team
 answered on 03 Jan 2013
4 answers
772 views
Hello,
how i can wrap text only for header text ?

 foreach (Telerik.WinControls.UI.GridViewDataColumn items in radGridView.Columns)       
 {             
    items.WrapText = true;
 }


I use this kind of solve but every cell are wraping.

And how i can check what kind of data (date, bool, number) in colums... ?
Thanks for help (my controls Q1 2010 SP2)
Sree
Top achievements
Rank 1
 answered on 03 Jan 2013
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?