Telerik Forums
UI for WinForms Forum
1 answer
138 views
I have a base form inherited from RadForm and in the constructor I added the following.

Public Sub New()
    MyBase.New()

    ThemeResolutionService.ApplicationThemeName = "VisualStudio2012Dark"
    Me.ThemeName = "VisualStudio2012Dark"
End Sub

When I open the BaseForm in VisualStudio I can see that the form is "Dark" but when I run the application, the form is not "Dark".
The titlebar font / icons did change from their original look "for example the X close button looks 3D" but they also did not take on the "Dark" theme.

I have tried several of the other themes and they all working at design time but not runtime.
James
Top achievements
Rank 1
 answered on 24 Jan 2015
2 answers
192 views
Hi,

Is there any ability in the RadTrackBar to hide the actual slider?  I'm basically looking to use the control just for the tick marks and no visible slider or slide area.

Thanks,
Bob
Bob
Top achievements
Rank 1
 answered on 23 Jan 2015
1 answer
138 views
Hi,

When using PdfViewer i can display the Pdf file. But i couldn't get the bookmarks from the pdf file. Is there any way to get every bookmark from the pdf file? When using GetAllBookmarks method i am getting error like namespace could not found. Kindly reply for the post as soon as possible.

Thanks,
Sowmya.
Ralitsa
Telerik team
 answered on 23 Jan 2015
1 answer
125 views
Hi,

When upgrading telerik i am getting the following error.

'Telerik.WinControls.UI.RadTreeNode' does not contain a definition for 'ShowCheckBox' and no extension method 'ShowCheckBox' accepting a first argument of type 'Telerik.WinControls.UI.RadTreeNode' could be found (are you missing a using directive or an assembly reference?) 
Kindly let me know how to resolve this.
Hristo
Telerik team
 answered on 23 Jan 2015
6 answers
351 views
Hello,
I found some problems trying to use the RadHostItem control to customize the cells of a RadGridView.
I developed a class (MyCell) that derives from GridDataCellElement; in such class, the RadHostItem hosts a RadTextBox control.
In the CreateCell event of the RadGridView, I set the cell tyle as typeof(MyCell).
Everything works fine, the RadTextBox control appears in the Grid cells but, and this is the problem I'd need to solve, when I scroll down the Grid, the RadTextBox controls cover and hide the Column Headers of the Grid.

I'm using RadControls for WinForms Q1 2010 SP2.
As attachment "scroll.JPG" shows what happens.

Could you please help me ? Many thanks in advance
Stefano

The entire source code is:

public partial class Form1 : Form
{
    public Form1()
    {
        InitializeComponent();
    }
 
    private void Form1_Load(object sender, EventArgs e)
    {
        DataTable dtGrid = new DataTable();
        dtGrid.Columns.Add("COL1", typeof(string));
        dtGrid.Columns.Add("COL2", typeof(string));
 
        for (int j = 0; j < 20; j++)
        {
            dtGrid.Rows.Add("val_0", "val_1");
        }
        radGridView1.DataSource = dtGrid;
 
    }
 
 
    void radGridView1_CreateCell(object sender, GridViewCreateCellEventArgs e)
    {
        if (e.CellType == typeof(GridDataCellElement) && e.Row is GridDataRowElement)
        {
            e.CellType = typeof(MyCell);
        }
    }
 
}
 
 
public class MyCell : GridDataCellElement
{
    private RadHostItem _RadHostItem;
    private RadTextBox _RadTextBox;
 
 
    public MyCell(GridViewColumn column, GridRowElement row)
        : base(column, row)
    {
    }
 
    protected override void CreateChildElements()
    {
        base.CreateChildElements();
 
        _RadTextBox = new RadTextBox();
        _RadTextBox.Name = "_RadTextBox";
        _RadHostItem = new RadHostItem(_RadTextBox);
 
        Children.Add(_RadHostItem);
 
    }
 
    public override void SetContent()
    {
        _RadTextBox.Text = "flower";
    }
 
    protected override SizeF ArrangeOverride(SizeF finalSize)
    {
 
        SizeF size = base.ArrangeOverride(finalSize);
 
        float width = size.Width;
        float height = size.Height;
 
        _RadHostItem.Arrange(new RectangleF(1f, 1f, width - 1f, height - 1f));
 
        return size;
    }
 
}





​
Stefano
Top achievements
Rank 1
 answered on 22 Jan 2015
1 answer
889 views
Hi,

i have a SplitContainer with 3 SplitPanels.

Between the first and second, there mustn't be a Splitter,
Between the second and the third, there must be a Splitter.

I tried to Set Splitter width to 4 for the SplitContainer in the Designer and then get the Splitters programmatically fom the Container and set the first Splitter to SplitterWidth = 0, but the Splitters Property of the Container is Empty.

Any suggestions here.

Regards,
Florian Keller
Ralitsa
Telerik team
 answered on 22 Jan 2015
1 answer
287 views
I am creating radScheduler resources by creating a EventId where the key is an employee number.  Like this:

resource.Id = new EventId([Emp#])

I later need to add an appointment to radScheduler and assign it to the resource who's Id is that of the EventId([Emp#]).

How can I get the ResourceId from the collection where the EventId Key that the resource was created with equals [Emp#]?

Thank you.
Hristo
Telerik team
 answered on 21 Jan 2015
3 answers
130 views
Hi everybody,
How to print Appointments with localization, specifically the Calendar at the title.
thanks in advance,
Best regards.
Nuno
Top achievements
Rank 2
 answered on 21 Jan 2015
8 answers
155 views
Please, I need a Help
This is my situation, I need to clone data through two RadPivotgrids, Pivotgrid 1 has data  I need, and I need that the pivotgrid 2 has the same data including the group conditions and filters in real time. Is it posible?




My version: 2014.3.1104.40

Dimitar
Telerik team
 answered on 21 Jan 2015
2 answers
95 views
radGridView for WinForms 2010 Q1,  thanks very much!
Todor
Telerik team
 answered on 21 Jan 2015
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?