Telerik Forums
UI for WinForms Forum
1 answer
159 views
I am trying to use your combo box that when it is dropped down the contents displayed show two lines of data for each row, but I cannot find out what properties I need to set.

You can see an example found on this page http://www.telerik.com/products/winforms/multicolumncombo.aspx under "Rotating Items on Double-Click."
Stefan
Telerik team
 answered on 21 Jun 2011
3 answers
338 views
Hello.
I have RadGroupBox control placed on RadPageView. The problem is with RadGroupBox colors: in desing mode everything is ok (see desinger.PNG from atachement), but when I run my application, the BackColor of RagGroupBox seems to be from main form instead of PadPage (see running.PNG), so it looks strange.

How to fix this problem?

(version Q1 2011, WinForms)

Thanks in advance.
Darek.
Stefan
Telerik team
 answered on 21 Jun 2011
4 answers
180 views
Hi,

Is there a way to hide a tab without removing it from the Pages collection? Can't find a property to do that.

Thanks!
Adrian
Top achievements
Rank 1
 answered on 20 Jun 2011
1 answer
252 views
Hi,

I have a requirement where I have to compare dates which are in the binded data set to grid. The priority column has to be set to a value and format the cell color to red/orange/gree based on the value of Targetdt and warningdate which is available in the datasource binded to the grid.

I am doing the following.
void rGridViewTasks_ViewCellFormatting(object sender, CellFormattingEventArgs e)
        {
                if (e.CellElement.ColumnInfo.Name == "Priority")
            {
                //if ((DateTime)e.CellElement.RowInfo.Cells["TargetDt"].Value >= DateTime.Now )
                //{
                //    e.CellElement.BackColor = Color.DarkRed;
                //    e.CellElement.Value = "1";
                //}
                //else if (((DateTime)e.CellElement.RowInfo.Cells["WarningDate"].Value >= DateTime.Now) &&
                //     ((DateTime)e.CellElement.RowInfo.Cells["TargetDt"].Value < DateTime.Now))
                //{
                //    e.CellElement.BackColor = Color.DarkOrange;
                //    e.CellElement.Value = "2";
                //}
                //else
                //{
                //    e.CellElement.BackColor = Color.DarkGreen;
                //    e.CellElement.Value = "3";
                //}
            }

}

the above WarningDate and TargetDt columns are not added as the columns in the grid, hence they are coming as null and giving a exception.

I checked the rowinfo databounditem and it is also null. Please advice.

regards,
Khizar

Alexander
Telerik team
 answered on 20 Jun 2011
1 answer
214 views
I am using Telerik Ribbon on my Application's Main Form. which I call from the Login Form within a Separate Thread (i.e. I start a thread, and within that thread, I load Main Form) using Application.Run(new frmMain()). On Main Form's Load Event, I am selecting a tab of Back Stage View dynamically. using following code

mainRibbon.BackstageControl.SelectedItem = bsvTabAccount;
mainRibbon.BackstageControl.ShowPopup(new System.Drawing.Point(0, 56), mainRibbon.RibbonBarElement);

My problem is, if I hit Enter key on back stage view, application throws exception which states,

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.BackstageViewElement.ProcessKeyboardSelection(Keys keyCode)
   at Telerik.WinControls.UI.RadRibbonBarBackstageView.OnKeyDown(KeyEventArgs e)
   at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
   at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Note: Exception does not appear if I click any tab of back stage view before I press Enter key.

Any help would be highly appreciated.








Ivan Todorov
Telerik team
 answered on 20 Jun 2011
4 answers
167 views
Hi,

i have a datasource where there is a status column and it is a enumerator having just a status code, I have a requirement that it should show the status text in the grid, but the control should not be a dropdown, it is just a simple text field in the grid.

is this possible to implement something like a combo or lookup but not as a dropdown field?

Regards,
Khizar
Stefan
Telerik team
 answered on 20 Jun 2011
5 answers
953 views
how do i install the internal builds? where do i need to put he assemblies? in GAC or somewhere else? and do i have to add them to the toolbox manually?
Stefan
Telerik team
 answered on 20 Jun 2011
1 answer
105 views
Hi,

I have the following code, It encrypts the text into my access database but when I reopen the application I get encrypted text on the scheduler (it doesnt decrypt). Is there anything I am missing?
 
var summarySchedulerMapping = appointmentMappingInfo.FindBySchedulerProperty("Summary");
summarySchedulerMapping.ConvertToScheduler = new ConvertCallback(ConvertSummaryToScheduler);
summarySchedulerMapping.ConvertToDataSource = new ConvertCallback(ConvertSummaryToDataSource);

private object ConvertSummaryToScheduler(object item)
{
     return Encryption.Decrypt((string)item);
}

private object ConvertSummaryToDataSource(object item)
{
     return (object)Encryption.Encrypt((string)item);
}


Cheers
Ivan Todorov
Telerik team
 answered on 20 Jun 2011
1 answer
202 views

HI,

I have  a need to display dynamic items on X axis i.e form one item to n number of items (may go to 100 or more)

problem is X-Axies label overlapping. i need do not overlap the label item

Need help to fit in my dynamic series and dynamic items on x-axis and the chart should look consistent.

Attached is the image for bad chart i am getting, there are more then 150 items .



Regards
Elumalai.K
Evgenia
Telerik team
 answered on 20 Jun 2011
1 answer
124 views
I'm binding to business objects for Appointments & Resources using EventMappingInfo and ResourceMappingInfo which is working ok, however I cannot see a way to add a Color property ResourceMappingInfo. I am grouping by resource in Timeline view. When the UI is displayed the resources all show up as a dark gray colour which is very hard to read. How can I set the colors of the resources?
RachelThornton
Top achievements
Rank 1
 answered on 20 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?