Telerik Forums
UI for WinForms Forum
2 answers
529 views
Hello;
I am using Telerik Winforms Gridview and the Column expression.

I am trying to return data from a field (column) in a gridview using a IIF statement.
The below works:
IIF(customer_name='Bills Hairy Mess','win','lose')


The below crashes the form:
IIF(customer_name='Bills Hairy Mess',cust_ref_1_BOL,'lose')
I also tried
IIF(customer_name='Bills Hairy Mess',[cust_ref_1_BOL],'lose')


cust_ref_1_BOL is a valid field name and is pickable from within the expression editor under 'fields'


Is the above possible?


Thank you,
Joe
Joe
Top achievements
Rank 2
 answered on 10 Aug 2016
5 answers
191 views

Hi,

on one PC (win7), when RadPrintPreviewDialog  is maximized - there is a thick border around it, same effect with any RadForm. Is it possible to turn off theme for RadPrintPreviewDialog, so it looks like a basic .net form?

 

Thanks

Alex

Hristo
Telerik team
 answered on 10 Aug 2016
4 answers
469 views
Hello,
Is there a Winforms equivalent of saving and persisting the user's changes to the gridview's column and row settings across multiple sessions similar to the article for the ASP.NET controls: http://www.telerik.com/help/aspnet-ajax/grdsavingsettingsonperuserbasis.html

Thanks

Issac
Top achievements
Rank 1
 answered on 10 Aug 2016
2 answers
852 views

I am working on a WinForms app using Telerik 2016 Q2. It contains several themes created with Visual Style Builder that are managed by a radThemeManager control accessing the XML files directly (not as a resource). The Visual Studio 2015 solution also contains a couple of Telerik-created themes (visualStudio2012LightTheme1 & office2013LightTheme1).

I would like to assign one of my custom themes to a radMessageBox control. Whatever I try, no theme is assigned. I first tried:

RadMessageBox.SetThemeName("customTheme");
RadMessageBox.Show(this, "messagebox text", "titleg", MessageBoxButtons.OK, RadMessageIcon.Info);

The I tried putting this in the load event of the form:

ThemeResolutionService.ApplicationThemeName = "customTheme";

Neither worked. I then tried:

RadMessageBox.SetThemeName("visualStudio2012LightTheme1"); //Telerik-supplied theme

This partially worked as expected. It did override the custom themes of my controls throughout the form, but the radMessageBox still did not receive the theme (it was still set to the default theme).

How can I apply a custom theme to a radMessageBox?

Thanks.

Hristo
Telerik team
 answered on 09 Aug 2016
4 answers
254 views

hi.

i want to have a fullscreen form with auto hide title bar like "Microsoft Remote Desktop" or so on.

is there a way to implement it with telerik winform components ?

mohammad reza
Top achievements
Rank 1
 answered on 09 Aug 2016
0 answers
90 views

Hello, I need to have a column that in the first row will allow input of numerical value between 0 and 100 an in all other rows beneath to have a cells with two predefined string values. How to do this? Before condition to have first row with a string value, I was using GridViewComboBoxColumns but now I can't because of the first row.

I'm using Telerik Q2 2016 SP1

Vladislav
Top achievements
Rank 1
 asked on 08 Aug 2016
6 answers
395 views
I have a winforms application and would like to allow the user to change the theme they prefer from a pre-defined set of themes.

I watched the video at http://tv.telerik.com/winforms/themes/radcontrols-winforms-theme but it doesn't really explain what the radThemeManager does.  

How is the radThemeManager used and how does it work with the pre-defined themes?
Hristo
Telerik team
 answered on 08 Aug 2016
1 answer
118 views

Although I want to have tool tips available when the text of the buttons (RadItems) on my ribbon bar (RadRibbonBarGroup) are not visible because the ribbon bar has been resized down to a point where the text is hidden, I do not want these tool tips to be available when the text is visible as they are then redundant and somewhat annoying to the users.

Is there an event triggered when the button determines to hide/show the text while resizing?

Is there a property I can use to determine whether the button text is visible?

Is there already logic built into the button to tie this text-visible to the availability of the tool tip>?

Would it be possible for me to inherit from the RadItem control and override the tooltip property or would that be pointless because the code to display the tooltip uses the internal variable and not the property getter to retrieve the tooltip text to display.

Thank you in advance for any help you can offer.

 

 

 

Hristo
Telerik team
 answered on 08 Aug 2016
7 answers
561 views

I have a gridview that I have bound to a DataSet that displays a customer's address information. (Select FNAME, LNAME, STREET, CITY, STATE, ZIP FROM CUSTOMERS)

I have a textbox that a user will type a search criteria into and click a button. What I am trying to do is run the sql again with that criteria applied and return the results to the user by updating this GridView.

This should be simple and I have done it before in Access. But, I am stumped right now and could use some help.

 

Table adapter is named CUSTOMERSTableAdapter

Binding source is named CUSTOMERSBindingSource

Data set is named ECOMLIVEDataSet

If my button was named btnCustomerSearch, what code should execute on the _click event to revise the SQL?

 

Thanks in advance. Maybe somebody can point to a tutorial online somewhere or help explain this.

Hristo
Telerik team
 answered on 08 Aug 2016
11 answers
288 views

Hi,

i have got System.OutOfMemoryException while assigning dataset with 3+ milllion records to PivotGrid. I understand that this is sql driver memory limitation, but how do you suggest to solve it besides using analysis services?

 

Thanks

Alex

 

Hristo
Telerik team
 answered on 08 Aug 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
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?