Telerik Forums
UI for WinForms Forum
4 answers
144 views
Dear Telerik Team,

I'm current using Q1 2011 SP with VS2008. When applying the  example in the help file for the RadScheduler to translate the RadScheduler strings and in example:

RadSchedulerLocalizationProvider.CurrentProvider =

New CustomSchedulerLocalizationProvider

Everything appears translated in the local language except the days of the week in RadScheduler's header columns which are still in English:
Monday, Tuesday, Wednesday...
Is it possible to programmatically change the text of these header columns?

Best regards,
Alain

 

Boryana
Telerik team
 answered on 10 Aug 2011
1 answer
303 views
Hello,

I am using a lot of Rad buttons in my application. I change the back color of the buttons based on some conditions the following code:

.ButtonFillElement.BackColor = Color.LightGreen;
.ButtonFillElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid;
.ForeColor = Color.Black;

My questions is how do i set these properties back to the default ones within code. I want the buttons to get the default theme of the application when the condition turns false.

Thanks,
Pawan 
Stefan
Telerik team
 answered on 10 Aug 2011
3 answers
167 views
Hello,
I implemented ColumnGroupsViewDefinition for my Grid (the same code in Telerik Q3 Demos - Grid View), but it's change RowHeight. I try to change f.e:
this.CollectionGrid.TableElement.RowHeight = 30;
this.CollectionGrid.TableElement.GroupHeaderHeight = 30;
            
this.CollectionGrid.TableElement.FilterRowHeight = 30;
               
this.CollectionGrid.TableElement.TableHeaderHeight = 30;
 
but it's not work. What is more i have problem with correctly filling header rows (screenshot- I deleted data).
Thanks for help.
Alexander
Telerik team
 answered on 10 Aug 2011
1 answer
153 views
I have several RadComboBoxes (Q2 2010). I have AllowShowFocusQues set to True, TabStop set to true & DropDownStyle set to DropDownList.

When I tab onto the field there is no change in the appearance of the combo box. I know I have focus because I can use the arrow keys to move through the list. I would have thought may do something like the DropDownList or button with a dotted box just inside the control's border.

The list does include a blank item that is shown initially. However even if I select a different item from the list, tab off and then back to the combo box there is no indication that the combo has focus.

Thanks!

Howard
Stefan
Telerik team
 answered on 09 Aug 2011
1 answer
132 views
Hi

I have created a GridViewComboBoxColumn using entity framework 4.0. I have attached the code that I have used that works fine.
I would like to know how I would get the same result when using entity framework 3.5. I have attached the entity that the grid is bound to.

Thanks
Celeste

 

 

 

 

 

 


Svett
Telerik team
 answered on 09 Aug 2011
1 answer
224 views
Hi,
 You have introduced a new property called 'Visibility.' How do you change that value programmatically? I would like to change it: lets say from initially 'Hidden' to 'Visible' in code.

Thank you,
Karl
Boryana
Telerik team
 answered on 09 Aug 2011
2 answers
272 views
Hi,
I am creating a dynamic form and after adding dynamic controls but i receive this message (" The best overloaded method match for 'System.Windows.Forms.Control.ControlCollection.Add(System.Windows.Forms.Control)' has some invalid arguments  ")
and (" cannot convert from 'Telerik.WinControls.UI.RadGroupBox' to 'System.Windows.Forms.Control' ")

Here is the code:
Form frm = new Form();
RadGroupBox groupb = new RadGroupBox();
frm.Controls.Add(groupb);

Can you help me?
Stefan
Telerik team
 answered on 09 Aug 2011
3 answers
228 views
Hello,
We have a problem using the telerik controls on a form, 
a memory occupied  problem, but never freedthe form uses the following controls:
• 3 DataTable.
• 1 DataSet.
One of the DataTable is populated with 10,000 records and the other 2 with 5 records, more records DataTable is populated as follows:

dtDataTable.Add("Ide", typeof(int));

 

dtDataTable.Columns.Add(

"Nom", typeof(string));

 

 

foreach (Objeto oObjeto in ArrayObjetos)

 

{

 

DataRow drRow = dtDataTable.NewRow();

 

drRow [

"Ide"] = oObjeto .Ide;

 

drRow [

"Nom"] = oObjeto.Name + " " + oObjeto.LastName;
dtDataTable.Rows.Add(drRow );

 

}


The 15 MB memory increases by this load but the release (close) is in use 8 MB of those 15.
The Close () the form we make the following:

if(dtDataTable != null)

 

    dtDataTable.Clear();

dtDataTable=

null;

 

if(dtDataTable1 != null)

 

    dtDataTable1.Clear();

dtDataTable1=

null;

 

if(dtDataTable2 != null)

 

    dtDataTable2.Clear();

dtDataTable2=

null;

 

 

 

 


The question is, We are releasing resources correctly or the problem may be the way I'm filling?
Thank you very much.

 

 is in use 8 MB of those 15.The Close () the form we make the following:if;if;if;

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Peter
Telerik team
 answered on 08 Aug 2011
1 answer
109 views
Hi All,
How can I see only one table in treeview, grouping the rows by a especific field.

Tks in advance,
Nelson

Boryana
Telerik team
 answered on 08 Aug 2011
1 answer
183 views
I'm using the RadScrollablePanel in a DocumentWindow to have themable scrollbars when the content doesn't fit. Afaik the scrollbars of the DocumentWindow aren't themeable (yet).

  Is it possible to have the panel to be "invisible", that is: disable border and backgroundcolor equal to the background color of the DocumentWindow?
Boryana
Telerik team
 answered on 08 Aug 2011
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?