Telerik Forums
UI for WinForms Forum
10 answers
179 views
I'm having problems printing the scheduler with all resources on it.  I have a day view scheduler with 6 resources.  you can see 4 on the screen and then have to scroll right to see the other 2.  
when i print the scheduler i have 2 issues. 
1.  only the visible page of the first 4 resources show on the printout.  I need all 6
2.  how do i get the actual resource columns to show on the printout?  right now i only see the appointments.

Thanks!
Hristo
Telerik team
 answered on 13 Jun 2019
1 answer
134 views

There are three elements that are grouped.
The customer demanded that, when pressed again, the selection was removed.
Hung on the event items Click and wrote

but the selection does not disappear. How to fix?

if(radiobutton)
    radiobutton.isChecked = false
else
    radiobutton.isChecked = true
Вадим
Top achievements
Rank 1
Iron
Iron
 answered on 13 Jun 2019
8 answers
533 views

What is the proper way to insert text with specified font in any place in measured document? I have tried with the following code but it does not set the font if just right of the caret is space, and it changes the font of the whole word if the caret is in the middle of the word.

var editor = new RadDocumentEditor(radRichTextEditor1.Document);
editor.ChangeFontFamily(new Telerik.WinControls.RichTextEditor.UI.FontFamily("Times New Roman"));
editor.Insert("ABC");

 

 

Tanya
Telerik team
 answered on 12 Jun 2019
1 answer
200 views

Hi,

1) I have a custom grid column/cell based on the examples

protected override void CreateChildElements()
{
    base.CreateChildElements();
 
    this._stackElement = new StackLayoutElement();
    this._stackElement.StretchHorizontally = true;
    this._stackElement.StretchVertically = true;
 
    this._textElement = new LightVisualElement();
    this._textElement.StretchHorizontally = true;
    this._textElement.StretchVertically = true;
    //this._textElement.Padding = new Padding(0, 0, 5, 0);
 
    this._imageElement = new LightVisualElement();
    this._imageElement.ImageAlignment = System.Drawing.ContentAlignment.MiddleRight;
    this._imageElement.ImageLayout = ImageLayout.Center;
    this._imageElement.Size =
    this._imageElement.MaxSize = new System.Drawing.Size(20, 20);
    this._imageElement.StretchHorizontally = false;
    this._imageElement.StretchVertically = true;
    this._imageElement.Click += (o, e) =>
    {
        if (this.Enabled)
            ...
    };          
 
    _stackElement.Children.Add(_textElement);
    _stackElement.Children.Add(_imageElement);
 
    this.Children.Add(_stackElement);
}

 

Now the problem is, the sender in the grid OnToolTipTextNeeded is the LightVisualElement from the textElement/imageElement and not the cell it self (compared to the other "normal" columns)

I know that I get the cell over the Parent.Parent from the LightVisualElement but is there a simpler / more generic way? 

 

2) Also is with the StackLayoutElement, is there any way that the image element would be the last to hide if the column width is to small (see attached images) 

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jun 2019
0 answers
104 views

Hi, Dess | Tech Support Engineer, Sr.

    I am using spreadsheet, I don't want someone else to edit the cell when I import  the xlsx.

One idea I've come up with is to protect worksheets,  but it would pop up and it didn't seem to release the mouse event.

 you can look  the attachment file,I don't want to use "protect", what should i do?

 

jiang
Top achievements
Rank 1
 asked on 12 Jun 2019
8 answers
1.1K+ views

Two questions:

1] How to make a column cells look like and act like buttons?

2] How to then capture when the user clicks on the button in the cell?

 

In my old code I would have something like:

.Columns("Do It").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.Button

Looking for the equivilent to that and then how to capture the click event.

 

Thanks

Deasun.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Jun 2019
1 answer
276 views

Hi,

I am trying to create a notification badge on my menu items to show when there is something new that needs the users attention.  I have used the examples  found here but I can't seem to get it to work right.  https://www.telerik.com/support/kb/winforms/buttons/details/notification-button

Can you please supply some sample code to get this to work.

Thanks,

Tim Larson

Nadya | Tech Support Engineer
Telerik team
 answered on 12 Jun 2019
1 answer
132 views

Hello, I have a gridview as shown in the picture, I'm trying to iterate throw all group header rows, and access the progress bar in order to set a image for the progress bar. 

 

Is this possiple? 

 

Thanks in advance

Nicklas
Top achievements
Rank 1
 answered on 11 Jun 2019
2 answers
158 views

Hello, I'm trying to build a dashboard that autosizes the tool windows.The pictures basicly tells it all. But I'm looking for a behavior align the windows when the form gets resized to fullscreen. Is there any way to do this?

 

Thanks in advance

Nicklas
Top achievements
Rank 1
 answered on 11 Jun 2019
2 answers
223 views

On my RadContextMenu, there are multiple RadMenuItem with CheckOnClick = True.  Is it possible to do multiple check  without the context menu closed up?  like while holding Shift button and check multiple RadMenuItem?

Thanks.

QQ

QQ
Top achievements
Rank 1
 answered on 11 Jun 2019
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
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
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?