Telerik Forums
UI for WinForms Forum
1 answer
397 views

     Hi,

Is it possible to use google address autocomplete for telerik winform ? I want make the textbox autocomplete for address. like this:

https://developers.google.com/maps/documentation/javascript/places-autocomplete

but i think it is only for web form.

 

Thanks.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jul 2017
2 answers
147 views

HI *,

I try to use OverwritePrompt feature like this:

<p>radBrowseEditor1.DialogType = BrowseEditorDialogType.SaveFileDialog;
</p><p>(radBrowseEditor1.Dialog as SaveFileDialog).OverwritePrompt = false</p>

;

But still having a question "<file path...> does not exist. Do you want to create?"
I would like to omit this question in this case but it seems to be not possible...

Here is the link: https://msdn.microsoft.com/en-us/library/system.windows.forms.savefiledialog.overwriteprompt(v=vs.110).aspx

Thanks a lot

Rostislaw

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jul 2017
3 answers
218 views

Hello, i want to extend functionality of the treeview with a textbox at top for search funtions. I'm trying to make with code similar to this (see below) but Treeview don't have "Item" like TextBox to get the instance. How can i get this functionality?

private static void AddIconToTextBoxElement(RadTextBoxElement textElement, ImagePrimitive icon)

{

    var item = textElement.TextBoxItem;

    textElement.Children.Remove(item);

    icon.SetValue(DockLayoutPanel.DockProperty, Telerik.WinControls.Layouts.Dock.Left);

    var dockPanel = new DockLayoutPanel

    {

        LastChildFill = true

    };     

    dockPanel.Children.Add(icon);

    dockPanel.Children.Add(item);

    textElement.Children.Add(dockPanel);

}

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 24 Jul 2017
4 answers
306 views

 

 

    I have three forms .In the form Button Exit Click form is closed but the  Data is not initializing in the Text Box and Gridview.

Dimitar
Telerik team
 answered on 24 Jul 2017
2 answers
87 views

Hi ,

When i click to the line "Click here to add new row" on grid view. It will enter to add new mode. Can i put one more row above a new row like "Please press enter to save" and a new row will be below. Because i want to guide the customer know how to save the new row. Can i do that or some way like that ?

 

Thanks.

Bao
Top achievements
Rank 1
 answered on 22 Jul 2017
18 answers
725 views
I would like to turn off the case sensitive filters in the WinForm GridView.  I've found a few CaseSensitive flags and have set them to  false  but the grid filters are remaining case sensitive.  Here is an example of what I tried:

dataTable.Rows.Clear();
dataTable.BeginLoadData();
   ((logic for adding rows to the data table is here))
dataTable.CaseSensitive = false;
dataTable.EndLoadData();

radGridView.MasterTemplate.BeginUpdate();
radGridView.MasterTemplate.CaseSensitive = false;
radGridView.DataSource = dataTable;
radGridView.GridBehavior.GridControl.CaseSensitive = false;
radGridView.MasterTemplate.EndUpdate();

I am using the following Telerik library:
    WinForms Q3 2011 (version 2011.3.11.1116)

Can you please explain how to turn off case sensitivity for the filters in your WinForm grid control?

Can you also provide the class paths for all the CaseSensitivity flags?
  e.g. 1) radGridView.MasterTemplate.CaseSensitive
         2) radGridView.GridBehavior.GridControl.CaseSensitive
         3) etc...

Thanks so much!
Scott

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 21 Jul 2017
2 answers
158 views

I realize we cannot add a RadSeparator to the RadRibbonBarBackStageView currently (it's not a RadItem) but there really should be some kind of "Separator" for the navigation (we have separators for every other navigational elements: ribbons, groups, menus.)

 

I also realize that earlier versions of the Office Backstage did not include a Separator however, all of the newer versions do so no harm in allowing someone to select "Windows 7" as their theme and still allow this, is there?

 

Adjustable Properties should be (IMHO)

   EdgeWidth - this is how close to either edge the line will be drawn (there's no reason the line has to go 100% across)

   LineHeight - in pixels how thick to draw the line.  set limits at something reasonable like 1-10

   LineColor - obvious

   Height - users should be allowed to adjust how tall/short the separator is.  This is not to be confused with LineHeight.  This is the total height of the control whereas LineHeight is just the line being drawn.

 

The attached image shows what I came up with in my ap - I got a little fancy with the line itself by allowing a leading and trailing linear gradient and my usercontrol lets me select the length of the gradiation but no need to go totally cray cray.

 

Anyway just my two cents :)

-C

 

Curtis
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 20 Jul 2017
1 answer
131 views

Hi,

I want to align my popup to snap the left or the right corner of its RadPopupEditor item. (See the picture for more details).

As you can see the popup is not aligned neither to the left nor to the right. How can I control the behaviour of the popup?

Things i have tried so far:

            popUpEditorConnect.PopupEditorElement.Alignment = ContentAlignment.TopLeft;             popUpEditorConnect.Popup.AlignmentRectangleOverlapMode = AlternativeCorrectionMode.Flip;             popUpEditorConnect.Popup.DropDownAnimationDirection = RadDirection.Left;             popUpEditorConnect.Popup.HorizontalAlignmentCorrectionMode = AlignmentCorrectionMode.SnapToEdges;              popUpEditorConnect.Popup.HorizontalPopupAlignment = HorizontalPopupAlignment.LeftToLeft;

Hristo
Telerik team
 answered on 20 Jul 2017
1 answer
292 views

Hello,

A while back I requested the ability to embed fonts when exporting from a RichTextEditor to pdf. Eventually this functionality was added (thank you for that!), but in my current use case it's causing pdf filesizes to be extremely large compared to the workaround solution I've initially implemented. I was wondering if anyone at Telerik would have an idea on the differences between the two methods and why one is much larger than another.

Use case info:
I'm required to take the output from a bunch of RichTextEditors, export each one to a pdf and then merge those individual pdfs into a larger one. By using the PdfFormatProvider, this causes fonts to be embedded multiple times in the merged pdf (and makes the filesize really large).

However, before this functionality, Telerik recommended a workaround to get fonts embedded that takes the content from the the RichTextEditor into a docx file, then imported back in and exported to a pdf. This was a hacky workaround that causes some formatting issues, but actually embedded the font and didn't balloon the filesize.

(for details on the workaround, it was recommended in this thread: http://www.telerik.com/forums/embedding-fonts-in-pdf-output)

 

Is there anyway to make the proper pdf export provider work similar to the one in the workaround? Using the correct export provider fixes a bunch of my issues, but the duplicate embedded fonts causing large file size is a dealbreaker unfortunately.

Thanks!

-Tom

Hristo
Telerik team
 answered on 20 Jul 2017
23 answers
508 views
are there any samples on how to build a menu dynamically from the database?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jul 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?