Telerik Forums
UI for WinForms Forum
1 answer
194 views
How add string format to PropertyAggregateDescription (value + " h")?
provider.AggregateDescriptions.Add(
new PropertyAggregateDescription()
 { PropertyName =
"remaining", CustomName = "Остаток", AggregateFunction = AggregateFunctions.Average }
);
Roman
Top achievements
Rank 1
 answered on 04 Sep 2013
11 answers
1.1K+ views
Hi, when I set AutoScroll of a SplitPanel to true, no scrollbars appear when I resize the window to smaller size. When I set AutoScroll of the whole SplitContainer to true, the scrollbars show up but the not visible part of container is not displayed and sometimes a lot of black lines appear in this part instead. The SplitContainer is placed in a page displayed in RadPageView in a RadForm. What can be the problem?
George
Telerik team
 answered on 03 Sep 2013
3 answers
201 views
We are getting the attached exception on our remote RDP terminals when a client is trying to print preview document when the terminals have no printer installed.

We need to still have the print preview work as user log into the terminal to view data but the terminal may not have any printers defined (this is on purpose because we don't want them printing documents to our printers)

Is there a work around to prevent this error, but still allow print preview to work?

Kim
Dimitar
Telerik team
 answered on 03 Sep 2013
33 answers
1.0K+ views
I want to have a readonly functionality implemented in DropDown, DropDownList. Marking them Enabled = False is the most ugly solution. By readonly, I mean to say the equivalent feature of the TextBox. This is most useful for show View-Only Forms. Using a common form for showing information and editing information becomes very elegant if all Editor support readonly. I refer to DateTimePickers and Checkboxes too. Having them set to disable is just not right. Also, having labels and/or readonly-textboxes in the dropdown's place while in readonly/view mode is also more of a head-ache.
Stefan
Telerik team
 answered on 03 Sep 2013
0 answers
170 views
I use RadarLineSeries. Can I set line style to dashed?
Roman
Top achievements
Rank 1
 asked on 02 Sep 2013
1 answer
162 views
Here is my scenario, 

I bind my grid with a List of foo. 

foo contains a list of bar, which are custom, user defined fields. Each foo has the identical list of bars, but the "Value" of each bar is different, depending on what the user put in.

In my scenario, foo has a list with 2 bars

bar 1 Fieldname="CustomField1"
bar 1 Value="My Field"

bar 2 Fieldname="CustomField2"
bar 2 Value="My Field 2"

My grid will have 5 columns, ID, Name, Desc, CustomField1, CustomField2.

When I bind, ID, Name, Desc populate with data, but of course, CustomField1 and CustomField2 are empty, which I expect.

What is the best way to get the data into these columns?

I hope this isn't too confusing!

Thanks.

Sample Code;



namespace sample
{
    class foo
    {
        public int ID { get; set; }
        public string Name { get; set; }
        public string Desc { get; set; }
 
        private List<bar> _customFields;
 
        public foo ()
        {
            _customFields = new List<bar>();
        }
    }
     
    class bar
    {
        public string FieldName { get; set; }
        public string Value { get; set; }
    }
}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Sep 2013
1 answer
251 views
Hi,

I am using RadPageView control configured like in pageview.png.
I would like to add some functionality to Header element like:
1. On mouse over cursor should change to hand.
2. You should be able to click and do some action.
3. When moving between pages text should not be changed.

In summary, the header would turn into a button.

I was able only to change the text by:
((Telerik.WinControls.UI.RadPageViewLabelElement)(this.radPageView1.GetChildAt(0).GetChildAt(1))).Text = "Test";

But events such as MouseOver, MouseLeave, etc. do not work.



Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Sep 2013
5 answers
245 views
Hello Telerik

I need your help for a particular point in using the RadScheduler.

The appointement displayed in my Scheduler should start and end at some specific time values. The start time should be(08:00;10:00;13:00;15:00) and the end time should be (10:00;12:00;15:00;17:00).

When an user modify one appointement (in all way), I want to check if the start and end times are correct. If not the value should be round to the nearest legal value (cancelling the operation with a message box is also an acceptable solution).

Exemple: If the user set the start time to 9:00 the value is corrected to 08:00.

I have tried to use the Appointements.CollectionChanged event of the Scheduler to change this. But if I correct the value at this time, the scheduler does not update correctly. (The text inside the appointement is changed but not the graphique square. You can see it in the attachement). How could I fix it?

As adding validation rules in a changed event is never a good idea. If you know a way to prevent the user draging or realesing the mouse at an illegal time. It will be perfect !
Dimitar
Telerik team
 answered on 30 Aug 2013
1 answer
189 views
Hello guys ,  

I have two problems. 

The First One :
I don't know if telerik have something like a layout. So i want to maximize the radForm and maximize all the components inside this form and i dont know hot to do that.


The second one:
I want to minimize a RadPageView in outlook mode like the real outlook's menu does. Is thar possible?
When i minimize the radPageView it docs on the left. u guys know what am i talking about?

Thanks For your help.
Regards
Dimitar
Telerik team
 answered on 30 Aug 2013
1 answer
218 views
Hello,

I saw in the asp.net/ajax online demo that you can put a checkbox in the header for a select all type of action. Can that be done for the winforms version? If so I have not been able to find it.

Thanks,

Warren
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Aug 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)
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
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?