Telerik Forums
UI for WinForms Forum
2 answers
143 views
I am using a somewhat  special OLAP cube with a calculation that  returns textual information for pivot cells. Your pivotgrid correctly shows the text, but the text does not wrap. Only so much text is shown as fits in the column's width. Is there a setting that I missed here?

Thanks
Sjoerd
Sjoerd
Top achievements
Rank 1
 answered on 16 Jan 2013
2 answers
202 views
Hi Telerik

I'm using the following code to add button to the tabstrip at the top of some of the tool windows in my RadDock. The button adds no problem and the events for the button work fine. I would like the button to appear at the right hand edge off the tabstrip rather than its position at the moment (which is just after the image I am also adding). See the attached screenshot.

How can I move the button to the Righthand side of the tabstrip?

Many thanks in advance
Regards
Ian Carson

public void SetToolWindowElements()
{
    foreach (ToolWindow tw in rdockMain.DockWindows)
    {
        if (tw != twTemplates && tw != twExecutables && tw != twEquityFunds && tw != twInstrumentLibrary && tw != twScheduleLibrary) continue;
 
        var iconImage = new ImagePrimitive {Image = Resources.alpha_logo24}; //, Padding = new Padding(4, 0, 3, 0)};
        var refreshButton = new RadButtonElement {Image = Resources.Refresh20, ImageAlignment = ContentAlignment.MiddleCenter};
        tw.TabStrip.Height = 28;
 
        if (tw == twInstrumentLibrary)
        {
            refreshButton.Click += InstrumentLibraryRefresh;
        }
        else if (tw == twEquityFunds || tw == twScheduleLibrary)
        {
            refreshButton.Click += ScheduleEquityLibraryRefresh;
        }
 
        if (((ToolTabStrip) tw.TabStrip).CaptionElement.Children[2].Children[0].GetType() != typeof (ImagePrimitive))
        {
            ((ToolTabStrip) tw.TabStrip).CaptionElement.Children[2].Children.Insert(0, iconImage);
        }
 
        if (tw != twEquityFunds && tw != twInstrumentLibrary && tw != twScheduleLibrary) continue;
 
        if (((ToolTabStrip)tw.TabStrip).CaptionElement.Children[2].Children[4].GetType() != typeof(RadButtonElement))
        {
            ((ToolTabStrip)tw.TabStrip).CaptionElement.Children[2].Children.Insert(4, refreshButton);
        }
    }
}
Julian Benkov
Telerik team
 answered on 16 Jan 2013
3 answers
122 views
When we new up a DocuemntSpellChecker it loads several of our binaries into memory and we don't know why?

We create one like this:

DocumentSpellChecker sp = new DocumentSpellChecker();

As soon as we hit that code all of the binaries that are using a control with a DocumentSpellChecker are loaded into memory. This causes problems because we do a check on those binaries later in the app when we attempt to load a form from them. We check if the binary is up to date and if not replace it. We can't do that, however, because the documentSpellChecker has already loaded them into memory.

Any ideas?
Julian Benkov
Telerik team
 answered on 16 Jan 2013
4 answers
217 views
Hi,
I've got a grid with 22 columns, I want to be able to show the columns with a horizontal scroll bar,
so I've set autosizecolumnmode to 'none' and used 'bestfitcolumns' method.

the problem is that all the content got corrupted and is not showing properly (I've attached a screenshot to this thread),

even when I don't use the 'bestfitcolumns' method the content is corrupted (only when I set 'autosizecolumnmode' to 'fill' the content shows right - but then I can't use the horizontal scroll bar)

how can I achieve the desired result?

Plamen
Telerik team
 answered on 16 Jan 2013
1 answer
129 views
Hello Team
i used Gridview excel export to some xxxx.xls , Export is done, but instead of exporting the gridview columns to excel columns, it is exporting everything to one single excel column, is there any setting to be done with the gridview,

Can you please help me

my Code is

var exporter = new ExportToExcelML(this.radgridview1);
               
                string fileName = "C:\\ACDV.xls";   
                exporter.SheetName = "Sheet";
                exporter.SheetMaxRows = ExcelMaxRows._65536 ;      
                exporter.RunExport(fileName);

the same export function to .csv is working fine, but the data is coming in enclosed quotes, which exported to database table showing data in enclosed quotes something like

"1"  "2.5"  "3"  "5"  "6"
"2"  "7.1"  "0"  "6"  "7"

i need data without enclosed quotes, there is an option in ajax gridview with option enclosedquotes=true/false but in winforms rad gridview there is no such option , please help me in achieving either of one method stated above

Regards
Lakshmi
               

Ivan Petrov
Telerik team
 answered on 16 Jan 2013
5 answers
128 views
Hi,

I attached an image of the top left corner of my app. I have a round image which i use as StartButtonImage.
However, the background is disturbing me. How can i remove it?

Best regards,
Darko
Ivan Petrov
Telerik team
 answered on 16 Jan 2013
9 answers
541 views
I've tried following the documentation at http://www.telerik.com/help/winforms/vsb_thememanagerloadresource.html to find a solution to thie following problem, but without any luck, so I hope someone can help.

I have a MyTheme.xml file, which I've added to Resources and set Build action to Embedded Resource.

I use the radThemeManager to load it, and I've tried loading it both as file and as resource, but I experience problems in both cases.

If I load the theme as a file, I get an error at startup, but it looks like the theme is applied correctly to my controls.

If I load the theme as a resource, I don't get the error, but the theme is not applied correctly, and my controls have weird shapes and colours. This only appear at run time, at design time everything looks fine.

I suspect there is something wrong in my theme location. My UserContol project is in a namespace called MyCompany.MyControls. Is the name of the theme location 
        MyCompany.MyContols.MyUserControl.MyTheme.xml
or     MyCompany.MyContols.MyTheme.xml
or something else?

In which folder do I place the MyTheme.xml file? Does it matter, as long as it is added as a resource?

Thank you!

Regards, Jill-Connie Lorentsen
   
Nikolay
Telerik team
 answered on 16 Jan 2013
3 answers
292 views
I am using a multicolumncombobox inside a datagridview. I would like to set a filter on the combobox so that when the user types a letter, the combobox filters the available options.

Is this possible?
Plamen
Telerik team
 answered on 16 Jan 2013
1 answer
112 views
I am trying to get my Expander control to appear on top of my Windows Forms Host on my main page and have the Windows Forms Host Fill all remaining area.

However, the Expander appears to the side of it, not on top.  

Here is, basically, what I have so far.  I left out the extra stuff.

   
<telerik:RadDockPanel x:Name="LaunchScreenDockPanel" LastChildFill="True">
        <telerik:RadExpander x:Name="UserInfo" ExpandDirection="Up" IsExpanded="True"></telerik:RadExpander>
        <WindowsFormsHost HorizontalAlignment="Stretch" Name="windowsFormsHost1" VerticalAlignment="Stretch" >          
            <wincontrols:RadPanorama x:Name="LaunchPadPanorama" Size="200,400" RowsCount="2" MinimumColumns="2" ShowGroups="True" Dock="Fill">
George
Telerik team
 answered on 15 Jan 2013
1 answer
89 views
Umm im almost sure that this is not supposed to happen 

There is a section above the top of the time periods on the scheduler

You can drag an appointment to this section of the scheduler?
The times for the appointment are reset when this happens and the save well seems to be happy that it is still an appointment object.

Can this be disabled, as im sure the users are gona do this just for fun to get me.... :(

Ivan Petrov
Telerik team
 answered on 15 Jan 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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?