Telerik Forums
UI for WinForms Forum
1 answer
148 views

Hi

Thanks for great popup editor.

i wanna have a grid inside the popup editor and set drop down style of popup editor to dropdown because the user can use auto complete like in dropdownlist.

but i wanna auto complete ocure on all grid rows and suggest what the user type. the text must be contains and not start with.

is it possible? and if possible give me sample

thanks in advanced

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Jan 2020
1 answer
181 views

Hi,

I want to add hand cursor in RadMenuItem.

Waiting for your favorable response.

Thanks..

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 30 Jan 2020
3 answers
164 views

Hello Team Telerik,

Is there any way to reproduce the cart component attached? We are working on a POS solution and reproducing the item is crucial for us. We are currently trying Telerik for Winforms.

Nadya | Tech Support Engineer
Telerik team
 answered on 30 Jan 2020
1 answer
1.8K+ views

Hi Team, 

I am unable to find the direct download links for older versions of telerik. I am looking for for 2018 R3 version for windows. 

Thanks, 

Vijay

Nadya | Tech Support Engineer
Telerik team
 answered on 28 Jan 2020
8 answers
331 views

Hi,

I have a grid-view with multiple grids working together, and one of the tasks at hand is if a value changes in a cell in one grid, then the main grid has to highlight any objects that shared that data that were affected by the change. The customer then needs to compile that data and at that point, the row for that object needs to have the highlight removed. I am able to get the conditional formatting for the highlight to work, but removing it from the entire row after the button click is proving to be a challenge. currently my code is set to do this using the following:

      public void GridHighLighterSetConditions()
      {
         int x = -1;
         double Index1 = - 1;
         double Index2 = - 1;
         double Index3 = - 1;
         string MIDindex = "";
         int RowIndex = 0;
         int MID = 0;


         foreach (GridViewDataRowInfo Index in MainGridView.SelectedRows)
         {

            if (MainGridView.SelectedRows.Count > 0)
            {
               for (x = 0; x < MainGridView.SelectedRows.Count; x++)
               {
                  RowIndex = MainGridView.SelectedRows[x].Index;

                  MIDindex = MainGridVIew.Rows[RowIndex].Cells[0].Value.ToString();

                  MID = int.Parse(MIDindex);
               }
               break;
            }
         }

         foreach (GridViewDataRowInfo Event in GridView2.Rows)

         {

            if (GridView2.SelectedRows.Count > 0)
            {
               for (x = 0; x < GridView2.SelectedRows.Count; x++)
               {
                  Index1 = GridView2.SelectedRows[x].Index + 1;
               }
               break;
            }
         }

         foreach (GridViewDataRowInfo Vevent in GridView3.Rows)
         {

            if (GridView3.SelectedRows.Count > 0)
            {
               for (x = 0; x < GridView3.SelectedRows.Count; x++)
               {
                  Index2 = GridView3.SelectedRows[x].Index + 1;
               }
               break;
            }
         }

         foreach (GridViewDataRowInfo REvent in GridView4.Rows)
         {

            if (GridView4.SelectedRows.Count > 0)
            {
               for (x = 0; x < GridView4.SelectedRows.Count; x++)
               {
                  Index3 = GridView4.SelectedRows[x].Index + 1;
               }
               break;
            }
         }

         ConditionalFormattingObject HL_1 = new ConditionalFormattingObject("Highlighter", ConditionTypes.Equal, Index1.ToString(), "", true);
         Font newFont = new Font("Arial", 8f, FontStyle.Bold);
         HL_1.CellFont = newFont;
         HL_1.CellForeColor = Color.DarkRed;
         HL_1.RowBackColor = Color.Gold;

         ConditionalFormattingObject HL_2= new ConditionalFormattingObject("Highlighter", ConditionTypes.Equal, Index2.ToString(), "", true);
         Font newPBVFont = new Font("Arial", 8f, FontStyle.Bold);
         HL_2.CellFont = newPBVFont;
         HL_2.CellForeColor = Color.DarkRed;
         HL_2.RowBackColor = Color.Gold;


         ConditionalFormattingObject HL_3 = new ConditionalFormattingObject("Highlighter", ConditionTypes.Equal, Index3.ToString(), "", true);
         Font newRVFont = new Font("Arial", 8f, FontStyle.Bold);
         HL_3.CellFont = newRVFont;
         HL_3.CellForeColor = Color.DarkRed;
         HL_3.RowBackColor = Color.Gold;

         ConditionalFormattingObject No_HL = new ConditionalFormattingObject("No Highlighter", ConditionTypes.Equal, MIDindex, "", true);
         Font newUMCFont = new Font("Arial", 8f, FontStyle.Regular);
         No_HL.CellFont = newUMCFont;
         No_HL.RowBackColor = Color.White;
         No_HL.CellForeColor = Color.Black;

         if (Index1 > Index2 && Index1 > Index3)
         {
            MainGridView.Columns["Column1"].ConditionalFormattingObjectList.Add(HL_1);

            GridView2.ClearSelection();
         }

         else if (Index2 > Index1 && Index2 > Index3)
         {
            MainGridView.Columns["column2"].ConditionalFormattingObjectList.Add(HL_2);

            GridView3.ClearSelection();
         }

         else if (Index3 > Index1 && Index3 > Index2)
         {
            MainGridView.Columns["Column3"].ConditionalFormattingObjectList.Add(HL_3);

            GridView4.ClearSelection();
         }
         else if (MIDindex != null && MID > Index1 && MID > Index2 && MID > Index3)
         {
            Index1 = -1;
            Index2 = -1;
            Index3 = -1;

            MainGridView.Columns["Column0"].ConditionalFormattingObjectList.Add(No_HL);
            

            MainGridView.ClearSelection();
            MainGridView.Refresh();
         }
         return;
      }

 

I Feel as though there must be a much easier way to do this.

Thanks.

David
Top achievements
Rank 1
 answered on 27 Jan 2020
2 answers
633 views

Hi,

I have a grouped radgridview.

What I am trying to accomplish is, when a regular (not group row) row is selected, I would like to change the background color of it's group row so it will be easy to see it (the group row of the selected regular row).

For example - 

Group Row A

1

2

3

Group Row B

4

5

if the user selects the row "2" I want "Group Row A" to change color. If the user then selects row "4" I want "Group row B" to change color (and "Group Row A" to change back to it's default color).

 

I have succeeded to change the color of the group row when selecting the group row directly (through the ViewRowFormatting event) but can not do it in a good way when a regular row is selected (in the SelectionChnaged event). I tried using:

1) From SelectionChanged event calling  this.gridView.TableElement.Update(GridUINotifyAction.Reset) but it brings the table back to the top if the user scrolled down.

2) From SelectionChanged  - tried to get the group row of the selected row and change it's background. Can not find the way to get to the GroupRowElement where I can access the background property.

Please help, any advice to achieve this would be appreciated!

Yaron

 

 

n/a
Top achievements
Rank 1
 answered on 27 Jan 2020
1 answer
275 views

hello i'm using radchat on my project and i have two questions

one

I've read how to sending a image but i'm not sure how i can send other files like Audio,video...

 

ChatMediaMessage mediaMessage = new ChatMediaMessage(img, new Size(300, 200), null, Chat_Box.Author, DateTime.Now);

 

two

and also are some of them like video types going to have a preview in the radchat like the image or not

if not how i can access the file that radchat is showing to execute it example like this Process.Start("C:\\");

thank you 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jan 2020
1 answer
452 views
I have 80 email addresses separated with comma in a textbox. I also have four empty textboxes. How can I share the 80 email addresses equally among the four textboxes? I have not tried any thing because I no idea on how to start.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 Jan 2020
1 answer
278 views

     Hello,

I have an application, which is using RadGridView with additional DragDrop functionality and I have encoutered problems with applying all "Material xxx" themes for such a grid.

 

To find out the problem I have created new project from scratch, with new class: 

using Telerik.WinControls.UI;
 
namespace root
{
    public class CustomGrid : RadGridView
    {
        public CustomGrid()
        {
 
        }
    }
}

 

and then I have added 3 grids into WinForm. 

First one is just normal RadGridView with "Material" grid applied, second is CustomGrid with "Material" theme applied and third one is CustomGrid with Office2010Black theme applied, as can be seen in attachment. First and third controls are working as intended, but there is a problem with the middle one.

As You see, the grid in the middle does not apply selected Material Theme - in such cases it is using "Fluent" theme all the time. The problem is connected with all 4 Material themes available in current version of WinControls. Is it possible to change it in easy way? I have changed like 80% of application and all grids which are not supporting DragDrop to this Material Theme, and it is blocking me from releasing this new version to customer. 

 

Regards,

Mateusz

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 23 Jan 2020
1 answer
115 views

I'd like to show a custom context menu when the user right clicks on an RadCheckedDropDownList item

What is the best way to do it?

 

I've tried setting the ContextMenuStrip property, as in:

    dropDownList.ContextMenuStrip = contextMenuStrip1;

but both my custom menu strip and the default context menu appears. See the attached image

 

 

Nadya | Tech Support Engineer
Telerik team
 answered on 23 Jan 2020
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
VirtualKeyboard
NavigationView
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?