Telerik Forums
UI for WinForms Forum
3 answers
155 views

Hi,

I tried out the the RadMarkupDialog. When I paste HTML code (e.g. copied from Visual Studio source code editor) I get the following exception:

System.Reflection.TargetInvocationException: NullReferenceException... 

bei Telerik.WinControls.UI.RadMarkupEditor.fontSizeCombo_SelectedIndexChanged(Object sender, EventArgs e)
bei Telerik.WinControls.UI.RadComboBoxElement.OnSelectedIndexChanged(EventArgs e)
bei Telerik.WinControls.UI.ComboPopupForm.listBoxElement_SelectedIndexChanged(Object sender, EventArgs e)
bei Telerik.WinControls.UI.RadListBoxElement.OnSelectedIndexChanged(SelectedIndexChangedEventArgs e)
bei Telerik.WinControls.UI.RadListBoxElement.DispatchSelectionEvents(Boolean selectedIndex, Boolean selectedItem, Object oldValue)
bei Telerik.WinControls.UI.RadListBoxElement.SetSelectedItem(Object value, Boolean fireEventsParam)
bei Telerik.WinControls.UI.RadListBoxElement.set_SelectedItem(Object value)
bei Telerik.WinControls.UI.RadListBoxElement.SetSelectedValue(Object value)
bei Telerik.WinControls.UI.RadMarkupEditor.OnBodyInteraction()
bei Telerik.WinControls.UI.RadMarkupEditor.OnBodyInteraction(Object sender, HtmlElementEventArgs e)
bei System.Windows.Forms.HtmlElementEventHandler.Invoke(Object sender, HtmlElementEventArgs e)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
bei System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
bei System.Delegate.DynamicInvokeImpl(Object[] args)
bei System.Windows.Forms.HtmlShim.FireEvent(Object key, EventArgs e)

It seams that if the font size combobox doesn't have the pasted font size, no element is selected and this results in the exception. 

Regards

Martin

Peter
Telerik team
 answered on 16 Aug 2010
3 answers
195 views
Hi Telerik team,

In my application I'm using the Hierarchy grid view.I want to set the tool tip for a particular cell of child gridvew.
Please suggest how to assign it,using the Cell Formatting event we are able to set the tool tip for the Mastergridview rows.but unable to set for the cells of child grid.

Please find theattached  screenshot.

Thank s
Pradeep.

Martin Vasilev
Telerik team
 answered on 13 Aug 2010
1 answer
186 views
When the RadPageView control is in the Outlook view, and the Page's are collapsed down into the bar with just icons.  When clicking on those icons to change the Selected Page, the SelectedPageChanging and SelectedPageChanged events are not invoked.
Deyan
Telerik team
 answered on 13 Aug 2010
1 answer
102 views
How can I put a RadComboBox into a radGridView?
Svett
Telerik team
 answered on 13 Aug 2010
3 answers
224 views
Hi,


I'm using 2009.2.9.729 version of Telerik WinForms on Windows 7. When validating using RowValidating event, I have some problems with it:   1) If the user cliks in some areas, like shadow area around expanded group, it doesn't fire, so its imposible to validate the data in row's cells. 2) when adding a new row, it doesn't have the new data in the e.row parameter, all cells values equal "nothing". 3)Whe enter key es pressed, the RowValidating fires, but the new row is added to datasource even if cancel is set to true.

Thanks .......  
Svett
Telerik team
 answered on 13 Aug 2010
5 answers
403 views
Hi,
I'd like to find a radbuttonelement on a ribbonbar to set it's enabled property (disable menu items which the user is not allowed to use).


I tried this:

FindControl("rbeAdmin").Enabled =True

using this function:

Private Function FindControl(ByVal strControlName As String) As Control

 

 

If ((strControlName.Length = 0) _

 

 

OrElse (Me.Controls.Find(strControlName, True).Length = 0)) Then

 

 

Return Nothing

 

 

End If

 

 

Return Me.Controls.Find(strControlName, True)(0)

 

 

End Function



But the default me.controls.find does not find the nested telerik controls. Has anyone a smart idea on how find these controls by name?
thnx!


 

 


 
 

 

Peter
Telerik team
 answered on 13 Aug 2010
1 answer
199 views
Hello,

Is there any possibility to use columns and groups in RadListView control like in standard ListView?
I didn't find such properties and methods in RadListView control.

Thanks
Peter
Telerik team
 answered on 13 Aug 2010
1 answer
190 views
Hi all,

In the FirstLook example of the RadScheduler of Q2 release of 2010 you are using images in the PageView.
I attached one of those images. I would like to know how to create this in code.

For example which controls should I use to create the item "My Notes" or the item "Current View"

Gerben
Deyan
Telerik team
 answered on 13 Aug 2010
1 answer
136 views
Hi.

First of all thanks for the conversion wizard for old controls in last week release 2010.2.10.806.

Please can you confirm that if you convert e.g. one control the name of the control is changed to the default name like if you create the
control completly new, meaning e.g. "CustomerType_ComboBox" is renamed to "radDropDownList1".

This is causing a lot effort because you only change the name of the control in Form.Designer.cs files an not in the corresponding Form.cs file. In big form controls you have than to change a lot manually by yourself.

A workaround is to manually change every control one by one after another and copy/paste the name of the control, convert and directly change the name back from "radDropDownList1" to "CustomerType_ComboBox". But for 50 controls on one form having already 50 forms in the project will cause a lot manual effort.

So please tell me if this is considered as "normal" behavior or is a bug which will be fixed.

All the best.

Adrian.
Stefan
Telerik team
 answered on 13 Aug 2010
2 answers
288 views
Hi !

How  can I format a cell in the child GridView?
Something like if a cell has value 20 to be red else black.

Regards,
Hans
Svett
Telerik team
 answered on 12 Aug 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
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?