Telerik Forums
UI for WinForms Forum
5 answers
224 views
Is there any way to save the state of the DockPanels without saving the state of all the open DocumentPanes.
Basically I want to record the state of all the toolwindows, not the documents.
George
Telerik team
 answered on 13 May 2014
1 answer
92 views
Hello
In my solution, i added a scheduler, with no binding datasource. I am loading data to the scheduler from a database table named "Remndr_table".
First,
When i am loading appointments from the database, the past appointments does not pop-up, even if i set the dismissed = false and the startreminderinterval before

Second,
How can i add new record  to "remindr_table" when the user add a new appointment to the scheduler, and how to delete the record it if the user delete the appointment.
I don't want to bind the data...

Third
I made a customappointmenteditform, and i follow the demo steps "Adding a custom field to the EditAppointment dialog"
Everything goes fine.
Only one thing, i am not able to open from the reminder window,  the appointment in my customappointmenteditform.
How can i do that.
i have the following, and it opens the normal editappointmentform
Private Sub radReminder1_ItemOpened(ByVal sender As Object, ByVal e As RadOpenItemArgs)
       Dim editAppointmentDialog As New EditAppointmentDialog(CType(e.RemindObject, IEvent), sche)
       editAppointmentDialog .showdialog 
end sub







Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 May 2014
5 answers
369 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
313 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
339 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
126 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
94 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
97 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
54 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
175 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
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?