Telerik Forums
UI for WinForms Forum
3 answers
85 views

I upgraded from 2014 controls to 2015 and the suggestappend mode of the multi-column combo box (both in grid and as stand along control) no longer works as expected or as it used to.  When I begin typing in the field, it correctly performs the append part and attempts to complete the entry based on the items in the list.  It also correctly pops the drop list.

However, when I hit 'tab' without typing all of the characters, it does not change the value to the suggested.  Also it does not automatically select the desired row in the drop down like it did in 2014.  Am I missing something?  I created a small project that demonstrates if it would be helpful for me to send that.

 

Example:  See the screenshot.  The class column is a multicombo.  I key in the 'N' and it correctly completes it with 'NESTLE'. But the window that popped does not highlight the first 'N' option as it used to and when I next hit tab key, it does not set the value of the multicombo cell to 'NESTLE' but leaves it as the prior value until I type in the entire word.

Hristo
Telerik team
 answered on 15 Jan 2016
1 answer
113 views

Hi,

My scenario is that I have a form to capture the profile of a Person, in that form I am using an AutoCompleteBox to enter the Country. I do have a Country Catalog, so the AutoCompleteBox in profile shows existing elements.

I would like to allow the user to create countries on the fly when capturing a profile. I mean: if the user types a value that does not exist on the catalog, then when clicking the button to store the profile I want to take the not-match string in AutoCompleteBox and use it first to create a Country and then store that new CountryID when saving the whole profile. And of course, the next time the user require that Country it will be available as an existing element from the catalog of countries.

But I see that not-match strings are lost once AutoCompleteBox loses focus.

Is it possible to allow AutoCompleteBox keep that not-match string so I can use it when saving the profile as I explained above?

Thanks in advance for your support,

Regards

Oscar

Hristo
Telerik team
 answered on 15 Jan 2016
1 answer
99 views

Hi, I use the RadChartView to generate PNG images on webserver side. The problem is that in Windows XP text on charts is not smooth, but in Windows 7 it works fine. How could I achieve the desired behavior in Windows XP. Screenshots are attached.

Dimitar
Telerik team
 answered on 14 Jan 2016
5 answers
272 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
75 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
329 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
89 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
155 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
102 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
159 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
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
AI Coding Assistant
+? 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?