Telerik Forums
UI for WinForms Forum
1 answer
177 views
Hello, is it possible to modify the theme applied to the scrollbars within a RadTextBox? I thought I did see a previous post concerning this, but am unable to locate it again.

Thanks!
Nikolay
Telerik team
 answered on 07 Mar 2008
5 answers
192 views
In this post:

http://www.telerik.com/community/forums/thread/b311D-gdcka.aspx

This is stated:

As for loading themes from file, you should have in mind that the file name is generated automatically, and references the full file path on your hard drive. It is quite possible that this path is not valid when deploying the application on another station. For that reason you should use embedded resource OR file name relative to application's executable file. Here is example for relative path:
  • If your application compiles in "C:\Prorects\MyApp\bin\debug" and the theme file is located in "MyApp\Resources" folder, the relative path would be: "..\..\Resources\MyThemeFileName.xml"

In Q2 2007 this will work in the designer as well.


However, I do not believe this to be true - because when I change the path name to a relative path, it is using the Visual Studio IDE launch directory as the base directory, not the directory of the application files.

Can you confirm this?

I am using Q32007 SP1.

Martin Vasilev
Telerik team
 answered on 07 Mar 2008
3 answers
191 views
We are noticing that even if we have the 'Text' property set, the text does not display in design mode - it does display at run-time.

Also, is there a method for changing the orientation of the label so the text displays before the Checkbox?

Thanks.
Nikolay
Telerik team
 answered on 07 Mar 2008
1 answer
146 views
Hello, I may be doing something unusual, but I figured I'd give it a try and it worked..

I changed the 'ThemeClassName' for a RadPanel to a custom name, then matched that in a Theme file - this way I have more descriptive ThemeClass names.

It DOES work, which is great - the problem is when I close the user control, it wipes out my custom ThemeClassName, and reverts it back to 'Telerik.WinControls.UI.RadPanel'.

Is this intended behaviour? It seems that if I can change this property it should save it, otherwise the property should be locked.

Thanks.
Nikolay
Telerik team
 answered on 07 Mar 2008
2 answers
157 views
Say I have the mask (###) ###-####, how do I load the string 1234567890 into the textbox and retaining the mask? 


In the above scenario, I also try to set .Value = telephone, where telephone is a 10 character long string.  However the text box is simply empty if I do that.
Boyko Markov
Telerik team
 answered on 07 Mar 2008
1 answer
101 views
Hello,

We customized the Stylesheet-CLASS property using the 'Edit UI Elements' for a RadPanel. For example:

Default:

Element=FillPrimitive
Class: RadPanelFill

We changed to:

Element=FillPrimitive
Class: AdminPanelFill

In our theme file, we have a property setting group with ClassSelector:

<XmlClassSelector ElementClass="AdminPanelFill">

In the designer, this works as expected, but in run-mode it fails to work. The theme IS being loaded, I confirmed this by debugging and using immediate mode to return the default style builder from the ThemeResolutionService. But instead of using our custom Class names, it reverts to 'RadPanelFill'.

Please advise on this issue, at this point it appears that using themes with custom class names for primitives does not work as expected. Possibly we are doing something wrong, however the 'manual' provides little to no help - we wish to continue using the control library for future projects, but at this time there appear to be too many bugs or inconsistencies with the help documentation.


Nikolay
Telerik team
 answered on 06 Mar 2008
1 answer
132 views
I have bind a bit column of database into windows grid. The column shows check box, after edit the boolean column, when I am going to save the data, the boolean cell return false, while I have check the cell.
The sample code is:

For i=0 to grdMenu.RowCount-1

    Dim PAdd as Object = Nothing
    PAdd = grdMenu.Rows(i).Cell("Add").Value
Next

My bolean column name is Add.

The PAdd returns flase, whether I have checked the cell as true. I have also tried like
PAdd = grdMenu.Rows(i).Cell("Add").CellElement.Value

Please help
Georgi
Telerik team
 answered on 06 Mar 2008
1 answer
212 views
Is it correct to place a theme-manager on a UserControl? I ask this because we have user controls that use Rad-Controls and the only way I could get the themes to apply is to put the thememanager on the Usercontrol itself - there is no 'form' when editing the controls.

This does work, however, when I make changes to the theme (via VSB or directly in xml) they are not applied. I have to REMOVE the reference to the embedded resource, and add it again - then the theme changes are working.

I noticed on a regular form I do not have to do this.

Any thoughts on this issue?
Nikolay
Telerik team
 answered on 06 Mar 2008
4 answers
149 views
Hi
I have enabled the overflow button on a tab strip and when selecting a tab from the dropdown list, the selected tabitem is moved to the start of the tabstrip control (position 0) rather than the tabstrip just being scrolled to the selected tab item and that being made visible.

Is there any way of preventing this from happening and just scrolling the selected tabitem into view?

Best regards

Marek
Boyko Markov
Telerik team
 answered on 06 Mar 2008
1 answer
85 views
Hi

Can I programatically switch off and on the direction arrow icons while dragging and dropping nodes. I am switching off their actions fine at DragEnding but it is confusing to the user that drag options such as the right arrow appear when in fact it does nothing. Can I also programatically switch the no-entry icon off and on as well?

These are just cosmetic as everything works well

Ian
Boyko Markov
Telerik team
 answered on 06 Mar 2008
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?