Telerik Forums
UI for WinForms Forum
1 answer
63 views
Hi,
I am working in winforms telerik controls. I have created custom shape for radbutton in my form but, whenever am running the application, the custom shape is not coming. Only default shape is coming. how to work out this.

Note: I edited the button shape in smart tag -> edit UI elements ->radButton elements -> shape property ->new custom shape.


Stefan
Telerik team
 answered on 06 Sep 2012
5 answers
280 views
Hi,

I have used the telerik Metro Blue theme and customized whole theme, But I am not able to change the Arrows for the TreeView Nodes. Am attaching a screenshot of the treeview for which my theme should be look like this.

please suggest me the how to get the Treeview look as per the attachment.


Stefan
Telerik team
 answered on 06 Sep 2012
1 answer
78 views
Hi

I just discovered it's not possible to do what I originally wanted, so Im just going to tell what exactly I want to accomplish

1. Fill the content of a radgridview to the edges so I don't have empty space between the tablecontent and the tableborders, here's an ugly ascii representation
______________________________
|[column][column](space space space)|
|[cell......][cell......](space space space)|
|[cell......][cell......](space space space)|
|[cell......][cell......](space space space)|
|(space space space space space sp)|
|(space space space space space sp)|
|(space space space space space sp)|
''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
instead I want the columns to stretch and empty rows be displayed instead of a white background, kinda like this
______________________________
|[column got stretched][column stretch]|
|[Cell stretched with it..][this cell too.....]|
|[Cell stretched with it..][this cell too.....]|
|[Cell with no data, it ju][st looks like....]| (...there's a row but all the cells have a white background)
|[Cell with no data, it ju][st looks like....]|
|[Cell with no data, it ju][st looks like....]|
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

2. I have a list of custom data objects (List<someObject>) basically I want it to automatically figure out that some properties goes to specific cells and others aren't shown, so if I have.
public class SomeObject
{
public string showthisString;
public DateTime showThisDate;
public int showThisInt;
public string dontshowthisstring;
public decimal showThisDec;
public int dontshowthisint;
}
and I create some columns I want to map showthisString to the column "MyAwesomeColumn" and showThisInt to "AwesomePoints". I am expecting code like this
public void InSomeMethod()
{
  DataTextColumn AwesomeCol = new DataTextColumn("UniquelyAwesome","who's awesome?") //uniquename, headerText
  AwesomeCol.readOnly=true; //if I wanted it readonly that is, just to display some sort of functionality change
  RadGridView grid; //for code block highlighting
  grid.Columns.Add(AwesomeCol)
  grid.Link.Link("showThisString","UniquelyAwesome");//when databinding it will find the showthisString property and map it to the column that has a uniquename of UniquelyAwesome
}

.net 4.0 and latest C# vs 2010
Nikolay
Telerik team
 answered on 06 Sep 2012
1 answer
129 views
In the API Reference the following GridViewMaskBoxColumn properties need their descriptions fixed:

 Mask            Gets or sets the mask for the GridViewImageColumn.  
 MaskType    Gets or sets the mask type for the GridViewImageColumn. 
Stefan
Telerik team
 answered on 06 Sep 2012
3 answers
699 views
Hi,

the MasterGridViewTemplate is marked as obsolete so I tried to use the
MasterTemplate property inside the designer. But this is not possible because
the new MasterTemplate property is also marked as not browsable. Why is it not
allowed to this property inside the designer any more.

Regards
Martin
Julian Benkov
Telerik team
 answered on 06 Sep 2012
4 answers
404 views
I have a grid view bound to a stored procedure.  The question is how do I pass a parameter to the stored procedure at run time, for instance on load or on the click of a button?  I'm using visual basic.

Thanks,
Tom
Julian Benkov
Telerik team
 answered on 06 Sep 2012
1 answer
236 views
Hello

I have a class that holds two other classes Like this
public Class A
{
   Some properties From A
   some methods From A
}
 
public Class B
{
    some properties from B
    Some methods from A
}
 
public Class C
{
   public  Aclass a;
   public  Bclass b;
}
However I need to list a collection of Class c in a list where some columns shouldn't show, some should be readable only, some should have another Columnheader name than class property name. I figure I need to make a template class where I extend a gridview template class, however I am unable to find a tutorial on how to make such a template class

Any Information on this is appreciated.

----
Expected result
I am not exactly looking to change backgroundcolor or play music, but these are some of the things that are possible with a template
public Class Gridview
{
private void someMethod()
{
   gridview.Template=new Templ;
}
private
class templ : Template
{
put this information from these classes into those columns
make some columns do this
make each four row have a button that play a song
make the background appear as something specific depending on teh information it has
}
}

Julian Benkov
Telerik team
 answered on 06 Sep 2012
13 answers
421 views
Hi All!

I have a grid, with some DateTime column, but I would like to change the original DateTime picker to Time picker, because in some cases the date part is disinterested, and the user wants to set specific time moments in a user friendly way.

It is possible to do this?

Best regards,
Peter
Stefan
Telerik team
 answered on 06 Sep 2012
5 answers
1.2K+ views

Hello,

I've created a RadContextMenu and wanted to add a few check boxes for user to check and un-check when right click.  I see that the RadContextMenu can add combo box, but what about checkbox?  After a check box is check. I want it to stay check until the user right click and un-check it. Is this possible?

Thanks in advance for the help.

Themos
Top achievements
Rank 1
 answered on 06 Sep 2012
0 answers
91 views
I am trying to set an entire WinForms app with Desert theme
I have a group of buttons in a user control which is used in two different forms
both forms are RadForms and both are set to Desert as part of the constructor
Public Sub New()
    ' This call is required by the designer.
    InitializeComponent()
    Dim myTheme As New DesertTheme()
    ThemeResolutionService.ApplicationThemeName = "Desert"
End Sub

one form has ochre buttons with that gradient I like - and the other form has that ugly grey which is Microsoft control
why is this?

I figured out why - after leaving a dent in my desk after trying EVERYTHING I could think of
the user control starts out not Enabled - when it is Enabled it gets the nice gradient
Elliott
Top achievements
Rank 2
 asked on 05 Sep 2012
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?