Telerik Forums
UI for WinForms Forum
1 answer
185 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
114 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
209 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
304 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
151 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
130 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
407 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
253 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=neutral, PublicKeyToken=5bb2a467cbec794e" has a dependency on "System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=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=neutral, PublicKeyToken=5bb2a467cbec794e" has a dependency on "System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=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=neutral, PublicKeyToken=5bb2a467cbec794e" has a dependency on "System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=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
1.1K+ 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
1 answer
124 views
Hello
How can i user Visual Style Builder to change couple of things of the buttons
for example i would like to change the "Radio Button's Font Type" in the Aqua Theme????

How can i change that using Visual Style Builder also where can i find the styles files in my application???

please explain in details everything how the stage of "Open this file" to how to save it and where please


thanks so much
 
Deyan
Telerik team
 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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?