Telerik Forums
UI for WinForms Forum
5 answers
225 views
Cursor Does Not Apperar in  right to left when langueg is arabic in all editors as(Text Box)
how to get the cursor far for 2 pixel from right side
George
Telerik team
 answered on 07 Mar 2014
3 answers
120 views
Hi,

As seen in 1.png i have loaded some stuff from my db ... but what i would actually love to do is have something like in the 2.png what telerik has done. So basically take the info from the colums (maybe a column where all the image paths for items are stored too) and put all that info per item....

Is there a simple way of doing it?


So far what i've done is just bind data to radlistview and have this in form load :     Me.Table1TableAdapter.Fill(Me.TestDataSet.Table1)


Any help would be greately appreciated.


Cheers
Dimitar
Telerik team
 answered on 07 Mar 2014
2 answers
149 views
Hello,
I am asking how can I copy a button from RadRibbonGroup to another RadRibbonGroup, because I don't want to make a style for every button I created.

As you see on attached image I need to copy the button with red border to next RadRibbonGroup
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Mar 2014
2 answers
313 views
Double clicking the right mouse button on a grid is firing the Grid.CellDoubleClick event, but the event does not expose which mouse button caused the event to fire.

Is there a way to prevent the CellDoubleClick even from firing when the right mouse is double clicked?

Kim
Kim
Top achievements
Rank 1
 answered on 06 Mar 2014
2 answers
149 views
I use manually generating hierarchy mode as it is described in http://www.telerik.com/help/winforms/gridview-hierarchical-grid-object-relational-hierarchy-mode.html
For bool fields I use GridViewCheckBoxColumn.
When I change bounded bool field in child object, the changes in CheckBoxEditor are not displayed (and vice versa, when I click a CheckBoxEditor, the changes are not reflected in object).
If I press a header for reorder, then the changes are partially displayed, but couple of checkbox are not change.

In debugger I see (rgvMain is RadGridView):

rgvMain.CurrentRow.ChildRows[1]:

    {Telerik.WinControls.UI.GridViewHierarchyRowInfo}
    [Telerik.WinControls.UI.GridViewHierarchyRowInfo]: {Telerik.WinControls.UI.GridViewHierarchyRowInfo}
    AllowedStates: Current | Selected
    AllowResize: true
    Cache: {Telerik.WinControls.UI.GridViewRowInfoCache}
    CanBeCurrent: true
    CanBeExpanded: false
    CanBeSelected: true
    Cells: {Telerik.WinControls.UI.GridViewCellInfoCollection}
    ChildRows: {Telerik.WinControls.UI.GridViewChildRowCollection}
    DataBoundItem: {UsonInfrastructure.Infrastructure.UserData.AccessProjection}
    dataBoundItem: {UsonInfrastructure.Infrastructure.UserData.AccessProjection}
    ErrorText: ""
    Group: null
    HasChildViews: false
    Height: 18
    HierarchyLevel: 1
    Index: 0
    IsAttached: true
    IsCurrent: false
    IsEditable: true
    IsExpanded: false
    IsInitialized: false
    IsModified: false
    IsOdd: false
    IsPinned: false
    IsSelected: false
    IsSystem: false
    IsValid: true
    IsVisible: true
    MaxHeight: -1
    MinHeight: 5
    parent: {Telerik.WinControls.UI.GridViewHierarchyRowInfo}
    Parent: {Telerik.WinControls.UI.GridViewHierarchyRowInfo}
    ParentRow: null
    PinPosition: None
    PropertyChanged: {Method = {Void RowInfo_PropertyChanged(System.Object, System.ComponentModel.PropertyChangedEventArgs)}}
    PropertyChanging: null
    RowElementType: {Name = "GridDataRowElement" FullName = "Telerik.WinControls.UI.GridDataRowElement"}
    rowState: {Telerik.WinControls.UI.GridViewRowInfo.GridViewRowInfoState}
    state: {BitVector32{00000000000000000000000001100001}}
    Tag: null
    Telerik.WinControls.Data.IDataItem.DataBoundItem: {UsonInfrastructure.Infrastructure.UserData.AccessProjection}
    Telerik.WinControls.Data.IDataItem.FieldCount: 3
    ViewInfo: {Telerik.WinControls.UI.GridViewInfo}
    viewInfo: {Telerik.WinControls.UI.GridViewInfo}
    ViewTemplate: {Telerik.WinControls.UI.GridViewTemplate}


rgvMain.CurrentRow.ChildRows[1].Cells[1].ColumnInfo

    {Reading (GridViewCheckBoxColumn)}
    [Telerik.WinControls.UI.GridViewCheckBoxColumn]: {Reading (GridViewCheckBoxColumn)}
    base {Telerik.WinControls.RadObject}: {Reading (GridViewCheckBoxColumn)}
    Accessor: {Telerik.WinControls.UI.VirtualHierarchyAccessor}
    accessor: {Telerik.WinControls.UI.VirtualHierarchyAccessor}
    AllowGroup: true
    AllowHide: true
    AllowReorder: true
    AllowResize: true
    AllowSort: true
    AutoEllipsis: true
    AutoSizeMode: DisplayedCells
    CanBeCurrent: true
    CanGroup: true
    CanSort: true
    CanStretch: false
    ConditionalFormattingObjectList: Count = 0
    conditionalFormattingObjects: Count = 0
    CustomDataOperation: None
    DisableHTMLRendering: true
    EnableExpressionEditor: false
    EventDispatcher: {Telerik.WinControls.UI.EventDispatcher}
    Expression: ""
    FieldAlias: ""
    FieldName: "ReadAccess"
    HeaderImage: null
    HeaderText: "Reading"
    HeaderTextAlignment: MiddleCenter
    ImageLayout: None
    Index: 1
    IsAutoGenerated: false
    IsCurrent: true
    IsDataBound: false        !!!!! may be this is a cause?
    IsFieldNamePath: false
    isFieldNamePath: false
    IsGrouped: false
    IsPinned: false
    IsSorted: false
    IsVisible: true
    MaxWidth: 60
    MinWidth: 60
    Name: "ReadAccesseffcd8a0-48d6-4e0d-9cda-4ba02cb0b53f"
    ownerTemplate: {Telerik.WinControls.UI.GridViewTemplate}
    OwnerTemplate: {Telerik.WinControls.UI.GridViewTemplate}
    PinPosition: None
    PropertyChanging: null
    ReadOnly: false
    RowSpan: 20
    sortOrder: None
    SortOrder: None
    StretchVertically: true
    Tag: null
    TextAlignment: MiddleLeft
    TextImageRelation: Overlay
    UniqueName: "ReadAccesseffcd8a0-48d6-4e0d-9cda-4ba02cb0b53f"
    VisibleInColumnChooser: true
    Width: 60
    WrapText: false
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Mar 2014
1 answer
111 views
Hello,

I have created a custom appointment and I want to include some recurrence items in my appointment dialog. I have also saved my appointment and recurrence string to a db table.

Basically based on the recurrence of the appointment I need to watch for that recurrence and fire an event.

My question is, is there a way/method to interpret that recurrence string which would allow me to watch for it when the clock and date ticks by.

Thanks

Gavin
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 06 Mar 2014
2 answers
102 views
I have a Grid that is bound to a Dataset that is created programmatically and the grid uses "auto-generated columns at runtime"
I need to hide some columns after databound, depending on some know conditions.
Where can I get access to the column collection ? In the Databound event the grid.columns.count is zero ...
thanks
pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 06 Mar 2014
7 answers
248 views
Hi, 

I'm trying to set the maximum height of a row, but it doesn't work... I've enabled the AutoSizeRows property.

private void Grid_RowFormatting(object sender, RowFormattingEventArgs e)
{
     // Current ->  e.RowElement.RowInfo = 64
    e.RowElement.RowInfo.MaxHeight = 32;
}

Thanks,

--
François
Stefan
Telerik team
 answered on 06 Mar 2014
1 answer
273 views
I'm writing an application which iterates through the rows of an unbound RadGridView and changes the value and formatting of a particular cell as it goes.  I'm having no issue iterating through the rows, but when I get to the point of calling for a cell's value or formatting to change the cell empties of all visible data instead.

The way I'm iterating through the cells and changing the value is like so:

foreach (GridViewRowInfo row In rgvFiles.Rows)
{
    row.Cells[2].Value = "New Text";
    row.Cells[2].Style.BackColor = Color.DarkGreen;
    row.Cells[2].Style.ForeColor = Color.White;
}
Ralitsa
Telerik team
 answered on 05 Mar 2014
1 answer
101 views
hi
how to disable many of keys in raddatetimepicker?
I'm using the following code, but I did not give the desired result 

private void DTP_bDate_KeyPress(object sender, KeyPressEventArgs e)
        {
            e.Handled = char.IsDigit(e.KeyChar);
        }
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Mar 2014
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?