Telerik Forums
UI for WinForms Forum
2 answers
412 views
Hi,

I am using several MultiColumn ComboBoxes in a Windows Form, and would like the combo boxes to have nothing selected when the form is first loaded.  The boxes will not have any text in them, and the user will have to use the drop down to select a row.  Once a row has been selected, the box will show the first column of the selected row.

I have tried using the ClearSelection() method on the EditorControl of the combobox, in both the form shown and form load methods, but the combo box still shows the first record when it loads. 

Any suggestions?

Thanks!
Plamen
Telerik team
 answered on 18 Jan 2013
3 answers
109 views
OLAP dimensions  are not displayed consistently in the field chooser in RadPivotFieldList. Dimensions with a multi-level hierarchy are displayed directly below the dimension name (see Publication date in the attached example), but single-level hierarchies are shown under 'more fields'.  When displaying the same cube in Microsoft SSMS both types are displayed in the same way.

Thanks
Sjoerd
Peter
Telerik team
 answered on 17 Jan 2013
1 answer
176 views
Hello,
I can't find out how to hide weekends in timelineview with resource grouping.

 I found an example with DayViewBase in your winforms demo, but for timelineview there is no DataAreaElement to use
private void radSchedulerNavigator1_ShowWeekendStateChanged(object sender, StateChangedEventArgs args)        
{            
  if (this.radSchedulerDemo.ActiveView as SchedulerDayViewBaseView != null)            
  {                
     (this.radSchedulerDemo.SchedulerElement.ViewElement as SchedulerDayViewElement).DataAreaElement.ScrollView.Value = Point.Empty;                 
     (this.radSchedulerDemo.SchedulerElement.ViewElement as SchedulerDayViewElement).DataAreaElement.Table.ScrollToWorkHours();            
  }        
}

my ActiveView is SchedulerTimelineView
and radSchedulerDemo.SchedulerElement.ViewElement is TimelineGroupingByResourcesElement datatype.


Is any way how to make it work?

Thank you
Robert

Ivan Todorov
Telerik team
 answered on 17 Jan 2013
2 answers
330 views
I need to have a button on a form that  when clicked -  iterate through all rows of the RADGridview and change some of the rows background color according to some criteria.
All of the samples suggest using 'RowFormatting' event, but it doesn't sound applicable here.

So if my code looks like:

foreach (GridViewRowInfo rowInfo in grdOrderlinesBase.Rows)

{
...
}

How do I make the background of the row corresponding to the i'th rowInfo become red?

Thanks
Plamen
Telerik team
 answered on 17 Jan 2013
1 answer
113 views
Hi,

I can't get the SelectedItemChanged to fire when I'm clicking one of  the arrows in a radCarousel. There is no problem with the SelectedIndexChanged. But shouldn't they both(SelectedIndexChanged and SelectedItemChanged) fire ? As both the index and item chance when clicking the arrow?

Regards,
Thomas
Anton
Telerik team
 answered on 17 Jan 2013
5 answers
200 views
I need to add a button next to the drop down button in a GridViewComboBoxColumn.  is that possible?  the user want's a button displayed when in the cell next to the drop down to add new items to the drop down for the grid.  i've seen stuff where it was customized to add new stuff typed in the GridViewComboBoxColumn but they don't want to do that.  they want a specific click step and a popup to add it.

Thanks!
John
Top achievements
Rank 1
 answered on 16 Jan 2013
0 answers
126 views
I see the Autoscroll property for the GroupBox but I am unable to set set it to true, and when I try to set it in code it dies not do anything.  Is there some other setting that needs to be set or does this not work?
Eric Klein
Top achievements
Rank 1
 asked on 16 Jan 2013
1 answer
65 views
When I set an appointment to something like:
Start Time - 1/15/2013 4:00:00 PM
End Time - 1/16/2013 12:00:00 AM

the appointment spans both days (1/15 and 1/16). Since 1/16/2012 12:00 AM is the same thing as 1/15/2012 24:00, I would not expect this behavior. See the attached image for an example.

I realize that appointments in the month view are taking up the whole day horizontally but an 8 hour appointment starting at 4:00 PM should not look like it is also spilling over into the next day. At least not in my opinion.

I also realize that I can get around this by having the user enter 11:59:59 PM. But 1) its not accurate and 2) its clunky.

Microsoft's Outlook handles this correctly.
Ivan Todorov
Telerik team
 answered on 16 Jan 2013
3 answers
169 views
Hi -

I am using the 2012 Q3 2012.3.1211.40 version of the Masked Edit box.
I set the mask property to 'c' for (US) currency.  During design time the masked edit box displays properlt $0.00.  It also displays fine when the form initially starts up.  Not only until you assign a value to the text property does the formatting go away.

I have not experienced this in the previous version of the masked edit box.  I have not made any changes to the source code as well.

Can you indicate if there was a change made or a bug introduced to the Masked Editbox?

Thanks
Bob
Peter
Telerik team
 answered on 16 Jan 2013
8 answers
269 views
when mouse click the "click here to select" then show menu let me to select user
how can i do this
thank you.
           WebOrdersAppointGridView.MasterTemplate.AutoGenerateColumns = true;
           WebOrdersAppointGridView.ShowGroupPanel = true;
WebOrdersAppointGridView.MasterTemplate.AllowEditRow = true;
WebOrdersAppointGridView.MasterTemplate.AutoExpandGroups = true;
WebOrdersAppointGridView.MasterTemplate.EnableFiltering = true;
WebOrdersAppointGridView.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
WebOrdersAppointGridView.MasterTemplate.EnableGrouping = true;
WebOrdersAppointGridView.MasterTemplate.AllowAddNewRow = false;
WebOrdersAppointGridView.MasterTemplate.AllowDragToGroup = true;
WebOrdersListGridView.TableElement.BeginUpdate();
WebOrdersAppointGridView.Rows.Clear();
// start read data
 
using (MySqlDataReader dr = MySQLHelper.ExecuteReader(MySQLHelper.DBConnectionString, CommandType.Text, sqlText, null)) {
    if (!dr.HasRows) {
        WebOrdersAppointGridView.TableElement.Text = "no data to display";
        return;
    } else {
        WebOrdersAppointGridView.MasterTemplate.LoadFrom(dr);
    }
}
 
WebOrdersAppointGridView.Columns["contact_id"].HeaderText = "NO.";
WebOrdersAppointGridView.Columns["contact_id"].TextAlignment = ContentAlignment.MiddleCenter;
WebOrdersAppointGridView.Columns["contact_id"].Width = 70;
 
WebOrdersAppointGridView.Columns["username"].HeaderText = "姓名";
WebOrdersAppointGridView.Columns["username"].Width = 150;
 
WebOrdersAppointGridView.Columns["telephone"].HeaderText = "联系电话";
WebOrdersAppointGridView.Columns["telephone"].Width = 150;
 
WebOrdersAppointGridView.Columns["qq"].HeaderText = "联系QQ";
WebOrdersAppointGridView.Columns["qq"].Width = 150;
 
WebOrdersAppointGridView.Columns["area_id"].HeaderText = "所在区域";
WebOrdersAppointGridView.Columns["area_id"].DataType = typeof(string);
WebOrdersAppointGridView.Columns["area_id"].Width = 150;
 
WebOrdersAppointGridView.Columns["address"].HeaderText = "所在地址";
WebOrdersAppointGridView.Columns["address"].Width = 150;
 
WebOrdersAppointGridView.Columns["addtime"].HeaderText = "递交时间";
WebOrdersAppointGridView.Columns["addtime"].TextAlignment = ContentAlignment.MiddleCenter;
WebOrdersAppointGridView.Columns["addtime"].DataType = typeof(string);
WebOrdersAppointGridView.Columns["addtime"].Width = 150;
           WebOrdersListGridView.TableElement.EndUpdate();
Plamen
Telerik team
 answered on 16 Jan 2013
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?