Telerik Forums
UI for WinForms Forum
2 answers
128 views

I am trying to create a custom add page for appointments for telerik scheduler. I want my page to be displayed rather than the add appointment template built in the scheduler. I looked at the Advanced Insert Template but I don't think it allows redirecting to a custom page.

Richard Slade
Top achievements
Rank 2
 answered on 15 Nov 2010
2 answers
230 views
I am populating a RadGrid, and afterwards, I want to loop through the rows and change the backcolor based on the data in one of the columns.  I cannot make it work.  Any suggestions?  This is a VB.Net winforms application.

Thanks
Richard Slade
Top achievements
Rank 2
 answered on 15 Nov 2010
3 answers
114 views

Hi

For example in Windows explorer there is nice functionality for selecting items (rows):
SHIFT + HOME (select items from first to current), SHIFT + END (select items from current to last item).

How can I enable this functionality in RadGridView for rows?
By default those shortcuts select first and last cell in current row.

Regards

Richard Slade
Top achievements
Rank 2
 answered on 15 Nov 2010
3 answers
413 views
Hi all,
I have the problem that the text inside the combobox after selection is right align ?!
(see screenshot)
I find similiar posts here but not really a solution.
Is it possible to set the alignment programmatically ?

ASPX
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ComboBox.aspx.cs" Inherits="ComboBox" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="rad" %> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title></title
</head> 
<body> 
    <form id="form1" runat="server"
    <rad:RadScriptManager ID="uxRadScriptManager" runat="server"></rad:RadScriptManager>  
    <rad:RadComboBox ID="RcbFarAway" runat="server" ></rad:RadComboBox>     
    </form> 
</body> 
</html> 
CS
using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Web; 
using System.Web.UI; 
using System.Web.UI.WebControls; 
 
public partial class ComboBox : System.Web.UI.Page 
    protected void Page_Load(object sender, EventArgs e) 
    { 
        RcbFarAway.Items.Clear(); 
        RcbFarAway.ID = "RcbFarAway"
        RcbFarAway.Width = Unit.Pixel(100); 
        RcbFarAway.DropDownWidth = 220; 
        RcbFarAway.AutoPostBack = false
        RcbFarAway.MarkFirstMatch = true
 
        for (int i = 0; i < 5; i++) { 
            RcbFarAway.Items.Add(new Telerik.Web.UI.RadComboBoxItem(i.ToString() + " Far far far far far away ...", i.ToString())); 
        } 
    } 



Michael Fellmeth
Top achievements
Rank 1
 answered on 14 Nov 2010
3 answers
244 views
When I check my nodes, I get the events firing, but when I uncheck them nothing happens...and any additional click doesn't trigger an event....any idea why? :)

private void radTreeView1_NodeCheckedChanged(object sender, RadTreeViewEventArgs e) {
    foreach (RadTreeNode n in e.Node.Nodes){
        n.Checked = e.Node.Checked;
        this.ChangeCheck(n.Nodes, e.Node.Checked);
    }
 
    //Check to see if this entire node is unchecked, then uncheck the parent
    if (e.Node.Parent != null) {
        //If none are checked
        var checkCount = e.Node.Parent.Nodes.Count(x => x.Checked);
        if (checkCount == 0) {
            e.Node.Parent.Checked = false;
        }else if (checkCount == e.Node.Parent.Nodes.Count()){ //If all are checked
            e.Node.Parent.Checked = true;
        }
    }
 
}
 
private void ChangeCheck(RadTreeNodeCollection nodes, bool state){
    foreach (RadTreeNode n in nodes) {
        n.Checked = state;
        this.ChangeCheck(n.Nodes, state);
    }
}
Richard Slade
Top achievements
Rank 2
 answered on 14 Nov 2010
2 answers
188 views
Hello,
how i can implemented shortcut ctrl+d or ctrl+shift+d event ? I use KeyPress() but in e I have only one key. Finally i want to copy value from upper row, during edition new rows.
Thanks for help.
Emanuel Varga
Top achievements
Rank 1
 answered on 13 Nov 2010
8 answers
166 views
Repro: 
  1. Create a standard WinForms application
  2. Drag from the toolbox a RadPageView and add 2 RadPageViewPage.
  3. Drag from toolbox a RadDateTimePicker on the form and on the each page.
  4. Set, for each RadDateTimePicker, the Value to 11/11/2010 9:51 AM , the Format to Long and make sure that the CustomFormat is empty
  5. Change the RegionalSettings of the computer to en-US
  6. Run the application and browse the page that is not visible. Notice the RadDateTimePicker aspect on that page: the text is truncated and from Thursday, November 11, 2010 only day, November 11, 2010 is visible.

Do you know a workarround for this bug?

Later edit: I forgot to mention that i use Windows7 Ultimate 64 bit and the Telerik.WinControls.UI.dll version is  2010.2.10.806
Richard Slade
Top achievements
Rank 2
 answered on 13 Nov 2010
9 answers
248 views
Hi:

I have the following code for my gridview:

For i As Integer = 5 To 9
        DirectCast(GridViewGeneral.Columns(i), GridViewDataColumn).FormatString = "{0:C}"
Next

But the format of the columns doesn't change

Thanks.
Richard Slade
Top achievements
Rank 2
 answered on 13 Nov 2010
10 answers
162 views
Hi....

For me One Doubt...

In RadRibbonBarGroup ,how to change the text size and Font.....

i changed the Font ,but it is not changing.

For Ex ;

if we give text  as View to radribbonGroup.

i have to change font,Size of that.
is it possible?

i attached image.
Vidhya
Top achievements
Rank 1
 answered on 13 Nov 2010
1 answer
87 views
hi,

i am using 2010 Q2 Winforms controls , i have a maskededitbox with mask "HH:mm" that presenting the time.
i want when the user entered the first 2 digit , the control goes to the Minute section automatically.
regarding this i need a method to change the caret position when the Keypress count equals two.

i tried the Selectionstart property but it seems i cant achieve this with this property.

is there another way or method to do this ?
Richard Slade
Top achievements
Rank 2
 answered on 13 Nov 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
VirtualKeyboard
NavigationView
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?