Telerik Forums
UI for WinForms Forum
3 answers
246 views

When my application starts data is loaded into a treeview. The user then typically expands parts of the treeview, and then reloads the data to see if something new has appeared. I would like the expanded nodes to stay expanded after the reload.

I've tried to use radtreeview. SaveXML(filename) and radtreeview.LoadXML(filename), and it works fine. But I don't want to read and write from a file, so I would like to use radtreeview.Save/LoadXML(stream) instead, but I can't figure out how to do it.

It would be great if someone could share code which helps me accomplish this.

Thank you very much!
Stefan
Telerik team
 answered on 12 Apr 2012
1 answer
115 views
Is there a way to keep a footer visible when a group is collapsed in a gridview on a winform?  I have seen a few posts on how to do it in ASP.net but nothing on the winform side.
Svett
Telerik team
 answered on 12 Apr 2012
8 answers
167 views
Hi, using the sample provided on the link GridView, formatting cells I'm trying to dinamically change cells foreground.

The color is changed indeed but then I'm having a big problem. When I scroll the grid, either horizontally or vertically, diferent cells, other than the one I changed, change also their foreground color to the one I'm using. Same problem with the background color of the cell.

Here is a code snippet showing the funcionality I'm trying to achieve, very similar to the sample provided on the link.

Select Case e.Column.Name
    Case "TestID"
       Select Case e.Row.Cells("Status").Value
            Case 1
                e.CellElement.ForeColor = Color.Green
            Case Else
                e.CellElement.ResetValue(LightVisualElement.ForeColorProperty, Telerik.WinControls.ValueResetFlags.Local)
    End Select
End Select
Stefan
Telerik team
 answered on 12 Apr 2012
7 answers
447 views
I was wondering if there is any way that I would be able to manipulate the background of the scheduler screen for each time block under each resource.
I would like to have two primary colors, smiler to the working time that is currently in place but instead of one time range of 7 - 5 across all resources I would like for each resource to have its own multiple time range.

for example:

          |  Resource  1  |   Resource  2  |
4am   |                       |                         |
          |       blue         |         blue         |
5am   |                       |  ___________ |
          |                       |                         |
6am   |                       |                         |
          |___________ |       white          |
7am   |                       |                         |
          |       white        |                         |
8am   |                       |                         |
          |                       | ___________  |
9am   |                       |                         |
          |                       |        blue          |
10am |                       |                         |
          |                       | ___________  |
11am |                       |                         |
          |___________ |                         |
12pm |                       |       white          |
          |        blue        |                         |
 1pm  |                       |                         |
          |                       |                         |
2pm   |                       |                         |
          |                       |                         |
3pm   |                       |                         |
          |                       |                         |
4pm   |                       | ___________  |
          |                       |                        |
5pm   |                       |                        |
          |                       |       blue          |
6pm   |                       |                        |
          |                       |___________  |
7pm   |                       |                         |
          |                       |                         |
8pm   |                       |                         |
          |                       |                         |
9pm   |                       |                         |
          |                       |        white         |
10pm |                       |                         |
          |                       |                         |
11pm |                       |                         |
          |                      |                          |
12am |                       |                         |

so each resource could have basically there own multiple different working times, with different colors.
Ivan Todorov
Telerik team
 answered on 12 Apr 2012
8 answers
1.1K+ views
Hi,

When I attach a ToolTip (System.Windows.Forms.ToolTip) to a RadTextBox, the ToolTip won't show up. When I attach the same ToolTip to the intrinsic TextBox (System.Windows.Forms.TextBox), the ToolTip works fine.

Is this a bug, or am I missing something?

Thanks,
Michael
Top achievements
Rank 1
 answered on 12 Apr 2012
0 answers
112 views
Hi, I’m pretty sold on buying one or more Telerik packages however would like feedback about the questions below.

Long story short, years ago I learned database architecture and admin (including Stored Procs). More recently I’ve tutorialed myself to death learning ASP.Net MVC 3 only to discover that imho it seems primarily aimed at either insignificant apps or larger dev teams (eg separate JQuery and dbase staff responsiblities).
Specifically it’s well and good to craft an MVC structured “web server middle tier” but I frankly don’t want to also have to become proficient in EntityFramework/ORM (esp when I like SQL) plus JQuery/JavaScript (esp compared to the readily available features and aesthetics of Telerik components).
Not that I yet know very much about webform database connectivity but it seems straightforward enough to facilitate RAD progression -- and let’s be honest, other than maybe a Fortune 500 firm the idea of a straight unbroken line from mock up .jpg/.ppts to a database schema to Entity classes to an App repository to a compartmentalized GUI (and/or backwards) is unrealistic to the point of being a complete insult.
That said, am I (realizing there are many opinions) mistaken?
I know Telerik has MVC components but I still say the hell with an ORM to manipulate at the web server instead of an Entity class I’ll write a Stored Proc to return to the GUI exactly what is required (and fwiw I can’t see how managing stored procs is any less efficient than constantly having to regenerate the EF everytime I add a field).
So like I said above, please email me thoughts/comments/feedback particularly any "gurus" or firms who might be available for paid consulting services related to first an architecture review and later to periodic assistance/customizations.
Thanks in advance.
Mike
Top achievements
Rank 1
 asked on 11 Apr 2012
6 answers
289 views
Hello,

I'm using your 

 

Telerik.WinControls.UI dll version 2011.3.11.1219

 
and working with RadGridView  object.
I have a RadGridView which contains a large possible values. (0-200000)
Right now the user can type the requested value inside a cell and than press ENTER.
The problem is that if I stand on a cell I can type a number but there is no visual feedback to the user that the cell is in edit mode.
I would like to mark (select) the current text on the cell when it's in EDIT mode (when user is typing and havn't pressed ENTER to end the editing, which means- found the number he wanted).
I tried to look for a property which will mark the text in the cell but found nothing...

dataGridViewSelectedValues.Rows[e.RowIndex]. -> No appropriate property!!








    


Another question would be- where do I marking the text- inside

CellClick event or inside CellBeginEdit event ?

 














I'm attaching an image file that will demonstrate how my RadGridView is looking.
The lower image is how it looks when the user is typing 12 and the focus is still in the cell- there is no clue that we are in an EDIT mode.









Thanks,
Hila.

 

Svett
Telerik team
 answered on 11 Apr 2012
1 answer
143 views
Hi,
I'm working with a radScheduler (2011 Q3) in MonthView. The FirstDayOfWeek is set to Saturday and right-to-left is true, so the days of week are displayed in this order:
Friday-Thursday-Wednesday-Tuesday-Monday-Sunday-Saturday
The problem is when appointments in one day are more than a few, vertical scrollbar for that week is shown at the right side of Friday. So I have scrollbars in the middle of my scheduler, like this:
Friday|Scrollbar|-Thursday-Wednesday- ...
How can I put that scrollbar at the right side of Saturday, or at the left side of Friday?

Thanks again for the great products.
Ivan Todorov
Telerik team
 answered on 11 Apr 2012
1 answer
115 views
1 answer
39 views
your product (RadTimePicker) is not suitable . it doesnt have custom format
Peter
Telerik team
 answered on 11 Apr 2012
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?