Telerik Forums
UI for WinForms Forum
1 answer
110 views
Hi,
       In my WPF project i want to show 5 images while we mouse over the navigation button at the time of clicking the last image next set of 5 images needs to come please help me out in this issue.

Regards,
Rajini.
Nikolay
Telerik team
 answered on 14 Oct 2011
1 answer
164 views
Hi,

Is there an option in RadTextBox of autocomplete suggestion for each word separated by a space?

Scenario is, i am talking First, Middle and Last names in a single RadTextBox and i want suggestion for each part of the name separately from a collection as on start typing the collection will suggest first name then on pressing space bar and starting the middle name same collection will appear with suggestion of middle name and so on.

Thanks in anticipation,

Shahzad
Nikolay
Telerik team
 answered on 14 Oct 2011
10 answers
321 views
hi,

today i upgrade my dll's to q2 2011, i have myOwnTextbox that inherited from RadMaskedEditBox , i have some problems with it masktypes.
i have this code :
                if (mType == rTextBoxType.Text)
                {
                    MaskType = MaskType.Standard;
                    Mask = "";
                }
                if (mType == rTextBoxType.Numeric)
                {
                    MaskType = MaskType.Numeric;
                    Mask = "D";
                    RightToLeft = RightToLeft.No;
                }
                if (mType == rTextBoxType.Float)
                {
                    MaskType = MaskType.Numeric;
                    Mask = "F2";
                    RightToLeft = RightToLeft.No;
                }
                if (mType == rTextBoxType.Money)
                {
                    MaskType = MaskType.Numeric;
                    Mask = "c0";
                    RightToLeft = RightToLeft.No;
                }
                if(mType == rTextBoxType.Date)
                {
                    MaskType = MaskType.DateTime;
                    Mask = "d";
                    RightToLeft = RightToLeft.No;
                }
                if(mType == rTextBoxType.Time)
                {
                    MaskType = MaskType.DateTime;
                    Mask = "HH:mm";
                    RightToLeft = RightToLeft.No;
                }

ok, here is its problems:
1- in first case (mType == rTextBoxType.Text) i want to make maskeditbox to a simple textbox, if i put it in standard maskmode it will fill with placeholder character (which was not in previous versions). if i change it to None maskmode, it have problem with assigning text to it's TEXT property. when i assign a text (read from dB) to it's Text property nothing happened !!

2- in secod case (mType == rTextBoxType.Numeric) , the "D" mask does not work any longer for numberic-only text box, i should change it to "n" or "g" , which is strange!

3- Big big problem is in (mType == rTextBoxType.Money) , because i use "Persian (Iran)" cultureinfo in controls , when i put it in this maskmode , nothing happened. i cannot write anything in the textboxt. i think the problem is with cultureinfo.

4- last and new problem! is when something was wrong with the mask, there is red Icon appeared in right side of control. i want to turn it off, i want to disable it. i dont want it to appear anymore.

Would you please help me to solve these problems ?
Peter
Telerik team
 answered on 13 Oct 2011
1 answer
111 views

Hello,
i want to write a text over several cells.
can I merge Cells into one RadGridView? As in Excel.

thanks

Ivan Petrov
Telerik team
 answered on 13 Oct 2011
4 answers
387 views
When the datetimepicker loads I dont want any dates to be shown in the textbox please.

how do i do that?
Peter
Telerik team
 answered on 13 Oct 2011
1 answer
383 views
Is there a way to make the Enter key act like the Tab key for the RadDropDownList?  I have tried the following methods and none actually advance to the focus:

private void dropDownList_KeyDown(object sender, KeyEventArgs e)
{
    if (e.KeyData == Keys.Enter)
    {
        this.ProcessTabKeys(true);
    }
}
 
 
private void dropDownList_KeyPress(object sender, KeyPressEventArgs e)
{
    if (e.KeyChar == (char)Keys.Enter)
    {
        this.ProcessTabKeys(true);
    }
}

I also tried alternatives of the above:

private void dropDownList_KeyDown(object sender, KeyEventArgs e)
{
    if (e.KeyCode == Keys.Enter)
    {
        nextDropDownList.Focus();
        e.Handled = true;
    }
}
 
 
private void dropDownList_KeyPress(object sender, KeyPressEventArgs e)
{
    if (e.KeyChar == (char)Keys.Enter)
    {
        nextDropDownList.Focus();
        e.Handled = true;
    }
}


The only way to advance the focus is to use the Tab key.  In case it makes any difference, I have AutoComplete set to SuggestAppend.

Is there another way to make the Enter key act like the Tab key?
Peter
Telerik team
 answered on 13 Oct 2011
3 answers
151 views
Hi Telerik

I'm trying to color the checkmarks in two GridViewCheckBoxColumns in a grid in our app. I have tried the following code but have only succeeded in producing visual gibberish. The entire grid is destroyed - my fault  :-)

Could you please provide some guidance.
Many thanks in advance
regards
Ian Carson

void rgvOperationsGrid_ViewCellFormatting(object sender, CellFormattingEventArgs e)
{
    if (e.ColumnIndex == 2)
    {
        ((RadCheckBoxElement)e.CellElement.Children[0]).CheckMarkPrimitive.CheckElement.ForeColor = Color.DarkGreen;
    }
    else if (e.ColumnIndex == 3)
    {
        ((RadCheckBoxElement)e.CellElement.Children[0]).CheckMarkPrimitive.CheckElement.ForeColor = Color.DarkRed;
    }
}


Ian
Top achievements
Rank 1
 answered on 13 Oct 2011
1 answer
145 views
Hey everyone,

I just started working with the Telerik RadCalendar control, and it looks promising to be able to accomplish what I want. I do, however, seem to be running into an issue. 

Using the arrow keys and space bar to select/deselect dates works great, but when I use the mouse to do this, it is awkward. I found a post relating to the issue, (http://www.telerik.com/community/forums/winforms/calendar-and-datetimepicker/urgent-radcalendar-not-deselect-dates-correctly.aspx) The Telerik representative mentioned that the reason this felt awkward was because of the "Focus Date" feature. 

I understand how this works, but would it be possible to somehow change the color of the "Focus Date" part of the calendar? I think this would help my end users tell the difference between the "Focus Date" and a recently deselected/selected cell. 

Thanks


Ivan Petrov
Telerik team
 answered on 13 Oct 2011
3 answers
368 views
I'd like for images within a RadImageItem to resize as the RadRotator resizes.  Does anyone know how to do this?  

Any help would be greatly appreciated.  Thank you!
Slav
Telerik team
 answered on 13 Oct 2011
1 answer
108 views

Hi
I'm using Q2 2011 SP1 (v2011.2.11.0831) and have discovered differences in Appointment.Start + End DateTime values between Dayview Viewtypes and Monthview,Timelineview.

//all views are initialized with
            if (utcPlusOneTimeZone == null)
            {
                //utcPlustOneTimeZoneInfo = new SystemTime.TimeZoneInformation();
                //utcPlustOneTimeZoneInfo = TimeZoneInfo.Local;
                //utcPlustOneTimeZoneInfo.bias = -60;
                //utcPlustOneTimeZoneInfo.daylightBias = -60;
                //utcPlusOneTimeZone = new SchedulerTimeZone(utcPlustOneTimeZoneInfo, "CH");
  
                utcPlusOneTimeZone = new SchedulerTimeZone(TimeZone.CurrentTimeZone);
             }
            switch (vt)
            {
                case SchedulerViewType.Day:
                    if (_dayView == null)
                    {
                        _dayView = radScheduler1.GetDayView();
                        _dayView.DefaultTimeZone = utcPlusOneTimeZone;
                    }
                    break;
                case SchedulerViewType.Month:
                    if (_monthView == null)
                    {
                        _monthView = radScheduler1.GetMonthView();
                        _monthView.DefaultTimeZone = utcPlusOneTimeZone;
                    }
                    break;
                case SchedulerViewType.Timeline:
                    if (_timelineView == null)
                    {
                        _timelineView = radScheduler1.GetTimelineView();
                        _timelineView.DefaultTimeZone = utcPlusOneTimeZone;
                    }
                    break;
  
  
//save function calls webservice
  
                DateTime start = app.Start.ToLocalTime();
                DateTime end = app.End.ToLocalTime();
                if (systemService.ChangePlanningElement(app.ElementGID.ToString(), start,end)) return true;

- Month + Timelineview  :  app.Start.Kind = Unspecified  and ToLocalTime() adds 2hours (utc+1 + Summertime)
- other dayview type      :  app.Start.Kind = Local  and and ToLocalTime()  = 0

 

//Workaround before calling webservice 
TimeSpan tsOffset = app.Start.ToLocalTime() - app.Start; 
DateTime start = app.Start.ToLocalTime() - tsOffset;  //subtracts 0 or Timezonedifference

Why ist MonthCellElement.Date of Type Unspecified with TimezoneOffset=2h and SchedulerCellElement.Date of type Local with TimezoneOffset=0h

Thanks for clearing, Daniel

Ivan Todorov
Telerik team
 answered on 13 Oct 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)
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?