Telerik Forums
UI for WinForms Forum
1 answer
102 views

I have a toggle button that shows/hides the search row.  However, I need to capture the close event of the search row so I can change the toggle button state. This is needed because the user can click the X to close the search row.  Or, can I hide the X button?

Thanks!

 

Dimitar
Telerik team
 answered on 23 Jan 2017
2 answers
191 views

Hello,

Can someone tell me if it's possible to automatically scroll the selected folder in RadBrowserEditor into view? Currently, I am setting the 'value' property of this control to a folder that's is not part of the default view. When the dialog opens, the folder is selected as expected but it's not scrolled into view. So, I have to manually scroll in order to find the selected folder.

Thanks,

Santosh

Santosh
Top achievements
Rank 1
 answered on 23 Jan 2017
1 answer
115 views

I've written a single dialog box to handle error messages, input box, yes/no dialog with metro touch theming.

I show and hide controls and shuffle them into position as necessary.

The file shows 3 images, top one is at design time and the bottom two at run time.

My problem is that I need to catch the window layout after the theme adjusts the sizes of the controls but before they're displayed so I can perform a final shuffle. As you can see, especially on image 3, the position of the buttons, despite being anchored bottom and left/right are a long way off their original site. On image 2 I try to reposition them programatically, but the theme hasnt been fully applied and the button heights are returned to me as 24 when they're actually 32.

Is there an event which I should trap to do this please?

Hristo
Telerik team
 answered on 20 Jan 2017
2 answers
97 views

How do I change a node's checkbox state when the user clicks on the node's label text as opposed to clicking on the checkbox itself? 

This needs to work when the treeview is in Tri-state mode (needs to handle intedeterminate state as well as on/off). 

Thanks

 

Lou
Top achievements
Rank 1
 answered on 20 Jan 2017
9 answers
234 views

Hi,

Currently, I am using DontNetMagic library.. Now i want to switch to Telerik WinForms.

My requirement is to add a field (as highlighted in attached image) by inheriting any of CommandBar class in my own class.

The text (20%) will be updated as and when performs any zoom operation.

What is the recommended way to achieve the desired functionality?

 

Thanks,

Harshal

Dimitar
Telerik team
 answered on 20 Jan 2017
2 answers
55 views

Hi,

would be cool if tooltips defied for RadGridView Columns would also show in the column chooser.

Regards

Erwin

erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 20 Jan 2017
1 answer
131 views

Is there a way, in the grid view, to programmatically get a list of rows that are only visible on the screen.  For example, I have 100 rows in my datasource and I only show 15 rows of in my gridview, I scroll down a few pages. I want to get a list of the rows that are visible, programmatically.  How can I do that?

 

Thanks

Dimitar
Telerik team
 answered on 20 Jan 2017
7 answers
250 views

I have a 'Person' column which I'm wanting to filter. The problem is, I'm trying to load on demand a suggestion drop down list as the user types in the filter box. But I don't want the VirtualGrid's filter to be updated as the user is typing. I want the VirtualGrid's filter to updated by the user selecting an option from a suggerstion drop down. After the user has entered at least 4 characters in the filter textbox, I query 50 items from the server to populate the suggestion drop down. As the user continues typing, the suggestion drop down will be reloaded with the new set of results. Again, no filter should be added to the VirtualGrid until the user clicks an item in the suggestion drop down. And the user should be able to use the up/down arrows to scroll through the suggestion list without it changing the text in the filter textbox as that would cause a requery and reload of the suggestion items.

 

I tried this using VirtualGridDropDownListEditor and creating a custom AutoCompleteSuggestHelper. This worked great in displaying the suggested list and reloading as the user typed. I could arrow up and down without reloading the suggestion list. But once I clicked on the item in the list, I could get the VirtualGrid to be notified on the filter being set.

I also tried using VirtualGridAutoCompleteBoxEditor but couldn't prevent it from immediately notifying the VirtualGrid of the change in the textbox without cancelling the textbox value change completely.

 

Requirements:

  • Enter text in filter textbox without adding a filter the VirtualGrid
  • OnTextChange, reload a suggestion drop down list
  • Navigate items in suggestion drop down list using arrow keys without changing textbox's text
  • On suggestion drop down list item clicked (or pressing enter) set filter to VirtualGrid
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jan 2017
1 answer
104 views

I've run into a very strange issue with binding a simple List of objects to a DropDownList. Given the following code: 

 

this.myDDL.DataSource = null//in here to make sure any pre-existing source isn't the problem
List<Person> lst = new List<Person>();
var qry = Employees.List(load); //Returns List<Person> with no errors every time
lst.AddRange(qry.ToArray()); //Proof that there are no errors.  lst.AddRange() works flawlessly on the data
this.myDDL.BindingContext = new BindingContext(); //just added this, in case it was the issue
this.myDDL.DataSource = lst;  //bombs.

 

The very strange thing is that the error thrown is an Oracle error.  Normally, I'd be pestering Oracle about it, but the weird bit is that it only throws the error when assigning the datasource.  This doesn't match Oracle error ORA:00933 (SQL Command not properly ended) at all, but that's the error that is thrown.  The unnecessary extra code above is entirely a result of me trying to isolate a cause, but the query itself that runs to fill in one of these objects is a Stored Procedure that is called in our Production environment many times a day in the exact same way.  The object itself is too simple to be the cause:

public class Person
{
      public int ID {get;set;}
 
      public string FullName {get;set;}
 
      public override string ToString()
      {
             return ID.ToString() + "(" + FullName + ")";
      }
 
}

There are no null values in any property of the objects, no nulls added to the list, and the error doesn't occur until Binding.  Does the Telerik RadDropDownList recall the constructor of each object when using a List<T> as a DataSource? If not, why would the error appear when binding instead of when the objects are initially constructed?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 20 Jan 2017
0 answers
85 views

Hello,

When I navigate with hot keys Alt - F - R (refer attached image), I can see the sub menu, but I am not able to select any of them with help of keyboard.

below is my code:

Dim recentDocMenuitem As New RadMenuItem("&Recent Documents")
myRecentDocuments.ParentMenu = recentDocMenuitem
myRecentDocuments.ParentMenu.PerformClick()

myRecentDocuments is a object of my custom class which gets the list of documents.

I would be glad If you have any alternative in Telerik to show recently opened files, so that I can use that instead of my custom class. :)

Please suggest workaround for it.

 

Thanks,

Harshal.

harshal
Top achievements
Rank 1
 asked on 20 Jan 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?