Telerik Forums
UI for WinForms Forum
1 answer
90 views
Hi,

I have the following code, It encrypts the text into my access database but when I reopen the application I get encrypted text on the scheduler (it doesnt decrypt). Is there anything I am missing?
 
var summarySchedulerMapping = appointmentMappingInfo.FindBySchedulerProperty("Summary");
summarySchedulerMapping.ConvertToScheduler = new ConvertCallback(ConvertSummaryToScheduler);
summarySchedulerMapping.ConvertToDataSource = new ConvertCallback(ConvertSummaryToDataSource);

private object ConvertSummaryToScheduler(object item)
{
     return Encryption.Decrypt((string)item);
}

private object ConvertSummaryToDataSource(object item)
{
     return (object)Encryption.Encrypt((string)item);
}


Cheers
Ivan Todorov
Telerik team
 answered on 20 Jun 2011
1 answer
172 views

HI,

I have  a need to display dynamic items on X axis i.e form one item to n number of items (may go to 100 or more)

problem is X-Axies label overlapping. i need do not overlap the label item

Need help to fit in my dynamic series and dynamic items on x-axis and the chart should look consistent.

Attached is the image for bad chart i am getting, there are more then 150 items .



Regards
Elumalai.K
Evgenia
Telerik team
 answered on 20 Jun 2011
1 answer
104 views
I'm binding to business objects for Appointments & Resources using EventMappingInfo and ResourceMappingInfo which is working ok, however I cannot see a way to add a Color property ResourceMappingInfo. I am grouping by resource in Timeline view. When the UI is displayed the resources all show up as a dark gray colour which is very hard to read. How can I set the colors of the resources?
RachelThornton
Top achievements
Rank 1
 answered on 20 Jun 2011
1 answer
107 views
Hello,

i am trying to change the background color a row based on specific criteria.  I have been able to successfully able to change the color using CellFormatting event, but the color is only seen when I hover the mouse over a specific cell.  Is there a way to have the color always show?

Scott
Scott
Top achievements
Rank 1
 answered on 17 Jun 2011
1 answer
117 views
Is there a way to make the RadEditor insert <br /> instead of <p> tags when the user presses the Enter key.
Iva Toteva
Telerik team
 answered on 16 Jun 2011
2 answers
102 views
Hi,
I have a problem in my application:
I use a RadRibbonBar and the quickaccesstoolbar; I insert the items in the quickaccesstoolbar menu and the text of the item.
The item inserted are displayed with text and image and are RadButtonElement
One of these items (called "News Update") the text field is updated when the application starts up with a call to a webservice (if available).
The text of the button when visible is correctly updated, but also the text in the dropdownmenu of the overflowbutton is updated, while my goal is that the text of the item in the dropdownmenu is always "News Update", while the text of the text of the corresponding RadButtonElement, when visible, is correctly updated.
I tried to populate the text of the items of the dropdownmenu of the overflowbutton with the name (and not the text) of the RadButtonElement but I was not successfull.
Is there a way to obtain the result? 
Jean-Marc Windholz
Top achievements
Rank 1
 answered on 16 Jun 2011
2 answers
120 views
Would be nice if RadLabel and RadTextBox / RadDropDownList etc. would support snap-on alignment of the text baseline in the visual studio 2010 designer in the same manner the standard Label and TextBox controls do.

Regards
Erwin
erwin
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Jun 2011
6 answers
353 views
Hi Telerik

I am trying to set the color of the tab on unselected document windows to "MistyRose" and the tab on the currently selected document window to "Snow" using the following code

    rDockModelPackage.ActiveWindowChanging+=new DockWindowCancelEventHandler(rDockModelPackage_ActiveWindowChanging);
    rDockModelPackage.ActiveWindowChanged += new DockWindowEventHandler(rDockModelPackage_ActiveWindowChanged);
}
private void rDockModelPackage_ActiveWindowChanged(object sender, DockWindowEventArgs e)
{
   SizeAndColorSelectedDocWindowTab(e.DockWindow.TabStrip.TabStripElement, Color.Snow, Color.MistyRose);
}
private void  rDockModelPackage_ActiveWindowChanging(object sender, DockWindowCancelEventArgs e)
{
    SizeAndColorUnSelectedDocWindowTab(e.OldWindow.TabStrip.TabStripElement, Color.Snow, Color.MistyRose);
}
And

private void SizeAndColorSelectedDocWindowTab(RadTabStripElement win, Color lightColour, Color darkColour)
{
        ((FillPrimitive)win.Children[0].Children[0].Children[0].Children[0].Children[0]).BackColor = lightColour;
        ((FillPrimitive)win.Children[0].Children[0].Children[0].Children[0].Children[0]).BackColor2 = lightColour;
        ((FillPrimitive)win.Children[0].Children[0].Children[0].Children[0].Children[0]).BackColor3 = lightColour;
        ((FillPrimitive)win.Children[0].Children[0].Children[0].Children[0].Children[0]).BackColor4 = lightColour;
}
private void SizeAndColorUnSelectedDocWindowTab(RadTabStripElement win, Color lightColour, Color darkColour)
{
        ((FillPrimitive)win.Children[0].Children[0].Children[0].Children[0].Children[0]).BackColor = darkColour;
        ((FillPrimitive)win.Children[0].Children[0].Children[0].Children[0].Children[0]).BackColor2 = darkColour;
        ((FillPrimitive)win.Children[0].Children[0].Children[0].Children[0].Children[0]).BackColor3 = darkColour;
        ((FillPrimitive)win.Children[0].Children[0].Children[0].Children[0].Children[0]).BackColor4 = darkColour;
}


The result is hit and miss with the color changes working sometimes and at others being a mixture of the 2. Any ideas as to why this might be happening?

Regards
Ian
Ian
Top achievements
Rank 1
 answered on 15 Jun 2011
2 answers
79 views
Hi Telerik team,

I want to use a RadMenu.I want to add Shortcutkeys to my child menu items(not the accelrator).And as in your documentation http://www.telerik.com/help/winforms/menus-menu-getting-started.html, you have mentioned to Drag a Shortcuts component from the toolbox to the form. but I couldnt find that component.How can I sort this out.am sing VS 2010  Ultimate

2) Also how can I bind the radmenu to a database and I want to load the menu according to the user credentials, i.e Admin has accessto full set of Menus and a user with minimum access.

Thanks in Advance

Renju
Martin Vasilev
Telerik team
 answered on 15 Jun 2011
1 answer
135 views
I just started a new winforms project and for some reason when I add any telerik control it does not appear on the form but on the bottom as no visual controls.  any reasons.
Stefan
Telerik team
 answered on 15 Jun 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)
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
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
Licensing
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?