Telerik Forums
UI for WinForms Forum
1 answer
83 views
I really want to use the RichTextBox in an application I'm finalizing but I have been stymied by the issues I've enumerated below. Firts of all let me provide some background on my particular use so that you can determine if the scenario applies broadly.

Scenario: RichTextBox is used to create Html fragments that are integrated into a finished document where formatting (headings and indents) are adjusted by where the fragment appears in the documents outline hierarchy. Fragments are created as if they are at level 1 (one) and the indent level is programmatically adjusted by where in the outline the fragment appears.

To the best of my knowledge...
  1. HtmlFormatter translates Hn tags to <p> tags presents a challengs.
  2. Import process defines classes using some sort of internal naming approach. (I'd like associated classes and their name to be retained.)
  3. Providing an embedded stylesheet within an imported html document is not used.
  4. StyleDefinition(s) do not provide an ability to "name" the definition so that they can be programmatically assigned to a paragraph or span. (There may be a StyleProperty that supports this but I could not determine it.)
  5. I was pursueing the approach of wrapping the existing HtmlFormatter object and extending its utilty but many of the underlying classes are exposed at the Friend level versus Public level which prevents this approach

My application is very concerned with **structure** while the RichTextBox is very concerned with retaining **style**. Whle addressing my point 1 above solves all my concerns points 2 - 5 I believe would be of value to other implementers.

I'm going to have to fall back to using the web based Editor (which presents its own set of restrictions) but I will anxiously be watching developments in the RichTextBox as I believe that once finalized it will be an excellent product.

Svett
Telerik team
 answered on 20 Sep 2011
11 answers
213 views
Hi,

   I'm creating a window with a GridView 01 where I need open other window with a GridView 02 for select some values and set in GridView 01 the selected values. I'd like know how to do set the selected values of GridView 02 to GridView 01?
Image with a sample attached.

Thankful for attention!
  
Flávio
Top achievements
Rank 1
 answered on 19 Sep 2011
1 answer
140 views
Hi 

I have an application that has been written over the past 4 years. My company has now purchased RadControls for WinForms and so I am going to slowly convert it screen by screen.

In the meantime though I have a function that is called by all current screens.

SetupScreen(byval frm as form)

I want to do different actions if the form is a Telerik RadForm. How do I know if the frm passed to my function is the standard form or a telerik form? Hopefully without changing the signature of my function "SetupScreen"

Cheers

Nikolay
Telerik team
 answered on 19 Sep 2011
1 answer
321 views
We Have thread deadlock problem since we upgraded to Telerik 2010.3.
In our application we have a form which is initialized in the background. in some cases, which we can't exactly define the back thread and the main thread lock one each other and the application gets stuck.
The call stack shows that the thread is stuck at Telerik function

We'll appriciate your help as quick as possible.
naama
---
Here is the call stack:

Background Thread
  [In a sleep, wait, or join] 
  Telerik.WinControls.dll!Telerik.WinControls.PropertySettingCollection.AddInheritedPropertySetting(Telerik.WinControls.IPropertySetting setting, string settingType) + 0x51 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.PropertySettingGroup.InheritRepositoryItem(Telerik.WinControls.Styles.XmlRepositoryItem newItem) + 0x104 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.StyleSheet.ProcessGroupsInheritance(Telerik.WinControls.Styles.XmlStyleRepository repository) + 0xdb bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleMap.ProcessStyle() + 0x52 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleMap.SetStyleSheet(Telerik.WinControls.StyleSheet styleSheet) + 0x42 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleManager.ElementStyleChanged(Telerik.WinControls.RadElement element, Telerik.WinControls.RadPropertyChangedEventArgs changeArgs) + 0x147 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ComponentThemableElementTree.NotifyElementPropertyChanged(Telerik.WinControls.RadElement element, Telerik.WinControls.RadPropertyChangedEventArgs args) + 0xd6 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadElement.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x5b bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadComponentElement.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x17 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadItem.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x17 bytes 
  Telerik.WinControls.UI.dll!Telerik.WinControls.UI.LightVisualElement.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x2ce bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadObject.RaisePropertyNotifications(Telerik.WinControls.RadPropertyValue propVal, object oldValue, object newValue, Telerik.WinControls.ValueSource oldSource) + 0x142 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadObject.SetValueCore(Telerik.WinControls.RadPropertyValue propVal, object propModifier, object newValue, Telerik.WinControls.ValueSource source) + 0x259 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.StyleBuilderBase.BuildStyle(Telerik.WinControls.RadElement element) + 0x4c bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleMap.BuildStyle() + 0x73 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleManager.MapStylesToElementsRecursive(Telerik.WinControls.RadElement element) + 0x1cc bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleManager.MapStylesToElementsRecursive(Telerik.WinControls.RadElement element) + 0x1b4 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleManager.MapStylesToElementsRecursive(Telerik.WinControls.RadElement element) + 0x1b4 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleManager.MapStylesToElementsRecursive(Telerik.WinControls.RadElement element) + 0x1b4 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleManager.AttachStylesToElementTree() + 0xa6 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RootRadElement.ControlThemeChanged() + 0x56 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ComponentThemableElementTree.CallControlThemeChanged() + 0xd0 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ComponentThemableElementTree.EnsureThemeAppliedInitially(bool checkInitializing) + 0x3a bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadControl.OnLoad(System.Drawing.Size desiredSize) + 0xa3 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl(bool fIgnoreVisible) + 0x1b2 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl(bool fIgnoreVisible) + 0x168 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl(bool fIgnoreVisible) + 0x168 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.CreateControl() + 0x24 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.OnVisibleChanged(System.EventArgs e) + 0x13a bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.SetVisibleCore(bool value = true) + 0x34f bytes 
  System.Windows.Forms.dll!System.Windows.Forms.TabControl.UpdateTabSelection(bool updateFocus) + 0x11f bytes 
  System.Windows.Forms.dll!System.Windows.Forms.TabControl.OnHandleCreated(System.EventArgs e) + 0x438 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.WmCreate(ref System.Windows.Forms.Message m) + 0x4d bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x4a6 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.TabControl.WndProc(ref System.Windows.Forms.Message m) + 0x3b7 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x46 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 1, System.IntPtr wparam, System.IntPtr lparam) + 0xad bytes 
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp) + 0x3e7 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.CreateHandle() + 0x24a bytes 
  System.Windows.Forms.dll!System.Windows.Forms.TabControl.CreateHandle() + 0x6d bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.Handle.get() + 0x65 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.ShowKeyboardCues.get() + 0xd9 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.ControlPaint.CreateTextFormatFlags(System.Windows.Forms.Control ctl, System.Drawing.ContentAlignment textAlign, bool showEllipsis, bool useMnemonic) + 0x6d bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Label.CreateTextFormatFlags(System.Drawing.Size constrainingSize) + 0x55 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Label.GetPreferredSizeCore(System.Drawing.Size proposedConstraints) + 0x139 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.GetPreferredSize(System.Drawing.Size proposedSize) + 0xed bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Label.GetPreferredSize(System.Drawing.Size proposedSize) + 0x2d bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.PreferredSize.get() + 0x33 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Label.AdjustSize() + 0xbd bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Label.OnTextChanged(System.EventArgs e) + 0xbd bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.Text.set(string value) + 0x87 bytes 
> Arachim.Infrastructure.dll!Arachim.Infrastructure.UI.CCtrl_DividingLine.Text.set(string value = "קשרי דואר") Line 40 + 0x38 bytes C#
  Arachim.exe!Arachim.Individuals.UI.Uctrl_Individual.InitializeComponent() Line 531 + 0x55 bytes C#
  Arachim.exe!Arachim.Individuals.UI.Uctrl_Individual.Uctrl_Individual() Line 88 + 0xd bytes C#
  Arachim.exe!Arachim.Individuals.UI.Frm_FamilyCard.InitializeComponent() Line 129 + 0x34 bytes C#
  Arachim.exe!Arachim.Individuals.UI.Frm_FamilyCard.Frm_FamilyCard() Line 127 + 0xd bytes C#
  Arachim.exe!Arachim.Individuals.UI.BackgroundForms.BackgroundFamilyCard.startInit() Line 113 + 0x2b bytes C#
  mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x9b bytes 
  mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x4d bytes 

Main Thread
  [In a sleep, wait, or join] 
  System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp) + 0x1ce bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Timer.TimerNativeWindow.EnsureHandle() + 0x12b bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Timer.TimerNativeWindow.StartTimer(int interval) + 0x37 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Timer.Enabled.set(bool value) + 0xeb bytes 
  Arachim.exe!Arachim.Individuals.UI.Frm_CachePhoneBook.Grid_CacheDataRetrieved(object sender = {Arachim.Infrastructure.UI.CCtrl_DataGrid}, System.EventArgs e = {System.EventArgs}) Line 150 + 0x26 bytes C#
  Arachim.Infrastructure.dll!Arachim.Infrastructure.UI.CCtrl_DataGrid.updateDataForPaging(int pageIndex = 0) Line 3363 + 0x68 bytes C#
> Arachim.Infrastructure.dll!Arachim.Infrastructure.UI.CCtrl_DataGrid.RefreshCacheGrid() Line 3298 + 0x3f bytes C#
  Arachim.exe!Arachim.Individuals.UI.Frm_CachePhoneBook.RefreshData() Line 138 + 0x23 bytes C#
  Arachim.exe!Arachim.Individuals.UI.Frm_CachePhoneBook.tmr_refresh_Tick(object sender = {Interval = 600000}, System.EventArgs e = {System.EventArgs}) Line 143 + 0x18 bytes C#
  System.Windows.Forms.dll!System.Windows.Forms.Timer.OnTick(System.EventArgs e) + 0x1a bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Timer.TimerNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x5e bytes 
  System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 275, System.IntPtr wparam, System.IntPtr lparam) + 0xad bytes 
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  System.Windows.Forms.dll!System.Windows.Forms.Form.DefWndProc(ref System.Windows.Forms.Message m) + 0x112 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x148 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x46 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 787, System.IntPtr wparam, System.IntPtr lparam) + 0xad bytes 
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.CreateHandle(System.Windows.Forms.CreateParams cp) + 0x1ce bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Timer.TimerNativeWindow.EnsureHandle() + 0x12b bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Timer.TimerNativeWindow.StartTimer(int interval) + 0x37 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Timer.Enabled.set(bool value) + 0xeb bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadControlAnimationTimer.EnsureTimer() + 0xab bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadControlAnimationTimer.Start() + 0x40 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ElementValuesAnimator.ValuesAnimatorNotRunningState.PerformActionOverride(Telerik.WinControls.AnimationState newState) + 0x80 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ElementValuesAnimator.ValuesAnimatorState.PerformAction(Telerik.WinControls.AnimationState newState) + 0x16 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ElementValuesAnimator.ChangedCurrentAction(Telerik.WinControls.AnimationState newState) + 0x27 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.AnimatedPropertySetting.ApplyValueInternal(Telerik.WinControls.RadElement element) + 0x14a bytes 
  Telerik.WinControls.dll!Telerik.WinControls.AnimatedPropertySetting.ApplyValue(Telerik.WinControls.RadElement element) + 0x12b bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StylesheetTreeNode.ApplyGroupSettingsOnElement(Telerik.WinControls.PropertySettingGroup group, Telerik.WinControls.RadElement element) + 0x7e bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StylesheetTreeNode.ApplyPropertySettingsOnAttachedElement(Telerik.WinControls.RadElement element = {Telerik.WinControls.Primitives.FillPrimitive}, bool onPropertyChanged) + 0x1a7 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StylesheetTreeNode.AttachElement(Telerik.WinControls.RadElement element) + 0x2f bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StylesheetTree.NodeMapElement(Telerik.WinControls.Styles.StylesheetTreeNode node, Telerik.WinControls.RadElement element, Telerik.WinControls.Styles.StylesheetTree.MapElementContext context = {Telerik.WinControls.Styles.StylesheetTree.MapElementContext}) + 0x1b3 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StylesheetTree.NodeMapElement(Telerik.WinControls.Styles.StylesheetTreeNode node = {Telerik.WinControls.Styles.StylesheetTreeNode}, Telerik.WinControls.RadElement element = {Telerik.WinControls.UI.RadScrollBarElement}, Telerik.WinControls.Styles.StylesheetTree.MapElementContext context = {Telerik.WinControls.Styles.StylesheetTree.MapElementContext}) + 0x106 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StylesheetTree.MapStyleNodesToElement(Telerik.WinControls.RadElement element, Telerik.WinControls.Styles.StylesheetTree.MapElementContext context) + 0xa6 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StylesheetTree.MapStyleNodesToElementHierarchy(Telerik.WinControls.Styles.StylesheetTree.MapElementContext context) + 0xac bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StylesheetTree.AttachElement(Telerik.WinControls.RadElement addedElement = {Telerik.WinControls.UI.RadScrollBarElement}) + 0x6b bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StylesheetTree.OnElementSelectorKeyChanged(Telerik.WinControls.RadElement element, Telerik.WinControls.RadPropertyChangedEventArgs changeArgs) + 0x1ce bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.StyleManager.ElementStyleSelectorKeyPropertyChanged(Telerik.WinControls.RadElement element, Telerik.WinControls.RadPropertyChangedEventArgs changeArgs) + 0x96 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ComponentThemableElementTree.NotifyElementPropertyChanged(Telerik.WinControls.RadElement element, Telerik.WinControls.RadPropertyChangedEventArgs args) + 0xd6 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadElement.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x5b bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadComponentElement.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x17 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadItem.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x17 bytes 
  Telerik.WinControls.UI.dll!Telerik.WinControls.UI.RadScrollBarElement.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x18 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadObject.RaisePropertyNotifications(Telerik.WinControls.RadPropertyValue propVal, object oldValue, object newValue, Telerik.WinControls.ValueSource oldSource) + 0x142 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadObject.SetValueCore(Telerik.WinControls.RadPropertyValue propVal, object propModifier, object newValue, Telerik.WinControls.ValueSource source) + 0x259 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.ItemStateManagerBase.SetItemState(Telerik.WinControls.RadItem item, string[] stateNames) + 0xe7 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.Styles.ItemStateManager.StateInvalidated(Telerik.WinControls.RadItem item, Telerik.WinControls.Styles.StateNodeBase elementStateBase) + 0x1bb bytes 
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  Telerik.WinControls.dll!Telerik.WinControls.RadObject.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x5d bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadElement.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x1b bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadComponentElement.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x17 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadItem.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x17 bytes 
  Telerik.WinControls.UI.dll!Telerik.WinControls.UI.RadScrollBarElement.OnPropertyChanged(Telerik.WinControls.RadPropertyChangedEventArgs e) + 0x18 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadObject.RaisePropertyNotifications(Telerik.WinControls.RadPropertyValue propVal, object oldValue, object newValue, Telerik.WinControls.ValueSource oldSource) + 0x142 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadObject.SetValueCore(Telerik.WinControls.RadPropertyValue propVal, object propModifier, object newValue, Telerik.WinControls.ValueSource source) + 0x259 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ComponentInputBehavior.HandleHoveredElementsChanged(System.Collections.Generic.List<Telerik.WinControls.RadElement> newHoveredElements = Count = Cannot evaluate expression because the current thread is in a sleep, wait, or join) + 0x3e8 bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ComponentInputBehavior.SelectElementOnMouseOver(System.Windows.Forms.MouseEventArgs e) + 0x8f bytes 
  Telerik.WinControls.dll!Telerik.WinControls.ComponentInputBehavior.OnMouseMove(System.Windows.Forms.MouseEventArgs e) + 0x4b bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadControl.OnMouseMove(System.Windows.Forms.MouseEventArgs e) + 0x23 bytes 
  Telerik.WinControls.GridView.dll!Telerik.WinControls.UI.RadGridView.OnMouseMove(System.Windows.Forms.MouseEventArgs e) + 0x81 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.WmMouseMove(ref System.Windows.Forms.Message m) + 0x95 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.WndProc(ref System.Windows.Forms.Message m) + 0x5ed bytes 
  Telerik.WinControls.dll!Telerik.WinControls.RadControl.WndProc(ref System.Windows.Forms.Message m) + 0x97 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Control.ControlNativeWindow.WndProc(ref System.Windows.Forms.Message m) + 0x46 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.NativeWindow.DebuggableCallback(System.IntPtr hWnd, int msg = 512, System.IntPtr wparam, System.IntPtr lparam) + 0xad bytes 
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  System.Windows.Forms.dll!System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(int dwComponentID, int reason, int pvLoopData) + 0x5c3 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(int reason = -1, System.Windows.Forms.ApplicationContext context = {System.Windows.Forms.ApplicationContext}) + 0x578 bytes 
  System.Windows.Forms.dll!System.Windows.Forms.Application.ThreadContext.RunMessageLoop(int reason, System.Windows.Forms.ApplicationContext context) + 0x65 bytes 
  Arachim.exe!Arachim.Program.Main(string[] args = {string[0]}) Line 31 + 0x25 bytes C#
  [Native to Managed Transition] 
  [Managed to Native Transition] 
  Microsoft.VisualStudio.HostingProcess.Utilities.dll!Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() + 0x47 bytes 
  mscorlib.dll!System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, object state) + 0x9b bytes 
  mscorlib.dll!System.Threading.ThreadHelper.ThreadStart() + 0x4d bytes 



Nikolay
Telerik team
 answered on 19 Sep 2011
4 answers
185 views
Going by your examples, I set the AllowDrop for the RadListControl to true. I also have set the SelectionMode to MultiExtended. Also, per your example in the TreeView section, I coded the RadListControl's MouseDown event to call the DoDragDrop() method. However, now I can not select rows with the mouse. I can select extended with the arrow keys and shift key, and I can drag them into the TreeView, succesfully. It's like the mouse only works for Dragging, it won't even control the scroll bar in the RadListControl.

Basically I did everything you wrote in the Treeview "Enabling Drag and Drop" section, except I used a RadListView instead of a Windows listbox for the source control.  It works with a Windows listbox, but I would like to use the Telerik version.

Help Please.

Later
Art
Michal
Top achievements
Rank 1
 answered on 19 Sep 2011
5 answers
159 views
We've bought Devexpress in 2009 and use it all the time.Last week,we found telerik can write WPF-like window form,so we downloaded and tried it to evaluate to buy or not.we found some problem which prevent us from using it. 
     1.when we place a  radtreeview in the form,and click "open property builder", in the RadTreeView Property Builder dialog,we can't see OK,Cancel and Apply button.It seems Property Builder dialog have the same problem.
      2.Sample or demo program have region and language problem.We can't build the demo at first,after changing region and language to english,we can build it.I found there are  many "..." characters [0x85] in the program,which will lead to some problem in other region code.
      we tried it in many computers and  these problems still exist.

      Enviroment : windows 7 ultimate   simplified chinese   , Visual studio 2010 premium [chinese and english]
Jack
Telerik team
 answered on 19 Sep 2011
5 answers
177 views
I have upgraded to RadControls for WinForms  Q2 2011 (version 2011.2.11.831) from Q3 2010 SP1 (version 2010.3.10.1215)

In Q3 2010, the RadMaskedTextBox supports a right click menu.  In Q2 2011, it does not.

Am I doing something wrong ? (my code hasn't changed).  I noticed that it still does exist on the RadTextBox.

If it was removed (or is a bug), how do I recreate/enable the right click functionality.

Thanks,
Chet
Peter
Telerik team
 answered on 17 Sep 2011
2 answers
104 views
I attempted to reinstall RadControls for WinForms 2001 Q2 (8/31/2011) after being unable to use the designer for the new RadPage controls in Visual Studio 2008. I tried a repair installation; when that didn't work, I uninstalled it completely. Now when I try to install, the installer reports the error:

The feature you are trying to use is on a network resource that is unavailable.

Click OK to try again, or enter an alternate path to a folder containing the installation package 'RadControls_WinForms_2011_1_11_419_dev.msi' in the box below.

The installer I'm using is RadControls_WinForms_2011_2_11_0831_dev.msi', located on my desktop.

I've downloaded another copy, thinking the file may have gotten corrupted, but I received identical results the second time. When I tried to select the installer by browsing to my desktop file, I get the error that the installer "is not a valid installation package for the product Telerik RadControls for WinForms Q1 2011", then reference the "_419_dev.msi" file again.

I thought Q2 was out of beta, but I'll install Q1 if it works. What do I need to work around this error?
Ed
Top achievements
Rank 1
 answered on 17 Sep 2011
2 answers
149 views
Hi,

I want to disable the commandbutton when the user is adding a new row, but I'm not finding the way to do this.

Please I need some Help. Thanks.
Amador
Top achievements
Rank 1
 answered on 16 Sep 2011
4 answers
141 views
Hello Admin!

I have a SpinEditor value = 3. I use ValueChanged event so do it. When value of that control to 2, I call MessageBox. But button Down of that control set yellow color (spineditor.jpg).
I want that control not set yellow color & reset that control.

Help me!
Thank you!

My code :

private void spChangedGridView_ValueChanged(object sender, EventArgs e)
{
        if (int.Parse(spChangedGridView.Value.ToString()) < 3)
         {
                spChangedGridView.SpinElement.Value = 3;
                MessageBox.Show("NO");
         }
}
remeo
Top achievements
Rank 1
 answered on 16 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
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?