Telerik Forums
UI for WinForms Forum
23 answers
3.0K+ views
I display the grid.  Then run a query outside of the grid that deletes records that are displayed in the grid.  I now want to refresh the grid so it will no longer show the missing records.  What's the best way to do this? 
I've tried refresh and it doesn't seem to work.  I would try rebind, but I don't understand what to pass for GridViewTemplate.  I've tried resetting the datasource which works unless the grid has records in it and the new datasource returns no records then the grid continues to show all the records whereas if the new datasource has at least a record the grid will then correctly update, but I thought using rebind might be faster then resetting the datasource..
Also I wanted to mentions I'm looking forward to SP1 for the rowchanged event.  I appreciate you guys always improving these controls.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 26 Feb 2014
5 answers
1.6K+ views


Hello I have a problem when mouse over RowFormatting radgrid the entire row background color disapear
below is my code

Private Sub gridview_RowFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles GVClaimHistory.RowFormatting

        If InStr(e.RowElement.RowInfo.Cells(0).Value, "MyColumn") <> 0 Then
            e.RowElement.DrawFill = True
            e.RowElement.GradientStyle = GradientStyles.Solid
            e.RowElement.BackColor = Color.Navy
            e.RowElement.ForeColor = Color.Yellow
        End If
    End Sub

please help
George
Telerik team
 answered on 26 Feb 2014
6 answers
210 views
I've had nothing but difficulty trying to compile the examples available for UI Winforms.  It's so full of errors that most times one cannot even open a form without getting the Designer Error page.

Is anyone else having this issue?  It seems as if Telerik doesn't even try to load their own demo examples on a clean build machine before deploying them.

If anyone knows the secret to getting the examples to compile, I'd appreciate a tip or two.
Stefan
Telerik team
 answered on 26 Feb 2014
1 answer
298 views
Where is this located in the toolbox?  For the live of me I cannot find it right now.  I even have a form that is using one of these controls and works correctly, but I still cannot find it to add one to another form.

Thanks.
Ralitsa
Telerik team
 answered on 26 Feb 2014
2 answers
145 views
HI telerik members:

How can i make radscheduler controller change  backgroundcolor  at several specific time if i make holiday on radschedule ? 
( for example   holiday or weekend ?) 
秋雲
Top achievements
Rank 1
 answered on 26 Feb 2014
6 answers
315 views
I was rather hoping that I could attach an event handler to the node editor Validating event  i.e.:

private void radTreeView1_EditorInitialized(object sender, TreeNodeEditorInitializedEventArgs e)
{
    e.Editor.Validating += new System.ComponentModel.CancelEventHandler(Editor_Validating);
}

However the Editor_Validating event handler doesn't appear to fire.


What I'm trying to achieve is to not allow the user to create a new node, or change the text of an existing node to the same value as any other node at the same level; and thus ensuring some level of uniqueness.
mtaber
Top achievements
Rank 1
 answered on 25 Feb 2014
3 answers
657 views
I have a radpageview control with about six tabs and on run time it starts with the first page open. So if a person wants to enter data into the database he will fill in the information on the first page if he presses the tab button the cursor will be moved to the next predesignated control.but when it comes the time to go to a textbox on another page of the radpageview it does not do this. Ive tried the code below but it has not yielded reults

is there anyone with any suggestions 
RadPageViewPage2.Focus()
 RadPageViewPage2.Select
Stefan
Telerik team
 answered on 25 Feb 2014
3 answers
104 views
Hi

I am using the GanttView in edit mode to allow users to move start/end dates using the graphical view by dragging the start/end dates with the mouse.

I would like to prevent users from selecting certain dates and weekends ie to prevent start/end dates being set to a saturday, sunday or any other dates that I might not require them to use (i.e bank holidays / non-work days).

Is there a way to achieve this?

Thanks
Ian
Dimitar
Telerik team
 answered on 25 Feb 2014
2 answers
146 views
Is there a way to determine whether a node is expanding or collapsing when handling the NodeExpandedChanging event?
Paul
Top achievements
Rank 1
 answered on 24 Feb 2014
1 answer
126 views
Hi everyone,

I keep getting the error below when just trying to show a gridview binded to an sqldatasource control. The error I get is:

Unhandled exception at line 2705, column 12 in http://localhost:29404/ScriptResource.axd?d=QBdwHdBY_qXgcxeJcZKP4bbNykcls-u1djpTwhi_T-NYrl0wFVNeAWL5G_hRguN2jo0ii04N-xacUBHmB-_Hqy55fDuCeVddcbd11MOpPV44e-25e6iJYMJNwr1O5jP9QArZQHq88e7FHylhB7wvyEoQK30oViY9lVm0JnyNWv8avipd0&t=fffffffff98cfb72

0x800a139e - JavaScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.

Parameter name: type

I am doing this with Visual Studio 2012 and Internet Explorer 10.  But when I run it with Firefox there are no problems. And I am using Telerik 2013.2.717.35 for the Telerik.Web.UI.

Any suggestions?





Dimitar
Telerik team
 answered on 24 Feb 2014
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
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
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?