Telerik Forums
UI for WinForms Forum
9 answers
147 views
Hello,

when i put a long text into a cell within a gridview, e.g. "aaaaaaaaaaaaaaaaaaaa", then the first part of the string has a different font size. The second part of the string appears smaller (less space between characters). How can I turn of this feature?
Is this a global setting? I think this could happen to other controls as well.

Thanks for your help
Fabian
Richard Slade
Top achievements
Rank 2
 answered on 16 Dec 2010
7 answers
179 views
hi,

i am using inheriting RadMaskedEditBox in a user control with Mask="D" for numeric only text boxes.
the strange behavior is that the textbox text becomes "0" when the control lost focus.
i traced it the problem arises from RadMaskComplexEditBehavior.UpdateUI() the change the RadMaskTextBox.ParentText to "0" and problem starts!

how can i solve this problem ?

thanks.
Richard Slade
Top achievements
Rank 2
 answered on 16 Dec 2010
13 answers
198 views
Hello all,

I have RadTreeView control with some information on my form. User can change nodes text manually. After user changed node text I need validate it. If validation failed I have cancel this changes. How can I do it?
Events like NodeValidate are missing. Could you suggest how to solve this problem?

Best regards,
Andrew Shyliuk
Andrew Shyliuk
Top achievements
Rank 1
 answered on 15 Dec 2010
1 answer
94 views
I'm trying to create my own theme, specifically for the Winforms GridView. I can't even get started. I've included the first 4 instructions from the help file. I can't even get past step 2, I can't find the Visual Style Builder on the Smart Tag. Any help would be great.

From the help file.

You can customize your theme based on the built-in themes. For example, to change the color of header area, follow these steps:

  1. Select a RadGridView control.
  2. Start Visual Style Builder from the RadGridView Smart Tag.
  3. Set the Theme Name to "My Theme".
  4. In the Control Structure tab, locate and click GridHeaderCellElement.
Nikolay
Telerik team
 answered on 15 Dec 2010
2 answers
168 views
I am trying to set confirmDelete to ask if they want to delete a specific vendor.  \

<asp:Button ID="deleteButton" style="text-decoration:none" CommandName="Delete" runat="server" Text="Delete"
                                    CommandArgument='<%# Eval("VendorCode") + "," + Eval("Vendor") %>' OnClick="vendor_Delete"
                                    OnClientClick='<%#Eval("Vendor", "return confirmDelete(\"{0}\")")%>'
                                 </asp:Button>

    <script type="text/javascript">
        function confirmDelete(vendor) {
            alert("Are you sure that you want to delete " + vendor + "?";
        }
    </script>

I am getting a The server tag is not well formed.  Can you help me with this?

Thanks.
Amanda
Top achievements
Rank 1
 answered on 15 Dec 2010
7 answers
109 views
hi team,

when tabbed document,right now i cannot do the float mode option.

please help me to get float option also.

Like toolwindow i need to giva the same drag option to tabbed document.
Julian Benkov
Telerik team
 answered on 15 Dec 2010
5 answers
1.6K+ views
I am new to GridView control, and I have noticed something strange to me. When I have set Font size of GridView control,  Row height and Header height did not changed and in one row I can see only part of data in Row. I thought that it should change Row height automaticaly to Font size ?

Alexander
Telerik team
 answered on 15 Dec 2010
5 answers
158 views
Hi,

I need to make the selection of the RadSplitButton when RadDropDownButtonElement is selected. For make this, I'm changing Style Parameter of the different buttons and when another button is Selected I have to restore Original Values.

For make this, I've made one event:

public void SelectedChanged(object sender,EventArgs e){


            RadSplitButtonElement SendingSplitButton = sender as RadSplitButtonElement;
            RadSplitButtonElement[] ButtonArray = { orbit, rotate, horizontalMove, verticalMove, zoom };

 for (int i = 0; i < 5; i++)
            {
                ButtonArray[i].ActionButton.ButtonFillElement.BackColor = System.Drawing.Color.transparent;  <- Setting the original Values
                ButtonArray[i].ActionButton.ButtonFillElement.BackColor2 = System.Drawing.Color.transparent;
                ButtonArray[i].ActionButton.ButtonFillElement.BackColor3 = System.Drawing.Color.transparent;
                ButtonArray[i].ActionButton.ButtonFillElement.BackColor4 = System.Drawing.Color.transparent;              

            }
           /*Setting Selected Values...*/
            SendingSplitButton.ActionButton.ButtonFillElement.BackColor = System.Drawing.Color.FromArgb(255,255,115,0);
            SendingSplitButton.ActionButton.ButtonFillElement.BackColor2 = System.Drawing.Color.FromArgb(255,255, 115, 0);
            SendingSplitButton.ActionButton.ButtonFillElement.BackColor3 = System.Drawing.Color.FromArgb(255,255, 115, 0);
            SendingSplitButton.ActionButton.ButtonFillElement.BackColor4 = System.Drawing.Color.FromArgb(255,255, 115, 0);
            SendingSplitButton.ActionButton.ButtonFillElement.GradientPercentage = 0.62f;
            SendingSplitButton.ActionButton.ButtonFillElement.GradientPercentage = 0.71f;
}

I have already tried changing the State of the Objects in this mode:

SendingSplitButton.OnMouseOver = true or with SendingSplitButton.OnMouseDown= true but it doesn't work. I don't understand very well if it is possible or not managing only a single state of the object through the code and how the Style Managing - by code - and Xml is merged.

Thank you very Much,

Jean-Marc Windholz
Top achievements
Rank 1
 answered on 15 Dec 2010
1 answer
126 views
Hi,

I have a RadForm, which contains a number of controls, including a number of RadTextBoxes with enter and leave events. When the enter event is fired the background of the selected RadTextBox is coloured yellow, and when the leave event is fired the background returns to white, to highlight which RadTextBox is currently selected.

This is working fine; however, when the user double clicks the title bar of the RadForm the RadTextBox leave event is always being fired. This doesn't get fired when the RadForm is maximised by using the maximise box, or by clicking on the icon in the title bar, and clicking maximise.

Why does double clicking the title bar fire the RadTextBox leave event, when maximising the RadForm in any other way doesn't? Ideally I would like to continue to allow the user to maximise the form by double clicking the title bar, but, if this isn't possible, then I guess I will have to disable this. Is this possible?

Thanks in advance,
Matt.
Richard Slade
Top achievements
Rank 2
 answered on 15 Dec 2010
18 answers
323 views
Hi,

I downloaded and tried RadControl for Winforms Q1 2007. I implemented some of the components such as Button.

Such strange thing, when the mouse point to the button, the color will change from blue to yellow, but when the mouse is point other button, the previous button color will not change to the initial state, still yellow.

It's the same with other components; treeview. When you try to click on the one of the nodes, and then click other nodes, the previous nodes color will no change to initial state but stay as isPressed color states.

I am using Windows Server 2003 with VS2005 and .Net Framework 2.0. I tried in others PC with Windows Vista, this case is not happen. Does Radcontrols involve directX?

Please Help...

Thank you so much for the help
Stefan
Telerik team
 answered on 15 Dec 2010
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
NavigationView
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?