Telerik Forums
UI for WinForms Forum
1 answer
124 views
Hi,

i have for example in summary row value :

A) 1, 00
B) 1 000, 00
C) 1 000 000, 00

but i need to display in this cell
A) 1,00
B) 1,00 K
C) 1,00 M

Know somebody how to do that ?
Thanks for all answers

best regards
AB
Ivan Petrov
Telerik team
 answered on 30 Mar 2012
1 answer
94 views
I created a list view using a database. My question is that some of the items are not grouped is there a way i can remove them from the list or even if there grouped not display them?
example: data
fruit
apple red ----(blank)
orange orange soft
tangerine orange soft
banana yellow soft
grape purple soft

1. is there a way i can have just a list of the orange fruits?
2. is there a way to draw the list with just soft type and not display apple.
Ivan Petrov
Telerik team
 answered on 30 Mar 2012
1 answer
102 views
Three days ago I put a thread here, and suddenly it disappeared ("oops server error"). I'm not going to write my post once again since I am not being payed for it.

Here is a copy from the google cache, and additional attachments. I hope it was just a "server error".

cached thread

Regards
Svett
Telerik team
 answered on 30 Mar 2012
1 answer
66 views
Hi,

I am facing some issues in datagrid checkbox column.

1. I have crated master template an having a checkbox column e.g and it has some child template as well which i create dynamically
           GridViewCheckBoxColumn1.EnableExpressionEditor = False
            GridViewCheckBoxColumn1.FieldName = "DeleteItem"
            GridViewCheckBoxColumn1.HeaderText = "Delete"
            GridViewCheckBoxColumn1.MinWidth = 20
            GridViewCheckBoxColumn1.Name = "radchkDelete"
            GridViewTextBoxColumn4.EnableExpressionEditor = False
It is allowing me to check only one checkbox(row) at a time and when i am trying to check another checkbox(row)  it is unchecking my previous checked column..why this..?
2.I am checking one checkbox and trying to scroll horizontally ..it is clearing my checked column...why this..?
3.I am using some events like
code:
  Private Sub rdgrdvSeachAddUpt_CellEditorInitialized(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) Handles rdgrdvSeachAddUpt.CellEditorInitialized
            Dim lobjMessage As New Message
            Try

                Dim editor = TryCast(e.ActiveEditor, RadDropDownListEditor)
                If editor IsNot Nothing Then
                    Dim editorElement = TryCast(editor.EditorElement, RadDropDownListEditorElement)
                    If editorElement IsNot Nothing Then
                        If e.Column.Name = "radcmbCriteriaType" Then
                            AddHandler editorElement.SelectedIndexChanged, AddressOf editorElement_SelectedIndexChanged
                        End If
                    End If
                End If
            Catch objException As Exception
                Logger.Log(objException, lobjMessage)
                UIHelper.ShowMessage(lobjMessage)
            Finally
                lobjMessage = Nothing
            End Try
        End Sub
===============
 Private Sub rdgrdvSeachAddUpt_CellValueChanged(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellEventArgs) handles rdgrdvSeachAddUpt.CellValueChanged
            Dim lobjMessage As New Message
            Dim gridColNameCriteriaType As String = "radcmbCriteriaType"
            Try
                If e.Column.Name = gridColNameCriteriaType Then
                    If CInt(e.Row.Cells(gridColNameCriteriaType).Value) = CInt(enumCriteria.Morphology) Then
                        e.Row.Cells("radcmbDiagnosis").ReadOnly = False
                        e.Row.Cells("radcmbInter").ReadOnly = False
                        e.Row.Cells("radcmbCompaOpr").ReadOnly = True
                        e.Row.Cells("raddblCompValue").ReadOnly = True
                        e.Row.Cells("radcmbGender").ReadOnly = True
                        e.Row.Cells("raddblMaxAgeMonth").ReadOnly = True
                        e.Row.Cells("raddblMaxAgeYear").ReadOnly = True
                        e.Row.Cells("raddblMaxValue").ReadOnly = True
                        e.Row.Cells("cmbdblMinValue").ReadOnly = True
                        e.Row.Cells("radcmbParam").ReadOnly = True
                        e.Row.Cells("radcmbVisitType").ReadOnly = True
                        e.Row.Cells("raddblMinAge").ReadOnly = True
                        e.Row.Cells("raddblMinAgeMonth").ReadOnly = True
                        e.Row.Cells("radtxtItemStatus").ReadOnly = True
                        ''To set nothing
                        e.Row.Cells("radcmbCompaOpr").Value = Nothing
                        e.Row.Cells("raddblCompValue").Value = Nothing
                        e.Row.Cells("radcmbGender").Value = Nothing
                        e.Row.Cells("raddblMaxAgeMonth").Value = Nothing
                        e.Row.Cells("raddblMaxAgeYear").Value = Nothing
                        e.Row.Cells("raddblMaxValue").Value = Nothing
                        e.Row.Cells("cmbdblMinValue").Value = Nothing
                        e.Row.Cells("radcmbParam").Value = Nothing
                        e.Row.Cells("radcmbVisitType").Value = Nothing
                        e.Row.Cells("raddblMinAge").Value = Nothing
                        e.Row.Cells("raddblMinAgeMonth").Value = Nothing
                        ' e.Row.Cells("radtxtItemStatus").Value = Nothing

                    ElseIf CInt(e.Row.Cells(gridColNameCriteriaType).Value) = CInt(enumCriteria.BaselineRange) OrElse _
                    CInt(e.Row.Cells(gridColNameCriteriaType).Value) = CInt(enumCriteria.Range) Then
                        e.Row.Cells("radcmbDiagnosis").ReadOnly = False
                        e.Row.Cells("radcmbInter").ReadOnly = False
                        e.Row.Cells("radcmbCompaOpr").ReadOnly = True
                        e.Row.Cells("raddblCompValue").ReadOnly = True
                        e.Row.Cells("radcmbGender").ReadOnly = False
                        e.Row.Cells("raddblMaxAgeMonth").ReadOnly = False
                        e.Row.Cells("raddblMaxAgeYear").ReadOnly = False
                        e.Row.Cells("raddblMaxValue").ReadOnly = False
                        e.Row.Cells("cmbdblMinValue").ReadOnly = False
                        e.Row.Cells("radcmbParam").ReadOnly = False
                        e.Row.Cells("radcmbVisitType").ReadOnly = False
                        e.Row.Cells("raddblMinAge").ReadOnly = False
                        e.Row.Cells("raddblMinAgeMonth").ReadOnly = False
                        e.Row.Cells("radtxtItemStatus").ReadOnly = True

                        e.Row.Cells("radcmbCompaOpr").Value = Nothing
                        e.Row.Cells("raddblCompValue").Value = Nothing

                    ElseIf CInt(e.Row.Cells(gridColNameCriteriaType).Value) = CInt(enumCriteria.RangeAndBaselineComparison) Then
                        e.Row.Cells("radcmbDiagnosis").ReadOnly = False
                        e.Row.Cells("radcmbInter").ReadOnly = False
                        e.Row.Cells("radcmbCompaOpr").ReadOnly = False
                        e.Row.Cells("raddblCompValue").ReadOnly = False
                        e.Row.Cells("radcmbGender").ReadOnly = False
                        e.Row.Cells("raddblMaxAgeMonth").ReadOnly = False
                        e.Row.Cells("raddblMaxAgeYear").ReadOnly = False
                        e.Row.Cells("raddblMaxValue").ReadOnly = False
                        e.Row.Cells("cmbdblMinValue").ReadOnly = False
                        e.Row.Cells("radcmbParam").ReadOnly = False
                        e.Row.Cells("radcmbVisitType").ReadOnly = False
                        e.Row.Cells("raddblMinAge").ReadOnly = False
                        e.Row.Cells("raddblMinAgeMonth").ReadOnly = False
                        e.Row.Cells("radtxtItemStatus").ReadOnly = True
                    End If
                End If
            Catch objException As Exception
                Logger.Log(objException, lobjMessage)
                UIHelper.ShowMessage(lobjMessage)
            Finally
                lobjMessage = Nothing
            End Try
        End Sub
====================
 Private Sub rdgrdvSeachAddUpt_UserDeletingRow(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewRowCancelEventArgs) Handles rdgrdvSeachAddUpt.UserDeletingRow
            Dim lobjMessage As New Message
            Try
                If String.IsNullOrEmpty(Me.rdgrdvSeachAddUpt.CurrentRow.Cells(1).Value.ToString) Then
                Else
                    e.Cancel = True
                End If
            Catch objEx As Exception
                Logger.Log(objEx, lobjMessage)
                UIHelper.ShowMessage(lobjMessage)
            Finally
                lobjMessage = Nothing
            End Try

        End Sub

====================
Can you please help me in point#1,2....
Jack
Telerik team
 answered on 30 Mar 2012
1 answer
89 views
Hi There,

I have a grid which has a custom gridbehavior so that if the user hits Shift+Down the current cell is copied to the next row
if the current row is the last visible row, it creates a new row

that part works ok.

the grid will often have an active filter, and if a user hits shift+down and a new row is created, i'm handling RowsChanged so that i can make the new row match the filter.

despite this happening, the new row still does not show up in the grid, its as if i need to re-apply the filter

can you recommend the best way to handle this?

Thanks,
Matt
Julian Benkov
Telerik team
 answered on 30 Mar 2012
1 answer
112 views
Hello,
i have updated my c# Project from Terlerik Q1 2011 to Q1 2012.
i have get an Error : The RadToolStripItem is not available in Telerik.WinControls.UI.
can anyone help me ?

Best regards

Sascha
Stefan
Telerik team
 answered on 30 Mar 2012
1 answer
264 views
I had a requirement to place a value (Eg: 160 (100)) on CharSeriesItem label. I would like to have two different font sizes for the values. Please suggest.

C# Code:
ChartSeriesItem item = new ChartSeriesItem();
TextBlock txt1 = new TextBlock();
        txt1.Text = "Test1"
        txt1.Appearance.TextProperties.Font = new Font("Segoe UI", 9, System.Drawing.FontStyle.Bold);
        item.Label.Add(txt1);

       TextBlock txt2 = new TextBlock("txt2");
       txt2.Text = "Test2";
       txt2.Appearance.TextProperties.Font = new Font("Segoe UI", 7, System.Drawing.FontStyle.Bold);
       item.Label.Add(txt2);

Peshito
Telerik team
 answered on 29 Mar 2012
8 answers
620 views
Hi,

I've been trying to add images to items in an instance of the RadMenu, and it looks like you don't allow people to set the height or width of an image that is associated with an instance of RadMenuItem? Is there a way to do this, or do you actually have to create individual images, specially sized to 16x16 or whatever, for each of your menu items?

Thanks,

Russ
Ivan Petrov
Telerik team
 answered on 29 Mar 2012
3 answers
241 views

I'm trying to set the visiblity of a RadMenuItem based on code.  I've seen some other posts but they seem rather difficult or sloppy to maintain.  My end goal is to run it through a function that will return true or false.  I've simplified it for discussion purposes. 

This code below should work.  But it doesn't.  Any ideas?

<telerik
:RadMenuItem runat="server" NavigateUrl="~/users/manage_users.aspx" Text="Users" Visible='<%# "false" %>'>

</telerik:RadMenuItem>



I don't get an error but the menu item still shows.

Any ideas?

Thanks,
Rob
Kate
Telerik team
 answered on 28 Mar 2012
1 answer
85 views
I have C# Winform Application running in Visual Studio 2008 and I use .net 3.5 framework. Now, I want to use RadRichTextBox control in one of my form. 

The issue is I am not able to use RadRichTextBox control since it is based on .NET 4 framework and the target project is 3.5 framework.

Since our most of our customers using 3.5 .net framework we cant move our project to .net 4 framework. So, with this constraint, please let me know how to proceed with this.

Thanks,
Vinayaka
Stefan
Telerik team
 answered on 28 Mar 2012
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
ProgressBar
CheckedDropDownList
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
VirtualKeyboard
NavigationView
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?