Telerik Forums
UI for WinForms Forum
2 answers
209 views
Hello,

I have a problem with the AutoScroll function of a RadPageView.

I have added a RadPageView to my Form with the ViewMode property set to "Stack" and the AutoScroll property set to True. Then I added some pages to it, the first page has a minimum size of 100,100.

In the event handler of the SelectedPageChangedEvent, when a specified page is selected I add a new page to the bottom of the RadPageView.

The first problem appears when the space for the first page with the minimum size gets to small, the content of the page is now overlaying the other pages.

The second problem is when AutoScroll is enabled, the RadPageView won't be drawn correctly and the content of the first page is shown at the bottom of the RadPageView.

Are there solutions for this?

Best regards
Matthias
Top achievements
Rank 1
 answered on 15 Oct 2013
7 answers
666 views
Hi,

I am using latest telerik winform dll for my C#.net windows application. In my app, I have populated a radchartview( Line chart) control programatically by the following lines:

            LineSeries lineSeria = new LineSeries();
            lineSeria.VerticalAxis.LabelFormat = "{0:#,###}";        // Y axis label formatting
            lineSeria.HorizontalAxis.LabelFormat = "{0:MM/dd/yyyy}"; //X axis label formatting
            lineSeria.HorizontalAxis.LabelRotationAngle = 300;
            lineSeria.HorizontalAxis.LabelFitMode = AxisLabelFitMode.Rotate;
            lineSeria.HorizontalAxis.LabelInterval = graphInterval;
            lineSeria.VerticalAxis.LabelInterval = 2;  

            List<Graph_Stat> lstGraph = _oGraphBal.LoadGraphs(); //Loading a generic list for populating chartview
            lineSeria.ValueMember = "Value"; //decimal value
            lineSeria.CategoryMember = "Date"; //date time
            lineSeria.DataSource = lstGraph;     //setting datasouce for line series
   this.chartFrontedContractsSold.Series.Add(lineSeria); //adding line series to chartview and populating it

Here in this example , I have formatted both X and Y axis labels of chartview. The datetime value in X axis shows the correct formatting result. But the Y axis label not shows any formatted output ( for Eg, if I have a value 1000, it should have to be displayed as 1,000).

Please help me.

-Praveen.
     
Roger
Top achievements
Rank 1
 answered on 14 Oct 2013
1 answer
111 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
209 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
263 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
80 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
250 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
90 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
368 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
277 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
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?