Telerik Forums
UI for WinForms Forum
3 answers
539 views

I would like my dates to be formatted like this
dd-MM-yyyy HH:mm
which should result in
10-08-2008 15:30


However viewing data is currently formatted like this
10-09-2008 15:30:00
and when editing the values it is:
17. september 2008


I would like both formats to use this format string
dd-MM-yyyy HH:mm
And as i read it i should only set the FormatString property and this should result in both the edit and view format to be set correctly.

Below i attached my code:

puljeRounds.MasterGridViewTemplate.Columns.Add(new GridViewDateTimeColumn("Dato", "round_date") {  FormatString = "{0:dd-MM-yyyy HH:mm}" }); 
Boyko Markov
Telerik team
 answered on 19 Sep 2008
3 answers
110 views
This should be an easy one - how do I make it so that when I select a tab in the docking manager, the selected tab is highlighted?

I've got it highlighting the tab when I hover & when I click on the tab, but the effects are just fading away, so I need to know how to find and set the condition for the effect.

 thanks
Vassil Petev
Telerik team
 answered on 19 Sep 2008
4 answers
395 views

Hello,

Is it possible in pie chart show the slice name and correspondent value?

I only can show or one or other.

Thank you.
LM

Xavier Soares
Top achievements
Rank 2
 answered on 19 Sep 2008
5 answers
103 views
Hi Telerik Team,
I am looking into your new Q2 2008 pack of Rad controls for Win Forms.
I just came cross a demand from client. i.e.

We have Radtreeview in form as well. Now the user wants that if he drags any node of treeview control and drops it in toolstrip area then the node's tool button should created.
The problem I am encountering is that i could not find any event something like "Drag in" or even "Mouse Up" as i can see there is an event of  "Mouse down".

Can you please help in in this regard.

Regards,
Haroon.
Vassil Petev
Telerik team
 answered on 18 Sep 2008
1 answer
106 views
hi,

i want to get the values of the gridview rows columns when several rows are selected. is there an collection of selected rows and can i get the values using "for each..."?

thanks,

andreas
Martin Vasilev
Telerik team
 answered on 18 Sep 2008
1 answer
342 views
Hi Telerik Team,
Can you please provide we a sample projects (with vb 2005) code of "Photo Album " and "Business Card"  projects in  your  winForm  Conrtols  Demo  project.
I be really  thankful.

Regards,
Haroon.
Martin Vasilev
Telerik team
 answered on 18 Sep 2008
1 answer
207 views
Hi

I have a Grid bound as below, i am able to enter edit state on the TextBoxes however upon end edit the value entered is not persisted in the grid (meaning the datasource)

Why is this ?
If it is not possible to have a "select new { }" in the linq query and still edit, how should i then do this ?


            rounds.MasterGridViewTemplate.Columns.Clear();  
            rounds.MasterGridViewTemplate.Columns.Add(new GridViewDataColumn("Hjemme", "tName") { Width = 120,ReadOnly=true });  
            rounds.MasterGridViewTemplate.Columns.Add(new GridViewTextBoxColumn("Bane", "lane_HomeNum") { Width = 55HeaderText = "Bane" });  
            rounds.MasterGridViewTemplate.Columns.Add(new GridViewDataColumn("Ude", "tName2") { Width = 120ReadOnly = true });  
            rounds.MasterGridViewTemplate.Columns.Add(new GridViewTextBoxColumn("Bane Ude", "lane_awayNum") {  Width = 55HeaderText = "Bane"DataType = typeof(int) });  
            rounds.MasterGridViewTemplate.Columns.Add(new GridViewDataColumn("Anden dato", "round_id") { Width = 50ReadOnly = true });  
            rounds.MasterGridViewTemplate.AutoGenerateColumns = false;  
            var q = from v in db.match_dbs  
                    where v.round_id == roundID  
                    select new { v.match_id,  tName =  v.team_db.team_name,v.lane_HomeNum,  v.lane_awayNum , tName2 = v.team_db1.team_name };  
 
            rounds.DataSource = q
Jordan
Telerik team
 answered on 18 Sep 2008
3 answers
106 views

Hi Guys,

I am looking for a way to export the RadPanelBar Control to an ActiveX object for use in a VB6 project. I know it’s possible, I just need a bit of help considering the RadPanelBar is a user control and not a simple object.

Going from ActiveX to .NET is fairly simple but it’s a bit of a pain going the other way.

Any help would be appreciated. I couldn't find much via google. :~<

Thanks,
Chris H

C# .NET 2008,
NET Framework 3.0,
Telerik Controls 2008 Q2 SP1
Nikolay
Telerik team
 answered on 17 Sep 2008
1 answer
129 views
Hello,

I tried to use RadComboBoxElement now but met 2 problems.

1. I did set the property "ReadOnly" to True, however, I could always edit the text shown in the combobox, same problem in the demo of RadControl.

2. When the text of an item in the combox is longer than the length of the combobox, then I selected it, in the combobox it would show the end of the item. What I want is to show the head of the text.

Waiting for ur answer.
Shuo
Top achievements
Rank 1
 answered on 17 Sep 2008
0 answers
75 views
it is solved
lolly
Top achievements
Rank 1
 asked on 16 Sep 2008
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?