Telerik Forums
UI for WinForms Forum
1 answer
102 views
We purchased a software project that had the 2009 controls. We have upgraded the project to use current version of the controls but still have an outdated look and feel. Looking for help and guidance on how to update our app's look and feel to the current Universal Windows Style app.
Dimitar
Telerik team
 answered on 10 Mar 2017
4 answers
351 views

Hi

 

I want to customise the available filter operators and change the default operator in my RadGridView

 

For example in a string column, I'd like to default to 'Starts With' instead of 'Contains' and want to remove the 'Ends With' operator.

 

Thanks

Tung

Hristo
Telerik team
 answered on 09 Mar 2017
2 answers
135 views

I have a Ribbon bar in Outlook view on which I want to change programmatically the font

I have managed to change the font on the bottom buttons with the following code

        outlookElement = TryCast(pvMain.ViewElement, RadPageViewOutlookElement)
        outlookElement.Font = MyPreference.Font

 

However the font of the title does not change (see attached image)

How cant I change the title font as well ?

thanks

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 09 Mar 2017
2 answers
226 views

Hello guys/girls, how are you?

I hope you can help me.

 

I need to use RadGridView to insert / update / delete data from MySql. VB.NET

I've used this code :

-------------------------------------------------------------------------------------------------

statustestera = Me.RadGridView1.SelectedRows.Item(0).ToString
            statuspantograf = Me.RadGridView1.SelectedRows.Item(1).ToString
            statusdispecer = Me.RadGridView1.SelectedRows.Item(2).ToString
            statusproizvodnja = Me.RadGridView1.SelectedRows.Item(3).ToString
            statusdokumentacija = Me.RadGridView1.SelectedRows.Item(4).ToString

            comm.Connection = cn
            comm.CommandText = "INSERT INTO TBL_Priprema_GROB(StatusTeseta, StatusPantograf, StatusDispecer, StatusProizvodnja, StatusDokumentacija) VALUES('" & statustestera & "','" & statuspantograf & "''" & statusdispecer & "','" & statusproizvodnja & "',' " & statusdokumentacija & "')"
            comm.ExecuteNonQuery()

 

------------------------------------------------

but it returns with the Index can not be negative or less..... error. 

 

Can you please help 

 

 

Hristo
Telerik team
 answered on 07 Mar 2017
1 answer
249 views
I was wondering if there is any way to capture a click on MapPin and associate an event handler with that. As far as I could tell, the only element that has events is a RadMap. The MapPin class has a HitTest() method that takes parameters PointG, PointL, and IMapViewport, but even if I were to iterated through all the pins on a map click to see if any of them pass the HitTest(), it's not clear what parameters should be passed in. I feel like there is probably a better way to do it. Can anyone please provide guidance on this?
Hristo
Telerik team
 answered on 07 Mar 2017
2 answers
95 views

I have a requirement which uses a popup launched from a grid which resides in a tool window. Default state of the tool window is auto hide.
Now, when the tool window expands and the grid is shown, the end user can click a grid command button which launches a lookup dialog. The dialog returns the selected value with an event which is handled by the eventhandler from the tool window grid.

Here's the problem: when the dialog is shown, the tool window closes. I want the window to remain expanded while the dialog is shown.
Is there a way to keep it expanded _without_ changing the tool window state (e.g. to docked)?

Any thoughts on this?

 

Raoul
Top achievements
Rank 1
 answered on 07 Mar 2017
15 answers
668 views
Hi

I am using radgridview (windows) export to excel functionality and I would like to keep the same currency format e.g ({0:€#,#0;(€#,#0);-}).

Is there is any option available there to do that?

Please reply urgently

Thanks
Hristo
Telerik team
 answered on 07 Mar 2017
1 answer
1.0K+ views

Hi All,

 

I have a problem referecing 'Telerik.WinControls.UI.dll' in a project. The problem message is in portuguese, but the context is the same:

Error14'Não foi possível carregar arquivo ou assembly 'Telerik.WinControls.UI, Version=2015.1.225.40, Culture=neutral, PublicKeyToken=<xxxx>' ou uma de suas dependências. Ponteiro inválido (Exceção de HRESULT: 0x80004003 (E_POINTER))'<projet with dir>

 

Is there a solution? I've read http://www.telerik.com/forums/could-not-load-file-or-assembly-telerik-wincontrols-ui topic, but the messages are differents. 

 

Any suggestions?

 

Reggards

 

Dimitar
Telerik team
 answered on 07 Mar 2017
1 answer
110 views
We have an unbound hierarchical grid. 

When there is more than one GridViewTemplate, captions are displayed for the child tables. 

When there is only one GridViewTemplate, captions are not displayed.

We want to make sure captions are always displayed. How can we do this?

Note: we have the following set:
ShowChildViewCaptions = true
AllowAddNewRow = false
AllowEditRow = false
Dimitar
Telerik team
 answered on 07 Mar 2017
25 answers
380 views

Hello Telerik,

I want to export a file.txt  to Pdf, I´m using GridViewPdfExport component but this line does not work:

Telerik.WinControls.Export.PdfExportRenderer renderer = new Telerik.WinControls.Export.PdfExportRenderer();

 

This is my code , taken from Export to PDF

 

Telerik.WinControls.Export.GridViewPdfExport pdfExporter = new Telerik.WinControls.Export.GridViewPdfExport(radGrid1);
pdfExporter.FileExtension = ".pdf";
pdfExporter.ShowHeaderAndFooter = true;
pdfExporter.HeaderHeight = 30;
pdfExporter.HeaderFont = new Font("Arial", 22);
pdfExporter.Logo = System.Drawing.Image.FromFile(@"C:\temp\logo.png");
pdfExporter.LeftHeader = "[Logo]";
pdfExporter.LogoAlignment = ContentAlignment.MiddleLeft;
pdfExporter.LogoLayout = Telerik.WinControls.Export.LogoLayout.Fit;
 
pdfExporter.MiddleHeader = "Middle header";
pdfExporter.RightHeader = "Right header";
pdfExporter.ReverseHeaderOnEvenPages = true;
 
pdfExporter.FooterHeight = 30;
pdfExporter.FooterFont = new Font("Arial", 22);
pdfExporter.LeftFooter = "Left footer";
pdfExporter.MiddleFooter = "Middle footer";
pdfExporter.RightFooter = "Right footer";
pdfExporter.ReverseFooterOnEvenPages = true;
 
pdfExporter.SummariesExportOption = SummariesOption.ExportAll;
pdfExporter.FitToPageWidth = true;
pdfExporter.Scale = 1.2;
pdfExporter.ExportSettings.Title = "Prueba";
 
string exportFile = @"..\..\exportedData.pdf";
using (System.IO.MemoryStream ms = new System.IO.MemoryStream())
{
Telerik.WinControls.Export.GridViewPdfExport exporter = new    Telerik.WinControls.Export.GridViewPdfExport(radGrid1);
Telerik.WinControls.Export.PdfExportRenderer renderer = new Telerik.WinControls.Export.PdfExportRenderer();
exporter.RunExport(ms, renderer);
 
using (System.IO.FileStream fileStream = new System.IO.FileStream(exportFile, FileMode.Create, FileAccess.Write)){
ms.WriteTo(fileStream);}
}

Thanks in advance.

 

Dimitar
Telerik team
 answered on 07 Mar 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)
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
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
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?