Telerik Forums
UI for WinForms Forum
3 answers
88 views

I'm not sure why this is showing up... How to not show gridview when hovering over an appointment

 

Second question: In the radScheduler1_AppointmentResizeEnd routine - how do I get the value for the new Start and End time after the appointment has been resized?

 

Thank you in advance for your assistance

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Jan 2020
7 answers
501 views
Hi,

I need to filter/group/sort through more than 100,000 records.
Loading all records to datatable takes long time and keeping preloaded data in datatable increases memory consumption.
I'd like to implement virtual mode in GridView, so I can retrieve first X rows of data to datatable based on columns filters.
Can someone give me an example of using Virtual Mode with filtering/grouping/sorting.
In all examples that I found so far, filtering option is set to false.

Thank you,
Tamara
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Jan 2020
3 answers
71 views

I would like to know if it's possible to bind extra values other than DataTextField and DataValueField. I am using SQLDataSource.

Thanks!

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Jan 2020
2 answers
192 views

I am trying to improve performance when I set GridViewColumn.IsVisible. Whenever I set that property, the ViewCellFormatting event is invoked by the grid.

I need to make several column invisible at the same time. I tried using BeginUpdate..EndUpdate and that doesn't seem to have an effect. I would like to set several columns invisible by invoking the GridViewColumn.IsVisible property without the ViewCellFormatting event from being raised for each one.

Thanks in advance,

Jim

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Jan 2020
2 answers
253 views

Hello

I have a grid view where I perform  Cell validation and I change the Error Icon

This grid has EnterKeyMode set to EnterMovesToNextRow

When I enter an invalid value in a cell and validate by clicking on another cell I get the proper response, i.e. Error Message and modified error Icon

but When I validate the entry with a "Return" I get the error message but the error Icon remains the default and is not changed to my custom error Icon

Also, when I validate with Enter I get a "beep" but not when I validate by selecting another cell
Here is my code for changing the error Icon

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

   Private Sub gvPrize_ViewCellFormatting(sender As Object, e As CellFormattingEventArgs) Handles gvPrize.ViewCellFormatting
        'Change Row Error Icon
        If e.RowIndex > -1 Then
            If TypeOf e.CellElement Is GridRowHeaderCellElement Then
                Dim aCell As GridRowHeaderCellElement = CType(e.CellElement, GridRowHeaderCellElement)
                Dim ip As ImagePrimitive = CType(aCell.Children(0), ImagePrimitive)
                If ip.Image IsNot Nothing Then ip.Image = My.Resources.v2_error_16
            End If
        End If
    End Sub

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

pierre-jean
Top achievements
Rank 1
Veteran
Iron
 answered on 15 Jan 2020
4 answers
225 views

Hi Telerik,

RadGridView allowed (albeit didn't function neat enough) to add a set of columns under a viewdefinition in order to show them as grouped. Is there a proper way of achieving this in RadVirtualGrid? If the feature doesn't exist now, can you advise me on how to achieve this by additional GDI rendering ?

Thank you,

Saj.

Aseman
Top achievements
Rank 1
Veteran
 answered on 15 Jan 2020
3 answers
160 views

I want to implement the effect that highlight the matched text part of filtered node. The visual effect is just like the solution manager of visual studio. How can I do it? Thanks!

 
Steve
Top achievements
Rank 1
Veteran
 answered on 14 Jan 2020
3 answers
79 views

Hi,

In my program I have two virtual grids in the same form, viewable and usable simultaneously. By selecting elements in one grid you change what data is loaded into the other. For the sake of supplying more context-sensitive help, I had intended to replace the RadVirtualGridStringId.NoDataText string in the second grid with a more specific prompt depending on why no data is found. This works, but in the event that the first grid was unable to be populated with data, it needs to have different text to the second.

The Localization page explains how to change the LocalizationProvider for all virtual grids, but is there a way to set the provider of a specific instance of the grid?

Thanks

Hristo
Telerik team
 answered on 14 Jan 2020
6 answers
1.1K+ views
Hello

I have a small problem which I couldn't find any solution, even though it sounds so simple... The font in my RichTextEditor is too big (see the attached image for an example how it looks). I'm wondering how it's possible to change this font size to a smaller font. I tried several things such as

txtText.ChangeFontSize(4);

or

txtText.RichTextBoxElement.ChangeFontSize(4);

I couldn't find anything about it in the documentation. Is it even possible to change the displayed font size?

Best Regards,
Roman
Roman
Top achievements
Rank 1
Iron
 answered on 13 Jan 2020
1 answer
610 views

Hi,

 

I've recently added some simple data validation to my grid which are a bunch of checks that look rather like this:

if (Convert.ToInt32(e.Row.Cells["Category"].Value) == 0)
            {
                e.Cancel = true;
                e.Row.ErrorText = "Project Must have a Category";
            }

 

at the end of the rowformatting event I have this:

if (e.Cancel)
     {
         if (MessageBox.Show(e.Row.ErrorText, "ERROR", MessageBoxButtons.OKCancel) == DialogResult.Cancel)
         {
             //TODO cancel row add
             //if (radGridView.MasterView.TableAddNewRow.IsCurrent)
             this.radGridView.MasterView.TableAddNewRow.CancelAddNewRow();
             radGridView.EndEdit();
         }
     }

 

This gets the focus out of the AddRow section. However when I click on any other row, the event fires... but the row that it's referencing is still the new row data, which means that I get the error message again and again and again! How do I properly cancel the AddRow so that the gridView can return to it's default behavior?

 

Thanks

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 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?