Telerik Forums
UI for WinForms Forum
5 answers
195 views
Is it possible to group by date similiar to outlook?$0$0$0$0Like:$0$0$0$0$0Today$0$0Yesterday$0$0Sunday$0$0Saturday$0$0...$0$0Last Week$0$0This Month$0$0Last Month$0$0Older$0
Richard Slade
Top achievements
Rank 2
 answered on 20 Dec 2010
1 answer
155 views
I have added a  GridViewMultiComboBoxColumn column from code behind into a gridview.  Everthng works well but the drop down is very narrow and does not display the entire contents in each row.  What is the best way to size this control so that all values are displayed in its entirety.  Some of the things I have tried did not work.

 

cboCategory.FieldName =

"Category"

 

 

 

 

 

 

'cboCategory.HeaderText = "Category"

 

 

 

 

 

cboCategory.DataSource = objDT

cboCategory.ValueMember =

"Category"

 

cboCategory.DisplayMember =

"Category"

 

 

'cboCategory.Width = 0.2 * Me.RadQueuedFiles.Width

 

cboCategory.AutoSizeMode = BestFitColumnMode.DisplayedDataCells

 

'cboCategory.BestFit()

 

Richard Slade
Top achievements
Rank 2
 answered on 20 Dec 2010
3 answers
79 views
Put this in the startup code (After the fill.database:
InitializeTimeZones()
  
  
Here is The VB coding. 
  
  
  Private Sub InitalizeTimeZones()
        ddTimeZones.SortStyle = Telerik.WinControls.Enumerations.SortStyle.Ascending
        ddTimeZones.DataSource = Time.GetSchedulerTimeZones
        ddTimeZones.DisplayMember = "List"
    End Sub
    Private Sub RadButton1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadButton1.Click
        RadScheduler1.ActiveView.DefaultTimeZone = DirectCast(ddTimeZones.SelectedValue, SchedulerTimeZone)
    End Sub
    Private Sub RadButton2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RadButton2.Click
        Dim view As SchedulerDayViewBase = TryCast(RadScheduler1.ActiveView, SchedulerDayViewBase)
        If view IsNot Nothing Then
            view.TimeZones.Add(DirectCast(ddTimeZones.SelectedValue, SchedulerTimeZone))
        End If
    End Sub
Dobry Zranchev
Telerik team
 answered on 20 Dec 2010
3 answers
155 views
I have created an unbound grid as follows

RadQueuedFiles.Columns.Add(New GridViewTextBoxColumn("GUID"))
            RadQueuedFiles.Columns.Add(New GridViewTextBoxColumn("P_ID"))
            RadQueuedFiles.Columns.Add(New GridViewTextBoxColumn("T_ID"))
            RadQueuedFiles.Columns.Add(New GridViewTextBoxColumn("Project_Name"))
            RadQueuedFiles.Columns.Add(New GridViewTextBoxColumn("T Information"))
            RadQueuedFiles.Columns.Add(New GridViewTextBoxColumn("File_Path"))
            RadQueuedFiles.Columns.Add(New GridViewTextBoxColumn("File Name"))
            RadQueuedFiles.MasterTemplate.AllowAddNewRow = False
  
  
            RadQueuedFiles.AutoSizeRows = True
            RadQueuedFiles.Columns(0).IsVisible = False
            RadQueuedFiles.Columns(1).IsVisible = False
            RadQueuedFiles.Columns(2).IsVisible = False
            RadQueuedFiles.Columns(3).Width = 0.15 * Me.RadQueuedFiles.Width
  
            RadQueuedFiles.Columns(4).DisableHTMLRendering = False
            RadQueuedFiles.Columns(4).Width = 0.55 * Me.RadQueuedFiles.Width
  
            RadQueuedFiles.Columns(5).IsVisible = False
  
RadQueuedFiles.Columns(6).Width = 0.35 * Me.RadQueuedFiles.Width
RadQueuedFiles.AllowEditRow = False
RadQueuedFiles.AllowAddNewRow = False
  
Dim descriptor As New GroupDescriptor()
descriptor.GroupNames.Add("Project_Name", System.ComponentModel.ListSortDirection.Ascending)
Me.RadQueuedFiles.GroupDescriptors.Add(descriptor)


When I run the program and add rows programatically, it groups by value in GUID column and not the project name... sample add is below

RadQueuedFiles.Rows.Add(Guid.NewGuid, cboProjectName.SelectedValue, RadT.CurrentRow.Cells(0).Value, cboProjectName.Text, strProjectIdentifier, file, file.Split(

"\")(file.Split("\").Count - 1))

What am I missing?

 

Richard Slade
Top achievements
Rank 2
 answered on 20 Dec 2010
4 answers
303 views
I have a WinForms dropdown list in DropDownList Sytle that is bound to a datatable.  I've read several articles in the forums, but found nothing to either let me set the selection to blank after binding, or insert a "Please Select" selection either before or after binding.

I've tried setting the text property and the Null Text property and these don't work either.

Any suggestions?

Julian Benkov
Telerik team
 answered on 20 Dec 2010
1 answer
136 views
I have a shaped form that looks normal in the designer, but when actually showing the form in the application its just a gray square. The controls are missing on it as well...

Can't seem to attached files right now, so no screen shots. 


Svett
Telerik team
 answered on 20 Dec 2010
4 answers
95 views
Hi,

I have succeeded in creating my own custom appointments, binded with a list of business object. Now, I would like to make a button on top of the screen to allow the user to save all his changes once he finishes assigning and arranging all of his appointments.

Is there a method similar to the GetChanges of the normal windows data binding? I am using the SchedulerBindingDataSource to bind the Scheduler with my list. 

Thanks in advance for your help.

Regards.
John
Dobry Zranchev
Telerik team
 answered on 20 Dec 2010
4 answers
127 views
Hello everyone. I'm just starting my first Telerik Windows Application. I needed a bit of advice regarding UI controls. My form will be re-sizable. I need to control the UI control placements using some layout engines. Kindly guide me if telerik has some layout provided or thngs to keep in mind microsoft's own layout controls. Thank you.
Richard Slade
Top achievements
Rank 2
 answered on 20 Dec 2010
4 answers
743 views
Hi,

I want RadGridView to adjust its size automatically. Like if the height of the rows are less then the maximum height of the grid, grid reduces its height automatically, if rows height are greater than maximum height specified for the grid, then grid sets its height to the maximum height of the grid and shows scrollbar. 

I m doing in this way but it is not working:

dtgBudgetPrognoseRamme.AutoSize = true;

 

dtgBudgetPrognoseRamme.MaximumSize = new Size(525, 192);

 

 

dtgBudgetPrognoseRamme.AutoScrollMinSize = new Size(525, 192);

Any help would be appreciated!

Regards!

Jack
Telerik team
 answered on 20 Dec 2010
7 answers
139 views
Hello,
I have RadGridView and there one editable numeric column. If I'm on editable cell and I want to enter for example number "635", when I press "6" column enter to edit mode and highlight previous number and then next numbers are entered, so If user enters 635 then in final there is only 35 in this cell. Is it possible to set somehow that first pressed key is also entered? Users want same functionality as in excel so enter numbers and then pres down and go to next cell. I'm not able to make this work in radgrid.
Svett
Telerik team
 answered on 20 Dec 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)
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
BindingNavigator
Styling
Barcode
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?