Telerik Forums
UI for WinForms Forum
6 answers
137 views
 Hi
My problem GridView CommandButton feature is working but filter click buttons to disappear

Thx.

private void gvw_AcilanDersler_CellFormatting(object sender, CellFormattingEventArgs e)
        {
           if (e.CellElement.ColumnInfo is GridViewCommandColumn)
              {
                  if (e.CellElement.RowInfo.Cells["AcilanDersNotDurumKod"].Value != null)
                  {
                      RadButtonElement button = (RadButtonElement)e.CellElement.Children[0];
                      string title = e.CellElement.RowInfo.Cells["AcilanDersNotDurumKod"].Value.ToString();
                      if (title == "SON")
                      {
                          button.Enabled = true;
                          ((GridCommandCellElement)e.CellElement).CommandButton.Text = Strings.NotGirisineIzinVer;
                      }
                      else if (title == "IZI")
                      {
                          button.Enabled = true;
                          ((GridCommandCellElement)e.CellElement).CommandButton.Text = Strings.NotGirisiIzniniGeriAl;
                      }

                      else
                      {
                       
                          button.Visibility = ElementVisibility.Hidden;
                      }
                  }
              }
           
        }
Ali
Top achievements
Rank 1
 answered on 24 Dec 2014
2 answers
174 views
All –

I’m using PageView with the PageViewPage AutoScroll set to “true”. I also have the PageView dock set to “Fill”. So when the form maximums so should the entire PageView.

However, when the PageViewPage as a scroll-bar and you scroll all the way down before maximizing
the form the scroll-bar still appears on the form at its original position. The expected result is to disappear as the content below is now visible.

Please see screenshot attached.

Can someone please help me resolve this?

Thank You
Dimitar
Telerik team
 answered on 24 Dec 2014
1 answer
184 views
I use a GridViewDecimalColumn where the value can be a double?. If the initial value is null, the cell is empty. When the user then enters a value, it is set. However, after this, if the user tries to get back to an empty cell, he tries to clear the value in the editor, but in this case, the value is always set back to 0. How to change this behaviour ?

Thanks,

Amand.
Stefan
Telerik team
 answered on 24 Dec 2014
5 answers
419 views

Is it possible for the user NOT to enter a new row when hitting the Arrow down- key? I want the new row to be added only when hitting Enter.

Regards, Jill-Connie Lorentsen

Stefan
Telerik team
 answered on 24 Dec 2014
2 answers
125 views
Hi,

I'm trying to figure out a way to rename (or remove) the default background colors on the Edit Appointments dialog box. I found the way to add items via something similar to this: Me.RadScheduler1.Backgrounds.Add((New AppointmentBackgroundInfo(13, "Green", Color.YellowGreen, Color.YellowGreen, Color.White, Color.White)))

I think I just need a little guidance, 

Thanks!
-Eric
Stefan
Telerik team
 answered on 24 Dec 2014
1 answer
245 views
One of users commented that the cursor in the rich text editor sits too close to the text.  In fact, the cursor overlaps the last typed character - when this is an "i" or an "l" it becomes difficult to see the last character.
In MS Word there is a small gap between the last character and the cursor.
Is it possible to move the cursor so that there is a small gap?
Screenshots of Telerik, and MS word attached
Dimitar
Telerik team
 answered on 23 Dec 2014
5 answers
151 views
Hi,

I set the AutoRowSize of my grid to true as there are rows with a lot of text in one column - works fine, text is shown in multiple lines.
But when I add ColumnGroupsViewDefinitions to the grid's ViewDefinition (need 2-lines heading), the row's height is not adjusted anymore though grid.AutoRowSize was again set to true.

Could you please help me with this?
Stefan
Telerik team
 answered on 23 Dec 2014
2 answers
215 views
There doesn't seem to be a global click event.  This would be useful for setting an option where the user can click anywhere on the DesktopAlert.

I tried looking for Hwnd or Handle so I could manually register a click event in this manner, but even those properties don't exist.

So, the question is this -- If there is no Click event, and there is no Handle/Hwnd, what is the code to write in order to make something happen when the user clicks anywhere on the DesktopAlert.  I considered registering the dimensions of the window and handling any clicks in that region using desktop clipping, however this is not a realistic approach as the bounds would be overlaid when other windows come into focus.

It seems like this was either a rather obvious oversight, or you have another method that isn't described in your documentation, examples and varies from standard event registration (possibly something hidden inside Properties ?? )

Thanks in advance for your reply.
Dan
Top achievements
Rank 1
 answered on 19 Dec 2014
1 answer
328 views
I wish to use the EnableHeaderCheckBox in my grid view but cancel its action under certain conditions (should not select/unselect all if a custom condition is true).  How can I do that?
In the HeaderCellToggleStateChanged, there is no Cancel action in the GridViewHeaderCellEventArgs.
Hristo
Telerik team
 answered on 19 Dec 2014
3 answers
122 views
I'm using the Australian dictionary (http://www.telerik.com/support/code-library/dictionaries-for-radspellchecker) with the rich text editor, but it highlights most plurals as incorrectly spelled.  Is there a simple way to either add plurals to the dictionary, or ignore plurals?
Dimitar
Telerik team
 answered on 19 Dec 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
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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?