Telerik Forums
UI for WinForms Forum
1 answer
139 views
Hi!
Is there a way to let the user navigate through the pages using the keyboard instead of the mouse?

Tia,
Martin
Richard Slade
Top achievements
Rank 2
 answered on 09 May 2012
4 answers
287 views
  • I am facing the following problem in radRichTextBox of winform that works fine in .net RichTextBox control.

    1.radRichTextBox  has no SelectionStart  property that i need .
    2. In keypress  event e.KeyChar does not work.
     private void radRichTextBox1_KeyPress(object sender, KeyPressEventArgs e)
            {
     if (e.KeyChar == 122)
                {
                char c= (char)0x0995;
                     e.KeyChar = c;
                    e.Handled = false;         
                
                }
            }
    here do not override the value.
    3.   e.Handled = true;
     does not work
Svett
Telerik team
 answered on 08 May 2012
6 answers
193 views
Hi,

allowaddnew row was set to true, on form load there's blank row in the grid but the "click here to add new row" was not shown, but when i clicked a column the text shows.  how can i show this message on form load?


Thanks,
Emilio
Top achievements
Rank 1
 answered on 08 May 2012
1 answer
163 views
Is there an example of a binding a RadTimePicker or RadDateTimePicker to a typed dataset where a DateTime value has it's 'Allow Null' set to true and the default value of(<DBNULL>). I have the NullText set to something like "N/A". The binding at runtime, at least in my experience, always gets the control's Value instead of the datasource's Null value and displays the date/time the control was droppped on to the form.

Another problem is that when I try to clear the RadTimePicker.Value property during design-time and I get 'Object reference not set to an instance' and numerous other errors popping up from VS2010. I can no longer enter a date/time to resolve this problem, it's disabled. I understand this is a 'DateTime' object that cannot be null, but the workaround is removing the control and adding a new one, rebinding etc.

Peter
Telerik team
 answered on 08 May 2012
1 answer
87 views
I have an OpenAccess ORM context that is setting the data source on a RadGridView. I have tried creating a group descriptor that would access the primary id of a related table (ex. dataItem.ProductVersion.ProductID). The column populates with data fine, however the grouping never occurs. I have attempted to set the grouping at design time, and programmatically. I have also attempted to convert the object into an anonymous object, and get the same effect. I can drag that group to the grouping panel and the data will group correctly, but how do I get this to happen without user interaction?
Julian Benkov
Telerik team
 answered on 08 May 2012
2 answers
107 views
Is there any way to save a docked window state/location before user hiding it.
The scenario as follows:
1- user show up a docked window in top dock
2- user dock the window in the left dock
3- user hide the docked window by pressing the close button
4- user want to show up the hidden window again and want to see it in the latest dock location (left dock)

Is there a method to handle the DockWorkspace hide method to get the latest smartpartinfo of the docked window before hiding it?
Julian Benkov
Telerik team
 answered on 08 May 2012
2 answers
89 views
Hi guys,

I am currently evaluating the Scheduler control for one of my company's projects.

We are using Visual Studio 2010, targeting .NET framework 2.0 and x86 CPU. We are also using the latest version of the controls available atm.

I will start by congratulating Telerik on the whole package of controls and tools and hopefully we will be able to get this sorted out so we can buy the complete package and use it for our next version of the software.

An overview of what we are trying to achieve:

We have two types of events (I will give them generic names for privacy reasons):

-Base Event (Recurring type)
-Completion Event

The base events are created first and have a start date, end date and a frequency.
The completion events are created by the user to target a specific instance of one or more base events.

ex:
 I create "Base Event 1" and "Base Event 2" both starting on 1/1/2001. Base 1 is daily, Base 2 is weekly.

At a different time I create a Completion Event that targets both the instance of Base Event 1 that occurs on the 8/1/2001 and the instance of Base Event 2 that occurs on the same date.

We need to display this information to the user on the Scheduler MonthView and TimeLineView in a way that allows the uses to have a global view of the all the Base Events with a different graphical representation to the Completion Events.

Also we need to have a visual link between each Completion Event and each of its Base Events.

Finally we need to be able to select a date and create a Completion Event, with the ability to select the target Base Events.


With this general idea I tried different approaches trying to adapt my solution to the scheduler architecture:

1 - Using the Base Event as resources:

This would allow me to use the Group By Resources and have a deferentiated view of each Base Event's Completion Events.

Limitations: 

I need to be able to show all of the Base events on the same calendar along with all the Completion Events
I need to have single instances of the Main events on specific dates, so having them as resources is a big limitation.

Question:

Is it possible to use the Group By function with anything else other that the resources? If so, how?

2 - Create 2 derived classes of the Appointment, 1 for each kind of event, and display them differently, catching the AppointmentFormatting event:

This was by far the closest I got to a solution...

Limitations:

The month view appears to only be able to support 1 appointment per line with a default height and a default visual style.

Questions:

-Can I change the style (template?) of the Appointment base on its type? Lets say I wanted to draw the BaseAppointment as a Square and the CompletionAppointment as a Circle (Or something else that would differentiate them clearly?

-Can I change the style of the MonthCellElements so they can look divided into two? (kind of 'group by' inside each CellElement). I also tried adding controls to the Children collection, but they work on all views except the MonthView. On the month view the added controls only appear on the HeaderCells... (Bug??? I can send Screen Shots of this if you would like...) 

-I can obviously add a collection of BaseAppointments to my CompletionAppointment class (which I did), but how can I display this relation to the user on the MonthView (or the TimeLineView)?


Sorry for the lenghty post but I was trying to be as clear as possible.

I have attached a screenshot of one of my tests, so you can have an idea of what I am trying to achieve. Each of the buttons inside the appointments represent a link to the respective base appointment with matching colors.

Regards,

Hugo

Guga
Top achievements
Rank 1
 answered on 08 May 2012
0 answers
72 views
Hello,

as I can see properties sorted by PropertyName only? Is there an option/setting to sort by Label?

Regards from Leipzig

Holger Boskugel
Holger Boskugel
Top achievements
Rank 2
 asked on 07 May 2012
8 answers
223 views
The following code is used to remove the expander [+] or [-] for the Hierarchy Tree.

Question: Do you know how to remove the blue square which surrounding the expander as well ?

 public void RadGridView_ViewCellFormatting(object sender, CellFormattingEventArgs e)
        {
            if (e.CellElement is GridGroupExpanderCellElement)
            {
                GridGroupExpanderCellElement cell = e.CellElement as GridGroupExpanderCellElement;
                if (cell != null && e.CellElement.RowElement is GridDataRowElement)
                {
                    if (!IsExpandable(cell.RowInfo))
                    {
                        cell.Expander.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
                    }
                    else
                    {
                        cell.Expander.Visibility = Telerik.WinControls.ElementVisibility.Visible;
                    }
                }
            }
        }
Thanks Telerik Team =)
I have attached a picture to describe the blue square which surrounding the expander, please take a look !
Stefan
Telerik team
 answered on 07 May 2012
1 answer
99 views
Hi,

I want to use the browse editor component, but cant find it in the toolbox?

Any ideas? Thanks
Stefan
Telerik team
 answered on 07 May 2012
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
ProgressBar
CheckedDropDownList
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
VirtualKeyboard
NavigationView
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?