Telerik Forums
UI for WinForms Forum
5 answers
109 views

i'm using this controls for display persian text...

in design time everything is OK but when it runs the text will clipped like the picture...

as you see it shows some border inner the text box...

just to say, the padding doesn't change anything...

Dimitar
Telerik team
 answered on 02 Oct 2017
3 answers
391 views

I'm having an issue with my project. I have a RadGridView populated by a Stored Procedure, I have some Cellformatting in place.
I'm getting some odd behaviour when scrolling, the formatting is being applied to more than just the first 2 columns and the more you scroll the worse it gets.

I'm using an older version but we recently purchased the latest version of telerik for winforms to test and I'm getting the same behaviour in the new project.
Any assistance would be appreciated.

My code for CellFormatting

    Private Sub DataGridView2_CellFormatting(sender As Object, e As CellFormattingEventArgs) Handles DataGridView2.CellFormatting

        If e.ColumnIndex = 0 Then
            e.CellElement.Font = RWLCompleteFont
            e.CellElement.ForeColor = Color.Black
            e.CellElement.NumberOfColors = 1
            e.CellElement.BackColor = Color.LightSteelBlue
            e.CellElement.DrawFill = True
            e.CellElement.DrawBorder = True
            e.CellElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.OuterInnerBorders
        End If
        If e.ColumnIndex = 1 Then
            e.CellElement.Font = RWLDetailsFont
            e.CellElement.ForeColor = Color.Black
            e.CellElement.NumberOfColors = 1
            e.CellElement.BackColor = Color.LightSkyBlue
            e.CellElement.DrawFill = True
            e.CellElement.DrawBorder = True
            e.CellElement.BorderBoxStyle = Telerik.WinControls.BorderBoxStyle.OuterInnerBorders
        End If

    End Sub

Dimitar
Telerik team
 answered on 02 Oct 2017
3 answers
77 views

Hi,

how to set styling (font size, color etc) on a value cell to be exactly the same as the cell that represents column header that value cell belongs to?

Hristo
Telerik team
 answered on 02 Oct 2017
2 answers
242 views

I'm able to save a RadGridView's properties(filters and layout) to XML and I store that XML in a SQL table(not a file).
However how do I apply the XML from SQL back to the grids layout? I can apply the layout when in file format but I'm not smart enough to figure out how to apply when in SQL format.

 

Again any help would be appreciated.

Brent

Brent
Top achievements
Rank 1
 answered on 29 Sep 2017
7 answers
486 views
hi guys,

thanks for your help in advance.

I have two questions as below.
1.  refer to the picture,  I want the label was shown on the top of bar if it is positive,  but on the bottom of bar if negative,  how to implement?
2. how to make the label of X-axis was shown in multiline if it has too many characters?   on the picture I mean the label with text "May 2012' 
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Sep 2017
4 answers
296 views
I want my bar graph to always start at zero and go up if positive and down if negative like in the first attachment. My code creates a graph like the second attachment, where the bar starts at the minimum range and goes up. How do i make my bars on my graph start at zero and pivot up or down depending if the value is positive or negative?
Hristo
Telerik team
 answered on 29 Sep 2017
6 answers
827 views
Hi everyone.

I have a radGridView that has two columns that are dropdownlists.  I add these to my grid like this

string sTABS = "select tabid, tabname from tables";
dtTable = GetData(sTABS); //Procedure to get the data back as a datatable
 
GridViewComboBoxColumn tabcol = new GridViewComboBoxColumn();
tabcol.DropDownStyle = RadDropDownStyle.DropDownList;
tabcol.HeaderText = "Table";
tabcol.FieldName = "TABID";
tabcol.DataSource = dtTable;
tabcol.DisplayMember = "TABNAME";
tabcol.ValueMember = "TABID";
tabcol.Width = 150;
gvSetup.Columns.Add(tabcol);
 
string sCOLS = "Select TVID, COLNAME From Cols";
dtCols = GetData(sCOLS); //Procedure to get the data back as a datatable
 
GridViewComboBoxColumn col = new GridViewComboBoxColumn();
col.DropDownStyle = RadDropDownStyle.DropDownList;
col.HeaderText = "Columns";
col.FieldName = "TVID";
col.DataSource = dtCols;
col.DisplayMember = "COLNAME";
col.ValueMember = "TVID";
col.Width = 150;
gvSetup.Columns.Add(col);

I need to find what event and how I can have a user change the table dropdown and repopulate the column dropdown based on the value from the table dropdown?  

Thank you
Dimitar
Telerik team
 answered on 29 Sep 2017
1 answer
102 views

Hi,

I format gridview cell GridViewDecimalColumn with FormatString : {0:0,0.00}

and :

  private void gvPart_EditorRequired(object sender, EditorRequiredEventArgs e)
        {
            if (e.EditorType == typeof(GridSpinEditor)
                && (gvPart.CurrentCell.ColumnInfo.FieldName == "Cost" || gvPart.CurrentCell.ColumnInfo.FieldName == "List"))
            {
                e.EditorType = typeof(CurrencyEditor);
            }
        }

But when i tab into cell. this is problem:

https://www.screencast.com/t/sKnDuLLkH

this is i expect: 

https://www.screencast.com/t/RNwqwxUhDwCc

Can i move the cursor to the end when i focus to the cell ?

And when i input with this format with value 2.99 , it will display : 02.99. Can it make it only 2.99 ?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 29 Sep 2017
0 answers
73 views

Hi,
I have a GridView with a child template (X) and another child template (Y)
into the child template (X) and have a decimal column (C) in (Y).
I want to SUM the decimal column (C) in (Y) into a cell of its parent row in (X).

Please attach an example

Ahmed
Top achievements
Rank 1
 asked on 28 Sep 2017
1 answer
106 views

Hello,

We begins to use a TimeLineView scheduler grouped by resources with Progress OpenEdge 11.7..
It is possible to display an hours bar on the top under the days.

Regards
Chistian

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Sep 2017
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?