Telerik Forums
UI for WinForms Forum
1 answer
327 views
Hi Guys,
I am trying to extend Telerik Textbox control to add some custom functionality. I have simply added a class and inherited it from RadTextBox class. The problem is when I add this control to my project it looks flat and does not have the fill etc that normal RadTextBox has. What am i missing? Kindly help
Best Regards,
Syed Afraz Ali
Richard Slade
Top achievements
Rank 2
 answered on 10 Mar 2011
8 answers
1.5K+ views
Hi,

I have a windows application. On one button click i am performing some long processing Task. I am trying to use a Rad Waiting bar to indicate the status of long-running operations. When i am starting the waiting bar in the same thread where my task is getting performed,  it looks like system is hung and does not show the Waiting bar also.

I went through various articles and all  articles tell about starting the long running operation in a different thread.
I do not want to do it in a separate thread.

Is there any alternate way of showing the waiting bar without in a different Thread.

Any kind of help is appreciated.

sasmita
Nikolay
Telerik team
 answered on 10 Mar 2011
2 answers
75 views

Normally a RadButton has 1 text field.

I need a RadButton with 3 different text-fields and 3 different colors and 3 differents fonts and an image.

Thank you very much.

-------------------------------

-  text1                         -

-                                    - 

-          text2                  - 

-                                    -  

-                      text3       -

------------------------------- 

Stefan
Telerik team
 answered on 10 Mar 2011
1 answer
65 views

i have my code as shown below.

   this.radToolStripElement.Items.AddRange(new Telerik.WinControls.RadItem[] {
                       this.m_toolBarStation,
                        this.m_toolBarEdit,
                        this.m_toolBarGraphicPage,
                        this.m_toolBarFormat});

I drag all the toobar and close it by clicking the close button.

Now i wan to add the a particular toolbar to radToolStripElement.

But the probelm is this.radToolStripElement.Parent ie striplayoutpanel is null.

Even though i add,i could not see the toolbar.

Thanks in advance
suresh
Ivan Todorov
Telerik team
 answered on 10 Mar 2011
1 answer
302 views
Hi team,

i have my code as shown below.

   this.radToolStripElement.Items.AddRange(new Telerik.WinControls.RadItem[] {
                       this.m_toolBarStation,
                        this.m_toolBarEdit,
                        this.m_toolBarGraphicPage,
                        this.m_toolBarFormat});

I drag all the toobar and close it by clicking the close button.

Now i wan to add the a particular toolbar to radToolStripElement.

But the probelm is this.radToolStripElement.Parent ie striplayoutpanel is null.

Even though i add,i could not see the toolbar.

Thanks in advance
suresh
Ivan Todorov
Telerik team
 answered on 10 Mar 2011
2 answers
121 views
1) If I press many times "Next" or "Forward" during rotation process, the rotator functionality crashes.
    I can see StartRotation and StopRotation. Please, provide me with guidelines of how to use the two events.

2) If I need to add a PictureBox, then what?
Роберт
Top achievements
Rank 1
 answered on 09 Mar 2011
1 answer
56 views
I am currently using Winforms Q3 2009 Sp1 with Visual C# 2008 Express. I have built an application and am now in need of the Professional version of Visual Studio to deploy it. The Click Once solution that is available in Express will not work.

I was thinking of going ahead and upgrading to Visual Studio 2010 Professional and wanted to know if I would have any issue with the Winforms Q3 2009 Sp1 controls running in the 2010 environment. I plan on just converting my application to C# 2010. I would hope I would not have to rewrite it.

Will the Q3 2009 controls work in Visual Studio 2010?

- Scott
Stefan
Telerik team
 answered on 09 Mar 2011
3 answers
110 views
Hi team,

In my application i am using docking and many rad Controls.


When closing the the form from close button.Crash has been observed.
please find the description below.And let us know the Issue please.

ee the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.PropertySettingCollection.<EnumeratePropertySettingsForElement>d__10.MoveNext()
   at Telerik.WinControls.Styles.StylesheetTreeNode.ApplyGroupSettingsOnElement(PropertySettingGroup group, RadElement element)
   at Telerik.WinControls.Styles.StylesheetTreeNode.ApplyPropertySettingsOnAttachedElement(RadElement element, Boolean onPropertyChanged)
   at Telerik.WinControls.Styles.StylesheetTreeNode.AttachElement(RadElement element)
   at Telerik.WinControls.Styles.StylesheetTree.NodeMapElement(StylesheetTreeNode node, RadElement element, MapElementContext context)
   at Telerik.WinControls.Styles.StylesheetTree.NodeMapElement(StylesheetTreeNode node, RadElement element, MapElementContext context)
   at Telerik.WinControls.Styles.StylesheetTree.MapStyleNodesToElement(RadElement element, MapElementContext context)
   at Telerik.WinControls.Styles.StylesheetTree.MapStyleNodesToElementHierarchy(MapElementContext context)
   at Telerik.WinControls.Styles.StylesheetTree.AttachElement(RadElement addedElement)
   at Telerik.WinControls.Styles.StylesheetTree.OnElementSelectorKeyChanged(RadElement element, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.Styles.StyleMap.OnElementStyleSelectorKeyPropertyChanged(RadElement element, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.Styles.StyleManager.ElementStyleSelectorKeyPropertyChanged(RadElement element, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.Styles.StyleManager.Telerik.WinControls.IPropertyChangeListener.OnRadPropertyChanged(RadElement element, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.ComponentThemableElementTree.NotifyElementPropertyChanged(RadElement element, RadPropertyChangedEventArgs args)
   at Telerik.WinControls.RadElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.VisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadComponentElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.UI.RadTitleBarElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadObject.RaisePropertyNotifications(RadPropertyValue propVal, Object oldValue, Object newValue, ValueSource oldSource)
   at Telerik.WinControls.RadObject.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   at Telerik.WinControls.RadElement.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   at Telerik.WinControls.RadObject.SetValue(RadProperty property, Object value)
   at Telerik.WinControls.Styles.ItemStateManagerBase.SetItemState(RadItem item, String[] stateNames)
   at Telerik.WinControls.Styles.ItemStateManager.StateInvalidated(RadItem item, StateNodeBase elementStateBase)
   at Telerik.WinControls.Styles.ItemStateManager.ItemStateChanged(RadItem senderItem, RadPropertyChangedEventArgs changeArgs)
   at Telerik.WinControls.Styles.StateManagerAttachmentData.attachedElement_RadPropertyChanged(Object sender, RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadObject.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.VisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadComponentElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.UI.RadTitleBarElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadObject.RaisePropertyNotifications(RadPropertyValue propVal, Object oldValue, Object newValue, ValueSource oldSource)
   at Telerik.WinControls.RadObject.ResetValueCore(RadPropertyValue propVal, ValueResetFlags flags)
   at Telerik.WinControls.RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs args)
   at Telerik.WinControls.RadElement.NotifyChildren(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadElement.OnParentPropertyChanged(RadPropertyChangedEventArgs args)
   at Telerik.WinControls.RadElement.NotifyChildren(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.VisualElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadComponentElement.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadItem.OnPropertyChanged(RadPropertyChangedEventArgs e)
   at Telerik.WinControls.RadObject.RaisePropertyNotifications(RadPropertyValue propVal, Object oldValue, Object newValue, ValueSource oldSource)
   at Telerik.WinControls.RadObject.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   at Telerik.WinControls.RadElement.SetValueCore(RadPropertyValue propVal, Object propModifier, Object newValue, ValueSource source)
   at Telerik.WinControls.RadObject.SetDefaultValueOverride(RadProperty property, Object value)
   at Telerik.WinControls.UI.RadFormElement.SetIsFormActiveInternal(Boolean isActive)
   at Telerik.WinControls.UI.RadFormBehavior.OnWMActivate(Message& m)
   at Telerik.WinControls.UI.RadFormBehavior.HandleWndProc(Message& m)
   at Telerik.WinControls.UI.RadFormControlBase.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Operation Tool
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Operation%20Tool.exe
----------------------------------------
Helper
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Helper.DLL
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Telerik.WinControls.UI
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.UI/2010.1.10.504__5bb2a467cbec794e/Telerik.WinControls.UI.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
Telerik.WinControls
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls/2010.1.10.504__5bb2a467cbec794e/Telerik.WinControls.dll
----------------------------------------
Localization
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Localization.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TelerikCommon
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/TelerikCommon/2010.1.10.504__5bb2a467cbec794e/TelerikCommon.dll
----------------------------------------
ayog2ef8
    Assembly Version: 1.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
Localization.resources
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/en-US/Localization.resources.DLL
----------------------------------------
BMSFramework
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/BMSFramework.DLL
----------------------------------------
Wiresheet
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Wiresheet.DLL
----------------------------------------
GraphicControl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/GraphicControl.DLL
----------------------------------------
BMSCommonClasses
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/BMSCommonClasses.DLL
----------------------------------------
ControlPointCtl
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ControlPointCtl.DLL
----------------------------------------
DotNetTracer
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/DotNetTracer.DLL
----------------------------------------
Telerik.WinControls.RadDock
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.RadDock/2010.1.10.504__5bb2a467cbec794e/Telerik.WinControls.RadDock.dll
----------------------------------------
Alarm
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Alarm.DLL
----------------------------------------
History
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/History.DLL
----------------------------------------
SystemDefinition
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/SystemDefinition.DLL
----------------------------------------
Report
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Report.DLL
----------------------------------------
UserManagement
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/UserManagement.DLL
----------------------------------------
ApplicationConfiguration
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ApplicationConfiguration.DLL
----------------------------------------
Schedule
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/Schedule.DLL
----------------------------------------
ApplicationDataHandler
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ApplicationDataHandler.DLL
----------------------------------------
WinUtil
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/WinUtil.DLL
----------------------------------------
EventManager
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/EventManager.DLL
----------------------------------------
GraphicsEditor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/GraphicsEditor.DLL
----------------------------------------
ApplicationClasses
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ApplicationClasses.DLL
----------------------------------------
ControlTracker
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/BMS_Rad_Latest/bin/ControlTracker.DLL
----------------------------------------
Telerik.WinControls.GridView
    Assembly Version: 2010.1.10.504
    Win32 Version: 2010.1.10.0504
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Telerik.WinControls.GridView/2010.1.10.504__5bb2a467cbec794e/Telerik.WinControls.GridView.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Jack
Telerik team
 answered on 09 Mar 2011
3 answers
117 views
Hi

How can I get the rows filtered by applying a filter to the grid?
I'm trying with GridViewRowInfo.IsVisible, but it is always set to true....

Thanks in advance
Simone
Richard Slade
Top achievements
Rank 2
 answered on 09 Mar 2011
3 answers
129 views
hi,

   I loaded 10 thousand records on the multicolumn combo. Its load well. When am clik the arrow button for select a record i didn't response. (i mean dropdown grid didnot show).
The same thing is work in fine only bellow 300 records.why?

help me.
Richard Slade
Top achievements
Rank 2
 answered on 09 Mar 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
CheckedDropDownList
ProgressBar
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
NavigationView
VirtualKeyboard
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?