Telerik Forums
UI for WinForms Forum
3 answers
497 views
i want to write a name in DropDownList with DropDownStyle=DropDown and fire event keypress o keyup o keydown please help
Stefan
Telerik team
 answered on 26 Jan 2015
1 answer
198 views
Hi,
How can the GraphicalView Summary Item backcolor be changed?  I tried handling the GraphicalViewItemFormatting event and can change Task items using
e.ItemElement.TaskElement.BackColor but this had no effect on Summary items and I could not a reference to the SummaryItem in e or e.item.
Thanks,
John
Hristo
Telerik team
 answered on 24 Jan 2015
1 answer
167 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
234 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
158 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
169 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
407 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
967 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
324 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
163 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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?