Telerik Forums
UI for WinForms Forum
2 answers
191 views
On a standard bar chart the item's value sits on top of the bar (see pic).  That's fine if you have a lot of space.  Does anyone know how or if it's possible to have the item value popup when the mouse is moved over the item.  Same can be said for the spleen mode and some of the over chart types in fact,
Nick Jones
Top achievements
Rank 1
 answered on 28 Mar 2011
3 answers
212 views
The problem boils down to the RadRichTextBox crashing as soon as you try to use an image loaded from an invalid URL. The sample code below should reproduce it. This is quite serious because it takes down the entire application.

MainWindow.xaml:

<Window x:Class="TelerikWPFEditorTest.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:Controls="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Documents"
Title="MainWindow" Height="350" Width="525" Loaded="Window_Loaded">
    <Grid>
        <Controls:RadRichTextBox Grid.Row="1" x:Name="editor" IsSpellCheckingEnabled="False" BorderThickness="0" />
    </Grid>
</Window>

MainWindow.xaml.cs:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Telerik.Windows.Documents.FormatProviders.Html;


namespace TelerikWPFEditorTest
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
        
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            HtmlFormatProvider provider = new HtmlFormatProvider();
            var doc = provider.Import("<html><body><h1>test</h1><p><img src=\"http://foo.bar.com/332423432.jpg\"</p></body></html");
            editor.Document = doc;
        }
    }
}


Mike
Telerik team
 answered on 28 Mar 2011
4 answers
362 views
Good morning.
    I have a problem with a radCalendar control with its MultipleSelect property set to false. Today is March 24th. If I programmatically select a new date (tomorrow), for example by clicking a button:

radCalendar1.SelectedDate = New Date(2011, 3, 25)

when I display the calendar, both days are now selected (this is my problem). If I click on another day, the behavior is ok: the control correctly selects the day and deselects all the others.

Thank you
Gianfranco Pesenato
Richard Slade
Top achievements
Rank 2
 answered on 28 Mar 2011
2 answers
210 views
Hello,

The floating windows are AlwaysOnTop of the parent window. Is there a way to have the parent window promoted to the same level as the floating windows, so it's not always overlapped by them.

Thanks,

Michelle
Michelle
Top achievements
Rank 1
 answered on 28 Mar 2011
2 answers
225 views
Hi,

I have a pageview with several tabs that have databound controls (textboxes).  When the user closes the form, I am validating these textbox values.  The problem is if a tab is not selected the textboxes are showing an empty text value (not the databound value) in code (validation fails).  As soon as I select the tab on the form the textboxes are populated and the validation succeeds.  Is there a way to "force" the textboxes in unselected tabs to populate their underlying values?

Thanks!
David A.
Top achievements
Rank 1
 answered on 27 Mar 2011
4 answers
243 views
Hi
   I need alternative for the following Properties available in Januses Grid Control, I am converting my application from Januses to Telerik. 

Grd.AlternatingColors = True
Grd.BackColor = Color.FromArgb(211,228,249)
Grd.AlternatingRowFormatStyle.BackColor = Color.FromArgb(211,228,249)
Grd.ControlStyle.ControlColor = Color.FromArgb(103,147,223)
Grd.ControlStyle.ScrollBarColor = Color.FromArgb(232,238,250)
Grd.HeaderFormatStyle.BackColor = Color.FromArgb(103,147,223)
Grd.HeaderFormatStyle.BackColorGradient = Color.WhiteSmoke
Grd.SelectedFormatStyle.BackColor = SystemColors.Highlight
Grd.TableHeaderFormatStyle.BackColor = Color.WhiteSmoke
Grd.RowFormatStyle.BackColor = Color.FromArgb(232,238,250)
Grd.RowFormatStyle.ForeColor = Color.FromArgb(253,255,237)
Grd.FocusCellFormatStyle.BackColor = Color.FromArgb(253,255,237)
Grd.GridLines = GridLines.Vertical
Grd.GridLineStyle = GridLineStyle.Solid
Grd.VisualStyle = VisualStyle.Office2003
Grd.GroupRowFormatStyle.BackColor = color.fromArgb(211,228,249)
Grd.GroupRowFormatStyle.BackColorGradient = Color.WhiteSmoke

This seems very difficult to get alternative for all the above properties. I hope Telerik Support knows and can help me out quickly. I am sure some of the above properties are not available as built-in, but i hope an alternative from telerik team would be confered.
Emanuel Varga
Top achievements
Rank 1
 answered on 26 Mar 2011
2 answers
152 views
Hello

After upgrading to the last release I have a problem with quotes (') and filters.

Example:
I Click on a filter button of a column, and I choose the item :  L'Abbondanza
Then I apply the filter, but the result row is not shown

The grid applyes this wrong filter clause :   RAGSOC = 'L''''Abbondanza' and not  RAGSOC = 'L''Abbondanza'

No problem with previous version....

Thanks in advance
Simone
Simone
Top achievements
Rank 1
 answered on 25 Mar 2011
1 answer
575 views
hi,
I have two ToolWindow, that docked to RadDock that her MainDocumentContainerVisble property is false,
and i try to changed size of ToolWindows.
and add the rad dock to winform, the toolwindows shown in same size.

this is the code:

RadDock raddock = new RadDock();
raddock.Dock = DockStyle.Fill;
RadDock.MainDocumentContainerVisble = false;

ToolWindow window1 = new ToolWindow("Window1")

DockTabStrip strip = (DockTabStrip)window1.TabStrip;
strip.SizeInfo.AbsoluteSize = new Size(50,this.Size.Height);

ToolWindow window2 = new ToolWindow("Window2")

DockTabStrip strip2 = (DockTabStrip)window2.TabStrip;
strip2.SizeInfo.AbsoluteSize = new Size(550,this.Size.Height);

this.Controls.Add(raddock);
Alexander
Telerik team
 answered on 25 Mar 2011
15 answers
434 views
Hi 

I recently switched from VB.NET to C# and I can not see UniqueName and  FieldAlias properties in GridView Q1 2011, is this a bad install or are they missing in C#? If they are missing, how can I change my code to get values I used to get from UniqueName?

Regards.
Richard Slade
Top achievements
Rank 2
 answered on 25 Mar 2011
4 answers
500 views
Hi,

I've created a GridView control in my application and I want it to be connected to my SQL database (i mean to sync between the two)
That way the GUI application will be the interface of the DB, so the user won't be needed to open the DB with SQL Server Management.

My DB attached in image "1.jpg", and my application in image "2.jpg".
What is the easy way to connect between the two?
I want to do that when I change (insert/update/delete) any row in the gridview, and click "Save" - DB will be updated.
and when I open the application it will select from it.

What is the easiest way to sync it in RadGridView?

Thanks!
Emanuel Varga
Top achievements
Rank 1
 answered on 25 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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?