Telerik Forums
UI for WinForms Forum
2 answers
174 views
Hello,

this bugs me for hours. i can't seem to arrange controls added through RadMenuItem, please see attached screenshot.

here is the code i am using:

RadMenuItem Item = new RadMenuItem();
RadButtonElement Btn1 = new RadButtonElement();
RadButtonElement Btn2 = new RadButtonElement();
Item.Text = Dates[i].ToString();
Btn1.DisplayStyle = Telerik.WinControls.DisplayStyle.Image;
Btn1.ImageAlignment = ContentAlignment.MiddleCenter;
Btn1.Image = Properties.Resources.edit;
Btn1.AutoSize = false;
Btn1.Size = new System.Drawing.Size(18, 18);
Item.Children[2].Children[0].Children[1].Children.Add(Btn1);
 
Btn2.Image = Properties.Resources.delete;
Btn2.DisplayStyle = Telerik.WinControls.DisplayStyle.Image;
Btn2.ImageAlignment = ContentAlignment.MiddleCenter;
Btn2.AutoSize = false;
Btn2.Size = new System.Drawing.Size(18, 18);
Item.Children[2].Children[0].Children[1].Children.Add(Btn2);
 
DateList.Items.Add(Item);

i tried to set the autosize property to false and set a custom size, but to no avail.

i am doing something wrong but what is it?

Thanks!
Dimitar
Telerik team
 answered on 19 Aug 2013
1 answer
195 views
I implemented a scrum-like board as described in this thread building on the "tickettest" example:
http://www.telerik.com/community/forums/winforms/gridview/winform-controls-to-build-a-scrum-like-status-board.aspx

At times there can be more cards in a column than will show.  We'd like a vertical scrollbar to appear in each column when there are more cards in the StackLayoutElement column than can show.

How can I do this?
If you could indicate how to modify the tickettest example to demonstrate this, I'm sure I could take it from there.

(e.g. When you run the tickettest example and then grab the lower window edge and make the window shorter, I want a vertical scroll bar to appear in each column when the window edge goes above the lowest card.)
George
Telerik team
 answered on 19 Aug 2013
0 answers
139 views
Hi,
I have a MainMdi form and a raddock in it, i add a  DocumentContainer to RadDock like this:
Me.RadDockMain.MainDocumentContainer = Me.DocumentContainer1
I want to set backgrouud image for my raddock that display when no child form is open..
i use this code, but when i execute my application in 17" monitors or smaller my image didn't show in stretch mode and lose some part of my image.
Dim im As New ImagePrimitive
im.ImageLayout = ImageLayout.Stretch
im.StretchHorizontally = True
im.StretchVertically = True
im.Image = My.Resources.pic_Main_Image
 
DocumentContainer1.SplitPanelElement.StretchHorizontally = True
DocumentContainer1.SplitPanelElement.StretchVertically = True
DocumentContainer1.SplitPanelElement.Children.Add(im)


Please help me
Regards,
Mahvash
Mahvash
Top achievements
Rank 1
 asked on 18 Aug 2013
3 answers
707 views
Hi. I have a problem. 

I have a DataTable ;
DataTable  IsChecked column datatype is string(DB type is varchar. I use oracle db) and Data is Y OR N

I want show this data in RadGridview with checkbox column .

I coded below. but ToggleStateConverter any method not call.
Wha's wrong? Help me.

I buy DevCraft Complete product. I want your reply  24 h response.
 


(User defined class and attach Attribute Sample is well work.)
ex)
            this.radGridView1.AutoGenerateColumns = true;

            this.radGridView1.DataSource = dsResult.Tables[0];   
            var checkBoxColumn = new GridViewCheckBoxColumn();
            checkBoxColumn.HeaderText = " IsChecked ";
            checkBoxColumn.Name = " IsChecked ";
            checkBoxColumn.Width = 100;
            checkBoxColumn.IsVisible = true;
            checkBoxColumn.DataType = typeof(string);
            checkBoxColumn.DataTypeConverter = new ToggleStateConverter();

            this.rndGridView1.Columns[0] = checkBoxColumn;








Ivan Petrov
Telerik team
 answered on 15 Aug 2013
1 answer
72 views
Guys,

I am unable to darg-drop the tile after I am adding the following code:

            rtileMain9.Items.Add(new LightVisualElement()
            {
                Text = "Movie Idea: Inception"
            });

This is just basic sample I have. I see the animation but somehow I am unable to drag the tiles. Any help is highly appriciated.

Thanks, Raj

Stefan
Telerik team
 answered on 15 Aug 2013
3 answers
107 views
Hi, I have a RadGridView with enabled editing with a CheckBoxColumn (readonly = false). When I click a checkbox in any row, it doesnt change its state. What could be the problem? Thanks for help. 
Stefan
Telerik team
 answered on 15 Aug 2013
1 answer
124 views
hi, i'm new at this and i'm trying follow the demoHub app to learn more of this control. My problem is when i apply the PanoramaDemo tssp to may app, the tiles get together and i can´t see any separation between them, no matter the tile silze i set to the tile group. Am i doing something grong?

thanks in advance
Dimitar
Telerik team
 answered on 14 Aug 2013
10 answers
270 views
I have a RadGrid with 4 columns;
- Checkbox,
- Image,
- TextBox,
- BrowseColumn
What I want to do is update the first 3 columns based on the filename selected from the Dialog in column 4.  I have tried ValueChanging events, validation etc. but they don't do what I need. Specifically;

1. User clicks the 'Add New Row' button
2. I want to set the focus/editor on col 4
3. User clicks the '...' dialog button in col 4 and opens the FileDialog
4. User selects a filename, FileDialog closes
5. I want to trap the event now so I can insert values into cols 1-3.

All the other events I tried do not fire until the cell loses focus or enter is pressed etc.  I want to fire as soon as the Dialog.FileName is returned to the cell.  Anyone know how to do this?  Thanks.
Brendan
Top achievements
Rank 1
 answered on 14 Aug 2013
1 answer
196 views
Hi,

Applying a filter to a radlistcontrol seems to select the first item as well as filtering the list, any ideas?

Brian

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Aug 2013
1 answer
172 views
Hello,

How can i change the localization of radSchedulerNavigator to french langage. can you give me an exemple please?

Thanks in advance

Nikolay
Telerik team
 answered on 14 Aug 2013
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
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
Localization
TimePicker
ButtonTextBox
FontDropDownList
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?