Telerik Forums
UI for WinForms Forum
7 answers
351 views
Morning,

I think this question is not directly Telerik related but hopefully someone can help.

I have a datepicker and gridview databound. When I select a row on the gridview, the datepicker updates as I would expect but if I select a row with a blank date (DBNull I believe?) then it still retains the avlue from the previously picked date but still treats it as a null value.

I have looked through all the options I can think of in Formatting and Advanced Binding but nothing seems to work. I have also looked at ways of refreshing the databinding on row change but got no where (plus I don't think that's really the correct way of doing things).

If anyone could help or point me in the right direction i'd really appreciate it!

Kind regards,


Guy
Richard Slade
Top achievements
Rank 2
 answered on 04 Nov 2010
3 answers
105 views
Hi All,
I have a project developed in .NET 3.5 framework using Rad Controles Winfoms Q1. I want to confirm that project developed using Rad Controls Winforms Q1 is compatable with Rad Controls winforms Q2 2010 with out any chane in code. 

Thanks
Vijay
Stefan
Telerik team
 answered on 04 Nov 2010
4 answers
843 views
I have multiple grids with 100,000+ rows in them. I found that allowing RadViewGrid control to do the sorting is very slow and freezes the application while sorting. I am thinking about implementing a SortableBindingList and do my sorting outside the grid and force it to show the newly sorted BindingList when done.

However, this means I have to turn sorting off in the grid, loosing the sort indicator and the context menu options for sorting.

What would you suggest in this scenario?

Thanks,

Phi
Julian Benkov
Telerik team
 answered on 04 Nov 2010
5 answers
1.3K+ views

Hi all,

I am experimenting some troubles in speeding up the filling of a RadGridView. If I fill it row by row (Add method) the result is correct but slow (more than 10s for 300 rows). If I create a GridViewRowInfo array and then fill the Grid with AddRange the task is completed istantaneously, but then the result differs from the one obtained through the Add method (problems in row selection and column resize, not depending on the AllowX properties). In particular I think the my errors are in creating each GridViewRowInfo, that needs a GridViewInfo that needs a GridViewTemplate. Here the code:

GridViewTemplate template = new GridViewTemplate();
template.AllowColumnResize = true;
 
foreach (GridViewColumn col in myGrid.Columns)
  template.Columns.Add((GridViewDataColumn)col);
 
GridViewInfo info = new GridViewInfo(template);
GridViewRowInfo row = new GridViewRowInfo(info);
row.AllowResize = true;
 
// oRow contains the values for the cells
for (int i = 0; i < oRow.Length; i++)
  row.Cells[i].Value = oRow[i]; 
 
row.Tag = epropSample;

Hope someone could help!
Thanks in advance!
Roberto
Roberto
Top achievements
Rank 1
 answered on 04 Nov 2010
5 answers
259 views
I often use image with Telerik controls such MenuItem, buttons, ect. via the Image property or BackgroundImage property.

Do I need to dispose of these images myself?

Thanks,

Phi
Richard Slade
Top achievements
Rank 2
 answered on 04 Nov 2010
5 answers
241 views
Hello,

Is there any method to achieve this behavior?

BR/shortie

Richard Slade
Top achievements
Rank 2
 answered on 04 Nov 2010
26 answers
725 views
Hi,

First of all I hope I'm posting this in the right place.

I have just finished building my first application, published it and have now (as best as I can tell) installed it on a couple of machines.

Unfortunately when the users are trying to add a row on a gridview they are getting the following error message.

System.InvalidOperationException: Items cannot be added to the RadListSource when is in data-bound mode

I have no idea what this is or how to resolve it. I've tried various searches with little results. The application works perfectly when I'm in design mode but I too get the same error so I think I have ruled out any DotNet issues.

I'm really hoping someone here can help.

Kind regards,


Guy
Richard Slade
Top achievements
Rank 2
 answered on 04 Nov 2010
1 answer
112 views
Hi,

I have a button(addproduct) on my Product.aspx page and when I click on that button I get a pop up window(radwindow) whose url points to some other page(productsearch.aspx) which has a cancel and save button. Now, What I need to do is, when I click the cancel button, the popup window should close and I should be back on the product page without losing whatever data I already have in the product.aspx page.
I need to do this on the client side so I have to use javascript. The code which I have for the window popup is

function openWin(){
var oWnd = radopen("../product/Productsearch.aspx","productsearchwindow");
return false;
}

the productsearchwindow is the id of the radwindow and I call the openWind() function on the onclientlclick event of the addproduct button on product.aspx page

I probably have to write some javascript in the productsearch.aspx page as the save button is in that page and the popup url points to this productsearch page.

 Can anyone help me in writing the js code.

Thank You,
Vik



Richard Slade
Top achievements
Rank 2
 answered on 04 Nov 2010
5 answers
276 views
hi could help me
as calling a window from
by selecting a row in radgridview

when selecting a row to me there will be a window
Svett
Telerik team
 answered on 04 Nov 2010
2 answers
162 views
We have a scenario where, a user will select a Treeview node in which we perform logic within the SelectedNodeChanging event. Using e.Node we are able to validate that the node being selected is the correct node. However after performing logic in using the SelectedNodeChanging event, the newly selected node does not show as highlighted in the treeview.

We have validated that the clicked node is in fact the selected node in the treeview, however it simply does not show it as selected by being highlighted. 

Are we missing something? Is there something else that we have initialize or call to show the node (e.node) highlighted?
Paul Patterson
Top achievements
Rank 1
 answered on 03 Nov 2010
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
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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?