Telerik Forums
UI for WinForms Forum
1 answer
120 views

In the gridview the default the cell formats should look like 0000.00

when the user tries to edit the cell
for Example :  when the user wants to type 100 ,

on typing first digit (ie) 1 - cell should show it has 0000.01
on typing the next digit (ie) 0 - it should show as 0000.10
on typing the last digit (ie) 0 -  it should show as 0001.00

that is , each char has to append one after the another in the above format

Richard Slade
Top achievements
Rank 2
 answered on 04 Feb 2011
2 answers
74 views
Hello guys. I'm trying different themes provided by Telerik on RadRibbon form + RadForm but I cant seem to get the desired Titlebar. I'm on a Windows 7 Professional x64 machine.

Two attached screens describe my dilemma...
DoomerDGR8
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 04 Feb 2011
3 answers
286 views
How to display the numeric datagridview , (ie) all rows and columns must accept only numeric values .. and to mask the cells in this format - 0000.00
Richard Slade
Top achievements
Rank 2
 answered on 04 Feb 2011
1 answer
155 views
I am using the Timeline-View. I found the property "HeaderFormat" and the header (displaying the time range) gets formatted accordingly. But how can I format the second header which displays the individual day?

TIA
Heiko
Dobry Zranchev
Telerik team
 answered on 03 Feb 2011
11 answers
241 views
Is there a way to get that using ColumnGroupsViewDefinition. I have a Columngroup with 3 rows in them and I want each of them to have a distinct color.

Thanks
Deepak
Richard Slade
Top achievements
Rank 2
 answered on 03 Feb 2011
9 answers
172 views
Afternoon,

I'm working on a little idea and wondered if it would be the best way to go. Basically i'm working on a basic CRM system for a sales environment. The section i'm working on is based around recording quotes. As a helpful reporting tool i'm now going to try to record from when the quote was opened to when it was won as this will show turn around times.

Now the problem I have is trying to record that difference. My current idea is for them to have a checkbox which they tick to indicate it has been won and then to record the datetime in another cell. This will then give me my start and finish dates. I've looked at both using a custom popup editor like the one here http://www.telerik.com/support/kb/winforms/gridview/create-pop-up-user-control-for-row-editing.aspx and using a checkbox column in the gridview. It is my feeling that the gridview checkbox would be the simplest way to go.

What I'm stuck on is how to, when the checkbox is selected, set the value of another cell in the same row with the current datetime. I think I would also want it so that once the checkbox has been ticked, it cannot be unticked else the results would be modified for the reporting end of things.

Is this the best way to go or is there a better solution? Any ideas or help would be greatly appreciated.

Regards,

Guy
Richard Slade
Top achievements
Rank 2
 answered on 03 Feb 2011
4 answers
190 views
Hi,
I am developing a winforms app using dock with a single tool window,  currently I have tool window located in the top.  I really want it to display as it would if it were in the middle but for styling reasons I prefer a tool window to a document window. 

So the result right now is an odd space below the tool window and the splitter that divides the tool window from the odd blue space.  is there any way to put a tool window in the center, or to make the splitter disappear and lock the tool window so if the user alters the size of the form the tool window will grow in size as well as opposed to the blue space growing as well.  I have attached a picture so you can see the blue space separator/splitter I am talking about.
thank you in advance for your help.
regina
Top achievements
Rank 1
 answered on 03 Feb 2011
5 answers
203 views
Hello,

I have a gridview containing a file explorer. For the column filesize I have a hidden column with the filesize in bytes. The I have another column with the size formatted to a string containing 8,25 KB, ...

When the user wants to sort the data by the filesize column, I have to sort dynamicly on the hidden column instead of the filesize column.

Is there a way of doing this?

Tnx!
Stefan
Telerik team
 answered on 03 Feb 2011
1 answer
137 views

i m using this method.maybe helpfull some new developers like me.
public void changeyourcolumnsname()
{string conn="Data Source=yourdatasource; User Id=youruserid; Password=yourpassword; Initial Catalog =yourdataname;";

 

 

 

 

 

using

 

 

(SqlConnection connection = new SqlConnection(conn))

 

{

connection.Open();

 

 

 

 

 

DataSet ds = new DataSet();

 

 

 

 

 

SqlDataAdapter adp = new SqlDataAdapter("select col1,col2,col3,col4 from yourtable",connection);
adp.Fill(ds, "yourtable");

 

 

 

 

 

this.radMultiColumnComboBox1.DataSource = ds.Tables[0];

 

 

 

 

FilterDescriptor descriptor =

 

 

 

new FilterDescriptor(this.radMultiColumnComboBox1.DisplayMember, FilterOperator.StartsWith, string.Empty);

 

 

 

 

 

this.radMultiColumnComboBox1.EditorControl.FilterDescriptors.Add(descriptor);

 

 

 

 

 

this.radMultiColumnComboBox1.DropDownStyle = RadDropDownStyle.DropDown;

 

 

 

 

 

this.radMultiColumnComboBox1.EditorControl.Columns[0].HeaderText = "mycolumns1";//change your col1

 

 

 

 

 

this.radMultiColumnComboBox1.EditorControl.Columns[1].HeaderText = "mycolumns2";//change your col2

 

 

 

 

 

this.radMultiColumnComboBox1.EditorControl.Columns[2].HeaderText = "mycolumns3";//change your col3

 

 

 

 

 

this.radMultiColumnComboBox1.EditorControl.Columns[3].HeaderText = "mycolumns4";//change your col4

 

 

 

 

 

 

connection.Close();

 

}

 

private

 

 

 

 

void yourform_Load(object sender, EventArgs e)

 

{

 

 

 

this.radMultiColumnComboBox1.AutoSizeDropDownToBestFit = true;

 

RadMultiColumnComboBoxElement multiColumnComboElement =

 

this.radMultiColumnComboBox1.MultiColumnComboBoxElement;

 

multiColumnComboElement.DropDownSizingMode = SizingMode.UpDownAndRightBottom;

multiColumnComboElement.DropDownMinSize =

 

new Size(420, 300);

 

multiColumnComboElement.EditorControl.MasterGridViewTemplate.AutoGenerateColumns =

 

false;

 

 

 

 

this.radMultiColumnComboBox1.AutoFilter = true;

 

 

 


changeyourcolumnsname();

}

 

 

 

 

 

 

Svett
Telerik team
 answered on 03 Feb 2011
1 answer
134 views
Is there a way to set the height of an appointment?

TIA
Heiko
Dobry Zranchev
Telerik team
 answered on 03 Feb 2011
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?