Telerik Forums
UI for WinForms Forum
3 answers
573 views
I'm using Q1 2010 SP2 and having trouble resizing and positioning a ToolWindow after it has already been created.  Here's some code I've tried:

 

 

 

 

toolWindow.Size = new Size(400, 300);
toolWindow.Top = Location.Y;
toolWindow.Left = Location.X;
toolWindow.DockState = Telerik.WinControls.UI.Docking.DockState.Floating;

 

 


Also tried these...

 

//toolWindow.TabStrip.SizeInfo.SizeMode = SplitPanelSizeMode.Absolute;
//toolWindow.TabStrip.SizeInfo.AbsoluteSize = new Size(150, 0); 
  
and 
  
//if (toolWindow.DockingSite.HostFrom != null)
//{
// toolWindow.DockingSite.HostForm.Size = new Size(300, 300);
//} 

 

 

 

But none of these appeared to work...ideas?  Thx...

Nikolay
Telerik team
 answered on 17 Sep 2010
7 answers
356 views
Hi, I would like set start date and end date of schedular. Because the users have right for navigate in the progress week and the next week only. It's possible to explain me how to have this result.

Thanks a lot
Dobry Zranchev
Telerik team
 answered on 17 Sep 2010
1 answer
174 views
Dear All,

 I'm strugling with one problem in GridViewComboBoxColumn

I have one Combo Box cell in my RadGridView and I created one Data Table object and set it as dataset for the Combo Box set .

When I’m entering into the cell, the first value in the datatable is appearing in the grid automatically and it is not updating that value.

Please check the cod below

public Form1()
      {
          InitializeComponent();       
           
          this.radGridView1.Rows.AddNew();
      }
      void SetItems()
      {
          DataTable logicalOps = new DataTable();
          logicalOps.Columns.Add("Col1");
          logicalOps.Columns.Add("Col2");
           
          logicalOps.Rows.Add("=", "Equal to");
          logicalOps.Rows.Add("<>", "Not equal to");
          logicalOps.Rows.Add(">", "Greater than");
          logicalOps.Rows.Add(">=", "Greater than equal to");
          logicalOps.Rows.Add("<", "Less than");
          logicalOps.Rows.Add("<=", "Less than equal to");
          logicalOps.Rows.Add("START", "Start With");
          logicalOps.Rows.Add("END", "End With");
          logicalOps.Rows.Add("CONTAINS", "Contains");
          logicalOps.Rows.Add("IS NULL", "IS NULL");
          GridViewComboBoxColumn ctrl = (this.radGridView1.Columns[0] as GridViewComboBoxColumn);          
          ctrl.FieldName = "Col2";
          ctrl.DataSource = logicalOps;
          ctrl.DisplayMember = "Col2";
          ctrl.ValueMember = "Col1";
            
             
      }
Here, as I said when the first cell is in edit mode it will show "Equal to" automatically but it will never update the cell,
one more problem is when I select  a value the the default value will be previously selected value and it will not allow to update
with the same value

Please Help .

Thanks in Advance,

Manu Krishna

Here, as I said when the first cell is in edit mode it will show "" automatically but it will never update the cell,one more problem is when I select  a value the the default value will be previously selected value and it will not allow to update with the same valuePlease Help .Thanks in Advance,Manu Krishna
Jack
Telerik team
 answered on 17 Sep 2010
1 answer
113 views
Hello,

I am using 2010 version of Winform.
I want to add ShortcutKey ( Hotkey) in default contextmenu of Gridview.

Like,
hiding column ----  ctrl+H
column chosser ----  ctrl+c
Export ----  ctrl+E

How can i accomplish this?
Please put some code to understand, if possible.
Nikolay
Telerik team
 answered on 17 Sep 2010
9 answers
674 views
Hi,

I used this line ( ThemeResolutionService.ApplicationThemeName = "Desert"; ) in my main form to set the default theme for the application. All works well on my main form. I then added a radRibbonForm and added a few controls to it.

When I run the application the RibbonBar and StatusBar do not reflect the default theme. I tried disabling the Aero support with this line( this.AllowAero = false; ), but I just get an error.

Error 1 'Form1' does not contain a definition for 'AllowAero' and no extension method 'AllowAero' accepting a first argument of type 'TopRate_Advantage.frmCategory' could be found (are you missing a using directive or an assembly reference?)

Any help would be appreciated.
- Scott
Stefan
Telerik team
 answered on 17 Sep 2010
1 answer
364 views
Hi.

I have a grid which is bound to an object bindinglist. Some properties are of the DateTime type. When some value is null I need to expose them as DateTime.MinValue and format them on CellFormatting, if the value is DateTime.MinValue I set the Text of the cell to String.Empty. It works fine.

But when I export to excel xml it is exported as <Data ss:Type="DateTime">0001-01-01T00:00:00.000</Data> which excel will not read.

How do I solve this? 

I am still on RadControls 2009.3.9.1111. I try upgrading to 2010 but it was too much work to upgrade. Will do someday.

Thanks
- jorge
Martin Vasilev
Telerik team
 answered on 17 Sep 2010
3 answers
197 views
I have some screenshots of this, but am not sure where I can post it.

With the Stylebuilder open, using a RadTreeView, at IDLE CPU usage is 23% for that process.

I have a quad core, and task manager shows 2 cores at 50% each.

This is during IDLE, I don't even have the window active, and it stays at that usage even when minimized.

I am running on 32-bit Vista Pre-SP1, Intel Core-2 Quad 4GB RAM, Radeon 2900HD.



Nikolay
Telerik team
 answered on 17 Sep 2010
5 answers
286 views
Uhmmmm .. I hate to sound like a broken record :) but where is the option to set the border to the RadListBox to none?

Steven Hodson
WinExtra / Hodson Report
http://www.winextra.com
http://www.hodsonreport.com
Nikolay
Telerik team
 answered on 17 Sep 2010
3 answers
211 views

Hello!

I wanted to customize a listcontrol, so the items are shown horizontally side by side, without a scrollbarthumb and the scrollbuttons on the left/right side of the items.

 

I already customized the element with the ElementDesigner (removed the ScrollbarThumb and set the orientation of RadListElement/StackContainer to horizontal). But at runtime there is no difference (whole Scrollbar available and orientation vertical)

 

Maybe someone can tell me how to accomplish this. Maybe there is another control/way to realize this.

 

Thanks for any help!

Regards

Juergen

Peter
Telerik team
 answered on 17 Sep 2010
2 answers
309 views
Hello!

I've successfully added a RadContextMenu to my RadListControl and now I want to get the clicked/selected Item in de ListControl.

In fact the appearing RadContextMenu takes focus and prevents the RadListControl giving a SelectedItem, I can't get it.

Does somebody know a property/way to get the RadListDataItem which was clicked to show the ContextMenu?

Will be happy for any solution.
Thanks and regards
Juergen
Juergen Holzer
Top achievements
Rank 2
 answered on 17 Sep 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?