Telerik Forums
UI for WinForms Forum
4 answers
554 views
Hi,

How do you simply delete the entire content of a richtextbox programmatically?

Thanks,
Karl
Hannah
Top achievements
Rank 2
 answered on 22 Oct 2013
1 answer
119 views
Hello,

I am currently using the ChartView context menus to copy the graph to the clipboard. It works fine for all my ChartViews except those of type Pie. In fact, the default context menu (with only the "Palette" item) is not even showing.

Is it a known bug or am I missing something?
Best,
Mathias
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Oct 2013
10 answers
1.0K+ views
Is it possible to open a windows form in an already existing tab?  I have predefined tabs in a DocumentTabStip and I want to open a windows form inside of the tab when the tab is selected.

Doing the following will fill the existing tab and create a new blank tab, but I just want to fill the existing tab.  I'm sure I'm missing something simple here, but have been struggling for some time.  If I eliminate the second line, I get an error.

 
Dim myForm As New Form1()
Me.DocumentWindow1.DockManager.DockControl(myForm, DocumentWindow1, DockPosition.Fill) 
  
DocumentWindow1.Controls.Add(myForm) 
  
  

 

 

 

 

 

 


Nikolay
Telerik team
 answered on 22 Oct 2013
1 answer
191 views
Hi,

I recently installed RadControls for WinForms, Q2 2013 SP1, 13.2.725.0.   When I ran the demo to see what was new, the demos all follow the Metro theme.   In some past demos, there was a run-time link or control to re-style the demo to use another theme, but I did not see one is this demo.  Hopefully it's there and I just missed it.

Frankly I'm not a fan of Metro's blocky, crayon-like primary-colored, squared-off appearance. 

Is there any way to change the theme during the demo's run?   Or would i have to go change the Demo's source code and rebuild it to do that?

Thanks!
-Bob
Nikolay
Telerik team
 answered on 22 Oct 2013
1 answer
156 views
Hi!

I would like to resize my gridtimepicker clock. Main issue is that by default its size hides minutes to choose. I have to resize the clock manually every time to show these options which is irritating. Default view in attachment. How can I solve this problem?

And in addition. How to change color of the hand of the clock? Eg. in Style Builder?

Thanks in advance,
Szymon.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Oct 2013
4 answers
130 views
I want to know how to :
1- move template part to make value column under the net effect column in parent row.
2- get template summary value ...I couldn't read it.
3- recalculate net effects column, so the net value column on same time of template summary calculated.

thank you very much

best regards
George
Telerik team
 answered on 22 Oct 2013
0 answers
46 views
I am employing many client-side events to show/hide two different AutoCompleteBoxes (RACB) based on certain conditions.  I also target the entry added event to display some textboxes on the fly.  Mostly everything is working well, however, IE10 is presenting some issues.  Upon typing in a letter on the initial load of the control, the next matching record is automatically input into the RACB without actually selecting anything.  Once it is removed, the RACB works as designed.  It is only on the initial load of the control.
Emily
Top achievements
Rank 1
 asked on 21 Oct 2013
2 answers
222 views


Hi, how do I display the grid's context menu if there are no rows in the grid? I want to right click in the white space and show the context menu.

Thanks,
Stefan
Telerik team
 answered on 21 Oct 2013
2 answers
185 views
What is the proper way to remove a row and set the previous row as active(if # of rows > 0) on a sorted and/or filtered and/or grouped radGridView?
I populate my radGridView manually with a stored procedure.
The first column in the rGV is a button column when the user presses the button the row should be removed and the previous row set as active/current.
I had this working perfectly when using the DataGridView included with VS2012 but now I'm getting an IndexOutOfRangeException thrown.

 

Private Sub DataGridView4_CellContentClick(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles DataGridView4.CellClick
    If e.ColumnIndex = 0 Then
        intDataGridSelectedIndexRenewalC = DataGridView4.CurrentRow.Index
        If sps_EIPHasBeenBilled(DataGridView4.CurrentRow.Cells("Policy_no").Value.ToString) Then
            RenewalsCommercialMarkComplete()
        Else
            MsgBox("Unable to Mark This Policy as Complete! " & DataGridView4.CurrentRow.Cells("Policy_no").Value.ToString & " Has Not been Billed Yet.", vbOKOnly)
        End If
    End If
End Sub
 
Private Sub RenewalsCommercialMarkComplete()
    Dim UpdateStatus As Boolean
    Dim SQLQuery As String = "exec " & strDefaultDatabase & ".dbo.spu_EIPRenewalMarkCompleteByRenewalID '" & DataGridView4.CurrentRow.Cells("RenewalsID").Value & "', '" & strLoggedInUserFullName & "'"
 
    If MsgBox("Do you wish to mark this record: " & DataGridView4.CurrentRow.Cells("Customer").Value.ToString & ": " & DataGridView4.CurrentRow.Cells("Policy_no").Value.ToString & " as complete?", vbYesNo + vbQuestion, "Renewal Mark Complete") = vbYes Then
        UpdateStatus = WriteSQL_Data(SQLQuery)
        If UpdateStatus Then
            MsgBox("Record: " & DataGridView4.CurrentRow.Cells("Policy_no").Value.ToString & " Marked As Complete!", MsgBoxStyle.OkOnly)
            DataGridView4.ChildRows(intDataGridSelectedIndexRenewalC).Delete()
            If (intDataGridSelectedIndexRenewalC - 1) > 0 Then
                DataGridView4.ChildRows(intDataGridSelectedIndexRenewalC - 1).IsSelected = True
                DataGridView4.ChildRows(intDataGridSelectedIndexRenewalC - 1).IsCurrent = True
            End If
        Else
            MsgBox("Unable to Connect to Database Please see your System Administrator with Error: Summary - ButtonOk_Click: ", vbOK)
        End If
    Else
        MsgBox("The Operation was Cancelled", vbOKOnly)
    End If
End Sub
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Oct 2013
1 answer
1.2K+ views

I have a problem with formatting numbers with Telerik controls (version Q3 2012).

Requirements are
 - formatting similar to ###,###,##0.00## (limiting number of decimals and also number of digits on the left of decimal point) must be supported.
 - formatting mask must be invisible so with mask ###,###,##0.00## text should be only 0.00 and not ___,___,__0.00__.

I have tried to implement this scenario with MaskedEditBox and Textbox but 
 - in MaskedEditBox i could not hide the mask
 - TextBox does not have any formatting options

Is such scenario supported with Telerik controls?
Dimitar
Telerik team
 answered on 20 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)
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?