Telerik Forums
UI for WinForms Forum
5 answers
313 views
Hello,
how can I completely disable the outer border (see attachement) of the RadForm Element in Visual Style Builder?
I tried to set the BorderThickness to 0;0;0;0 of FormOuterBorder, FormInnerBorder and RadFormElement without success. I also tried to set Visibility to Collapsed, but it doesn't work.
Thanks,
Oliver
Dimitar
Telerik team
 answered on 14 Jan 2016
4 answers
101 views

How can i do change a media in Windows Media Player component in .net without skipping, blacked form and jumping
I want change a media just like seeking(without skipping or black or jumping)

 

If telerik have a media player component show me, Please help me this is very critical for me!!

i need a media player component powerful than Windows Media Player, my program need transparency and change media fast and without blacking screen.

you think, i want create a game with a few avi movie in vb.net and i must control movie and fast change media......

what's you best idea in vb.net ????

Very very thanks!

Hristo
Telerik team
 answered on 14 Jan 2016
5 answers
388 views
Hi, guys

i am having issue with ListView items.
Too large text in the item does not fit into width, please see 001.png.

it can be solved by setting TextWrap = true for SimpleListViewVisualItem inherited class 

protected override void SynchronizeProperties()
      {
          base.SynchronizeProperties();
 
          Cars car = (Cars)Data.Value;
 
          this.Text = "<html><br><br><br><br><br><span style=\"color:#141718;font-size:14.5pt;\">" + car.Model + "</span>";
 
          this.element1.Text = "<html><span style=\"color:#010102;font-size:10.5pt;font-family:Segoe UI Semibold;\">" +
               "ABS:" + (car.ABS ? "<span style=\"color:#13224D;font-family:Segoe UI;\">YES" : "<span style=\"color:#D71B0E;\">NO") + "</span>" +
               "<br>ESR:" + (car.ESR ? "<span style=\"color:#13224D;font-family:Segoe UI;\">YES" : "<span style=\"color:#D71B0E;\">NO") + "</span>" + "</span>";
 
 
          this.TextAlignment = ContentAlignment.TopLeft;
          this.ImageAlignment = ContentAlignment.TopLeft;
 
          //this fixes issue from 001.png
         this.TextWrap = true;
 
      }


but, i will get the result shown on 002.png, where we have too big item height and second item does not seems to be shown correctly ("Q7" word is not shown).

I have figured out, if the string length does fit into ListViewItem width, it might miss last word of item text.
If  I disable images for ListViewItem, then i can see last word  of item text. see image 003.png


  private void listView_ItemDataBound(object sender, ListViewItemEventArgs e)
        {
            //comment this to fix last word showing
            e.Item.Image = (Image)Resources.ResourceManager.GetObject(((Cars)e.Item.Value).ImageFileName);
        }


anyway, i cannot fix first item height.

i have checked this one
http://www.telerik.com/community/forums/winforms/listview/item-height-issue.aspx
but it does not help too much.

i am using Telerik WinForms version: 2013.2.724.40

the source code project is available for download here:
http://yadi.sk/d/6Ro68KCoGfNEm

Look forward for your ideas!
Thank you! 

Hristo
Telerik team
 answered on 14 Jan 2016
3 answers
104 views

Two things quickly.

Why has the forum link to UI for WinForms (http://www.telerik.com/forums/winforms) disappeared from the main Telerik Developer Forums page (http://www.telerik.com/forums) and why is it no longer accessible directly but this sub forum is available?

 Also, UI for WinForms Q1 2016 (version 2016.1.112) has been released but it isn't yet available for download and installation in the Control Panel. I've been waiting for some fixes for a while now and really need this latest version to able to continue with the build and release of the next versions of my applications.

 I assume things will be up and running soon but wanted to post this in case these haven't been picked up on yet.

Stefan
Telerik team
 answered on 14 Jan 2016
2 answers
198 views

Hi all,

is there a possibility to erase (or set it to color white) the small vertical line (see attached pictures) in a DropDownButtonElement-DropDownMenu?
Or is it the radMenuSeparatorItem?

FillPrimitive fp = burgermenu.DropDownButtonElement.FindDescendant<FillPrimitive>();
   fp.ForeColor = Color.White;
   fp.BackColor = Color.White;
   fp.GradientStyle = Telerik.WinControls.GradientStyles.Solid;

didn't work.

Kind regards
Oliver

 

 

 

Oliver
Top achievements
Rank 1
 answered on 14 Jan 2016
4 answers
131 views
How I can change language? The platform is Windows Form with c #
Raymundo
Top achievements
Rank 1
 answered on 11 Jan 2016
5 answers
186 views
First as a prologue, I am aware of the deficiency that radmenus do not show the accelerator key all the time, despite the windows default having been set. To get around that, I have added code which I have found elsewhere in this forum, basically this:

Public Sub ShowMenuShortCuts(ByVal AMenuItems As Telerik.WinControls.RadItemOwnerCollection)
    Dim i As Int32 = 0
    While (i < AMenuItems.Count)
        Try
            CType(AMenuItems(i).Children(2).Children(0).Children(1).Children(0), Telerik.WinControls.Primitives.TextPrimitive).ShowKeyboardCues = True
            AddHandler CType(AMenuItems(i).Children(2).Children(0).Children(1).Children(0), Telerik.WinControls.Primitives.TextPrimitive).PropertyChanged, AddressOf MenuPropertyChanged
 
            If (TypeOf AMenuItems(i) Is myMenuItem) AndAlso (CType(AMenuItems(i), myMenuItem).Items.Count > 0) Then
                ShowMenuShortCuts(CType(AMenuItems(i), myMenuItem).Items)
            End If
        Catch
            'Failure
        End Try
        i += 1
    End While
End Sub
 
Public Sub MenuPropertyChanged(ByVal sender As Object, ByVal e As PropertyChangedEventArgs)
    Dim tPrimitive As Telerik.WinControls.Primitives.TextPrimitive
    tPrimitive = CType(sender, Telerik.WinControls.Primitives.TextPrimitive)
 
    If (e.PropertyName = "ShowKeyboardCues" AndAlso (Not tPrimitive.ShowKeyboardCues)) Then
        tPrimitive.ShowKeyboardCues = True
    End If
End Sub


I am pointing this out because it may be relevant to current issue.

Ok let's say you have this in place:
- You have parent window, with a menu, where one of the items has an accelerator key of "a".
- You have a child window, with a control, with an accelerator key of "a"
So two controls with the same accelerator key. Here is what you do with normal windows forms to invoke one or the other
- If you HOLD DOWN the Alt key, and press your accelerator letter at the same time, this invokes the control on the child window.
- If you press and RELEASE the Alt key, the focus is now on the menu, and you can then type "a" to invoke the menu item.

But here is what happens if the menu is a radmenu:
- I press and HOLD DOWN the Alt key, and then press "a" at the same time. Result? Focus goes to the menu. It should not, it should set focus to the control on the child form.

Thanks for looking.
Dimitar
Telerik team
 answered on 11 Jan 2016
3 answers
127 views

Hi All, 

i create new winform and add radRibbonBar, but whenever open the form, it automatically added a another, please see attach file.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jan 2016
3 answers
288 views

When the datasource is set for a gridview with sorting applied, the first row in the Rows collection is selected rather than the first row in the ChildRows collection. This causes the gridview to scroll to the position of the first row in the datasource rather than the first displayed row in the gridview.

 

 Steps to reproduce:

Set the datasource for the gridview

Sort the gridview

Set the datasource for the gridview again

The first row in the datasource will be selected and scrolled to, rather than the first displayed row.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Jan 2016
3 answers
357 views
Hi,

How can i add text or control in a specific date or day cell?

Thanks,
Angus
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Jan 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)
Form
Chart (obsolete as of Q1 2013)
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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?