Telerik Forums
UI for WinForms Forum
1 answer
139 views

Hi there,

 

With the SchedulerUIHelper.BringAppointmentIntoView you can bring a specific appointment into view.

I have a schedule in a timelineview. Is there a way to scroll to a resource(id) (bring a resource(id) into view)

 

Hope you can help.

 

Victor

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 May 2017
1 answer
132 views
I have a gridview with a checkbox column that I would like to remain fixed.. but allow the other columns to auto size.  I'm using the following code:

   gvDocuments.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
   gvDocuments.Columns["Checked"].AutoSizeMode = BestFitColumnMode.None;
   gvDocuments.Columns["Checked"].MaxWidth = 30;
   gvDocuments.Columns["Checked"].MinWidth = 30;
   gvDocuments.Columns["Checked"].Width = 30;
  
   gvDocuments.Columns["Filename"].Width = 300;
   gvDocuments.Columns["Description"].Width = 300;
   gvDocuments.Columns["DocumentTypeDescription"].Width = 135;
   gvDocuments.Columns["DocumentDate"].Width = 135;

 

If you look in the attached screenshot, there is a space between the "Checked" column and the "Description" column.  I'm not sure what I'm doing wrong.

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 May 2017
1 answer
146 views

How would I sync the child template ItemSelected with every child RadPageViewStripElement?

In other words, if I have a grid with 22 rows and each row is expandable, when the user changes a tab of a nested child template, how would I also change the other child templates (that are expanded) to that same tab?

Dimitar
Telerik team
 answered on 17 May 2017
7 answers
485 views
Hi, this might be a silly question, but my checkbox is always middle aligned, even though text alignment is set to middleleft. Is there a way to fix this ?

Thanks.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 May 2017
10 answers
1.1K+ views
Hello,
I would like to know if it is possible to show checkboxes only on one level of the treeview.
For example:
what should i do if I  want to show a checkbox ONLY for the movies category (Sci-Fi, comedy,horror)
    Sci-Fi
         [ ] Movie-Sci-Fi #1
                 Actor #1
                 Actor #2
         [ ] Movie -Sci-Fi #2
               ...
               ...
    Comedy
          [ ] Movie-Comedy #1
                 ...
          [ ] Movie-Comedy #2
                 ....
    Horror
          [ ] Movie-Horror #1

i try to change the ShowCheckBox property of each nodes
    myNode.ShowCheckBox = True
    myNode.ShowCheckBox = false
but doesNt work
thanx
Shirya
Dina
Top achievements
Rank 1
 answered on 16 May 2017
4 answers
448 views

Hi,

the format of the FilterDescriptors.Expression is for SQL, ie.
"[Filename] LIKE '%3170%'"

But I need to use it in dynamic Linq , so it would be correct:
"Filename.Contains(\"3170\")"

Is there an Option or Tool to get an Linq Expression instead of SQL Expression?

Peter

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 May 2017
7 answers
139 views

Using the "Email" example(s) I have successfully added a custom field into a new Custom Appointment form.  I also needed to have some custom code run when the user hits OK and exits out of the form.  That works as well.

However when I edit an Appointment and try to change the Summary or Location, that information is not getting propagated back to the Scheduler. I haven't changed any of the textbox names (don't think that's even possible), but the data doesn't seem to be getting back to the scheduler.

Any ideas?

Here are my LoadSettingsFromEvent/ApplySettingsToEvent methods:

    protected override void LoadSettingsFromEvent(IEvent sourceEvent)
        {
            base.LoadSettingsFromEvent(sourceEvent);

            var appointmentWithChiroDetails = sourceEvent as AppointmentWithChiroDetails;
            if (appointmentWithChiroDetails != null)
            {
                if (Globals.currentCustomer != 0)
                {
                    this.txtpat_id.Text = Globals.currentCustomer.ToString();
                }
            }
        }

        protected override void ApplySettingsToEvent(IEvent targetEvent)
        {
            var appointmentWithChiroDetails = targetEvent as AppointmentWithChiroDetails;
            if (appointmentWithChiroDetails != null)
            {
                appointmentWithChiroDetails.CustomerPK = Convert.ToInt32(this.txtpat_id.Text);
            }

            base.ApplySettingsToEvent(targetEvent);
        }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 May 2017
5 answers
1.2K+ views
Is there a way to have items in the dropdown automatically word wrap? 
Mary
Top achievements
Rank 1
 answered on 15 May 2017
1 answer
166 views

Hi,

I have integrated GridView in my application. This grid ist bound to a bindingsource. When my query for the binding source has no datas, then I missing the "new row" line for adding datas. Please see the attached files.

      If IsNumeric(RadGridView1.CurrentRow.Cells("ComboNr").Value) Then
        Dim iGruppeNr As Integer = grdParameter.CurrentRow.Cells("ComboNr").Value
        bsDetekParaCombo.DataSource = (From Combo As tblDetekParaCombo In dbContext.tblDetekParaCombo
                                       Order By Combo.ComboGruppeNr
                                       Where Combo.ComboGruppeNr = iGruppeNr Select Combo).ToList
      Else
        'Here I will get a count of 0 rows and I missing the new line for adding rows
        bsDetekParaCombo.DataSource = (From Combo As tblDetekParaCombo In dbContext.tblDetekParaCombo
                                       Order By Combo.ComboGruppeNr
                                       Where Combo.ComboGruppeNr = -1 Select Combo).ToList

        grdCombo.MasterTemplate.Refresh()
      End If

 

 

What I am doing wrong?

Karim

 

Hristo
Telerik team
 answered on 15 May 2017
2 answers
164 views

Hello:

I want to initialize default values on editor loading:

 

<p>void radDataEntry1_BindingCreated(object sender, BindingCreatedEventArgs e)</p><p>{</p><p>if (e.DataMember == "IsAdministrator")</p><p>&nbsp; &nbsp; &nbsp;{ </p><p> &nbsp;&nbsp;&nbsp;&nbsp;        e.Binding.NullValue = false;</p><p>&nbsp; &nbsp; &nbsp;}</p><p>}</p>

Thank you.

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