Telerik Forums
UI for WinForms Forum
4 answers
187 views
Hi,

I'm using Q3 of 2009 libraries and I'm trying to hide the AllDay area to force all appointments to show up on the hour rows. I'm doing the following in the form constructor:

SchedulerDayView dayView = radScheduler1.GetDayView(); 
dayView.ShowRuler = false
dayView.ShowAllDayArea = false
dayView.DayCount = 1; 
dayView.AppointmentTitleFormat = "{2}"
dayView.WorkTime = new TimeInterval(TimeSpan.Zero, TimeSpan.Zero); 

All properties work fine, except for the ShowAllDayArea. The area still shows up in the dayview. Is there another property I'm missing? Thanks.

P.S. Also, is it normal for the style settings on views to reset every time the view is changed? Say I set up my day view as above and then switch to Week View. When I come back to DayView, all my settings have to be done again.
Dobry Zranchev
Telerik team
 answered on 03 Mar 2010
2 answers
254 views

Buttons added to the Ribbon bar in design time and dynamically seems to have the different behavior on mouse hoover. Meanwhile when I move mouse over buttons added in design time they are highlighted, dynamically added button are not highlighted. How can I set up this behavior thru program code?

Here is my method for adding buttons to the button group:

private void AddItemToButtonGroup(RadRibbonBarGroup group, String ItemName, String ItemText, String ItemDescription)

                        {

                                   RadButtonElement item = new RadButtonElement();

                                   item.DisplayStyle = DisplayStyle.ImageAndText;

                                   item.TextImageRelation = TextImageRelation.ImageBeforeText;

                                   item.ImageAlignment = ContentAlignment.MiddleCenter;

                                   item.Name = ItemName;

                                   item.Text = ItemText;

                                   item.ShowBorder = true;

                                   item.TextWrap = true;

                                   item.Margin = new Padding(1);

                                   item.TextAlignment = ContentAlignment.MiddleCenter;

                                   item.ToolTipText = ItemDescription;

                                   item.MaxSize = new Size(80, 80);

                                   item.Click += new EventHandler(Item_Click);

                                   group.Items.Add(item);

                        }

petr
Top achievements
Rank 1
 answered on 03 Mar 2010
4 answers
183 views
Hello,

I am working on a windows service that can generate Charts as png files and then email them to recipients. I would like to leverage RadChart for this. I've already gotten my charts nice and pretty in my fat client, but now I want to do the same thing in the windows service. Is this possible? The data is available to the windows service, so hopefully it's just a matter of instantiating the radChart object, setting the parameters, binding to the dataset, and then calling the export function. 

Thanks!
Jeremy
Dwight
Telerik team
 answered on 03 Mar 2010
1 answer
159 views
Hi

I am using version 2009.3 1203 of the WinForms Rad controls and when setting the SelectedIndex property of the MultiColumnComboBox control (after is data bound) to -1, I was expecting the combobox selected item to be empty...but it is not, the first one is shown always.

Here is my code:

 

 

            var results = from company in Collections.CompaniesList  
                          select new  
                          {  
                              company.Name,  
                              company.City,  
                              company.TaxNumber  
                          };  
            cbCompanies.DisplayMember = "Name";  
            cbCompanies.ValueMember = "ID";  
            cbCompanies.DataSource = results.ToList();  
 
            cbCompanies.SelectedIndex = -1; 

Any clues why this is happening?

 

 

Deyan
Telerik team
 answered on 03 Mar 2010
5 answers
170 views
Hello,
I downloaded the Ribbon-Control from https://connect.microsoft.com/site/sitehome.aspx?SiteID=40 (Microsoft Benefits for registration)
My question: Am I allowded to create freeware-tool and make them public with this license?
Yours,
Peter
Deyan
Telerik team
 answered on 03 Mar 2010
5 answers
301 views
Hello,
where can I set/change culture info on chart? I would like to have properly formatted numbers for different languages/regions selected:
When CultureInfo is set to "sl-SI" separating characters should be '.' for group and ',' for decimal (number format example: 123.345.678,00) and if selected CultureInfo is "en-GB" separating characters should be ',' for group and '.' for decimal (number format example: 123,345,678.00)

Thanks,
Uros Mally
Ves
Telerik team
 answered on 03 Mar 2010
1 answer
170 views
How I can display number in format like"2000" instead of "2.0K" in label on both Axis?

Also I am not getting property like this.radChart1.PlotArea ,"PlotArea" 
Ves
Telerik team
 answered on 03 Mar 2010
14 answers
266 views
Hi,
I can see the mnemonics on the tab control. but it is not switching to the tab. Can any body help me?
Example: there are two tabs : &General and &Settings
if I am at General tab and press Alt+S key, still it is not switching to Settings tab.
Boyko Markov
Telerik team
 answered on 03 Mar 2010
1 answer
128 views
Hi,

I am using the ThemeResolutionService to skin my app, however I do not wish to skin a particular RadPanel... However the TRS is automatically skinning it along with all other controls..

How can I stop this from occuring so that my custom border and background colors are maintained and not skinned over?

Thanks,

Xavier.
Xavier Hutchinson
Top achievements
Rank 2
 answered on 03 Mar 2010
4 answers
409 views
Hi!

I'm trying to realize some kind of article search in form of a text- or combobox. When the user enters some text, the autocompletion should perform a fulltext search for any matching article.

The actual autocompletion only works like the string.StartsWith(...) function but I'd like to have something like the string.Contains(...) function.

I tried to ralize it with a combobox that changes its ItemCollection on the TextChanged event:

private

 

void radComboBox1_TextChanged(object sender, EventArgs e)

 

{

    var query = from s in _autoComplete.Keys  
            where s.Contains(radComboBox1.Text)  
            select s;  
 
    radComboBox1.BeginUpdate();  
    radComboBox1.Items.Clear();  
 
    foreach (string art in query.ToArray())  
    {  
        radComboBox1.Items.Add(new RadComboBoxItem() { Text = art, Tag = _autoComplete[art] });  
    }  
 
    radComboBox1.EndUpdate();  
    radComboBox1.ShowDropDown(); 
}

This work to the point where the user uses the arrow keys to navigate through the autocomplete list. This leads to an update and only one remaining option in the autocomplete list.

Any suggestions? Is there a property for the autocomplete functionality I don't know?

kind regards,
Thomy
Nikolay
Telerik team
 answered on 02 Mar 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)
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
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
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?