Telerik Forums
UI for WinForms Forum
6 answers
267 views
Hi

I am having some trouble with the report chart in winforms , I would like to export or print a winform chart , how would I do this ?

ANy help would be great
Dwight
Telerik team
 answered on 20 May 2009
3 answers
235 views
Hi,
I'm developing a win form application using VS2005 and Teleric RadControls for WinForms Q1 2007.
I have inserted one docking Manager object in the forms with 4 docking panels and one tabbed document.

Now, when in VS I close the tab with form1.cs [Design], I receive the following error:
"The control Telerik.WinControls.Docking.AutoHideContent has thrown an unhandled exception in the designer and has been disabled.

Exception:
Cannot access to disposed object.
Object name: 'DockPanel'.

Stack trace:"
(there isn't stack trace)
The program works fine, error is only in the designer.
I have try to use dockingManager in various forms and this error occurrs only in some.. I can't find any solution.

Thanks for support!
Lorenzo
Julian Benkov
Telerik team
 answered on 20 May 2009
1 answer
156 views
Hi all,

We have implemented a master-detail hierarchical grid. The cell.image property of certain cells in the master grid, and also in the detail grid, is assigned an image depending on the value of some other cell in the same row. Note that not all master records have a corresponding non empty detail grid. Some do, because there is data to display bebeath them, and some do not because there is not any data to display beneath them. The cellformating event is used to assign the corrresponding images to the current cell as follows:

Private Sub FFAViewGrid_CellFormatting(ByVal sender As System.Object, ByVal e As Telerik.WinControls.UI.CellFormattingEventArgs) Handles FFAViewGrid.CellFormatting
        If e.CellElement.ColumnIndex = 3 Then
            Try
                Select Case e.CellElement.RowInfo.Cells(5).Value
                    Case "3"
                        e.CellElement.Image = FFAViewGrid.SmallImageList.Images(FFAViewIcons.UpTick_Green)
                    Case "2"
                        e.CellElement.Image = FFAViewGrid.SmallImageList.Images(FFAViewIcons.Minus_Green)
                    Case "0"
                        e.CellElement.Image = FFAViewGrid.SmallImageList.Images(FFAViewIcons.Minus_Red)
                    Case "1"
                        e.CellElement.Image = FFAViewGrid.SmallImageList.Images(FFAViewIcons.DownTick_Red)
                End Select
            Catch

            End Try
      end if
end sub

Initially the grid is displayed in unexpanded mode as in this picture: view picture  In htis example only the period columns labeled Q3-09 and Q4-09 have a non empty hierarchical child grid and have a value in cell(5) of the row to trigger the image property event. All other master rows have a zero value in cell(5) and hence they should not triger the image property event.

However, when you click to expand the master rows to see the detailed child grid for some reason randomly selected empty master rows are populated with cell images. This phenomenon repeats as many times as you expand and unexpand a master row, populating more random master rows with images when it should not. The picture of the undesired output can be viewed here: view picture and here: view picture

We have extensively tried to debug the cellformating event, only to notice that although the row index number was refering to an empty master row, one that  does not have any value in e.CellElement.RowInfo.Cells(5).Value  to trigger the code to display an image in cell(3), the value reported by the debuger for e.CellElement.RowInfo.Cells(5).Value was from another row and not from the one corresponding to the event.

We can only guess that this is a problem related to the fact that not all master records have a non empty detailed child grid. Do you have any other suggestions why is this behaviour caused and how it can be remedied?

Thank you in advance for your kind cooperation.

Regards,

George



Jack
Telerik team
 answered on 20 May 2009
1 answer
84 views
I want to know about dock functionality with sample application,please suggest me
Nick
Telerik team
 answered on 20 May 2009
11 answers
442 views
We have a large number of controls (be that a good or bad design principle) on a form, which seems to hog the CPU when the form is shown and not doing anything.  You can recreate the problem by looping around 200 or so insertions of a RadLabel and RadTextBox into a FlowLayoutControl. 

Is this a Rad controls problem or something else?

Best regards

Marek
Nick
Telerik team
 answered on 20 May 2009
3 answers
287 views
I have a MdiParent form and a Carousel that i would like to merge together.
is there a way to have the carousel as a background for the mdi Parent form?
the purpose is to have the carousel always visible behind other child forms.

thank you.
Deyan
Telerik team
 answered on 20 May 2009
1 answer
86 views
Hiw to add one combobox and datetime picker in single gidiew cell?please suggest me.
Jack
Telerik team
 answered on 20 May 2009
5 answers
258 views

HI,

 I am trying to create a scheduler like appointment,Recurrence which the user can create/edit/delete appointments and recurrence.

1. Can anybody please send me(csmahesh11@gmail.com) a sample application that works in winform with RADScheduler which stores data of appointments,resources,recurrence in MS Access DB.

2. Also please include recurrence also  - the repeating data per week/month etc.

Actually i have downloded some code and tested but its not working properly. please send me some sample application with MS Access DB

Advance thanks

Mahesh

TwoLaJit
Top achievements
Rank 2
 answered on 19 May 2009
1 answer
149 views
Weird Issue with the Breeze Theme and radcontrols scheduler for winforms...

it cuts off the buttons in the edit appointment and recurring appointment pop up boxes

as show in this link...


Deyan
Telerik team
 answered on 19 May 2009
2 answers
464 views
Hello,

I have an interesting application for the RadCarousel control that I'm a litle stuck on. I've developed a multi-touch platform and am using the RadCarousel to display a series of demo applications. Instead of relying on the mouse for selecting items within the carousel, I'm using touch. Specifically, a single touch point on the forward and backward arrows will trigger the Carousel.ButtonNext or ButtonPrevious.PerformClick(). I've detected the touch-to-UI-element interaction using HitTest. This works great for UI elements like the next and previous buttons, because they don't overlap. However, a HitTest against a carousel item often results in multiple items returning a true HitTest result, because the images overlap with spline that I'm using and the resolution of the images. I'm running code that looks like the following, to test the carousel elements for HitTest interaction:

   foreach (DemoItemElement demoItemElement in mCarousel.Items)
                                    {
                                        if (demoItemElement.HitTest(singlePoint.Center.ToPoint()))
                                        {
                                            CarouselSelectItem(demoItemElement);
                                            demoItemSelected = true;
                                            break;
                                        }
                                    
Please note, that the CarouselSelectItem method is a cross-thread method that simply sets the Carousel.SelectedItem property.

That video is an application screen capture, rather than an over-the-shoulder view, so you're just gonna have to take my word for it that the mouse isn't driving the application -- it's touch. I move and display the mouse pointer just for debugging purposes.

So my question is simply, how do I determine the top-most HitTested carosel item? I have a mouse emulator and could simply move and click the mouse -- but that breaks the notion of a touch-driven application. However, knowing that the mouse click works, I imagine that the carousel control is doing what I'm asking for and it's therefore possible. Is HitTest not the correct method to use in this regard?

Thanks.


Paul
Top achievements
Rank 1
 answered on 18 May 2009
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?