Telerik Forums
UI for WinForms Forum
5 answers
356 views
I have a RadGridView(Telerik) that contains data. I don't want to see  / want to see some columns in Excell or PDF but I can't hide column for Exporting. How can I do this ? Also, When exporting checkbox columns it is seen true/false in PDF but I want to see this different for Example 'Yes' 'No'. 
Stefan
Telerik team
 answered on 10 May 2014
1 answer
295 views
When i try to change Row color after checkbox checked my Row color changed only after i chaned another Row checkbox for example if i checked Row the color not changed and only after checked another Row the first Row color changed and same thing when unchecked.
Please see my code:

private void radGridView1_RowFormatting(object sender, RowFormattingEventArgs e)
{
     if ((bool)e.RowElement.RowInfo.Cells["Select"].Value == true)
     {
     e.RowElement.DrawFill = true;
     e.RowElement.GradientStyle = GradientStyles.Solid;
     e.RowElement.BackColor = Color.SkyBlue;
     }
     else
     {
     e.RowElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
     e.RowElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local);
     e.RowElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
     }
}
Stefan
Telerik team
 answered on 10 May 2014
2 answers
312 views
Hi,

Im trying to bind datatable in GridView GridViewMultiComboBoxColumn

GridViewMultiComboBoxColumn col = new GridViewMultiComboBoxColumn();
      col.DataSource = dtCash;
      col.DisplayMember = "Name";
      col.ValueMember = "td";
      col.FieldName = "Id";
      col.Name = "Description";
      col.HeaderText = "Name";
      col.DropDownStyle = RadDropDownStyle.DropDown;
      this.gridView.Columns.Add(col);

bool isColumnAdded;
    private void gridView_CellEditorInitialized(object sender, GridViewCellEventArgs e)
    {
      if (this.gridView.CurrentColumn is GridViewMultiComboBoxColumn)
      {
        if (!isColumnAdded)
        {
          isColumnAdded = true;
          RadMultiColumnComboBoxElement editor = (RadMultiColumnComboBoxElement)this.gridView.ActiveEditor;
          editor.AutoFilter = true;

          editor.EditorControl.MasterTemplate.AllowAddNewRow = false;
          editor.EditorControl.MasterTemplate.AllowCellContextMenu = false;
          editor.EditorControl.MasterTemplate.AllowColumnChooser = false;
          editor.EditorControl.MasterTemplate.AutoGenerateColumns = false;
          editor.EditorControl.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
          editor.EditorControl.MasterTemplate.AllowRowResize = false;

          GridViewTextBoxColumn colCode = new GridViewTextBoxColumn();
          GridViewTextBoxColumn colName = new GridViewTextBoxColumn();
          colCode.FieldName = "Code";
          colCode.HeaderText = "Code";
          colCode.Name = "Code";
          colName.FieldName = "Name";
          colName.HeaderText = "Name";
          colName.Name = "Name";
          colName.IsVisible = false;
          editor.EditorControl.MasterTemplate.Columns.AddRange(new GridViewDataColumn[] {
            colCode,
            colName});
          editor.AutoSizeDropDownToBestFit = true;

          FilterDescriptor filterDescriptor = new FilterDescriptor();
          filterDescriptor.PropertyName = "Name";
          filterDescriptor.Operator = FilterOperator.Contains;
          editor.EditorControl.MasterTemplate.FilterDescriptors.AddRange(new FilterDescriptor[] {
            filterDescriptor});
        }
      }
    }


I Set the AutoGenerateColumns to true to show only two columns i want.. but when i run, all columns coming from the datable also shows.

I dont know exactly what is wrong with my code.
Saif
Top achievements
Rank 2
 answered on 10 May 2014
2 answers
113 views
I want the button has bottom border only,   how can I do it by Theme?
Jacky
Top achievements
Rank 1
 answered on 09 May 2014
1 answer
83 views
Hi All,
I want ot use Row Details feature of RadGridView, but I need to show or hide this section upon value of one of the row's cell (during data entry) or value of a property of bound object (at startup); is there any way?

Thanks
Ivan Petrov
Telerik team
 answered on 08 May 2014
1 answer
89 views
When radribbonform is maximized,  the taskbar can't popup when taskbar is autohide.
this issue occurs on Win7 & Win8.

Is something wrong with me?
Stefan
Telerik team
 answered on 07 May 2014
1 answer
49 views
Is it possible to have the property items expand above the Category name instead of below?  So an example might be like this:
---  Tax property items show above "Taxes" category name  ---
          City Tax:        $500.00
          State Tax:      $1000.00
          Federal Tax:  $2000.00
Taxes

---  Instead of current way where Tax property items show below the category name  ---
Taxes
          City Tax:        $500.00
          State Tax:      $1000.00
          Federal Tax:  $2000.00

I would use this method to sum-up all of the taxes, and have the "Taxes" category name show the total of all taxes listed above it.  Ie:  "Taxes =   $3500.00"
Thank you.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 07 May 2014
2 answers
162 views
Hi,

Users can change theme on runtime on our project. But i want to RadTitleBard theme doesn't change anytime. Is this possible?

I use the code that below to change application theme.

ThemeResolutionService.ApplicationThemeName = (sender as RadioButton).Tag.ToString();
..
..

and after i set the code that below. But TitleBar theme doesn't change to "TelerikMetroBlue"

radTitleBar1.ThemeName = "TelerikMetroBlue";

Tanser
Top achievements
Rank 1
 answered on 07 May 2014
2 answers
166 views
Hey all,

Is there any way to display the tabs in a RadPageView on multiple lines?   I can't find the tabstrip from newest version.
I have about 20 tabs on the RadPageIVew Strip,  that is hard to bear to scroll them. 

Any suggestions / comments are appreciated.
Jacky
Top achievements
Rank 1
 answered on 07 May 2014
1 answer
198 views
Hi,

Is it possible to only show months and year for the calendar and not show the days of the year.  We only want the uses to select months and years for the input.
Stefan
Telerik team
 answered on 07 May 2014
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?