Telerik Forums
UI for WinForms Forum
1 answer
136 views
Hi Team!

could you please help me with a short question: How can I scroll within the scrollablepanel when I'm at design time? I have to design a large form with scrolling. But I can't do this, because I'm not able to scroll down the scrollablepanel at design time?

Thanks in advance,

Markus
Dimitar
Telerik team
 answered on 14 Oct 2013
2 answers
255 views
Hi team!

can you please help me to remove the border around the documentviews? Please have a look at the attached screenshot to see what I mean.

Thank you in advance.

Markus
Markus
Top achievements
Rank 1
 answered on 13 Oct 2013
2 answers
312 views
Hi!

I have a RadListView in ViewMode "IconView". I want to change the highlight border of the selected items.
How can I do this?


Best regards
Markus
Markus
Top achievements
Rank 1
 answered on 13 Oct 2013
1 answer
100 views
In our organization, we break when exceptions are thrown. This allows us to improve our code by eliminating exception-throwing as much as possible. Not a problem for our customers, but we don't want to turn this off for our developers, who use it to find problems in the code.

Because of this, we discovered that the Dock code always throws an exception when deserializing the layout because it's trying to create an Image type. Image is abstract, so it throws an exception, catches it, and continues on its way. The code below (from ComponnentXmlSerializer.cs) could be improved by first checking if the type has a paramterless constructor, and then not catching the MissingMethodException. This would speed up deserialization and let us keep "break on exceptions" turned on.

try
{
    newInstance = this.InstanceFactory.CreateInstance(type);
}
catch (TargetInvocationException)
{
    return;
}
catch (MissingMethodException)
{
    return;
}
Dimitar
Telerik team
 answered on 11 Oct 2013
1 answer
320 views
In our product, we have used sgen to create .xmlserializers.dll's for all of the classes we serialize/deserialize for three reasons.

First, because we've run into cases where customers had .NET installs that actually failed to dynamically generate the xml serializer classes on the fly.
Second, it improves performance.
Third, we break when exceptions are thrown. This allows us to improve our code by eliminating exception-throwing as much as possible. When there is not a prebuilt xmlserializer dll, the framework throws an exception, which breaks into the debugger. Not a problem for our customers, but we don't want to turn this off for our developers, who use it to find problems in the code.

We cannot generate xml serializer dlls for the Telerik stuff, because they need to be signed using the same key used for the assembly the types come from. Could you guys provide these dlls for your releases?
Dimitar
Telerik team
 answered on 11 Oct 2013
1 answer
107 views
When clicking on the application menu, in the quick access toolbar or on a ribbon tab, the ribbon bar control steals the focus from whatever control was focused.

I found the following solutions:
- quickaccesstoolbar: ribbon.QuickAccessToolBar.InnerItem.Children[2].CanFocus = false;
- application menu:
   ribbon.RibbonBarElement.ApplicationButtonElement.CanFocus = false;
   ribbon.RibbonBarElement.ApplicationButtonElement.ActionButton.CanFocus = false;
- tabs: tab.CanFocus = false;
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 11 Oct 2013
2 answers
415 views
I have a RadTextBox and RadDropDownList (DropDown style) on a winform and when I right click at runtime the context menu that pops up contains the usual cut/copy/paste items but it also has "Right to left Reading order", "Show Unicode control characters", "Insert Unicode control character", "Open IME" and "Reconversion" items. How can I disable/hide these unwanted context menu items?

Thanks!
~Paul
Stefan
Telerik team
 answered on 11 Oct 2013
4 answers
318 views
I am using the ScreenTip feature to show some extra info in my RadGridView row when mousing over. That is working great but the delay is a bit much before it pops up when you mouse over it. I noticed here that the regular ToolTip has lots of properties that can be set to adjust this:
http://www.telerik.com/community/forums/winforms/gridview/tooltip-visible-time.aspx 

I am wondering if you can include some code with samples here on how to do the same thing with the ScreenTip. Changing the code from that sample around didn't seem to work.

Thanks in advance!
stefano
Top achievements
Rank 1
 answered on 11 Oct 2013
3 answers
176 views
I have combobox column that is populated with id's and set up to show the given name as a display member. I also set DisplayMemberSort to true.
' create location combo box column
col = grdPurchases.Columns("location_id")
col.DataSource = locations ' DataGrid with "id" and "name" columns
col.DisplayMember = "name"
col.ValueMember = "id"
col.DisplayMemberSort = True
This works great and sorting the column sorts by display member and not value member like it should. But when I group by this column it seems to revert back to sorting by value member when sorting the groups.
' create default groupings
Dim locationDescriptor As New GroupDescriptor()
locationDescriptor.GroupNames.Add("location_id", System.ComponentModel.ListSortDirection.Ascending)
grdPurchases.GroupDescriptors.Add(locationDescriptor)
Is this supposed to happen? Is there a different way to keep sorting by display member?
Stefan
Telerik team
 answered on 11 Oct 2013
3 answers
124 views
Telerik,

If my program detects that new tag has been created, then I would like to have a message box prompting the user if they want to create the new tag.  If they choose 'No' then the tag will not be created.

How would I cancel the creation of a new tag?

Thanks
Stefan
Telerik team
 answered on 10 Oct 2013
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?