Telerik Forums
UI for WinForms Forum
0 answers
56 views

Hello ,

I have RadToggleButton , and I try to set image as backgorund (streach the image on all the button)

But when I set the BackgroundImage to my image and the BackgroundImageLayout as streach (or any other opetion) nothing happen.

Thanks.

MA

 

Moti
Top achievements
Rank 1
 asked on 13 Jul 2016
3 answers
139 views

Hello Support,

  I am using v.2015.2.728.40 and are experiencing some issues with the behavior of the ToggleButton and CommandBarButton.  The issue is that when clicking on the toggle button, everything is fine for the first time.  The response time for the button progressively degrades as you continue using the button.  I was able to reproduce this problem by creating a new Project with an empty form, dropping in a CommandBar, then adding five ToggleButtons.  Set the togglebuttons to DrawImage=False and DrawText=True.  Run the application and in a circular fashion, click on the each button with a short delay in between.  You should notice that after a few iterations, the buttons become unresponsive.  This behavior is now hindering the functionality of my application.

Thanks

Francisco

Dimitar
Telerik team
 answered on 13 Jul 2016
3 answers
260 views
I am trying to set the row height of the RadGridView element to fill the whole space of the grid instead of showing blank space when the number of rows is less than the height of the grid, the problem is I couldn't find a simple way to do this without many complications and performance issues using different events to set the RowHeight property when the size is changed for the grid. How to achieve this?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jul 2016
3 answers
134 views

Hi,

if I put a field with many distinct values (like product name) on columns or rows, and I try to open filter menu - it takes time to load all items in selection tree, user fills like PivotGrid hangs. Is it possible to cancel either filling selection tree or cancel the whole filter menu, so user can only sort using up\down arrow?

Thanks

Alex

 

Alex Dybenko
Top achievements
Rank 2
 answered on 12 Jul 2016
3 answers
303 views
i want to change a visibility property into an one ore more cell when i adding a new row 

Private

 

Sub RadGridView1_CellBeginEdit(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.GridViewCellCancelEventArgs) Handles RadGridView1.CellBeginEdit

 

 

 

' if a value of field-column if "C" 
dim ValueColum as string=Me.RadGridView1.Rows(RowIndex).Cells(Me.RadGridView1.MasterGridViewTemplate.Columns("ind_tiporiga").Index).Value

 

 

 

dim i as integer=3 '  this is a indexCell
Select case ValueColum 
    case "C"
         Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed

 

 

 

         Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.BackColor = Color.Gray

 

 

 

case Else
        Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.Visibility = Telerik.WinControls.ElementVisibility.visible

 

        Me.RadGridView1.Rows(RowIndex).Cells(i).CellElement.BackColor = Color.white

end select
end sub
' This Code don't work please help me
Hristo
Telerik team
 answered on 12 Jul 2016
1 answer
104 views
Hi, 

I'm using a chart view bound to a pivot grid which works rather nicely. I was wondering if these controls together support the functionality of radial charts.

Eg. Pivot only contains Row or Columns. Then we the analysis would be for distinct combination in Rows or Columns show a pie for each aggregated value.
Hristo
Telerik team
 answered on 12 Jul 2016
6 answers
413 views
Is there a simple way to set the alignment of text added to this panel to be at the top left?  It defaults to center left.
Hristo
Telerik team
 answered on 12 Jul 2016
2 answers
1.6K+ views

Hi to all,

I would use same format to edit column and visual column for percent value

I'm using formatstring "{0:P2}" to show percent value correctly (value passed by object is for example 0.06), this formatstring show me 6%, OK!

But when I edit cell it shows me 0.06, are ther a way to edit value "6%", keeping 0.06 into my object?

 

Then my data is 0.06, it shows 6 %, I enter in edit mode and It should show me "6" or "6 %" (masked? I don't know),

I enter 6.5 %, and it store in my data 0.065

Is it possible?

01.Dim _Column As New GridViewDecimalColumn()
02. 
03._Column.AutoSizeMode = BestFitColumnMode.AllCells
04._Column.HeaderText = "Percentage"
05._Column.FieldName = "Discount"
06._Column.Name = "Perc01"
07._Column.Width = 100
08._Column.FormatString = "{0:P2}"
09._Column.DecimalPlaces = 2
10._Column.ThousandsSeparator = False
11. 
12.Columns.Add(_Column)

Dario Concilio
Top achievements
Rank 2
 answered on 12 Jul 2016
3 answers
107 views

I'm trying to change the datasource for a template as follows

Dim ContactPhonesDS As ContactsDataset.PhoneRow() = ContactsDataset.Phone.Select("ContactKey = '" & ContactKey & "'")
          Dim ContactDt As DataTable = New DataTable("Phone")
          ContactDt.Columns.Add("TableKey")
          ContactDt.Columns.Add("ContactKey")
          ContactDt.Columns.Add("Client_ID")
          ContactDt.Columns.Add("Office_ID")
          ContactDt.Columns.Add("PRNumber")
          ContactDt.Columns.Add("Line_Type")
          ContactDt.Columns.Add("comboLine_Type")
          ContactDt.Columns.Add("Phone_Number")
          ContactDt.Columns.Add("Extension")
          ContactDt.Columns.Add("Discription")
          ContactDt.Columns.Add("Delete_Flag")
          For Each row In ContactPhonesDS
              ContactDt.ImportRow(row)
          Next
          PHNumbers.MasterTemplate.DataSource = ContactDt
          PHNumbers.MasterTemplate.Columns("Phone_Number").FormatString = "{0:(000)000-0000}"

But the formatstring is not applied. I'm Guessing it's because the column is not of the correct data type, but I can't figure out how to set it to decimal.

Dimitar
Telerik team
 answered on 12 Jul 2016
3 answers
103 views

I have a situation with the grid doesn't have the triangle sign. It is supposed to have it like the image attached.

<StackPanel Orientation="Vertical">
            <TextBlock Text="xxxx" HorizontalAlignment="Center"></TextBlock>
            <telerik:RadGridView Name="radGridView"
                                 RowLoaded="radGridView_RowLoaded"
                                 Width="1025" IsReadOnly="True"
                                 ValidatesOnDataErrors="None"
                                 AutoGenerateColumns="False"
                                 IsFilteringAllowed="False"
                                 ShowGroupPanel="False"
                                 ShowColumnFooters="False"
                                 CanUserResizeColumns="False"
                                 CanUserFreezeColumns="False"
                                 SelectionMode="Single"
                                 CanUserReorderColumns="False"
                                 CanUserSortColumns="False"
                                 CanUserInsertRows="False"
                                 CanUserDeleteRows="False"
                                 CanUserSelect="False"
                                 RowIndicatorVisibility="Visible"
                                 Height="265"
                                 ItemsSource="{Binding Information}"
                                 SelectedItem="{Binding SelectedItem, Mode=TwoWay}"
                                 >
                <telerik:RadGridView.Columns>

What I missed?

ardmore
Top achievements
Rank 1
 answered on 11 Jul 2016
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?