Telerik Forums
UI for WinForms Forum
6 answers
1.1K+ views

I want get the some column detail by clicking the command button.

Ex: If a had price 10 as default and when i click command button the price will be updated as 12.

How can do this by using programmatically.

 Thanks in advance.

Note: VB Coding

Hristo
Telerik team
 answered on 29 Apr 2015
1 answer
381 views

Hi

How can I get dashed line around pink part of the pie and bar in the attached picture?

 Pauli

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Apr 2015
3 answers
255 views

I know this sounds silly, but no matter what I do when I pull data into a masked text box on the grid it ignores my mask.

I have a grid, radGridview1.  My data is stored in the database as string data.

I am adding the column in code:

GridViewMaskBoxColumn maskBoxColumn = new GridViewMaskBoxColumn();
            maskBoxColumn.Name = "Phone";
            maskBoxColumn.FieldName = "cellphone_number";
            maskBoxColumn.HeaderText = "Phone";
            maskBoxColumn.MaskType = MaskType.Numeric;
            maskBoxColumn.Mask = "(999) 000-0000";
            maskBoxColumn.TextAlignment = ContentAlignment.BottomRight;
            radGridView1.MasterTemplate.Columns.Add(maskBoxColumn);

Then in the CellFormating event:

if (e.Column.Name=="Phone")
         {
             long cellInfo =Convert.ToInt64(e.CellElement.Value);
             e.CellElement.Value = cellInfo;
         }
 

In the debugger it stops on this line fine, I can confirm that cellInfo has the phone number stored in it (6185551212) say.

But in the cell it ignores the mask.

I have tried using type of standard and numeric. I have created columns in the columns editor.

I attached a picture of what it is doing.

Any thoughts?

Thanks,

Joe

 

 

Ralitsa
Telerik team
 answered on 29 Apr 2015
2 answers
205 views

I have the following columns in my bindingsource BookID, Name, Price, StatusID. StatusID is a foreign key.

Another table has the following columns StatusID, Status_Name.

I want Radgridview to contain the following columns: Name, Price, Status_Name. How can I do that? I cann't do that by a query because I will loose update capabilities of my tableadapter. Should I do that by templates? How can I accomplish this?

Thanks! 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Apr 2015
1 answer
116 views

I need to draw 2 lines for group totals. One line will go from S # to Comments.

The other line will go from Plot # to Comments.

How would I do this?

Howard

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Apr 2015
4 answers
139 views
hi,

I have dragged the radmenu on to my form and added an item called file. When I run it it crashes with an exception here:

            this.radMenu1.Items.AddRange(new Telerik.WinControls.RadItem[] {
            this.radMenuItem1});
            this.radMenu1.Location = new System.Drawing.Point(0, 0);
            this.radMenu1.Name = "radMenu1";
            this.radMenu1.Size = new System.Drawing.Size(1085, 20);
            this.radMenu1.TabIndex = 0;
            this.radMenu1.Text = "radMenu1";

with 
A first chance exception of type 'System.ArrayTypeMismatchException' occurred in CampClient.exe
Ralitsa
Telerik team
 answered on 28 Apr 2015
5 answers
309 views

I have a RadDock with AutoDetectMdiChildren = True and MdiChildDocType = DockType.Document.

When I drag one of the documents out of the RadDock and drop it on a different part of the screen, I want to change the size of the window. By default the size is very small.

Is that possible and if so how would I accomplish this? 

 

Stefan
Telerik team
 answered on 28 Apr 2015
1 answer
99 views

My TimePicker show 24 hours but I want to show 12 hours.

I want to show the hours and minutes, like the image with the name Timepiker.png

I work in vb.net.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Apr 2015
3 answers
192 views
HI,

How i can associate two or many radscheduler at the same radschedulernavigator?

I must to create a form that have 1 radschedulernavigator and 2 radscheduler where i must to show different information.

Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Apr 2015
2 answers
230 views

Hello;

I may be misunderstanding templates.

Can you use them to setup different "views" of your grid, or are they only used with hierarchical data is used?

In other words, instead of creating my colums in the master template can I create three templates with different layouts, then access them as needed?

I have tried to do this, but cannot seem to add a row to them then have it display using:

GridViewDataRowInfo dataRowInfo = new GridViewDataRowInfo(this.radGridView4.MasterTemplate.Templates[0].MasterViewInfo);
dataRowInfo.Cells["repID"].Value = curRow.repID;
radGridView4.Rows.Add(dataRowInfo);

 

am I missing something simple or simply not understanding their use?

Joe

Joe
Top achievements
Rank 2
 answered on 27 Apr 2015
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
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?