Telerik Forums
UI for WinForms Forum
1 answer
305 views
Gridview with herarchical data.  I need to be able get a value from a column from the selected row in the master template and a different column and row in the child template, how do i add a check to see which template the row selected is on using the gridview click event?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Sep 2014
1 answer
616 views
Good day,

I am using RadRibbonForm window as my MDI Parent and RadDock AutoMdiDetection = true.
Here is what I am trying to achieve. I do not want to duplicate my window base on the childForm.Text.
Every time the user click a button for form entry, the system will check if the childForm.Text exist in the document tab of raddock.
If it exist, it will focus on that tab, else it will be added in as mdi children.
How to focus on that document tab?

I have explore the raddock properties. ActiveWindow, DocumentArray,and etc are null.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Sep 2014
1 answer
205 views
I have a data bound scheduler, with a SchedulerBindingSource:
private void InitiateBookingDataSource()
        {
            if (_appointmentBookings == null) _appointmentBookings = new BindingList<Booking>();
 
            var dataSource = new SchedulerBindingDataSource();
            var mappingInfo = new AppointmentMappingInfo
            {
                Start = "StartTime",
                End = "EndTime",
                Summary = "BookingSubject",
                Description = "BookingDescription",
                BackgroundId = "BackgroundId",
                AllDay = "AllDay",
                RecurrenceRule = "RecurrenceRule",
                Exceptions = "Exceptions",
                MasterEventId = "MasterEventId",
                Visible = "Visible"
            };
 
            mappingInfo.Mappings.Add(new SchedulerMapping("CaseId", "CaseId"));
            mappingInfo.Mappings.Add(new SchedulerMapping("PratId", "PratId"));
            mappingInfo.Mappings.Add(new SchedulerMapping("InterpretorId", "InterpretorId"));
            mappingInfo.Mappings.Add(new SchedulerMapping("BoothId", "BoothId"));
            mappingInfo.Mappings.Add(new SchedulerMapping("CaseDesc", "CaseDesc"));
            mappingInfo.Mappings.Add(new SchedulerMapping("InterpretorDesc", "InterpretorDesc"));
            mappingInfo.Mappings.Add(new SchedulerMapping("BoothDesc", "BoothDesc"));
 
            dataSource.EventProvider.Mapping = mappingInfo;
            dataSource.EventProvider.DataSource = _appointmentBookings;
            dataSource.EventProvider.AppointmentFactory = rsBookings.AppointmentFactory;
 
            rsBookings.DataSource = dataSource;
        }


I use async await to get appointments from the database, and on this background thread I also add the appointments to a binding list.

After this work is done I want to update the scheduler by adding the binding list from the background thread to the scheduler's binding list on the UI thread.

_appointmentBookings = await GetDataAsync(_cancellation.Token);
 This doesn't fire the Appointments_CollectionChanged event, and the scheduler is not updated

Is there a way to do this in one go? I've done some investigation, and updating the scheduler one appointment at a time seems to fire the Appointments_CollectionChanged event, but this is very time consuming. Another option is to call the InitiateBookingDataSource() method again, but I don't like that solution either.

Regards, Jill-Connie Lorentsen
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Sep 2014
2 answers
162 views
How can i change the TextAlignment to MiddleRight?
Thanks
Saif
Top achievements
Rank 2
 answered on 01 Sep 2014
8 answers
515 views
will Telerik winforms will work for C++?
i am using windows for applications in C++  (VS2008)

if yes then example of using telerik tools in C++ with some functionality 
Peter
Telerik team
 answered on 01 Sep 2014
2 answers
103 views
I've been having a couple of issues with the RadRichTextBox due to the event handlers not being provided with the parameters they are documented to, particularly with the DocumentContentChanged, DocumentArranged and CurrentEditingStyleChanged events. It probably affects the CurrentParagraphStyleChanged and CurrentSpanStyleChanged events too.
http://www.telerik.com/help/winforms/richtextbox-events.html
Both of these events are documented to provide the text box in the sender parameter, but instead they receive the RadDocument and the DocumentView objects, respectively.
 This makes it difficult to share event handlers for different text boxes. I've been able to work around this problem so far by using event handlers specific to each text box on my form (I have several), but is there a way to get the associated text box from either the RadDocument or the DocumentView objects? I have a need to add these event handlers dynamically to dynamically added rich text boxes, and this becomes very problematic if there is no way to get the actual text box from the event handler parameters.
Is this by design, and it was overlooked in the documentation, or is it a bug? For what it's worth, I could get the RadDocument and DocumentView from the text box if this was provided in the sender parameter.

George
Telerik team
 answered on 01 Sep 2014
1 answer
135 views
I was trying to empty those textbox text after the event
Thats what i have now:
                           
 foreach (Control ctrl in this.Controls)
  {
         RadControl rc = ctrl as RadControl;
                                
         if (rc is TextBox)
           {
                rc.Text = "";
           }
 
  }

Any help will be appreciated , thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 01 Sep 2014
4 answers
162 views
Going through some of the Telerik UI examples for other platforms, I noticed the Windows8Touch theme which I would like to use for my WinForms project. However, I only have Windows8Theme and no Touch version. I have checked my DLLs and found the same. Is the touch version of the theme available at the moment?

My current version is 2014.2.715.40.

Thank you!
Sam
Top achievements
Rank 1
 answered on 29 Aug 2014
1 answer
501 views
Hi,

We are trying to get PreviewKeyDown event to fire for RadMultiColumnComboBox but it doesn't seem to.  We're able to get KeyDown event to fire though.

Below is the code to register the event.

this.radMultiColumnComboBox1.PreviewKeyDown += new System.Windows.Forms.PreviewKeyDownEventHandler(this.radMultiColumnComboBox1_PreviewKeyDown);
Dimitar
Telerik team
 answered on 29 Aug 2014
5 answers
176 views
How can i set the Zoom Value by code
Stefan
Telerik team
 answered on 29 Aug 2014
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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?