Telerik Forums
UI for WinForms Forum
1 answer
138 views
Hello -

I would like to prevent the user from customizing their toolbars at runtime.  That is, I don't want them to be able to hide and show buttons.  Can you tell me how to do this?

Thanks,
- Mike
Mike
Telerik team
 answered on 24 Apr 2009
1 answer
112 views
Hello -

I'm hoping to add some standard icons to my common tab strip buttons such as Print, Save, etc.  Does either Telerik or .NET provide these stock icons for me without having to embed resources in my assembly?

Thanks,
- Mike
Mike
Telerik team
 answered on 24 Apr 2009
1 answer
80 views
Hi,
I use Q1 2009 SP1.

I tried to set my column like this

            // Percent 
            GridViewDecimalColumn Percent_Column = new GridViewDecimalColumn("Percent""Percent"
            { 
                HeaderText = "Percent"
                HeaderTextAlignment = ContentAlignment.MiddleCenter, 
                FormatString = "{0:N1} %"
                DataType = typeof(decimal), 
                TextAlignment = ContentAlignment.MiddleRight, 
                DecimalPlaces = 1, 
                ThousandsSeparator = true
                WrapText = false
                ShowUpDownButtons = false
                StretchVertically = false 
            }; 
            pRadGridView.MasterGridViewTemplate.Columns.Add(Percent_Column); 

Or like this

            // Percent 
            GridViewDecimalColumn Percent_Column = new GridViewDecimalColumn("Percent""Percent"
            { 
                HeaderText = "Percent"
                HeaderTextAlignment = ContentAlignment.MiddleCenter, 
                FormatString = "{0:N1} %"
                DataType = typeof(decimal), 
                TextAlignment = ContentAlignment.MiddleRight, 
                DecimalPlaces = 1, 
                ThousandsSeparator = true 
            }; 
            pRadGridView.MasterGridViewTemplate.Columns.Add(Percent_Column); 

But each time, my text in the cell is on the left. what happend?

Best regards,

Fabien


Jack
Telerik team
 answered on 24 Apr 2009
3 answers
125 views
Hi,

Does anyone have an example of using a nested generic Lists to create a hierarchical  grid?

If have objects like this:

  100     public class AcctCallLogHistoryDetail

  101     {

  102         internal AcctCallLogHistoryDetail()

  103         {

  104             CallLogDetail = new List<CallLog>();

  105         }

  106 

  107         public string CallLog { get; internal set; }

  108         public List<CallLog> CallLogDetail { get; internal set; }

  109     }

  110 

  111     public class AcctCallLogHistory

  112     {

  113         public int AcctNumber { get; internal set; }

  114 

  115         public List<AcctCallLogHistoryDetail> CallLogHistoryDetail { get; internal set; }

  116 

  117         internal AcctCallLogHistory()

  118         {

  119             CallLogHistoryDetail = new List<AcctCallLogHistoryDetail>();

  120         }

  121 

  122         internal void addDetail(string callLog, CallLog callLogDetail)

  123         {

  124             AcctCallLogHistoryDetail acctCallLogDetail =

  125                 (from d in CallLogHistoryDetail

  126                  where d.CallLog == callLog

  127                  select d).FirstOrDefault();

  128             if (acctCallLogDetail == null)

  129             {

  130                 acctCallLogDetail = new AcctCallLogHistoryDetail();

  131                 acctCallLogDetail.CallLog = callLog;

  132                 CallLogHistoryDetail.Add(acctCallLogDetail);

  133             }

  134             acctCallLogDetail.CallLogDetail.Add(callLogDetail);

  135         }

  136     }


I expose a property :

   95         public List<AcctCallLogHistoryDetail> AcctCallLogs

   96         {

   97             get { return _curAcctCallLogs.CallLogHistoryDetail; }

   98         }


that I use for the GridView datasource.

I'm sure it is simple.  I just can't seem to get the GridView properties set.

Thanks,

Mike B.



Vassil Petev
Telerik team
 answered on 24 Apr 2009
1 answer
122 views
I'm trying to develop my own media player based on your demo application.

I have problems with the visual part, and even though I should be focusing on funtionallity I can't let it go...

Basically I would like my contol buttons to look and behave more or less as in your demo. For now I've reused your images and your themes (MediaPlayerAnimatedBlack.xml) but it doesn't look good. Actually, in the designer it looks fine, but at runtime it looks like the images on the buttons take over and makes it a blurry mess. I've tried setting the theme property to nothing, to ContolDefault and to various other values, with no effect. I can upload screen shots to better explain, but is it possible to do so here?

Any suggestions will be appreciated!

Regards, Jill-Connie

Nick
Telerik team
 answered on 24 Apr 2009
2 answers
91 views
Simple question.
I am trying to implement SchedulerDataSource abstract class for my web scheduler.
I just can't find the exact namespace where I can find this class.
Please help!
Alexandre
Top achievements
Rank 1
 answered on 23 Apr 2009
1 answer
148 views

I am programmatically adding Sort Expressions to my RadGridViewafter I populate it with data. However, the grid is having problems sorting onmore than 2 columns. Sorting by the first two acts as expected, but once athird expression is added to the collection, it takes precedence as if it werethe 2nd place Sort Expression. The SortExpressions collection is still intactand has the expressions in the order in which I'd like them sorted, but it isnot working as expected at all.

In essence, once the first two columns are chosen to be sortedby, they should stay "frozen" while the third column sorts itselfbased on the previous two sorts. However, the third column not only sortsitself, but is rearranging some of the rows previously sorted by the secondsort expression.

This also happens when using the client side to select more than2 columns to sort by.

Some background info on my project:

- Grid is Unbound, data population happens programmatically.

- The above issue seems to only happen with columns that use acustom sort operation.

- I am using Telerik Winform versions 8.2.0.0 (Willupdating to latest will fix this?)

- Application is developed and run in Visual Studio 2008 with C#

** I will/can provide snippets of code, but I will not give you my whole application, that is beyond my allowance and unnecessary.

Julian Benkov
Telerik team
 answered on 23 Apr 2009
1 answer
141 views
Hello -

If I set the FieldName of a databound column, the corresponding values are displayed within the column.  This is normally desirable.  However, I happen to be using a custom element in that column, and the text drawn by the grid interferes with my element's visualization.  If I do not set the FieldName of the column, the problem disappears.  However, I then cannot sort or group the column.  Is there a way for me to sort/group by a databound column without the grid displaying the value of the column in the cells?

Thanks,
- Mike
Jack
Telerik team
 answered on 23 Apr 2009
1 answer
237 views
Hi where do I download the latest kit for CAB or SCSF for VS 2008 thanks
Jordan
Telerik team
 answered on 23 Apr 2009
5 answers
172 views
Hello experts!
I'm downloading the 2009 Q1 version of you winforms controls, but I can't find the CABS one.
I need to use CABS.
Now I'm using the last CABS version I found here, I can use this one with 2009 Q1?

Thanks!
Jordan
Telerik team
 answered on 23 Apr 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)
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
ProgressBar
CheckedDropDownList
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
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?