Telerik Forums
UI for WinForms Forum
12 answers
613 views
Hi,

I need help with one problem. I got databound ListView on windows form.
One of the columns in bound data is of DateTime type.
How do I display it in format dd/MM/yyyy (without time).
I can return date from database as already formated string but then sorting on this column
works on string value not DateTime.
I can't find way around it. Any help would be greatly appreciated.

Thanks
Chris
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Oct 2013
1 answer
124 views
Two tables in my database are: Regions and Carriers.
In the Carriers table, there is a field called "Regions".

That 'regions' field will be a GridViewComboBox that should get it's values from a "name" field in the Carriers table.

How would I do this?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Oct 2013
1 answer
193 views
If I take a tab strip (like the one in Examples/TabbedDocument) and add the following code in order to only allow dragging the documents within the tab strip they are a part of:

radDock1.GetService<DragDropService>().Starting += (sender, args) =>
{
    if ((sender as DragDropService).DragDropContext == DragDropContext.DocumentWindow)
    {
        args.Cancel = true;
    }
};

Then when dragging the cursor does weird things. If I start dragging, it shows the red circle (because I can't drop the document on itself). And if the cursor stays within the tab strip, everything is fine. But if I drag down so I'm hovering over one of the documents themselves, the cursor reverts to a simple pointer, even though I'm still dragging. Ideally, it would remain as a red circle, or if I had first hovered over a different tab, changing the cursor to the valid drop cursor, it should switch back to a red circle.

If I then return to the document tab strip (still dragging), the cursor will come back when I hover over the original document tab being dragged, but not any of the others.
George
Telerik team
 answered on 17 Oct 2013
0 answers
148 views
I added a combobox to my grid via the following method
   GridViewComboBoxColumn cboreason = new GridViewComboBoxColumn("Reasons");
               
               cboreason.DataSource = pamsContext.GetGrievancesReasons();
               cboreason.FieldName = "reason";
               cboreason.DisplayMember = "Value";
               cboreason.ValueMember = "Key";
               cboreason.Width = 100;
               grvGrievances.Columns.Add(cboreason);
               grvGrievances.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
     

 I have a details changed to track the dirty state of my form which i normally attach via 
  txtReportedTo.SelectedValueChanged+= DetailsChanged;
             

How do i do this with the above ???? As dont see the usual SelectedValueChanged method to call ??
Dave
Top achievements
Rank 1
 asked on 17 Oct 2013
7 answers
186 views
How do I get a context menu to show up for a childtemplate in a radgridview?
Thx.
Craig
Stefan
Telerik team
 answered on 17 Oct 2013
1 answer
238 views
HI

I need to have a close button on some tab of my PageView, but not all.

How should i proceed ?


Thank
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Oct 2013
8 answers
382 views
I want to  create program using telerik Tool  like your demo program .I have problem with  side menu how to make it fade in ,fade out and auto from when hide Menu.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Oct 2013
0 answers
144 views
I have a split container left and right one left with a grid view and one right with my controls I need to be able to place the ok and save buttons on the left and new record on the bottom but obv casue the containers are taking up full screen how do i solve this do i put a panel below the main container?
Dave
Top achievements
Rank 1
 asked on 17 Oct 2013
0 answers
137 views
Hi,
I load my Radgridview from database. 
Here is the sample code
 etc
radgridview1.masterTemplate.loadFrom(mySqlDataReader)
 etc

it works fine. But, i need my Radgridview to show as checkbox if the field from database is a BIT data Type. 
So, i need to change the column type after i load RadGridView from SQL Data Reader.
is this possible ?
if yes, how can i get it ?


Thanks very much, 
Dadan
Top achievements
Rank 1
 asked on 17 Oct 2013
1 answer
257 views
I have a GridView that I want to bind data too but I have many columns.  I would like to move some of the data to a second row for that first line of data.  Is this possible?  If so how can I go about doing it?  This grid will have textboxes, multicolumncomboboxes.

Thank you
Jerry
Top achievements
Rank 1
 answered on 16 Oct 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)
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
CommandBar
PdfViewer and PdfViewerNavigator
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?