Telerik Forums
UI for WinForms Forum
7 answers
551 views

I have a gridview that I have bound to a DataSet that displays a customer's address information. (Select FNAME, LNAME, STREET, CITY, STATE, ZIP FROM CUSTOMERS)

I have a textbox that a user will type a search criteria into and click a button. What I am trying to do is run the sql again with that criteria applied and return the results to the user by updating this GridView.

This should be simple and I have done it before in Access. But, I am stumped right now and could use some help.

 

Table adapter is named CUSTOMERSTableAdapter

Binding source is named CUSTOMERSBindingSource

Data set is named ECOMLIVEDataSet

If my button was named btnCustomerSearch, what code should execute on the _click event to revise the SQL?

 

Thanks in advance. Maybe somebody can point to a tutorial online somewhere or help explain this.

Hristo
Telerik team
 answered on 08 Aug 2016
11 answers
277 views

Hi,

i have got System.OutOfMemoryException while assigning dataset with 3+ milllion records to PivotGrid. I understand that this is sql driver memory limitation, but how do you suggest to solve it besides using analysis services?

 

Thanks

Alex

 

Hristo
Telerik team
 answered on 08 Aug 2016
1 answer
115 views

Hi,

looks like a bug:

if i set

this.radPivotGrid1.AutoExpandColumnHeaders = false;
this.radPivotGrid1.AutoExpandRowHeaders = false;

then add 3rd field to Sum values and change it to Average - PivotGrid still show "Sum of ...", plus you can't change column width, etc

I tried on this sample project:

http://feedback.telerik.com/Project/154/Feedback/Details/196043-improve-radpivotgrid-extend-the-save-load-api-to-always-serialize-the-filterde

Alex

 

Hristo
Telerik team
 answered on 08 Aug 2016
1 answer
576 views

Need a way of disabling a checkbox cell in a unbound grid based data obtained elsewhere.

 

Basically, I have a Combobox Column displaying Employee Name.  When I select a Employee, I have a 'Bonus' checkbox column that I "may" need to disable based on the Employee selected.

 

Something like, I select Employee A from the 'Employee Name' column and determine if this employee is eligible to receive a bonus. If Employee is NOT eligible, I want to disable the 'Bonus' checkbox column for this row, unselect the checkbox if it is selected, and visually show that it is disabled.  If Employee is eligible the 'Bonus' column for the row should be enabled and visually show that it is enabled.

 

Not exactly sure how to accomplish this and would appreciate any help anyone can provide.

 

Thank you.

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 08 Aug 2016
12 answers
322 views

James

Posted 3 hours ago

I am attempting to add validation to my grid which has 3 columns:  ID, NAME, STATUS
My data is not bounded to an adaptor (requirement).
I am trying to validate for the existence of name in my database on the RowsChanging event.

On NotifyCollectionChangedAction.Add , I pass the value of NAME to my stored procedure and determine if the NAME value exists; no problems.
On NotifyCollectionChangedAction.ItemChanging, I pass the values of ID and NAME to my stored procedure and determine if the NAME value exists.

Problem is, the NAME value passed on ItemChanging is what is currently in the cell, not what is in the editor.  How can I get the editor value at this time?

Speedy
Top achievements
Rank 1
 answered on 05 Aug 2016
3 answers
97 views
Hello, I have a grid view that have a header and 3 rows that are in effect also a header information so they are not editable. Now, the issue is that I want the particular column to resize, but to exclude width of the cells in first three rows from autosizing. In short I want the autosize to depend only on values input in the rows after the first three. How to do this? I already use cellFormatting event to color cells in first three rows so I guess I cannot use this event to prevent resize caused by the values in first three rows. Is there something like single cellResize event or something?
Dimitar
Telerik team
 answered on 05 Aug 2016
2 answers
140 views

The maximized form misses the the outer border (a few millimeters). The behavior appeared with Release 2016.2.608.20 from 2015.3.930.20.

I could reproduce the behavior with an empty form. The executable seem to have this behavior only on my computer.

See the attached images. Do you have any idea?

 

 

 

Ralitsa
Telerik team
 answered on 04 Aug 2016
1 answer
121 views

Starting from scratch, the SystemButton's minimize, maximize, and close are incredibly small.. Is this a glitch, or is this the starting theme for a RadTitleBar?

 

I feel this is a glitch.  If this is not, can someone provide detailed instructions on how to get the ContextMenu items to show properly?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Aug 2016
11 answers
388 views

Hello,

I would like to know if it is possible to center the text (I have set the radtextboxitem's textalign to center but this had no effect)

 

Also I would like the popup to popup or close when i click on the text (I tried to do this in the click event but it didn't behave the way i was expecting).

 

Thank you

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Aug 2016
3 answers
278 views

Hello,

I have standard control drag and drop in my app, so I have .net DragEnter, DragDrop, DragOver, etc. handlers for the RadGridView in my form. Of course, grid doesn't react properly on mouse activity over it. In my DragOver handler I want to set row under the cursor to hovered state. I found GridTableElement.HoveredRow property, but it is internal. Is there a way to programmatically make grid to set a row into howered state?

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 04 Aug 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)
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?