Telerik Forums
UI for WinForms Forum
6 answers
293 views

Can someone explain how I can hide Saturday and Sunday columns in the RadCalendar for WinForms?

I have seen a code sample for AJAX, but I can see how to implement the same function in WinForms.

If hiding the columns isn't possible, how about  disabling them??

Thanks in advance for any help.

Boyko Markov
Telerik team
 answered on 16 Sep 2008
3 answers
159 views
I am having problems when i compile an application and then i install the application in the pc client; the problem is that the controls shows cutted, the controls does not show well in a 1280 x 1024 resolution monitor.

How can i solve this issue?
Nikolay
Telerik team
 answered on 16 Sep 2008
5 answers
158 views
Hi everyone,

we ran into a problem. I did not want to open a support ticket as we could not reproduce it yet. So I was just wandering if anyone encountered this problem before, and knows what's causing it, and how to work around it.

So it looks like sometimes when we update the DataSource of a RadGridView, the property and the underlying object changes, but these changes are not reflected in the actual data the grid is displaying. For example we have to DataTables, t1 and t2. The grid's datasource is t1, and it displays the data fine. Then we bind the grid to t2. Now the DataSource of the grid is indeed t2 if we take a look at it in debug mode. But the grid is still displaying the data taken from t1.

The code switching the data source is in a custom event's handler and the event itself is declared on an interface. If we insert the same code some other place (the click event handler of a button, for example), it works fine. If we insert the code both places, the button won't work either. My guess is that the custom event's handler changes the datasource, but the grid somehow does not notice the change. When the button's event fires, the datasource is already the new one. And as the datasource does not change this time, the grid won't try to update itself.

The form this occurs on is extremely complicated with lots of logic and controls being generated and dumped and reused runtime. I am trying to reproduce the problem, not much success so far. But if someone already encountered it, it would be a great help for us if (s)he shared the experiences.

Thanks,

Nikolay
Telerik team
 answered on 16 Sep 2008
1 answer
111 views
Hello,

I would like to know whether RadControls for winforms Q2 2008 SP1of Telerik provides a control like BindingNavigator (a control that can be used in VS) 
Jack
Telerik team
 answered on 16 Sep 2008
2 answers
109 views

Hello,

I dont know how to solve this:
 I have a RadGridView grouped by program code and I know that each group has always 2 rows. And I want in the GroupHeader to be displayed some data from not "group by" collumns from the second of the rows in that group. Is it possible?

Daniel
Top achievements
Rank 1
 answered on 15 Sep 2008
1 answer
79 views
The code example off the manual is incorrect regarding custom cell formatting.

The problem is that with the documentation example the progressbar gets drawn at wrong postitions (especially when scrolling the grid vertically) in the correct column, the original value gets drawn also (instead of the progressbar) and last but not least, the progressbar gets drawer gray instead of green (randomly).

The working code is : 

//Don't do anything if there is no column info, or the cel is a Header element of the data column.

if ((e.CellElement.ColumnInfo is GridViewDataColumn) && (e.CellElement.RowElement is GridTableHeaderRowElement) == false)

{

GridViewDataColumn columnInfo = (GridViewDataColumn)e.CellElement.ColumnInfo;

if (columnInfo.FieldName == "SurfaceConsumedTotalInPct") //For all the cells that match the databound property's name.

{

e.CellElement.Children.Clear();

RadProgressBarElement progressBar = new RadProgressBarElement();

e.CellElement.Children.Add(progressBar);

double intValue = (double)e.CellElement.RowInfo.Cells["columnSurfaceConsumedTotalInPct"].Value;

progressBar.Value1 = (

int)Math.Round(intValue, 0);

if (intValue > 0)

{

//only show the % textually in the progressbar if there is a value greater than zero,

progressBar.Text = intValue.ToString() +

"%";

}

else

{

progressBar.Text =

string.Empty;

}

// apply theme to the progress bar

progressBar.SeparatorWidth = 0;

//ApplyThemeToElement(progressBar, this.radGridViewWarehouseOccupations.ThemeName);

ApplyThemeToElement(progressBar,

null);

}

}

Nick
Telerik team
 answered on 15 Sep 2008
2 answers
177 views
I'm building a winforms application and using the Telerik Tabstrip. The tabstrip contains 3 tabItems, all of which have their backcolor explicitly set via the designer. When I run the application program and hover over a tabItem not in focus, or not selected, it's fine, until I move my mouse away, the backcolor changes to something very ugly and unprofessional looking. This ugly color remains until it is in focus or selected, but then of course hovering on the other two unselected tabItems makes those in turn change to this ugly color.$0Is there something I can set or do to fix this? I'm not sure if I've included all relevant information, so forgive me this is my first time posting here.$0$0Thanks ahead of time for any help I receive!$0$0$0$0
Paul
Top achievements
Rank 1
 answered on 15 Sep 2008
2 answers
158 views
hi

I have 4 line charts in my form that I want to print on one page. I can see how to print them one to a page - but I can't work out how to print them all on one page.

What is the best way to do this?

regards
peter
Peter
Top achievements
Rank 1
 answered on 15 Sep 2008
1 answer
211 views

I have a grid with interactive filtering enabled. If the users doubleclicks on a
cell I get the GridViewCellEventArgs.RowIndex to access the Row.

However, when Filtering is active, the RowIndex in the Event does not
point to the correct Row, when I access the

RadGridView _grid.Rows[rowIndex].Cells[colName].Value

The GridViewCellEventArgs.RowIndex seems to point to the unfiltered row
index, while grid.Rows[] contains only the filtered rows.

What am I missing?

2008Q2Sp1

Jack
Telerik team
 answered on 12 Sep 2008
3 answers
161 views
I have a treeview where allow multiselect is set to true. When I select one node, the SelectedNodes.Count = 1 in the Selected event handler.

I then select a different node. I am not performing a multiselect or holding the shit or ctrl key, and in the Selected event handler the SelectedNodes.Count = 2.

I thought that the Selected event handler fired after the selection occurred. If so, how is it that my count of SelectedNodes is anything other then 1?

Is this a bug or is there a work around for this?


Jordan
Telerik team
 answered on 12 Sep 2008
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?