Telerik Forums
UI for WinForms Forum
1 answer
234 views
Hello Telerik,

we are currently working on a project where we using your masked textbox. We bounded a BindingSource (System.Windows.Forms.BindingSource) to a RadMaskedEditBox. The BindingSource is linked to a class instance with several properties (string, double etc.).
The textbox is masked with "c2" and the masktype is "numeric". Our problem is when we are entering a value and the group or decimal seperator is a comma, for example "200,00", the value becomes 20000,00 (we are a german developer team). The same goes for english number formats the moment a comma is involved (2,000.00 becomes 200,000.00).
The property the textbox is linked to contains a value of the datatype double.

Is there a solution to this problem because we really want to use your controls.

Here a some more information about our configuration:
OS: XP and Win7
Telerik: RadControls fpr WinForms Q10

thanks in advance and greetings from germany
Emanuel Varga
Top achievements
Rank 1
 answered on 13 Oct 2010
10 answers
314 views

hi,
I have a radcontextmenu which only seems to work once. When I right click, my new items are added to the default menu, but when I go to do it again, I get the error message: 'Cannot remove the specified item because it was not found in the specified collection.'

here is the code:

 

Private

 

Sub grdSearch_ContextMenuOpening(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.ContextMenuOpeningEventArgs) Handles grdSearch.ContextMenuOpening

 

 

Try

 

 

 

 

e.ContextMenu.Items.AddRange(rcmDebts.Items)

 

Catch ex As Exception

 

MsgBox(ex.Message)

 

End Try

 

 

 

 

 

End Sub

 

Martin Vasilev
Telerik team
 answered on 13 Oct 2010
5 answers
111 views
Hi
I want to add UserControl in a RadToolStripItem. Not when the coding.



Thanks
Stefan
Telerik team
 answered on 13 Oct 2010
2 answers
147 views
I change the Cell Elements ForeColor To Red if the value is less than Zero.

Private Sub GridPrimerResults_CellFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles GridPrimerResults.CellFormatting
        If CInt(e.CellElement.RowInfo.Cells(1).Value) <= 0 Then
            e.CellElement.NumberOfColors = 1
            e.CellElement.ForeColor = Color.Red
            e.CellElement.DrawFill = True
        End If
    End Sub

It works fine on Load.  When I scroll beyond the text that was Default Black, and scroll back up it now becomes red.  When I click to Export the grid to Excel the Forecolor returns. 

Any ideas on why my color changes when I scroll past the values or how I can prevent it from changing to red?

Attached are screen shots of the rows and how the changed after scrolling.
Scott
Top achievements
Rank 2
 answered on 13 Oct 2010
6 answers
293 views
hi all
i used a dataview as radgridview dataSource. enable filtering is set to true. when i enter some data in filter editor box on top of columns, it works fine but it have no effect on dataview.RowFilter property.
the problem is when i want print those rows which currently is visible, i don't know what filter expression i should use in my crystal report object.
thanks
mahdi gh
Top achievements
Rank 1
 answered on 13 Oct 2010
2 answers
265 views

I am new to Telerik thing and working on an application using Telerik WinForm controls. I am adding user controls dynamically into a panel based on options selected in the main tree. One such user control constitutes a detailed form having lots of fields.

below is the way I am displaying the user control in a panel:

 

 

loEntityForm = 

 

new EntityForm(_OwnerID); // User control to be added dynamically  

 

 

pnlResourceRight.Controls.Clear(); // Clearing existing user controls if any

 

 

 

pnlResourceRight.Controls.Add(loEntityForm);

 

 

loEntityForm.Dock = 

 

DockStyle.Fill;

 

 

 

 

 

 


Now this loEntityForm flickers a lot before being properly rendered.

I have used already used one possible slolution in the contructor

i.e
 

 

 

 

InitializeComponent();

SetStyle(

 

ControlStyles.UserPaint, true);

 

 

SetStyle(

 

ControlStyles.AllPaintingInWmPaint, true);

 

 

SetStyle(

 

ControlStyles.DoubleBuffer, true);

 

 

SetStyle(

 

ControlStyles.ResizeRedraw);

 

 

 

 

 

but it doesn't solve my problem. Please suggest. 

 

 

Vassil Petev
Telerik team
 answered on 13 Oct 2010
5 answers
133 views
Hi:
I have a problem after publish my project.
When I execute the setup.exe, it show a message:

"Can not install or run this application. You must first install the assembly version Telerik.Wincontrols 2009.2.9.729 in global assembly cache (GAC)"

I should do?

Thanks
Stefan
Telerik team
 answered on 13 Oct 2010
6 answers
168 views
Hi, 
I'm using the StartMenuRightColumnItems collection for the Recent files list in a c# project  and 
I would reverse the order of the list, thus the last opened file is showed at the top of the list 
and not al the bottom.

regards
Richard Slade
Top achievements
Rank 2
 answered on 13 Oct 2010
1 answer
149 views
I'me using Raddatetimepicker, but users can't copy and paste values inside it.

Can you tell me why?

Thank you.
Emanuel Varga
Top achievements
Rank 1
 answered on 13 Oct 2010
5 answers
133 views

Hello,

I'm installed the trial version on one machine successfully.  So far its great, and my company will be purchasing the software after we confirm it meets our needs.  However, when trying to install the software on another machine I get the following error message:

"The installer has insufficient privileges to access this directory: C:\ProgramData\..\RadControls for WinForms Q2 2010 SP2."

Tried running it as both a standard user and administrator.  Tried logging in as administrator.  Nothing works.

The system is Windows 7 Professional, 64-bit.  I know how to change the permissions so the install will proceed, the problem is the error message does not display the full path.  Can you tell me what it is so I can create the directories manually and apply the permissions needed?

Richard Slade
Top achievements
Rank 2
 answered on 13 Oct 2010
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
NavigationView
Accessibility
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
+129 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
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
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?