Telerik Forums
UI for WinForms Forum
3 answers
404 views

Hi,

i want to disable filtering as you type in GridView and change it to apply filter only when you leave filter cell.

Had no success with this so far. Can someone help me ?

 

Thanks,

Goran.

Hristo
Telerik team
 answered on 27 May 2016
1 answer
97 views
Is it possible to show date time info while dragging the task?
Hristo
Telerik team
 answered on 27 May 2016
1 answer
130 views

I"m not using datasets but I'm manually doing the updates to the tables. I have the code from the custom edit form and the email working. When the Appointments_CollectionChanging(object sender, NotifyCollectionChangingEventArgs e) is triggered, I assign: 

 

var app = (Appointment) e.NewItems[0];

 

at this point, using a breakpoint and Watch, I have access to app.Email and the email is displayed. However, during coding, if I type app.Email, I get the
'Appointment' does not contain a definition for 'Email' and no extension method 'Email' accepting a first argument of type 'Appointment' could be found. Since I'm storing the data myself, how do I create the code to read this value?

 


Dess | Tech Support Engineer, Principal
Telerik team
 answered on 27 May 2016
1 answer
234 views
Is there any way to implement LazyLoading or LoadOnDemand for GridView rather than RadTreeViews or Hierarchical Grids? Perhaps with Paging, where it only grabs data for the current page that is selected? We have pretty large recordsets being grabbed that slows down the program significantly when I need to refresh the GridView. I am currently limiting the amount or records to only the most recent entries right now but I would like to be able to search through older records without having to grab the entire list on every update of the GridView.
Dimitar
Telerik team
 answered on 27 May 2016
2 answers
150 views
I have a GridView that is bound to a IList of objects. When I add or delete items from the List I would like to reflect those changes in the GridView. I can rebind the grid by setting the DataSource to the updated IList, but I lose the filters, sorting, scroll position, and selected item. Is there a way to refresh the data without losing all the aforementioned items? I tried the Refresh() command but that did not seem to do anything. I recall in Telerik MVC there used to be a requery option, is there something similar in Winforms?
Dimitar
Telerik team
 answered on 27 May 2016
1 answer
182 views

Seems that scrollbar sizes is not updated when switching from MetroTouch to any other theme.

 

How to reproduce:

Create a Form, change it to RadForm.

Add RadVScrollBar, dock it to the right.

Create two buttons, add onclick handlers

System::Void radButton1_Click(System::Object^  sender, System::EventArgs^  e) {
            Telerik::WinControls::ThemeResolutionService::ApplicationThemeName = "TelerikMetroTouch";
        }
System::Void radButton2_Click(System::Object^  sender, System::EventArgs^  e) {
             Telerik::WinControls::ThemeResolutionService::ApplicationThemeName = "Desert";
        }

Press button1, then button2. The scrollbar size is bigger than expected (see screenshot)

Telerik_UI_For_WinForms_2016_1_216_Dev.msi / VisualStudio2010 / C++CLI

Hristo
Telerik team
 answered on 26 May 2016
5 answers
171 views

Hi Telerik Team,

Does the evaluation of an expression in a column generates an Event? Or is there a way to intercept the evaluation process and
substitute/enhance with my own code?

The expressions that I need to use require data points that are not found in the dataset used in the GridView, so I need a way to
intercept the evaluation to swap string variables that are not in the dataset with the actual value found within the application or a different dataset.

Regards.

 

 

Dimitar
Telerik team
 answered on 26 May 2016
1 answer
128 views

I m using MultiColumn ComboBox in my application, the problem is I cannot change its default theme.

I tried this,

ThemeResolutionService.ApplicationThemeName = "Aqua";

and also tried,

MyColumnComboBox.ThemeName = "Aqua";

but still I can see the default theme. why it is overriding with the default theme. Please help me.

Hristo
Telerik team
 answered on 25 May 2016
2 answers
80 views

Hello,

 

if I print cells with HTMLRendering the text aligns to the top left of the cell and something equivalent to padding 0;0;0;0 is used. How do you fix that?

 

private void BestFitRadGridView_PrintCellFormatting(object sender, PrintCellFormattingEventArgs e)
       {
           e.PrintCell.Font = new Font(e.PrintCell.Font.FontFamily, 7F);
           e.PrintCell.EnableHtmlTextRendering = !e.Column.DisableHTMLRendering;
           e.PrintCell.TextPadding = new Padding(5);
         
       }

If i set EnableHtmlTextRendering = false the padding (set in the printstyle or on cell-level) is used as expected.

 

 

Kind regards,

Andreas

Andreas Haeusler
Top achievements
Rank 2
 answered on 25 May 2016
1 answer
77 views

//GanttView PreviewDragStart

private void DragDropService_PreviewDragStart(object sender, PreviewDragStartEventArgs e)
{

if (e.DragInstance is GanttViewTaskElement)
      {
        e.CanStart = true;  

//want to get start and end datetime
      }

}

From above event how can i get Start and End datetime from e.DragInstance

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 May 2016
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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?