Telerik Forums
UI for WinForms Forum
2 answers
88 views
Hi,

I have a radgridview (Q2 2011) in which I am grouping orders by production line.  When I move an order by changing the line number in the grid, the row correctly moves to the correct line grouping, however I need to be able to recalculate the subtotals for both the line group that it was removed from in addiition to the line group that it was added to.....I am trying to find the event that fires when the row is moved to another group in the group by definition.....any suggestions / examples are appreciated.

Regards,
Shawn
Julian Benkov
Telerik team
 answered on 30 Sep 2011
4 answers
135 views
Hi, I would like to change the text displayed in the ErrorProvider when the validation fails; how can I do that?

Thanks!
Peter
Telerik team
 answered on 30 Sep 2011
5 answers
142 views
Hi.

Correct me if i am wrong but i dont see a difference between AutoClose and ManualClose (hitting the predefined CloseButton) in the RadPopupCloseReason Enum.

I would like to suggest this feature in the next version!!!

Is there a way to do this with the current version?
Jack
Telerik team
 answered on 30 Sep 2011
7 answers
557 views
HI,

I wanted to change the Edit Appointment Dialog window labels and dropdownlist values.
For example - Insted if "Subject label" i want to display "Patient Name" and i want to change Dropdownlist values?
1) I have followed the below step but not possible to change the label text but i can do the label visible false or true.
2) How to change the Dropdownlist vaues?
3) How to add one more dropdownlist inside the Edit Appointment Dialog Window?

CODE:

CustomAppointmentDialog

appointmentDialog = null;

 

 

private void radSchedulerDemo_AppointmentEditDialogShowing(object sender, AppointmentEditDialogShowingEventArgs e)

 

{

 

if (this.appointmentDialog == null)

 

{

 

this.appointmentDialog = new CustomAppointmentDialog();

 

}

e.AppointmentEditDialog =

 

this.appointmentDialog;

 

}

 

 

 

public class CustomAppointmentDialog : EditAppointmentDialog

 

{

 

public CustomAppointmentDialog()

 

:

 

base()

 

{

 

 

this.Controls["lblSubject"].Text = "Patient";

 

 

}

}

Peter
Telerik team
 answered on 30 Sep 2011
2 answers
90 views
Hi,
How I can open then Chart Wizard form programmatically?

Bye,
Claudio
Claudio
Top achievements
Rank 1
 answered on 30 Sep 2011
4 answers
169 views
Hi,

I have a RAD Gridview in my form and it loads the invoices that has the status "Due".

What I now want to do is when the user clicks on the row of the invoice he wants to view it should get the selected items Index value in my case a value in the "ID" column.

How do I get the selected row's "ID" value from the gridview?

Thanks
Uday
Top achievements
Rank 1
 answered on 30 Sep 2011
1 answer
152 views
what is the recomanded way to do the following. 

On the gridview, when the user edits a cell value, I want to do some computations and assign a new data source to the gridview. I have tried to call refresh on the cell value changed, but that seams to cause a crash. 

So I have a hirachy of objects. 

Parent 
 |- Child One 
        | -> Child Two 

During the computation I am getting a new set of Child One objects. With this I mean new instances, which I want to rebind to the grid to show the effect of the edit. It seams that this is not accepted. I can understand that the grid might not expect it's datasource to have change on an cell value changed event, but how can I refresh assign a new data source to grid after an edit and show the changes back to the user ? 
Emanuel Varga
Top achievements
Rank 1
 answered on 30 Sep 2011
2 answers
72 views
Hello

I have added a telerik dtp to a 'chunk' in a Ribbonbar as follows in the onLoad event of a form.  The purpose is to change the view of a calendar when the value in the dtp is changed.  The code below accomplishes this task as expected:

Dim dtPicker As New RadDateTimePicker
dtPicker.ThemeName = "Office2007Blue"
 
AddHandler dtPicker.ValueChanged, AddressOf pickerValueChanged
 
Dim hostItem As New Telerik.WinControls.RadHostItem(dtPicker)
hostItem.MinSize = New System.Drawing.Size(150, 50)
Me.chunkJumpTo.Items.Add(hostItem)
Me.chunkJumpTo.Items(0).Name = "ggPicker"

The handler that I added is as follows:

Private Sub pickerValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs)
 
        Dim dtp As RadDateTimePicker = sender
        selectedDate = dtp.Value
 
        Select Case Me.Calendar1.CurrentView
            Case WinForms.CalendarView.WeekRange
 
                viewMonth()
                Me.Calendar1.Selection.Set(selectedDate)
                 
            Case WinForms.CalendarView.Timetable
                If Calendar1.TimetableSettings.VisibleColumns > 1 Then
                    viewWeek()
                    Me.Calendar1.Selection.Set(selectedDate)
                Else
                    viewDay()
                End If
 
        End Select
 
        setCurrentMonth()
 
 
    End Sub


However, I would like to change the value of the dtp if a new date is clicked on the calendar itself - how can I reference the dtp in the Ribbonbar and change the value that is displayed?

I found some code from another post - I can find the dtp by doing this (I think) but have not been successful in updating the value...

 For Each ct As RadItem In Me.chunkJumpTo.Items
            If ct.Name = "ggPicker" Then
...CHANGE VALUE HERE...
            End If
 Next


QUESTION 2:

I have several RadImageButtonElements in my Ribbonbar.  I have set the ImageHovered property on several buttons but the new image is not displayed on hover of the button - are there issues with this property? Can you please demonstrate how to display a second image on hover and then revert to this original?

Thank you

Brian
Brian
Top achievements
Rank 1
 answered on 29 Sep 2011
1 answer
130 views
I am using a Rad Ribbon Form in an application bar. All "popup" windows (menus and tooltips) are display in the remaining display area and not at the correct position in the application bar. How can I fix this?

 
Peter
Telerik team
 answered on 29 Sep 2011
1 answer
131 views
Is it possible/feasible to have a single multi-line textbox that has two properties:  1.  simple text format (like notepad), and 2. a rich text editor (not HTML format but RTF format).  When the user edits the contents of the multi-line textbox and uses ribbon options, at any time, I need to obtain the ".text" property and get the literal text without all the RTF markup, and if I simultaneously obtain the ".rtf" property, then I get all the text with the embedded rtf format.
I am not an expert in this area, so perhaps my expectation is beyond reality.  However, I am extending a vb6-COM based application with a "com-interop" call out to my .NET library using Telerik controls.  This vb6-COM based application contains a control that functions exactly as above, and I want to reproduce that in my .NET application extension so that I can allow editing of those memos (they are stored in sql as varchar(max)); each of those memo fields in the application database contain two fields "mymemofieldRTF" and "mymemofieldTEXT", and when a user edits one of those memo fields in the vb6-COM based app, the app updates both the "...RTF" and "...TEXT" fields in the database.  When I view the "...RTF" field in the database, it starts with something that looks like:

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 MS Sans Serif;}} \viewkind4\uc1\pard\f0\fs17

The "...TEXT" version has only raw text as you might find if you edited simply in notepad.

I want to mimic this process in my app, and so I am hoping the WinForm RichTextBox will support this or allow me to extend the class with some relatively simple settings or overrides.
Thanks!
Larry Brindise
Jack
Telerik team
 answered on 29 Sep 2011
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?