Telerik Forums
UI for WinForms Forum
1 answer
228 views
I'm going through my C# Windows Form application and making it so upon launching it is in a maximized state.  The RadStatusStrip control scales properly, but upon hitting the maximize button the RadPageView control does not scale like all of the other controls, it simply stays the same size I originally configured the form to be.

I am using the Q1 2011 SP1 Release btw.

I attached a screenshot of what I am getting when maximizing the form.
Ivan Petrov
Telerik team
 answered on 15 Jun 2011
12 answers
668 views
I'd like to simulate an autocomplete in my multicolumncomboboxes. I saw on another thread that I could use the textchanged event. If I do that, what is the best way to look up the key column in my data source (which is the text that would be typed in) as starting with whatever the user types in the text box and then, I assume, setting the current row of the data source to the row that matches?
Stefan
Telerik team
 answered on 15 Jun 2011
1 answer
312 views
Hi,
          I am using radpageview with outlook mode is there any method by default to focus the current selected page .

In winows i have used  a panel in that i have a method by default like SelectPanel() so can anyone explain regarding this .


Thanks
Hema
Stefan
Telerik team
 answered on 15 Jun 2011
1 answer
200 views
Hi,

I have a CommandBarDropDownButton with several menuitems, several of which I am dynamically changing the text the the CBDropDownButton is clicked.  Several of our users are telling us that the text does not change until the second time they click on the CBDropDownButton.  I cannot duplicate this on my machine but I have seen it on others.  I am handling the click event of the CBDropDownButton and setting the menuitem text there. 

is there a better way to do this to ensure the user will see the dynamic menu item text immediately?
Ivan Todorov
Telerik team
 answered on 15 Jun 2011
4 answers
201 views
Hello,

i have some properties the user should be able to edit in the configuration of my project.
i would like to create a form with a radGridView similar to the property window of the visualstudio where we edit the properties of a control. So the radGridView should contain 2 columns. The first column contains the names of the properties and the second column contains the values for the properties. The values of the properties could contain different values like text, numeric, enumerations, ..

What would be the best way to create the second column?

Kind Regards,

Ramius
Svett
Telerik team
 answered on 15 Jun 2011
1 answer
104 views
I was looking at the GridView/ Custom grouping demo in RadControls demo for WinForms. While grouping by Country properly displays a group color, this is not he case if you try grouping by another column. In this case, some group headers will be colored - not necessarily with correct color for country - while others will be not. Scrolling up and down will cause colorings on group headers to be moved.
Jack
Telerik team
 answered on 15 Jun 2011
2 answers
112 views
Hello, 
I've got something strange on my grid, and I don't know where it comes from.  Every row in my grid is preceded by something that looks like a grouping "+".  If I expand the +, I have an empty line that looks like a separator.  Please have a look at my screenshot, since it's quite difficult to explain.  I don't know where that comes from, and I want that to go away!

Anyone knows what is wrong?

Thank you!
SupportTI
Top achievements
Rank 1
 answered on 13 Jun 2011
1 answer
161 views
Hi,

I have RadMarkupDialog hosted in a form (Editor.Parent = form). My scenario is: write something into editor (text, not markup), add a color or size for that text and click Apply.

When I use it in VS without SP1, everything works fine. But when i try the same scenario in VS with SP1, size and color is returned to default values.

When I looked deeper into code, I've found out, that InnerHTML value of Editor.DesignViewDomDocument.body is without size and color in FONT tag

There are different versions of mshtml.dll (probably because of that SP) on those two computers, could that be the cause of that problem?

Primitive app I use looks like this

public Form1()
{
    InitializeComponent();
 
 
    radMarkupDialog1.Editor.Parent = panel1;
 
    radMarkupDialog1.Editor.EditorClosed +=new EventHandler(Editor_EditorClosed);
}
 
 
void Editor_EditorClosed(object sender, EventArgs e)
{
    // Track down ((radMarkupDialog1.Editor.DesignViewDomDocument).body).innerHTML - In VS without SP, there are font styles for color, size etc., but in VS with SP, they're gone
    ;
}



 Thank you
Martin Vasilev
Telerik team
 answered on 13 Jun 2011
1 answer
156 views
I have used a SplitButton with two menu items on my form.  The menuitems are two - RadMenuItem1 has a text property "Ver 1" and RadMenuItem2 has a text propery "Ver 2" 
(The togglebutton is not an option as I will have some other forms which may have more than two menu items).
The problem is when I select the option Ver 2 the code for "Ver 1" is executing and vice versa.
Placing a messagebox shows the problem.

Please help.

I use the following code:
   Private Sub RadMenuItem1_Click(sender As Object, e As System.EventArgs) Handles RadMenuItem1.Click
        'SetDefaultItem(RadMenuItem1)
        Me.RadSplitButton1.Text = "Ver 1"
    End Sub


    Private Sub RadMenuItem2_Click(sender As Object, e As System.EventArgs) Handles RadMenuItem2.Click
        'SetDefaultItem(RadMenuItem2)
        Me.RadSplitButton1.Text = "Ver 2"
    End Sub


    Private Sub RadSplitButton1_TextChanged(sender As Object, e As System.EventArgs) Handles RadSplitButton1.TextChanged
        Dim part As String = Me.RadSplitButton1.Text

MsgBox(part)  'you will see the error here

        Select Case part       'Me.RadSplitButton1.Text


            Case "Part 1"
                Me.BOOKS2BindingSource.Filter = "VERSION = 'V1'"
                Me.RadPageViewPage1.Item.Visibility = ElementVisibility.Visible
                Me.RadPageView1.SelectedPage = Me.RadPageViewPage1


            Case "Part 2"
                Me.BOOKS2BindingSource.Filter = "VERSION = 'V2'"
                Me.RadPageViewPage1.Item.Visibility = ElementVisibility.Hidden
                Me.RadPageView1.SelectedPage = Me.RadPageViewPage2


        End Select






    End Sub
Stefan
Telerik team
 answered on 13 Jun 2011
6 answers
368 views
I used the following code without success. The forecolor is supposed to change to red but it doesn't. How would I make the forecolor change to red in code below. I am using latest version of controls.
Thanks
Sunil

If e.Node.Text = GroupNameRadTextBox.Text.Trim() Then
            e.NodeElement.BackColor = Color.LightYellow
            e.NodeElement.GradientStyle = Telerik.WinControls.GradientStyles.Solid
            e.NodeElement.ForeColor = Color.Red
            e.NodeElement.DrawFill = True
        Else
            e.NodeElement.ResetValue(LightVisualElement.BackColorProperty, Telerik.WinControls.ValueResetFlags.Local)
            e.NodeElement.ResetValue(LightVisualElement.DrawFillProperty, Telerik.WinControls.ValueResetFlags.Local)
            e.NodeElement.ResetValue(LightVisualElement.GradientStyleProperty, Telerik.WinControls.ValueResetFlags.Local)
            e.NodeElement.ResetValue(LightVisualElement.ForeColorProperty, Telerik.WinControls.ValueResetFlags.Local)
        End If
Svett
Telerik team
 answered on 13 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
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?