Telerik Forums
UI for WinForms Forum
2 answers
169 views
HI telerik members:

How can i make radscheduler controller change  backgroundcolor  at several specific time if i make holiday on radschedule ? 
( for example   holiday or weekend ?) 
秋雲
Top achievements
Rank 1
 answered on 26 Feb 2014
6 answers
365 views
I was rather hoping that I could attach an event handler to the node editor Validating event  i.e.:

private void radTreeView1_EditorInitialized(object sender, TreeNodeEditorInitializedEventArgs e)
{
    e.Editor.Validating += new System.ComponentModel.CancelEventHandler(Editor_Validating);
}

However the Editor_Validating event handler doesn't appear to fire.


What I'm trying to achieve is to not allow the user to create a new node, or change the text of an existing node to the same value as any other node at the same level; and thus ensuring some level of uniqueness.
mtaber
Top achievements
Rank 1
 answered on 25 Feb 2014
3 answers
695 views
I have a radpageview control with about six tabs and on run time it starts with the first page open. So if a person wants to enter data into the database he will fill in the information on the first page if he presses the tab button the cursor will be moved to the next predesignated control.but when it comes the time to go to a textbox on another page of the radpageview it does not do this. Ive tried the code below but it has not yielded reults

is there anyone with any suggestions 
RadPageViewPage2.Focus()
 RadPageViewPage2.Select
Stefan
Telerik team
 answered on 25 Feb 2014
3 answers
114 views
Hi

I am using the GanttView in edit mode to allow users to move start/end dates using the graphical view by dragging the start/end dates with the mouse.

I would like to prevent users from selecting certain dates and weekends ie to prevent start/end dates being set to a saturday, sunday or any other dates that I might not require them to use (i.e bank holidays / non-work days).

Is there a way to achieve this?

Thanks
Ian
Dimitar
Telerik team
 answered on 25 Feb 2014
2 answers
165 views
Is there a way to determine whether a node is expanding or collapsing when handling the NodeExpandedChanging event?
Paul
Top achievements
Rank 1
 answered on 24 Feb 2014
1 answer
150 views
Hi everyone,

I keep getting the error below when just trying to show a gridview binded to an sqldatasource control. The error I get is:

Unhandled exception at line 2705, column 12 in http://localhost:29404/ScriptResource.axd?d=QBdwHdBY_qXgcxeJcZKP4bbNykcls-u1djpTwhi_T-NYrl0wFVNeAWL5G_hRguN2jo0ii04N-xacUBHmB-_Hqy55fDuCeVddcbd11MOpPV44e-25e6iJYMJNwr1O5jP9QArZQHq88e7FHylhB7wvyEoQK30oViY9lVm0JnyNWv8avipd0&t=fffffffff98cfb72

0x800a139e - JavaScript runtime error: Sys.ArgumentUndefinedException: Value cannot be undefined.

Parameter name: type

I am doing this with Visual Studio 2012 and Internet Explorer 10.  But when I run it with Firefox there are no problems. And I am using Telerik 2013.2.717.35 for the Telerik.Web.UI.

Any suggestions?





Dimitar
Telerik team
 answered on 24 Feb 2014
17 answers
1.0K+ views
Hello,

I have a form with 3 "drop down" selectors that are used to filter a data grid. They have quite a few records in them. The first one has 1800, second has 4100 and the third has 12800.

I have tried quite a few drop down objects. The default .net combobox control, then the raddropdownlist. The data returned from the query is fast but the binding to the control is slow for the .net object. The raddropdownlist is extremely fast and I was going to use that except for two things. First, I can't seem to get the control to "text align=left" so when a value that's wider then the control is chosen your cursor goes off the object. Second it doesn't have multiple columns. After I read the "Auto Complete" doesn't work for the multicolumncombobox, I wasn't going to use it.

But then I went through the demo and the filtering functionality is good enough to simulate auto complete even if the user still has to choose a selection, they sacrifice the auto population for the multiple column view.

I've tried to use the multicolumncombobox for the 1800 record control and it is slow to respond. Even after it binds the data, changing selections or filters has some hiccups. The box is bound to an .xsd with three columns in it and only refreshes when the form loads. Is there something I can toggle to improve performance of the suggestion popup box?

Alternately, if there is a way to set the "text align=left" on the raddropdownlist control, the speed of that object is unmatched and I would rather use that.

Thank you
George
Telerik team
 answered on 24 Feb 2014
5 answers
1.1K+ views
Hallo Telerik Team,

I would like to know how I add a list of images to a ListView as Icon View. The path images are in a List<string> and they are into:
C://Documents/Pic/.
How can I do that? The images paths are saved in a dataTable in a database.

Thank you very much.

Best regards,

Alfonsina Mello


Stefan
Telerik team
 answered on 24 Feb 2014
3 answers
166 views
Hello!

In my desktop application I´m trying to implement telerik winform controls.

when I have used radbutton I´ve got a problem. I´m not able to click on the buttons.

This is the code I´ve used fot a button which is not clickable in my case:

//this.btnNew.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); 
this.btnNew.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(39)))), ((int)(((byte)(119)))), ((int)(((byte)(169))))); 
this.btnNew.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnNuevo.BackgroundImage"))); 
//this.btnNew.FlatAppearance.BorderColor = System.Drawing.Color.White; 
//this.btnNew.FlatStyle = System.Windows.Forms.FlatStyle.Popup; 
      this.btnNew.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel); 
this.btnNew.ForeColor = System.Drawing.Color.White; 
this.btnNew.ImageAlignment = System.Drawing.ContentAlignment.MiddleLeft; 
this.btnNew.ImeMode = System.Windows.Forms.ImeMode.NoControl; 
this.btnNew.Location = new System.Drawing.Point(512, 417); 
this.btnNew.Margin = new System.Windows.Forms.Padding(0); 
this.btnNew.Name = "btnNuevo"
this.btnNew.Size = new System.Drawing.Size(90, 35); 
this.btnNew.TabIndex = 42
this.btnNew.Text = "Nuevo"
this.btnNew.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText; 
//this.btnNew.UseVisualStyleBackColor = false

The commented lines are because radbuttons don´t recognize those properties. They were used before with windows form controls.

do you know why button can´t be clickable?

Than you in advance.
Stefan
Telerik team
 answered on 24 Feb 2014
2 answers
879 views
I have a radGridView on a form which has cell and row validation implemented. No problem with that, works well.

The problem arises when I leave a row incomplete and then click on the Save button elsewhere on the form. The RowValidating code snippet below does not work, because once the focus moves away from the GridView to the Save button, the 'if (row != null)' check always returns false, and the RowValidating code is never executed.

private void radGridView1_RowValidating(object sender, RowValidatingEventArgs e)
    {
        var row = e.Row as GridViewDataRowInfo;
 
        if (row != null)
        {
            var value = row.Cells["cboUnit"].Value.ToString();
            if (string.IsNullOrEmpty(value))
            {
                e.Cancel = true;
                row.ErrorText = "Unit Number is a required field";
            }
 
            else
            {
                row.ErrorText = string.Empty;
            }
     }
}


How can I retain focus in the grid to ensure that the entire grid validates before allowing the user to leave the grid?
Peter
Top achievements
Rank 1
 answered on 21 Feb 2014
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?