Telerik Forums
UI for WinForms Forum
7 answers
564 views

hi dears.

i change each ListView item by this code:

RadButtonElement buttonElement = new RadButtonElement();
        public RadCheckBoxElement checkBoxElement = new RadCheckBoxElement();       
        StackLayoutElement stack = new StackLayoutElement();
        protected override void CreateChildElements()
        {
            base.CreateChildElements();
            NotifyParentOnMouseInput = true;
            ShouldHandleMouseInput = false;
            stack.Orientation = Orientation.Vertical;
            this.MinSize = new Size(Item_MINSIZE-10,Item_MINSIZE);
 
            buttonElement.Click += ExecuteHost;
            stack.Children.Add(buttonElement);
 
            checkBoxElement.Name = "radCheckBox" + _itemIndex.ToString();
            stack.Children.Add(checkBoxElement);
            this.Children.Add(stack);
            Padding=new Padding(5,5,5,5);
        }
and then create each item in "VisualItemCreating" event.

so i want to change above checkbox state programmatically and by right mouse click. or call buttonElement click.

but how can i access custom item elements objects ???

thanks.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Oct 2019
4 answers
112 views

I have a question about auto-sized screentips.

I would like to measure the screentip before it is displayed and move its position above a control instead of beneath it. In order to move the screentip above a control, I need to know its height.

My question is how can I get a screentip's height before it is displayed? I assume I need to invoke a method. However, everything method I have tried has not worked.(ie DesiredSize)

Thanks in advance.

James
Top achievements
Rank 1
Veteran
 answered on 09 Oct 2019
3 answers
116 views

I need to set only certain columns to be searched by default. 

By default, all columns are marked in the "Search in Columns" context menu. How do I set it to be only certain columns?

 

 

Gone2TheDogs
Top achievements
Rank 2
Iron
Veteran
 answered on 09 Oct 2019
9 answers
1.3K+ views

Hi,

Is there a way to make the summary row freeze at the bottom of gridView so it doesn't move in any situation, I added the summary row to the my gridView with below code which works only when the amount of rows are higher than gridView height, but as soon as there are one or two rows in the grid, the summary row sticks to the bottom of the last row but not to bottom of the gridView.

 

GridViewSummaryRowItem summary =new GridViewSummaryRowItem();
summary.Add(new GridViewSummaryItem("total", "{0:#,###}", GridAggregateFunction.Sum));
productGrid.SummaryRowsTop.Add(summary) ;
 
this.productGrid.MasterTemplate.ShowTotals = true;
this.productGrid.MasterView.SummaryRows[0].PinPosition = PinnedRowPosition.Bottom;

Nadya | Tech Support Engineer
Telerik team
 answered on 08 Oct 2019
1 answer
118 views

Hi Admins.

I'm using the following code to show the Serial Number on the RowHeaderColumn.

private void GridViewSaleItems_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
    if (e.CellElement is GridRowHeaderCellElement && e.Row is GridViewDataRowInfo)
    {
        e.CellElement.Text = (e.CellElement.RowIndex + 1).ToString();
        e.CellElement.TextImageRelation = TextImageRelation.ImageBeforeText;
    }
}

 

How can I Get this Serial Number (Like other Cell Values) When saving the Grid Rows

Nadya | Tech Support Engineer
Telerik team
 answered on 07 Oct 2019
5 answers
342 views

Hi Admins.

I am developing an application which have the functionality to change the theme at rune time.

When i use the Telerik Themes. Message on the RadMessaageBox not shown properly (see attached image)

the code for displaying the MesageBox is

string msg = "<html>Are you sure?<br><br><b>You want to close the Application</b></html>";
DialogResult result = RadMessageBox.Show(msg, "Sales Digitization", MessageBoxButtons.OKCancel, RadMessageIcon.Question, MessageBoxDefaultButton.Button1);

 

Is this theme problem that is not compatible with html tags.

Kashif
Top achievements
Rank 1
 answered on 07 Oct 2019
1 answer
102 views

I'm planning to convert my application to .Net Core, but was looking for clarification. With Net Framework we had to manually build the assemblies as OEM or merge the telerik assemblies with the exe.

Using .Net core according to documentation we just need to set the publish option to self-contained and that should be it? I'll be making the application available on my website so want to ensure I do that correctly.

https://docs.telerik.com/devtools/winforms/core/deploy-application

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 Oct 2019
2 answers
303 views

Hello,

I am currently changing the design for a ListView item (IconView) and have created a custom class which inherits an IconListViewVisualItem.

One of the elements in the custom class is a LightVisualButtonElement.

I would like to change the cursor for this element into the Cursors.Hand.

Is there a way to accomplish this? Or do I need to use another element type?

 

Best regards

Patrick Vossen

Patrick
Top achievements
Rank 1
 answered on 07 Oct 2019
6 answers
2.4K+ views
Hi guys,

Just wandering is is possible to change the grid views Column index's? or Possible to change the display, heck even both.

Typically in Winforms i use  the code below.

Hoping this is just a syntax lack of knowledge for Telerik controls.

Many thanks in advanced guys!
dgv_Pareto.Columns["Pg"].DisplayIndex = 0;
dgv_Pareto.Columns["Part"].DisplayIndex = 1;

dina
Top achievements
Rank 1
 answered on 06 Oct 2019
3 answers
120 views
I use pivotgrid and chartview that is integrated , i  don't want when i drag my pivot item to Aggregate or filter area chartview automatically refresh . i should use button for that  how can i do that? thanks in advance.
MAJID
Top achievements
Rank 1
 answered on 05 Oct 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)
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?