Telerik Forums
UI for WinForms Forum
1 answer
231 views
Hi
I have the radscheduler set up as WorkWeek. The work hours have a white background as opposed to the default light blue, however they range by default from 09:00 to 18:00. How can I change these times?
Nick
Telerik team
 answered on 30 Dec 2009
11 answers
224 views
It is possible to get the hierarchical structure in the rad grid view in ASP.NET web application, but my application is windows application. So any1 plz tell me how can i have the same hierarical structure in the grid view used in the windows application.
Jack
Telerik team
 answered on 30 Dec 2009
3 answers
193 views
Hello,
I am using RadControl for WinForms Q3 2009 SP1 with VS2008, C#. I am trying to reproduce the bahavoir from your demos but something must be wrong. In your demos you got two special days that display some text inside special days boxes. After reviewing your code it become obvious that source code you display for running sample is not right. For example, even the text is not same, you have in running example text  "Meeing with boss" while in the source code you can read: label2.Text = "Meeting with Microsoft";

However, even if copy/paste the entire sources it does not show text for special days, source code does not do anything except assigning two images from a list. Here is your code:

namespace Telerik.Examples.WinControls.Calendar.SpecialDays
{
    public partial class Form1 : ExamplesForm
    {
        public Form1()
        {
            InitializeComponent();

            RadLabel label1 = new RadLabel();
            label1.Text = "Ann's Birthday";

            RadLabel label2 = new RadLabel();
            label2.Text = "Meeting with Microsoft";

            this.radCalendar1.SpecialDays[0].Image = this.imageList1.Images[0];
            this.radCalendar1.SpecialDays[1].Image = this.imageList1.Images[1];
            this.radCalendar1.ShowFastNavigationButtons = false;
            this.radCalendar1.FocusedDate = new DateTime(2007, 8, 9);
        }
    }
}

I see the label definition but nothing to link them to calendar. I think your demo is incomplete and somehow unusable. I tried to find a solution by myself and come up with this:

RadLabel label1 = new RadLabel();
label1.Text = "Ann's Birthday";   
RadHostItem host = new RadHostItem(label1);   
radCalendar1.SpecialDays[0].TemplateItem = host; 

This does work but it's not the same behavoir like in your demo, text wrap and transparent label.

Could you please tell me what's the right solution to achieve my scope, assign text to a specialday, perhaps you can release correct source code of your working examples?

Regards,
Cornel I.

 

 

 

 

Victor
Telerik team
 answered on 30 Dec 2009
1 answer
118 views

Hello i asked you a question yesturday and i didnt recive an answer

and if i may i have another question how can i change the color of the gridlines


hanan

 

the questions are about wpf 

best regards
hanan

Nick
Telerik team
 answered on 30 Dec 2009
1 answer
148 views
Hi,
Please try to copy dropdown button with items from one form to another :)
Look at the example



Nick
Telerik team
 answered on 29 Dec 2009
1 answer
243 views
Hello
I want to enter Tabs and Linebreaks in a textbox column. I tryed this, but it does not work.
private void radGridView1_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)  
{  
    RadTextBoxEditor editor = radGridView1.ActiveEditor as RadTextBoxEditor;  
    editor.AcceptsReturn = true;  
    editor.AcceptsTab = true;  
When I press the tab key, the cursor goes to the next column.

Greetings,
wima
Jack
Telerik team
 answered on 29 Dec 2009
5 answers
128 views
Hi

Please look on this image(http://65.57.255.33/TreeViewWithUserControl.JPG). I need to show windows user control on node selection.
I am using "RadControls for WinForms Q2 2009 SP1".
Please help me to do this. Thanx.

Atul Srivastav
Nick
Telerik team
 answered on 29 Dec 2009
4 answers
158 views
How would I change the font weight and color of the values in a particular cell based on a caculcation between 2 other cells.  For instance, when Accounts Receivable is less than Accounts Payable (both are grid columns) how would I format the Total revenue column so that the values in them are Red and bold and when the opposite is true, then how would I format it to bold and black?
Jeremy Pryor
Top achievements
Rank 1
 answered on 28 Dec 2009
2 answers
191 views
I have been looking at creating an control similar to the one found in the demos for the grid view.  What I need is help determining how to store an image in my SQL Server database, retrieve it as a part of an employee record, display it as in the demo, but have the ability to click on a button (possibly a column header) and then change the image.  We have formal and informal shots of every employee and want to be able to toggle between the 2.  Please help.  I can't make a lot of since from the online demo, because I can't seem to find the Photo datasource the code is referencing and where that comes from.

Thanks,

JP
Jeremy Pryor
Top achievements
Rank 1
 answered on 28 Dec 2009
6 answers
319 views
Hi,

I Have a RadGridView (ver 2009.Q3.SP1) and i am formating the rows backcolor using the following code:

 
    Private Sub RGVContacts_RowFormatting(ByVal sender As Object, ByVal e As Telerik.WinControls.UI.RowFormattingEventArgs) Handles RGVContacts.RowFormatting  
        If e.RowElement.IsOdd Then  
            e.RowElement.BackColor = Color.Moccasin  
        Else  
            e.RowElement.BackColor = Color.FloralWhite  
        End If  
 
        e.RowElement.DrawFill = True 
    End Sub 

After we have the mouse over a row,  the row is chnaging color and after leaving the row does not return to its original color.
Also, we have the similar problem when selecting one row and then another. The previous selected row does not return to its original color.

Any help will be appreciated.
gdelatolas
Top achievements
Rank 1
 answered on 28 Dec 2009
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?