Telerik Forums
UI for WinForms Forum
0 answers
129 views
Hello

i am using a ribbonbar in my visual studio 2008 project. I also use a RadThemeManager. 
i tried to load a xml theme from file. after selecting the file an error is coming up:

Error loading theme from resources System.NullReferenceException...

look for the error at following screenshot:

What i am doing wrong?

Georg Draxler
Top achievements
Rank 1
 asked on 06 Oct 2009
4 answers
244 views
Hi,

I'm using Q2 2009 SP1. When I call RadDock.SaveToXml(), and try and reload using RadDock.LoadFromXML() I get a reflection runtime error ; "No parameterless constructor defined for this object.".

For info, my XML file is shown here
  <?xml version="1.0" encoding="utf-8" ?>   
<RadDock Orientation="Horizontal" BackColor="191, 219, 254" TabIndex="0" TabStop="False">  
  <DocumentManager DocumentInsertOrder="InFront" />   
<Controls> 
<Telerik.WinControls.UI.Docking.ToolTabStrip BackColor="191, 219, 254" SelectedIndex="0" Size="200, 98" Location="0, 0" Name="" TabIndex="1" TabStop="False">  
  <SizeInfo SplitterCorrection="0, 0" AutoSizeScale="0, 0" />   
<Controls> 
  <Telerik.WinControls.UI.Docking.HostWindow Name="ToolWindow1" Text="Registration Group" Size="198, 69" Location="1, 28" />   
  </Controls> 
  </Telerik.WinControls.UI.Docking.ToolTabStrip> 
<Telerik.WinControls.UI.Docking.ToolTabStrip BackColor="191, 219, 254" SelectedIndex="0" Size="200, 99" Location="0, 101" Name="" TabIndex="2" TabStop="False">  
  <SizeInfo SplitterCorrection="0, 0" AutoSizeScale="0, 0" />   
<Controls> 
  <Telerik.WinControls.UI.Docking.ToolWindow CloseAction="CloseAndDispose" Text="Day Register" ToolCaptionButtons="AutoHide" DocumentButtons="None" Name="toolWindow1" Size="198, 70" Location="1, 28" />   
  </Controls> 
  </Telerik.WinControls.UI.Docking.ToolTabStrip> 
  </Controls> 
  </RadDock> 
Nikolay
Telerik team
 answered on 06 Oct 2009
1 answer
328 views
Hello,

Please refer uploaded images. SampleData is the datatable which I am binding with the control. TelerikReport.jpg is shows my program result(for which I have doubt). CrystalReport.jpg displays my needed result(I have made this chart using crystal report).

Now, let me describe my doubt. I want to display category on x-axis and incidents on y-axis. I want to display multiple category on x-axis with different colors and its incidents on y-axis(want grouping of category on x-axis and want to display incidents on y-axis same like crystalreport.jpg).

See my code,
RadChart1.DataSource = dt  
RadChart1.DataGroupColumn = "Month" 
RadChart1.PlotArea.XAxis.DataLabelsColumn = "Category" 
RadChart1.DataBind() 

I think I am missing something in code. Please guide me.
Dwight
Telerik team
 answered on 06 Oct 2009
1 answer
117 views

hi...
I have the following code to select the tab and bring to view... But this code is not working...

frmaudiofile.RadTabStrip3.TabStripElement.ScrollIntoView(frmaudiofile.Tabactiveclient)

frmaudiofile.Tabactiveclient.IsSelected =

True

How to select and make the tab active programatically?

 

Nikolay
Telerik team
 answered on 05 Oct 2009
1 answer
151 views
Hi

I have a simple application based on a RadForm, and have not set any custom themes or anything.  I've just noticed a problem where if you move your mouse over any control in the form, that control will highlight correctly as the mouse moves over it, but as soon as the mouse leaves the control, the control stays highlighted.  Same problem goes for the RadForm title where I move my mouse over the minimize, maximize and close buttons.  After I rebooted my machine, the problem went away.

What could be causing this.  I've already had this reported at one of my customer installation.  I think it starts happening after the PC has been running for a while and the only way I've seen to stop the problem is to reboot :(

I'm using Q12009 software.

thanks
mark

Deyan
Telerik team
 answered on 05 Oct 2009
1 answer
112 views
The helpbutton keeps moving about 50-100 pixels to the left when not using Aero or when resizing the form.
What can I do?
Tried a clean project, same happens there.
Peter
Telerik team
 answered on 05 Oct 2009
7 answers
347 views
I have searched your forum and documentation and simply cannot find a complete answer to this common grid action.

Can I please have an example of how to allow the user to click on a column header to sort, but actually sort on a hidden column.  I would also like to maintain the sort-arrow glyphs on the visible (dummy) column.

I use VB.NET with VS2008.

PS:  I love your controls but really request more sample code to common solutions.
Deyan
Telerik team
 answered on 05 Oct 2009
1 answer
2.1K+ views
Is it possible to enable horizontal scrolling in the grid? I can't see an option to do this.

For example if I have a large number of columns I'd like the horizontal scrollbar to be displayed as opposed to all the columns being squashed to fit.

I've been looking for an AllowScroll as found here: http://demos.telerik.com/aspnet-ajax/grid/examples/client/scrolling/defaultcs.aspx but as yet I'm still unsure how to do this with the winforms grid.

Thanks

M.
Jack
Telerik team
 answered on 02 Oct 2009
1 answer
225 views
I've been trying to find a (clean) way to save my form's layout -- including the window size, the RadDock layout, and the layout of each grid within each RadDock section (there are 4). So far the only way I've been able to do this requires 6 files.

1 file for the window size/location
1 file created by radDock.SaveToXml()
4 files created by each gridView.SaveLayout()

I tried combining these, but have been unable to make SaveToXml() to play nice as a section of an XML file.

I've also tried serializing the whole form (stack overflow); also tried serializing just the radDock (but then I lose all the data in the grids when I load) -- the latter doesn't save window location/size anyway.

Is there an easy way to accomplish what I'm trying to do, or do I need to become an XML/serialization grand-master?

Thanks,
Baris
Nikolay
Telerik team
 answered on 02 Oct 2009
1 answer
167 views
Hi,
  We have a Winforms  MDI application which has some toolbars shown in the MDI container form. We need to do the following -
1. Ability to dock these toolbars to any edge of the MDI container form and also to float the toolbar.
2. Ability to Auto hide the docked toolbars
3. The MDI child forms should be shown and behave normally as they would appear in the MDI container form. We don't want to restrict the display of MDI child forms as tab pages.

Can we use RadDock docking library for these tasks?

Thanks.
Julian Benkov
Telerik team
 answered on 02 Oct 2009
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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?