Telerik Forums
UI for WinForms Forum
1 answer
117 views
Hi all,

I have upgraded my application from Q1 2010 SP1 to Q1 2010 SP2 to fix a memory leak. However, in this new Service Pack I encounter another problem:

I have a couple of listboxes with multiselect, in which the user can select multiple items. I use the theme Office 2007 Silver in my application, and in Q1 2010 SP1 (and older versions) it was clear: selected items had a grey background and the 'current' item had a grey border around the item. So when a user deselects an item it changes from a grey background (selected) to a grey border (current). See also the first attached screenshot.

In SP2 however, the styles\themes seem to have changed. Both the selected items and the current item are now orange. The exact same color of orange... So the difference between the selected items and the 'current' (possibly not-selected) item is not visible. Also  when a user deselects an item, it is not visible that the item is deselected until the users selectes another item. See the second attached screenshot.

This is not only with the Office 2007 theme but also with other themes. The only theme so far where this still works correct is 'Breeze', which I am not going to use in my application. Is this a mistake with the themes/styles or is this intentional? Can I adjust this by making my own theme (copied from Office 2007)? I have no experience with the Visual Style Builder and cannot find the 'selected item' style and the 'current item' style for ListBoxes in the Style Builder... Any help is appreciated. Thanks!

Regards,
A. Bennen.
Victor
Telerik team
 answered on 10 May 2010
1 answer
148 views
In my application, i created a button called "First Available"
When the button is pressed, I determine what is the first available time slot (based on data stored in a DB) and then create a temporary entry (green in color) into the calender that says "THIS IS THE FIRST AVAILABLE."

I would like for the calender to automatically scroll to that time slow. I know how to change the date, but I am not sure how to make the calender scroll down to view the appropriate slow. 


If there would be a better method to do this, please feel free to speak up.

Thanks!
Dobry Zranchev
Telerik team
 answered on 10 May 2010
1 answer
82 views
We have a RadTabStrip control that has listboxes and combo boxes located on each TabItem.

The issue we are running in to is populating the BindingSources for each combo box on the RadTabStrip.TabSelected event.

On form load, we have the following code:
        void Form1_Load(object sender, EventArgs e) 
        { 
            PopulateOutTabCombo(); 
            PopulateOutTabList(); 
            this.radTabStrip1.SelectedTab = tabItem2; 
        } 
 
        void PopulateOutTabCombo() 
        { 
            DataItem2Manager dm2 = new DataItem2Manager(); 
            this.outTabComboSource.DataSource = dm2; 
        } 
        void PopulateOutTabList() 
        { 
            DataItem1Manager dm1 = new DataItem1Manager(); 
            this.outTabListSource.DataSource = dm1; 
        } 


The routine that handles the radTabStrip1.SelectedTab event has the following code:
        void radTabStrip1_TabSelected(object sender, Telerik.WinControls.UI.TabEventArgs args) 
        { 
            PopulateInTabCombo(); 
            PopulateInTabList(); 
        } 
 
        void PopulateInTabCombo() 
        { 
            DataItem2Manager dm2 = new DataItem2Manager(); 
            this.inTabComboSource.DataSource = dm2; 
        } 
        void PopulateInTabList() 
        { 
            DataItem1Manager dm1 = new DataItem1Manager(); 
            this.inTabListSource.DataSource = dm1; 
        } 

When the SelectedTab changes to tabItem2 on the form load event, the BindingSource does not get populated with any data, even though the code is being run.

Even more interesting, if you breakpoint the code 'this.inTabComboSource.DataSource = dm2;', you can see that the BindingSource.Count = 0, BUT.... the BindingSource.DataSource property has 10 items in it!

This ONLY happens when you programmatically switch the SelectedTab. If the user clicks on the tab to switch it, it works perfect! Is there some cross thread issues going on that I am not seeing?

After the form loads, if you manually switch the tabs, the BindingSource will be populated, and you will get the items in the combo box and list box.

You can download a copy of my sample solution if you need to reproduce the issue.

Has anyone else run into this problem? If so, have you been able to solve it?
Victor
Telerik team
 answered on 10 May 2010
8 answers
161 views
Hi,

I have a question about the  Week view layout in radScheduler.
I want a day ruler in place of the time ruler. How can I do it?
If such functionality doesn't exist,is there a way to implement it? ( which part to alter etc)

Thank you

Anastasios
Top achievements
Rank 1
 answered on 10 May 2010
4 answers
236 views
Currently my scheduler shows 1 day, broken up by hour. Is it possible to change the displayed interval to 15 minutes?

so it would show 

12:00
12:15
12:30
12:45
01:00
etc


Also, is it possible to have more than 1 appointment at a time per interval?

thanks!
Dobry Zranchev
Telerik team
 answered on 10 May 2010
1 answer
106 views
Hi, I have a GridView bound to a DataTable, and I want to bind a CheckBoxColumn of my GridView to an Integer DataColumn of my DataTable. So the checked CheckBox corresponds with '2' in the Integer DataColumn, and the unchecked CheckBox corresponds with '1' in the Integer DataColumn. Is there something like parse and format events for this binding? Thanks.
Svett
Telerik team
 answered on 10 May 2010
1 answer
99 views
I was just curious if there was a day changed event (or something similar).
I am loading my scheduler up within the code, but I was only wanting to load the data for the selected day. 

So I figured I would load the data when the user switched days on the scheduler. Am I able to do this?
Dobry Zranchev
Telerik team
 answered on 10 May 2010
3 answers
356 views
Hi,

private void radGridView1_CellFormatting(object sender, CellFormattingEventArgs e) 
        { 
            if (sender is GridCheckBoxCellElement) 
            { 
                if ((bool)((GridCheckBoxCellElement)e.CellElement).Value == true
                { 
                    e.CellElement.RowElement.ForeColor = Color.Red; 
                } 
                 
 
            } 
        } 

But the "Value" parameter is System.dBNull. ¿why? .

Thanks,



Svett
Telerik team
 answered on 10 May 2010
7 answers
200 views
Hello, I would like to target the .NET 3.5 Client Profile for my solution using Telerik RadControls for WinForms.   But when I build my project containing a few of the controls such as RadTabStrip, I get these kind of warnings:

C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3253: The referenced assembly "Telerik.WinControls, Version=6.1.0.0, Culture=neutralPublicKeyToken=5bb2a467cbec794e" has a dependency on "System.Drawing.Design, Version=2.0.0.0, Culture=neutralPublicKeyToken=b03f5f7f11d50a3a" which is not listed as part of the "Client" TargetFrameworkSubset. If this dependent reference is required, you may get compilation errors. 
 
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3253: The referenced assembly "Telerik.WinControls.UI, Version=6.1.0.0, Culture=neutralPublicKeyToken=5bb2a467cbec794e" has a dependency on "System.Drawing.Design, Version=2.0.0.0, Culture=neutralPublicKeyToken=b03f5f7f11d50a3a" which is not listed as part of the "Client" TargetFrameworkSubset. If this dependent reference is required, you may get compilation errors. 
 
C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.Common.targets : warning MSB3253: The referenced assembly "Telerik.WinControls.Themes.Aqua, Version=6.1.0.0, Culture=neutralPublicKeyToken=5bb2a467cbec794e" has a dependency on "System.Drawing.Design, Version=2.0.0.0, Culture=neutralPublicKeyToken=b03f5f7f11d50a3a" which is not listed as part of the "Client" TargetFrameworkSubset. If this dependent reference is required, you may get compilation errors. 
 

Are you planning on supporting the .NET 3.5 client profile?

Thanks,
David
Vassil Petev
Telerik team
 answered on 10 May 2010
5 answers
989 views
Hi,

I notice the documentation for the Wrap Layout class, but cannot find a way of applying a Layout specifically to a RadPanel - I must be having a bad day, because its clearly what its there to do. I want to replace my standard WinForms FlowLayoutPanel with the visual goodness of a Rad control, and think this would be the best approach.

Has anyone managed to do it, or have another possible approach ?

Thanks
Phillip H

shinu rag
Top achievements
Rank 1
 answered on 06 May 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
ProgressBar
CheckedDropDownList
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
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?