Telerik Forums
UI for WinForms Forum
5 answers
147 views
I'm using RadControls for WinForms 2008.3 1204.

Assume the following: I have a DateTimePicker and set the MinDate and MaxDate properties.

1. Is it possible to show the "invalid dates", means all dates not between MinDate and MaxDate, in the calendar popup with a certain format, for example strike out or red?

2. Is it possible to prevent the closing of the calendar popup, if no valid date has been selected? Although I can listen to the DateTimePicker's Closing event I don't see how to determine which date has been selected in the calendar popup.

3. If I don't prevent closing the popup (like at the moment) and the user did select an invalid date which has not been applied to the DateTimePicker, the date even stays selected in the calendar popup if I re-open it. Let's say the DateTimePicker's MinDate is set to 2009/01/10. I open the calendar popup and select 2009/01/01. The value will not be applied when the popup closes. But when I re-open it, 2009/01/01 is still shown as selected.

Any helpful hints?

Regards,
ReneMT

Nikolay
Telerik team
 answered on 04 Feb 2010
2 answers
61 views
I dragged a new WinForms RadCalendar control onto a WinForms 2008 form.

Selecting the control and viewing its properties in the Visual Studio Properties pane, I set the control's NavigationNextImage and NavigationPrevImage properties to .bmp resources.

The images I assigned show in the designer.

When I run the application the images do not show.  All that shows is the < and > text.

Is setting the images all I need to do to have the images show in runtime or have I missed something?

Thank you,

Mike McIntyre
Mike
Top achievements
Rank 1
 answered on 03 Feb 2010
1 answer
53 views
Hi
i am trying ur gridview control i want to know is this is possible to create child grids based on multiple columns viewed in single grid
for example if i can show  months in grid view and want to enter some data in each month with child grid if is it possible
???
coze till now i can make child grid based on one column only i want multi column child grid so that if i click on rows of any column i can get its child grid
Martin Vasilev
Telerik team
 answered on 03 Feb 2010
4 answers
235 views
Hi all

I am evaluating Telerik wincontrols and have this problem...

I have an embedded theme (MyTheme.xml) resource in my own Class Library (MyDll.dll),
The "MyTheme.xml" is set as an embedded resource and I refrence it in my main program.

I try to load the resource from my main VB program (MyProgram) but I cannot get the theme to load.

I am able to load a LOCAL theme resource from inside my main program (MyProgram) using the following

"ThemeResolutionService.RegisterThemeFromStorage(storageType.Resource,

"MyProgram.MyTheme.xml")"

 

 


But when I try to get the theme from my DLL this does NOT work ?
"ThemeResolutionService.RegisterThemeFromStorage(storageType.Resource, "MyDll.MyTheme.xml")"


I have exhausted all the examples on the help & support website and I ned help with this

If you know the answer please reply !.
Nikolay
Telerik team
 answered on 03 Feb 2010
1 answer
275 views
I want to start off by apologizing for my many posts recently.  A project that was dead for about a year has become a top priority so I have to learn a lot and real fast.  Thank you for everyones help.

My current situation is kind of tricky.  I have a grid view that has many users with State and City columns.  I'm dynamically creating these columns on load of the form.  I'm pointing to all the right field names.  My problem is that I need to be able to populate my city combobox based on my state combobox.  So the user has Florida as State and Orlando as city when the user goes to change the city the drop down should have the rest of the florida cities.  If he changes the state the city combo should populate with all those cities.  I need just the combobox within the current rows datasource to change not every combobox in that column.  Is this possible?
I have a table with StateId, StateName and another table with CityId, CityName.

Anything to lead me in the right direction would be greatly appreciated.

Thanks in advance for any help
Nikolay
Telerik team
 answered on 03 Feb 2010
1 answer
79 views
I have a RadCalendar which I dynamically change the SpecialDays whenever  the month view changes to add a series of custom controls to that month.  Each day in the month gets the custom control inserted whenever the month changes. The performance isn't great but it is acceptable except when I navigate to the month containing the FocusedDate when the adding of the custom controls takes close to 5 seconds to insert and draw the controls.  Is there anything I can do to speed up the rendering of the FocusedDate month?

Incidentally, if I change months by clicking the navigation button the specialday controls populate for the following month fairly quickly.  If I try to navigate to the next month by pressing the arrow key I get the same very slow update as navigating to the FocusedDate month...

Any solutions?
Dobry Zranchev
Telerik team
 answered on 03 Feb 2010
1 answer
73 views
We build rather complicated applications that need to be deployed to remote users. We're not especially fond of (or experienced with) browser based app dev, and would prefer to use a technology that has a richer interface and good wysiwyg design tools. Long term I may pick up silverlight and ria services, but it's not obvious that they're ready for the kind of cut to the chase development that I prefer.

I know some developers use winforms deployed via clickonce which would be fine for us. But one aspect I've had a hard time getting a clear picture of is how the client winforms app would interact with the database on the remost server. Does anyone here have exposure to that? It's not an approach that really took off, but was promoted briefly by Microsoft in the .Net 2.0 period. Data access technologies have evolved a lot since then and I am not sure what would be regarded as the best current practices. I wish Microsoft had something like RIA Services for winforms. Basic crud functionality is what is needed; there are other aspects like local caching and retry routines that come into play. I don't want to write all of that and so I am hoping to fine a framework or something like that to work with.

Does anyone here have recommondations to make re basic technologies to use, or frameworks that may exist that expidite this approach? I don't think the Telerik OpenAccess ORM deals specifially with actual connectivity - it's just an ORM, right?

I hop it's ok that I'm going to post this query to both winforms and the OpenAccess ORM forms.
Nikolay
Telerik team
 answered on 03 Feb 2010
4 answers
129 views
Hello,

Today, we found that if we changed the value of a cell in a grid first, then use mouse to click on the empty data area of that grid. The CellValidating event won't get fired. Currently, we found 3 cases that CellValidating event won't fire:

1. press ESC when editing
(sometimes the data loaded from db contains error. we need to check it even when user is aborting editing by press ESC)
2. click on the scroll bar when editing
3. cllick on the empty data area when editing

We need fixes to these very very quickly. Do you have any info when will these get fixed. Our customers continued to complain about these bugs and nothing we can do with this situation.

Thanks in advance.

shortie
Top achievements
Rank 2
 answered on 03 Feb 2010
3 answers
153 views
Hello,

since we have major performance problems with WinForms (esp. RibbonBar takes more than 10 seconds to load),
we tried to improve performance by precompiling the control with ngen.
This failed with the following message (Windows 7 x64):

c:\dev\Research\DocView_UWE\X64>\Windows\Microsoft.NET\Framework64\v2.0.50727\ngen "Telerik.WinControls.UI"

Microsoft (R) CLR Native Image Generator - Version 2.0.50727.4927
Copyright (c) Microsoft Corporation.  All rights reserved.
Installing assembly Telerik.WinControls.UI
Failed to find dependencies of image Telerik.WinControls.UI because of the follo
wing error: Das System kann die angegebene Datei nicht finden. (Exception from H
RESULT: 0x80070002)
    Compiling assembly Telerik.WinControls.UI ...
Error compiling Telerik.WinControls.UI: Das System kann die angegebene Datei nic
ht finden. (Ausnahme von HRESULT: 0x80070002)
Uninstalling assembly Telerik.WinControls.UI because of an error during compilat
ion.
Das System kann die angegebene Datei nicht finden. (Exception from HRESULT: 0x80
070002)

Any idea, that is causing this error ?

Regards,
  Uwe
Peter
Telerik team
 answered on 02 Feb 2010
0 answers
85 views
Dear everybody,

I have got a gridview in my winform applicaton. When I minimize my form or suppress it the value/status of the scrollbar gets lost. I then need to scroll back from the top.

Is there any solution for it or property I need to set?

Dirk LX
Top achievements
Rank 1
 asked on 02 Feb 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)
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?