Telerik Forums
UI for WinForms Forum
0 answers
168 views
Hi Everyone,

RE: Native Spell check on *ALL* text controls

I'm surprised I actually have to request this and that this is still not a basic function Telerik has built into *all* text boxes across all their products.

We are living in 2013 and our users expect to be able to get an out of the box spell check solution as they have in any Microsoft product that they use and is their basis for everything they do.

That is they get:

- a red line under all misspelled words *anywhere* text is written...as they type
- a right click option to offer the correct spelling
- a right click option to add to and update a master dictionary

The spell check needs to be applied to *all* text boxes ASAP, please do not confuse this with just a Rich Text box. Even Outlook 2013 now has spell check built into the subject line (this should have been done years before the 2013 release).

Can everyone please vote for this as our current option involves spending $1000+ on a <admin> tool</admin> that does offer this option.

Vote here: http://www.telerik.com/support/pits.aspx#/details/Issue=9516

Thanks,

Ben
Ben
Top achievements
Rank 2
 asked on 30 Oct 2013
1 answer
119 views
Hi,

We use QTP for testing out application.
WE need it for web, SAP and .Net . All supported by QTP .

In our .Net application we use RadControls that QTP recgonize as swfObject.

How can I test these controls with QTP ?
Does your testing tool has integration with QTP ?

Thanks
        
George
Telerik team
 answered on 29 Oct 2013
0 answers
142 views
hello
I would like to personalizzar elo schedule with the property grouptimeline as in the image I posted.
For example it is possible to reduce the height of the column of the rooms and enter the text horizontally?
Since I use the display in days, you can display only the number of the day without the name and in the bar of the period to appear also the year as well as the period from day to day.
To better understand how I plan to send you the picture I took of the schedule from the demo of telerik and an image created by me that shows the schedule as it should be.
Also since I with the schedule I will make the reservations for hotels modifcare and you can customize the panel for appointment as changing buttons, combo, the text etc. and manage the bailouts directly on the database.

thanks
Fabio Cirillo
Top achievements
Rank 1
 asked on 29 Oct 2013
2 answers
115 views
hi,
i disabled add,edit and delete appointment on Scheduler by canceling them:
private void ReservationRadScheduler_AppointmentDeleting(object sender, SchedulerAppointmentCancelEventArgs e)
        {
            e.Cancel = true;
        }
 
        private void ReservationRadScheduler_AppointmentDropping(object sender, AppointmentMovingEventArgs e)
        {
            e.Cancel = true;
        }
 
        private void ReservationRadScheduler_AppointmentEditDialogShowing(object sender, AppointmentEditDialogShowingEventArgs e)
        {
            e.Cancel = true;
        }
everything works fine at debugging and running on the developing computer
but after puplishing the application when i double click on the appointment an exception is thrown:
Exception Message:"value is lower than the minimum value"
this happens in EditAppointmentDialog.InitializeComponent() !!!!!!
George
Telerik team
 answered on 29 Oct 2013
1 answer
181 views
Hi,

I can't get the pan/scroll functionality to work when reloading the chartview.

Please see the code below. When I call the LoadChart function for the first time in form load event, it works fine. When it is called for the second time in button click event, the pan/scroll does not work (zoom works, however). As You can see, I clear the series and axes in the beginning, I tried both axes.clear and axes.purge, neither of them helps.

Private Sub Form1_Load(sender As Object, e As System.EventArgs) Handles Me.Load
 
     rcvSchedule.ShowPanZoom = True
     LoadChart()
 
  End Sub
 
  Private Sub LoadChart()
   
     rcvSchedule.Series.Clear()
     rcvSchedule.Axes.Purge()
     rcvSchedule.Area.View.Palette = KnownPalette.Metro
 
     Dim horizontalAxis As New CategoricalAxis
     horizontalAxis.LabelFitMode = Telerik.Charting.AxisLabelFitMode.Rotate
 
     Dim bar1DataSource As New List(Of CustomObject)()
     bar1DataSource.Add(New CustomObject() With {.Value1 = 250, .Category = "19.09.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 200, .Category = "30.09.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 25, .Category = "06.10.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 300, .Category = "17.10.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 300, .Category = "18.10.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 300, .Category = "19.10.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 300, .Category = "20.10.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 300, .Category = "21.10.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 300, .Category = "22.10.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 300, .Category = "23.10.2013"})
     bar1DataSource.Add(New CustomObject() With {.Value1 = 300, .Category = "24.10.2013"})
 
     Dim bar1 As New BarSeries()
     bar1.ValueMember = "Value1"
     bar1.CategoryMember = "Category"
     bar1.LegendTitle = "Tot."
     bar1.DataSource = bar1DataSource
     bar1.HorizontalAxis = horizontalAxis
     rcvSchedule.Series.Add(bar1)
 
    
  End Sub
 
  Private Sub RadButton1_Click(sender As System.Object, e As System.EventArgs) Handles RadButton1.Click
     LoadChart()
  End Sub

Regards,
Pirjo
George
Telerik team
 answered on 29 Oct 2013
2 answers
137 views
Hello,

I used to validate the presence of the scrollbars in the DataGridView by doing this:


var scrollBar = gvBrand.Controls.OfType<VScrollBar>().First();


but with the RadGridView I'm unable to do this... 

Is there an alternative ?

Thank you
Nuno
Top achievements
Rank 1
 answered on 28 Oct 2013
2 answers
104 views
Hi,

I've noticed that the RadTreeView font in the latest Q3 2013 release seems different to previous releases.  It's almost as if it's not anti-aliased (see attached screenshot of both Q2 and Q3 2013 treeviews in the Telerik demo app).

Any info would be much appreciated.

Regards,

Frazz 
Ralitsa
Telerik team
 answered on 28 Oct 2013
3 answers
249 views
hi
i want to filter the grid of multicolumncombobox by using filtering row so i use this code
 DataTable dt = new DataTable();
            dt.Columns.Add("id");
            dt.Columns.Add("Name");
            dt.Rows.Add("1", "a");
            dt.Rows.Add("2", "b");
            dt.Rows.Add("3", "c");
            radMultiColumnComboBox1.DataSource = dt;
            radMultiColumnComboBox1.EditorControl.EnableFiltering = true;
            radMultiColumnComboBox1.EditorControl.EnableCustomFiltering = true;
            radMultiColumnComboBox1.EditorControl.ShowFilteringRow = true;    ///by using this we only can see the filtering row

so i can see the filteringrow but it dosent work .i cant filter the grid of multicolumn and i cant do customfiltering like some thing we do in radgridviews.
please help me if you know a way to do it
Stefan
Telerik team
 answered on 28 Oct 2013
6 answers
368 views
Hello, 
I am using RadControls for WinForms 2011 Q3 
RadGridView,  it is in unbound mode.
 
I want to reorder the row. Say I drag the row 1 and drop it to row 4. 
but it does not work. I guess somehow I must miss something, please help.  thanks !

public init()
{
            InitializeComponent();
            InitializePreviewGrid();
            SubscribeForGridEvents(radGridViewPreview);    
}
        List<PreviewItem> _previewLists = new List<PreviewItem>();
        private void InitializePreviewGrid()
        {
            radGridViewPreview.AutoGenerateColumns = false;
            var imageCol = new GridViewImageColumn("DeleteIcon", "DeleteIcon");
            imageCol.HeaderText = "";
            imageCol.Width = 30;
            radGridViewPreview.Columns.Add(imageCol);

            var col = new GridViewTextBoxColumn("DisplayStr", "DisplayStr");
            col.Width = 350;
            radGridViewPreview.Columns.Add(col);

            col = new GridViewTextBoxColumn("ValueStr", "ValueStr");
            col.IsVisible = false;
            radGridViewPreview.Columns.Add(col);

            radGridViewPreview.AllowDeleteRow = false;
            radGridViewPreview.AllowAddNewRow = false;
            radGridViewPreview.AllowEditRow = false;
            radGridViewPreview.AutoScroll = true;
            radGridViewPreview.AllowAutoSizeColumns = true;

            radGridViewPreview.MasterTemplate.AllowRowReorder = true;
            radGridViewPreview.ReadOnly = true;
            radGridViewPreview.MultiSelect = true;
            radGridViewPreview.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;

            radGridViewPreview.GridBehavior = new CustomGridBehavior();
        }

        private void SubscribeForGridEvents(RadGridView grid)
        {
            dragDropService = grid.GridViewElement.GetService<RadDragDropService>();
            dragDropService.PreviewDragOver += dragDropService_PreviewDragOver;
            dragDropService.PreviewDragDrop += dragDropService_PreviewDragDrop;
            dragDropService.PreviewDragHint += dragDropService_PreviewDragHint;
            dragDropService.PreviewDropTarget += dragDropService_PreviewDropTarget;
            dragDropService.PreviewDragStart += dragDropService_PreviewDragStart;
        }

       void dragDropService_PreviewDragStart(object sender, PreviewDragStartEventArgs e)
        {
            //throw new NotImplementedException();
        }

        void dragDropService_PreviewDropTarget(object sender, PreviewDropTargetEventArgs e)
        {
            //throw new NotImplementedException();
        }
        
        private void dragDropService_PreviewDragDrop(object sender, RadDropEventArgs e)
        {
            var rowElement = e.DragInstance as GridDataRowElement;
            if (rowElement == null)
            {
                return;
            }

            var dropTarget = e.HitTarget as RadItem;
            var targetGrid = dropTarget.ElementTree.Control as RadGridView;
            if (targetGrid == null)
            {
                return;
            }

            var dragGrid = rowElement.ElementTree.Control as RadGridView;
            if (targetGrid != dragGrid)
            {
                e.Handled = true;

                var behavior = (CustomGridBehavior)dragGrid.GridBehavior;
                var dropTargetRow = dropTarget as GridDataRowElement;
                int index = dropTargetRow != null ? GetTargetRowIndex(dropTargetRow, e.DropLocation) : targetGrid.RowCount;
                MoveRows(targetGrid, dragGrid, behavior.SelectedRows, index);
            }
        }

        private void dragDropService_PreviewDragOver(object sender, RadDragOverEventArgs e)
        {
            if (e.DragInstance is GridDataRowElement)
            {
                e.CanDrop = e.HitTarget is GridDataRowElement || e.HitTarget is GridTableElement || e.HitTarget is GridSummaryRowElement;
            }
        }

        private void dragDropService_PreviewDragHint(object sender, PreviewDragHintEventArgs e)
        {
            GridDataRowElement dataRowElement = e.DragInstance as GridDataRowElement;

            if (dataRowElement != null && dataRowElement.ViewTemplate.MasterTemplate.SelectedRows.Count > 1)
            {
                //e.DragHint = new Bitmap(this.imageList1.Images[6]);
                e.UseDefaultHint = false;
            }
        }

        private void MoveRows(RadGridView targetGrid, RadGridView dragGrid, IList<GridViewRowInfo> dragRows, int index)
        {
            for (int i = dragRows.Count - 1; i >= 0; i--)
            {
                GridViewRowInfo row = dragRows[i];

                if (row is GridViewSummaryRowInfo)
                {
                    continue;
                }

                GridViewRowInfo newRow = targetGrid.Rows.NewRow();
                this.InitializeRow(newRow, row);
                targetGrid.Rows.Insert(index, newRow);
                row.IsSelected = false;
                dragGrid.Rows.Remove(row);
                index++;
            }
        }

        private void InitializeRow(GridViewRowInfo destRow, GridViewRowInfo sourceRow)
        {
            destRow.Cells["DisplayStr"].Value = sourceRow.Cells["DisplayStr"].Value;
            destRow.Cells["ValueStr"].Value = sourceRow.Cells["ValueStr"].Value;
        }

        private int GetTargetRowIndex(GridDataRowElement row, Point dropLocation)
        {
            int halfHeight = row.Size.Height / 2;
            int index = row.RowInfo.Index;

            if (dropLocation.Y > halfHeight)
            {
                index++;
            }

            return index;
        }
Stefan
Telerik team
 answered on 28 Oct 2013
1 answer
153 views
Hi,

I'm trying to intercept the paste event when the user has pressed control -v, to paste the clipboard contents as plain text.
But I can't work out where to start ?

Thanks
Euan
Dimitar
Telerik team
 answered on 28 Oct 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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?