Telerik Forums
UI for WinForms Forum
1 answer
87 views
Hi.
I am trying to update ar even just view data from a gridview in an mdichild in a new form(also mdichild) opened by a doubleclickevent in the gridview. This new second form should be in detailed view. There is a little piece of sample code to do this in the code library, but it is a much older version. Is this still possible?

It is not so much editing I need to do, as it is to see the information placed nicely on a form, where I can also selct previous or next etc.

Hope anyone has a clue to what I am seeking.

Sune
Peter
Telerik team
 answered on 31 Jul 2008
3 answers
161 views
Hi.

After I update to Q2, I can't use my themes. I'm not talking about the telerik themes, I want to use the themes I created with VisualStyleBuilder but They don't show anywhere. I tried to re-add them to the ThemeManager but no luck.

Can you help me?

Thanks
Peter
Telerik team
 answered on 31 Jul 2008
1 answer
167 views
I just downloaded and installed Q2 2008.

The themes all changed. Look terrible!

How do I get the previous (ControlDefault) theme(s) back?

Also, why does the latest version date still say "(5/16/2007)" on the "Search Support Resources" page, "Select a product:".
(http://www.telerik.com/support/home.aspx)

Finn
Martin Vasilev
Telerik team
 answered on 31 Jul 2008
1 answer
180 views
Hi,

why does the DragDrop event of RadGridView for Winforms (2008 Q2) swallow exceptions?

There are two RadGridViews on my form (radGridView1 and radGridView2) and these are their event handlers:

private

void radGridView2_MouseDown(object sender, MouseEventArgs e)
{
    radGridView2.DoDragDrop(
"some data", DragDropEffects.Copy);
}

private
void radGridView1_DragOver(object sender, DragEventArgs e)
{
    e.Effect =
DragDropEffects.Copy;
}

private
void radGridView1_DragDrop(object sender, DragEventArgs e)
{
    throw new Exception();
}

Try doing a drag&drop from radGridView2 to radGridView1! The form should report an unhandled exception. (Nothing seems to be catching the explicitly thrown exception. I don't handle it anywhere.) Instead the form continues waiting for events.

It was very hard to detect which part of our code is responsible for catching and not letting exceptions to be handled in an upper level. (The code is a bit more complex than the one I wrote here.)

That also means that whenever something unexpected happens that I don't handle in my code, the form will continue executing because it won't be able to handle the exception at the form's topmost level.

I'm looking forward to receiving an explanation for this weird behaviour.

Regards,
Tamás
Angel
Telerik team
 answered on 31 Jul 2008
1 answer
106 views
Hello,

When will the links be fixed to the "HelpDesk Sample Application for WinForms". Currently, this sample project is advertised but there are no links to download it.


Thanks

eric
Nikolay
Telerik team
 answered on 31 Jul 2008
1 answer
237 views
I used to use the Infragistics winforms at my prior company. The control I liked the best was their MDI Tabbed Manager. This let you open multiple forms at once and each appeard as a tab within a main form. We used it as a base layout for all our applications. Maybe Telerik has a way to do this with their out of the box controls?

Thanks,

eric
Nikolay
Telerik team
 answered on 31 Jul 2008
5 answers
350 views
Anyone knows if it's possible to create a custom theme for the component RadForm using the Visual Style Builder?

Tks
Nikolay
Telerik team
 answered on 31 Jul 2008
0 answers
125 views
Hi,

I have XP, VS 2008, .Net 3.5 and I had RadControls for winforms Q1 Sp1 and now installed Q2.

  After opening the Property Builder I found that the General Settings panel is strange. Look at the attached pictures. It has both tab "thing" at the bottom but it is like a normal panel like the other on top, with the little triangle for the hiding and detaching and stuff, but it does not work. You can drag it around from one side to another, and you can detach it with double click on the panels bar.
So you can actually detach all for panels (this is not a bug, still I was told, that you cannot detach General Settings panel), but they are empty (as I reported at a nother bug report). At this point you can close all four panels. Something like a "Hide" function. But after that there is no way to get back the Genereal Settings panel, only the other three (3). I know if you re-install it or delete some config files or stuff you can get is back to a default stage, but that is not normal. I believe this is a bug.

Thank you.


http://img227.imageshack.us/img227/1764/telerikgensetbug1ju2.jpg
http://img501.imageshack.us/img501/5452/telerikgensetbug2jo5.jpg
http://img501.imageshack.us/img501/3961/telerikgensetbug3ut6.jpg
Spoook
Top achievements
Rank 2
 asked on 31 Jul 2008
3 answers
271 views
I can theme PanelBar ok.

.... but how ever hard I try I can't theme a label or textbox.

Using individual "Edit UI Elements' on each control works ok but not when I edit a theme and apply that theme to these controls.

Regards,
Steve.
Nikolay
Telerik team
 answered on 31 Jul 2008
6 answers
229 views
Hi.

I am creating the following control which has a label, a textbox and another label which can be hidden or shown.

Label1ForTitleBold Label2ForValidationRed
_________________________________
Multiline |
textbox |
________________________________|
I've started with this but got stuck on setting the height of the textbox.
    public class LabelMultilineTextBox : RadTextBox
    {
        private TextPrimitive title = new TextPrimitive();
        private TextPrimitive validation = new TextPrimitive();

        public LabelMultilineTextBox()
        {
            this.Size = new Size(425, 60);
            this.MaxLength = 1024;
            this.Multiline = true;
            this.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
            this.title.Text = "Title";
            this.validation.Text = "* Validation";
        }

        public string TitleText
        {
            get { return this.title.Text; }
            set
            {
                this.title.Text = value.Trim();
                this.Invalidate();
            }
        }

        public string ValidationText
        {
            get { return this.validation.Text; }
            set
            {
                string text = value.Trim();

                if (text.StartsWith("*"))
                {
                    this.validation.Text = text;
                }
                else
                {
                    this.validation.Text = "* " + text;
                }

                this.Invalidate();
            }
        }

        public bool ValidationVisible
        {
            get { return this.validation.Visibility == ElementVisibility.Visible; }
            set
            {
                if (value)
                {
                    this.validation.Visibility = ElementVisibility.Visible;
                }
                else
                {
                    this.validation.Visibility = ElementVisibility.Collapsed;
                }
            }
        }

        protected override void CreateChildItems(RadElement parent)
        {
            base.CreateChildItems(parent);

            RadTextBoxElement element = this.RootElement.Children[0] as RadTextBoxElement;

            element.Size = new Size(425, 46);

            this.RootElement.Children.Clear();

            BoxLayout layoutTexts = new BoxLayout();
            layoutTexts.Orientation = Orientation.Horizontal;

            layoutTexts.Children.Add(title);
            layoutTexts.Children.Add(validation);

            BoxLayout layout = new BoxLayout();
            layout.Orientation = Orientation.Vertical;

            layout.Children.Add(layoutTexts);
            layout.Children.Add(element);

            this.RootElement.Children.Add(layout);
        }
    }

1. Has the coming SP2 Telerik scrollbars? looks kind of weird with standard scrollbars
2. How do I set the default height of the textbox? Size does not work
3. The createchildelements adds the labels UNDER the textbox (to see it set this.Multiline = false)
4. How do I create a theme (in XML please) which can set the styles of the title label (bold) and validation label (red) differently using Themes?
5. How can I bind the size of the TextBox (width) to the size of this control?


Thanks!
- jorge





Boyko Markov
Telerik team
 answered on 31 Jul 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)
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?