Telerik Forums
UI for WinForms Forum
1 answer
69 views

I've placed a RadApplicationMenu control to the form, and set a backcolor property to the transparent. After that, when i run an application, the round button of RadApplication doesn't have a transparent backcolor. So there is a white box around the round button

I have a VB.NET solution and use VS 2008 on Windows 7.

Installed RadControls for WinForms Q3 2009 SP1.

Thank you for help.

Gennady Teslenko
Top achievements
Rank 1
 answered on 20 Jan 2010
3 answers
148 views
Hello hopefully someone can help me.  I'm looking to do a group by on the gridview control, but I don't want it user expandable.  I want it to already be expanded not allowing the user for collapse and look like the file attached.  Does anyone know how to control this with the Telerik GridView?

Any help would be greatly appreciated.
Jack
Telerik team
 answered on 20 Jan 2010
2 answers
121 views
The current display format for an appointment on scheduler is  appointment time and appointment subject, eg: 
  10:00 am - 10:30 am  test

How can we make it display what we want to disaplay when customizing EditAppointmentDialog


We have customizing EditAppointmentDialog implmenting IEditAppointment Interface
We have also implment a customized appointment inheriting Appointment.  the customized appoinment has a field and property MySubjectValue.  We want to display MySubjectValue of the customerized appointment :  eg

If it is "Test Value", we want to dispay "Test Value" instead of " 10:00 am - 10:30 Test Value"


We tried to do it in AppointmentFormatting event of radscheduler  but it was not sucessful so.  It makes all the display value of all appointments the same.

 

Dobry Zranchev
Telerik team
 answered on 20 Jan 2010
1 answer
60 views
We want to use WeeklyRecurrenceRule to associate with an appointment.

Can we associate more than one days with the rule of one appointment.  Eg:  the same schedule 10:00 am - 10:30 am happens  both on Wednesday and Friday ?

Or we we have to create two appointments, one associated with weeklyrecurrencerule of wednesday and another associated wtih weeklyrecurrencerule of Friday to get this done? 


Do you have something like DaysOfWeekMask of your WPF for Win Control Scheduler also? 

 

Dobry Zranchev
Telerik team
 answered on 20 Jan 2010
4 answers
149 views
I am applying Office2007Black theme to RadTitleBar. I notice the title bar text is left/vertically aligned. How do I change the alignment to top-left. I have tried the Visual Styte Builder and change various alignment properties of RadTitleBar with no visible effects. What is the correct property to set?

Thanks
mdanh
Top achievements
Rank 1
 answered on 20 Jan 2010
1 answer
113 views
Hi,

I've search around but I can't  find the answer to this one. Is there any package with office icons included in your components that you can use when designing windows applications? I looked at your themes but I could not find any icons in them?

Thanks
Thomas
Vassil Petev
Telerik team
 answered on 19 Jan 2010
1 answer
110 views

Hi,

I’ve been using HTML text formatting for some of theRadControls. I noticed that a RadControl will crash if the HTML font has anampersand in the tile. For example, the following HTML will crash a RadControl:

<html><span style="font-family: the king&amp; queen font; font-size: 20pt">Add TextHere</span></html>

The above HTML was created using the RadMarkupDialog, andassumes you have the following installed font:

http://www.audiolabel.com/artopia/king-and-queen.zip

I also noticed that a RadControl will crash if the HTML fontis missing from the user’s computer. This behavior is different than if you setthe font through the RadControl Font property. When setting the Font property,a missing font will be automatically replaced with a default system font.

Shouldn't a missing font be automatically replaced whensetting the font through HTML? I can see this being very important when yourTelerik program is installed on different computers.

I'm  using the latest Telerik build - 2009.3.1203

Thanks for your help,

Tim

Peter
Telerik team
 answered on 19 Jan 2010
5 answers
202 views
How do i select multiple items from code in a list box or combo box?
Veselin Vasilev
Telerik team
 answered on 19 Jan 2010
1 answer
162 views
I'm posting a source code solution to force the RadComboBox to act like a Windows Forms ComboBox when the DropDownStyle is DropDownList.  This is common functionality that has been missing for far too long.  This works with 2009 Q2 SP1.  The code I'm supplying is a wrapper class.

using System; 
using System.Collections.Generic; 
using System.Linq; 
using Telerik.WinControls; 
using Telerik.WinControls.UI; 
 
 
/// <summary> 
/// Wrapper class to make RadComboBox act like a WinForms ComboBox  
/// when DropDownStyle is DropDownList 
/// </summary> 
/// <!--Author: Michael Gerety--> 
public class WorkingDropDownList : RadComboBox 
    private char _lastChar; 
    private int _lastIndex; 
    private Dictionary<char, List<RadComboBoxItem>> _cache; 
 
    public override string ThemeClassName 
    { 
        get 
        { 
            return "Telerik.WinControls.UI.RadComboBox"
        } 
        set 
        { 
            base.ThemeClassName = value; 
        } 
    } 
 
    public WorkingDropDownList() 
    { 
        KeyPress += ComboBox_KeyPress; 
        _cache = new Dictionary<char, List<RadComboBoxItem>>(); 
        Items.ItemsChanged += new ItemChangedDelegate(Items_ItemsChanged); 
    } 
 
    void Items_ItemsChanged(RadItemCollection changed, RadItem target, ItemsChangeOperation operation) 
    { 
        //If the items collection changes, we need to remove the cache for the character affected. 
        if(target.Text != null
        { 
            var changedChar = Char.Parse(target.Text.Substring(0, 1)); 
            if(_cache.ContainsKey(changedChar)) 
            { 
                _cache.Remove(changedChar); 
            } 
        } 
    } 
 
    void ComboBox_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e) 
    { 
        if (DropDownStyle == RadDropDownStyle.DropDownList) 
        { 
            if (Char.IsLetter(e.KeyChar)) 
            { 
                if (Char.ToUpper(e.KeyChar) != _lastChar) 
                { 
                    _lastChar = Char.ToUpper(e.KeyChar); 
                    _lastIndex = 0; 
                    if (!_cache.ContainsKey(_lastChar)) 
                    { 
                        var list = (from i in Items 
                                    where (i as RadComboBoxItem).Text.ToUpper().StartsWith(_lastChar.ToString()) 
                                    select (RadComboBoxItem)i).ToList(); 
                        _cache.Add(_lastChar, list); 
                    } 
                } 
 
                if (_lastIndex >= _cache[_lastChar].Count) 
                { 
                    _lastIndex = 0; 
                } 
                if (_cache[_lastChar].Count > 0) 
                { 
 
                    SelectedItem = _cache[_lastChar][_lastIndex]; 
                } 
                _lastIndex++; 
            } 
 
        } 
    } 
 
 


Note: I'm using LINQ to build the cache lists so this requires .net 3.5.  This can be changed to work with .net 2.0 by replacing the LINQ query with a custom "Get entries starting with 'X'" type of function that iterates through the collection.


Note 2: Updated code to deal with list items changing.

I'm also assuming that you're using this code with a databound combo box where the bound items are not changing.  If they are subject to change, make sure that you

I hope this helps out anyone with the same issue.

Victor
Telerik team
 answered on 19 Jan 2010
1 answer
102 views
Hello,

Is there a way to remove time slots entirely from the day view.  I don't want to see the slots whether they are blank or filled.  For instance I don't want to display times from 8am - 12pm time on my day view whether there is an appointment or not.

Any help appreciated!
Thanks in advance.

Dobry Zranchev
Telerik team
 answered on 19 Jan 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)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
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
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?