Telerik Forums
UI for WinForms Forum
4 answers
246 views
Is it possible to bold the day text in the radcalendar based on certain events? For example, I want to "lock" certain dates, say from Dec. 1st to Dec. 20th and to show that they are "locked" i want to bold the day text for days 1 - 20 in the calendar.  To "lock" these days I would click a button, for example, and the selected date and all dates prior would be bolded (locked).  Is it possible to do this?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 28 Nov 2013
1 answer
157 views
I want to add windowControls top of panorma like this photo.
how can I do?
Ralitsa
Telerik team
 answered on 28 Nov 2013
3 answers
461 views

Can anyone tell me
 how do I undo the grouping columns in radgridview?

Here attached a picture of my clustered grid. 


Thanks; 
Carlos
Top achievements
Rank 1
 answered on 27 Nov 2013
1 answer
301 views
Hello,

Per this thread, I see that we now have proper copy functionality in the radgridview control:
http://www.telerik.com/community/forums/winforms/gridview/copying-multiple-rows-from-gridview-does-not-preserve-linebreaks.aspx


I am able to successfully use

grid.MasterTemplate.BeginRowCopy()


My question is this:
How would I go about using this functionality in a hierarchical view, where the user wishes to copy data in the "child" template.
grid.Templates(0)
  does not have a corresponding "BeginRowCopy"

When I call grid.MasterTemplate.BeginRowCopy()  I receive repeated errors stating:

Property accessor 'Name' on object 'class name' threw the following exception: 'Object does not match target type.'

To clarify this error, the parent table contains a column (and property corresponding to the object) called "Name".
The child templates data does not contain a property of that name.  The obvious conclusion is that grid.MasterTemplate.BeginRowCopy() only works for the master template and does not operate on the child template.

Any suggestions on how to accomplish this?

Update:  Ctrl-C exhibits the same issue.

Thank you.

PS: It is a shame that the only documentation on the matter came from another forum post.  It would be helpful to see Copy/Paste functionality fleshed out in the WinForm Documentaiton or KB articles.


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Nov 2013
4 answers
1.2K+ views
Hey,
     When I press the Enter button in the RadTextBox NO new line is added and the text cursor isn't repositioned to the new line. Is there a bug in the RadTextBox or I can do that programmatically?
Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Nov 2013
3 answers
602 views
Hi
I have a list view like this:


                                 Column 0                              Column 1                                Column 2
ListViewItem1                 1                                           2                                               3
ListViewItem2                 4                                           5                                               6



When I make my list, the "ListViewItem1" and "ListViewItem2" is not visible.

My questions are:
1. How shall I make "ListViewItem1" and "ListViewItem2" to be visible in my grid list?
2. How shall I change "ListViewItem1" and "ListViewItem2" to "Row1" and "Row2" ?
3. How shall I change "Column 0" and "Column 1" and "Column 2" to "Col1" and "Col2" and "Col3" ?
4. How can I do, which each cells can be selectable? As I tried, just each row can be selectable. I need each cells can be selectable like GridView.

For better explanation, I need bellow list to be appear in run :

                                    Col1                                     Col2                                          Col3
Row1                             1                                           2                                               3
Row2                             4                                           5                                               6




5. How shall I change the color header, font header and backcolor header?
6. How can I change the color of fonts of whole list? I mean Items and also its row header?
7. How can I read and write item from Row2,Col3 ?
8. How shall I change scroll bar thickness?
9. If I apply any themes (like Aqua) then whether ShowGridLines is True or False, gridlines are disappear. How shall I make it appear when I use a theme?

Thanks.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Nov 2013
2 answers
338 views
Hi,

I'd like to customize RadListFilterPopup. I need to display in it only "Available Filters" directly, meens without menu element (attachement 1), like filters in GridViewRowElement. I have to use  excel-like filtering instead of clasic GridViewRowElement becouse in some columns I need checkbox list filter which is given in excel-like filtering.

I write below snippet:


void radGridView1_FilterPopupRequired(object sender, Telerik.WinControls.UI.FilterPopupRequiredEventArgs e)
        {
            RadListFilterPopup popup = (RadListFilterPopup)e.FilterPopup;

            var radMenuItems = ((RadMenuItem)popup.Items[1]).Items;

            popup.Items.Clear();

            popup.Items.AddRange(radMenuItems);
        }


It works fine - displays only "Available Filters". But the problem is that after clicking on some element (e.g "Start with" ) the "blue dialog" appears under the filter list, or in another words, filter list isn't closed ( it is closed after click on "blue dialog" ).

So,

1) How can I close filter list, after clicking on one of it element

2) Is there a simpler way to assign only "Available filters" to filter icon (without rest standard content of RadListFilterPopup) - e.g. use another FilterPopup?

thanks in Advance.
Argos
Top achievements
Rank 1
 answered on 27 Nov 2013
1 answer
220 views
Hello
I have control, which inherits from RadDateTimePicker. I use it across my whole application to ensure consistency.

public class RadMaskedDatePicker : RadDateTimePicker
{
    public RadMaskedDatePicker()
    {
        InitializeComponent();
    }
 
    private void InitializeComponent()
    {
        this.Format = DateTimePickerFormat.Short;
        InitializeFooter();
    }
 
    private void InitializeFooter()
    {
        RadDateTimePickerCalendar datePickerCalendarBehavior = this.DateTimePickerElement.GetCurrentBehavior() as RadDateTimePickerCalendar;
        if (datePickerCalendarBehavior == null)
        {
            return;
        }
        RadCalendar calendar = datePickerCalendarBehavior.Calendar;
        calendar.ShowFooter = true;
 
        CalendarStatusElement calendarStatusElement = calendar.CalendarElement.CalendarStatusElement;
        calendarStatusElement.RightToLeft = true;
        calendarStatusElement.LabelElement.Visibility = ElementVisibility.Hidden;
     
        calendarStatusElement.TodayButton.Text = Resources.strToday;
        calendarStatusElement.TodayButton.Click += (sender, args) =>
        {
            calendar.SelectedDates.Clear();
            this.Value = DateTime.Today;
            datePickerCalendarBehavior.PopupControl.HideControl();
        };
 
        calendarStatusElement.ClearButton.Text = Resources.strClear;
        calendarStatusElement.ClearButton.Click += (sender, args) =>
        {
            this.SetToNullValue();
            datePickerCalendarBehavior.PopupControl.HideControl();
        };
    }
 
    [Browsable(false)]
    [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
    public override DateTimePickerFormat Format
    {
        get { return base.Format; }
        set { base.Format = value; }
    }
}

Now I want to use it in RadGridView as an editor. I have tried to use some concepts from http://www.telerik.com/help/winforms/gridview-editors-using-custom-editors.html, but with no success.
 How can I achieve the desired functionality?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Nov 2013
5 answers
263 views
Hello,

I want to develop GridView Hierarchy some thing like this http://www.telerik.com/help/winforms/gridview-overview.html. (Panel In GridView)
Is there any simple source for this?
Please help me through this

Thanks,
Pradip.


Pradip
Top achievements
Rank 1
 answered on 27 Nov 2013
18 answers
407 views
Hi
I have a RadButton that is been Host, by RadHostItem, in a RadDropDownButton
I have set the ToolTipText and the property ShowItemsToolTips id set to true, but the tooltip isn"t popping out. the ToolTipNeeded event is called
If i take the same button and put it on a standart RadPanel the tooltip is popping out.

Thanks
Gal

Stefan
Telerik team
 answered on 26 Nov 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)
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?