Telerik Forums
UI for WinForms Forum
2 answers
169 views
Curiously; after the last update thad i did, the icon that I configured in the contentImage isn't shown. It has relation with the update or maybe I am configuring something in an erroneous way.

Thank you so much

My code: 
Telerik.WinControls.UI.RadDesktopAlert deskp = new Telerik.WinControls.UI.RadDesktopAlert();
deskp.ContentImage = Properties.Resources.alert_danger;
deskp.ThemeName = "TelerikMetroBlue";
deskp.AutoCloseDelay = 6;
deskp.Opacity = (float)1.0;
deskp.PopupAnimationFrames = 20;
deskp.PopupAnimationDirection = (Telerik.WinControls.UI.RadDirection)Enum.Parse(typeof(Telerik.WinControls.UI.RadDirection), "Up");
deskp.FadeAnimationFrames = 20;
deskp.ShowPinButton = false;
deskp.ShowOptionsButton = false;
deskp.CaptionText = "<html><b><span style=\"font-size:14;color:#44224D;\">" + title + "</span></b></html>";
deskp.FixedSize = new System.Drawing.Size(450, 120);


deskp.ContentText = "<html><span style=\"font-size:12;\">" + msg + "</span></html>";
deskp.Show();
wiquezada
Top achievements
Rank 1
 answered on 12 Apr 2018
5 answers
632 views

Hi,

I have a base form with a RadPageView and one RadPageViewPage. I dropped two RadPanel and one RadGridView into the RadPageViewPage. I set the modifier property of all this five controls to public. And then I save this RadForm.

 I created a second RadForm and inherited this one from the previous one. In this second form I can see all the controls in the designer. I can modified the properties of the two RadPanels but I can't modified the properties of the RadGridView in the properties windows.

 What can I do in order to modified the properties of the RadGridView of the second form at design time ?

 

 

 

 

 

 

Dimitar
Telerik team
 answered on 12 Apr 2018
1 answer
207 views

Hi all,

Unfortunatelly (bug or feature?) the ValueChanging Event routine of the RadTimePicker just pass CancelEventArgs but not ValueChangingEventArgs like in RadDateTimePicker. How can I get the new value (value that is entered by the time picker dialog) in the value changing event? I need it for validation.

Thanks!

 

Jürgen

Hristo
Telerik team
 answered on 11 Apr 2018
0 answers
263 views

I am getting issue in form resize.. 

1) i cannot set form height in FloatingWindowCreated  as i mentioned below. kindly tell me how to resize form height as per required.
        void buyDock_FloatingWindowCreated(object sender, FloatingWindowEventArgs e)
        {
           e.Window.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
           e.Window.MinimumSize = new Size(735, 60);
            e.Window.StartPosition = FormStartPosition.CenterScreen;

        }

 

Thanks in addvance.

 

 

Mohammad Anas
Top achievements
Rank 1
 asked on 11 Apr 2018
2 answers
197 views
Hi, I'm using your RadChartView, I think that the last version of it, to show the evolution of certain measures and some significant events.Measures are drawn as LineSerie and the events are managed as CartesianChartAnnotation. Everything seems to be ok but when the user zooms the chart and them scrolls it, the annotations which are out of the horizontal axis range are keep shown, so they are drawn over the legend, for example. But LineSeries are drawn correctly, the chart dosen't show them outside the horizontal range. It seems that the drawing of the annotations doesn't have into acount the scroll.
I attach a screenshot to shown this behaviour.
Jesus
Top achievements
Rank 1
 answered on 11 Apr 2018
4 answers
258 views

Hi,

Small question.

GanttView supports milliseconds in TimeLine.

In my project i need add timeline (with task) from task in from 0,25 to 2 seconds.

Talis
Top achievements
Rank 1
 answered on 11 Apr 2018
3 answers
129 views
Is it possible to put multi-lined text in items of RadListBox ?
Dimitar
Telerik team
 answered on 11 Apr 2018
2 answers
75 views

Hello~~

I  have two question.

I need your help.

1. Add parent to selectedItem

privite void Buttom1_click(object sender, EventArge e)

{

    // Add parent to selectedItem

   // raising error

   GanttViewDataItem item = new GanttViewDataItem();

     item.Items.Add(radGanttView1.SelectedItem);

    radGanttView1.Items.Add(item);

}

2. GanttViewTextItemEelement Drap & drop is possible to change parent & child?

 

HWI CHEOL
Top achievements
Rank 1
 answered on 10 Apr 2018
4 answers
114 views

hi 

why are all fields empty when scrolling

 

        private void dgvTaskFactory_ViewCellFormatting(object sender, CellFormattingEventArgs e) {
          if (e.CellElement is GridHeaderCellElement) {
                e.CellElement.TextWrap = true;
                e.CellElement.TextAlignment = ContentAlignment.BottomLeft;
            } else {
                if (e.CellElement is GridCellElement cell) {
                    if (cell.ColumnInfo.Name == ColumnTitle.GridTasklistMail.priority) {
                        cell.DrawText = false;
                        cell.Image = Image.FromFile(Convert.ToInt32(cell.Value.ToString()) == -1 ? "express.png" : "timable.png");
                    } else {
                        cell.Image = null;
                    }
                }
            }

        }

Andre
Top achievements
Rank 1
 answered on 10 Apr 2018
12 answers
841 views

Is it possible to mange group expanded state with AutoExpandGroups=false?

 

I have a 4-levels grid that simulates a treeview. original data is added in code with "radGridView1.Rows.Add( params[])"

 

The gridview's parameters :            

radGridView1.MasterTemplate.ShowFilteringRow = false;
radGridView1.MasterTemplate.EnableGrouping = true;
radGridView1.MasterTemplate.AllowDragToGroup = false;
radGridView1.MasterTemplate.AutoExpandGroups = false;
radGridView1.ShowGroupPanel = false;

 

I want only the level 1-2-3 opened, the last one which contains all the leaves must be closed, until user ask to see all the entities.

 

I add more data with  GridViewDataRowInfo rowInfo = new GridViewDataRowInfo(this.radGridView1.MasterView);

Setting cell values with =>    rowInfo.Cells[0].Value = newentity.Identifier;

 

and then for the grouping, those lines of code:

                radGridView1.Rows.Add(rowInfo);
                rowInfo.IsSelected = true;
                rowInfo.IsExpanded = true;

 

My problem is that after adding the new entity, all the groups are collapsed. I tried many ideas but none to success.

If I set the radGridView1.MasterTemplate.AutoExpandGroups to true, then everything gets expanded and the grid takes way to much height.

 

Any ideas? thanks

Dimitar
Telerik team
 answered on 10 Apr 2018
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
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?