Telerik Forums
UI for WinForms Forum
2 answers
119 views
I am using Telerik UI for Winforms Q1 2015 and I have an application that uses the RibbonBar. On one of the command tabs there is a TextBox which allows user input. When the RibbonBar is displayed the user can enter and edit text in the TextBox without issue. However, when the RibbonBar is in AutoHide mode, (i.e. it is closed but opens when the user selects a tab) ​​whenthe user enters text into the TextBox, if they hit the backspace key (to amend text, etc.) the RibbonBar closes. I have tried to trap the key and handle the deletion programmatically but, seemingly, the backspace key is monitored at a low level and I can't find a way to avoid this behaviour.

Any suggestions / fixes / guidance would be welcomed.
Keith
Top achievements
Rank 1
 answered on 13 Oct 2015
3 answers
231 views

Hi,

I have a function to search a grid programatically which works fine. This uses the MasterView.TableSearchRowSearch(searchvalue);

grd.MasterView.TableSearchRow.AutomaticallySelectFirstResult = true;

grd.MasterView.TableSearchRow.HighlightResults = true;
grd.MasterView.TableSearchRow.InitialSearchResultsTreshold = 1;
grd.MasterView.TableSearchRow.Search(searchvalue);

I would like to make it slicker by showing a messagebox if no matches are found once the search is completed and also to return the index of the 1st found match. Is here a way to get search result back or determine if the search is completed?

Thanks.

 

Here is a

Martin
Top achievements
Rank 1
 answered on 13 Oct 2015
3 answers
120 views

Hi, I am new to Telerik and am currently developing a program for my company. I click on the "Click here to add a new row" button on the top and input the values for each column. Then I want to have the user press a "save" button and save these values to the Oracle database. I am unable to get the values for each column. I've came across many versions of this problem throughout my search, but I want the most up to date one that would allow me to get the new row values that I entered from "Click here to add a new row". Thanks! Both dr and currentRow.value return null.

 private void btSave_Click(object sender, EventArgs e)
        {
            GridViewRowInfo dr = this.gvUser.GridViewElement.CurrentRow as GridViewRowInfo;
            GridViewNewRowInfo currentRow = dr as GridViewNewRowInfo; 
            
            if (currentRow != null)
            {
                string test = dr.Cells[1].Value.ToString();

                 test = currentRow.Cells[1].Valiue.Tostring();
                 test = dr.Cells[2].Value.ToString();
                 test = dr.Cells[3].Value.ToString();
                 test = dr.Cells[4].Value.ToString();
                 test = dr.Cells[5].Value.ToString();
            }
        }

Dimitar
Telerik team
 answered on 13 Oct 2015
2 answers
108 views
I want to disable the user to set progress of the item less than the progress I inputted.
Is there something like progressChangedEvent? Please help me.
Hristo
Telerik team
 answered on 12 Oct 2015
1 answer
262 views
We've come across a few documents that when loaded into the winforms pdf viewer, it shows as a blank page.  Looking online, the most likely reason is due to unsupported features in the document.  We currently like using the telerik control over just a web browser because we can load the pdf's into the UI straight as a stream, rather than saving the document to file first, so don't want to go back to the webbrowser if we don't have to.   Were wondering if we could have both the telerik control and a web browser overlaid on top of each other and show one vs the other depending on whether the telerik control can render it or not, but have not been able to find any property of the telerik control that would let us know it couldn't render it properly.  Is there a property that anyone is aware of to detect this?
Hristo
Telerik team
 answered on 12 Oct 2015
5 answers
339 views

Hey,

I want to change the selected item selected by the user by an another item.

I put the following code, but the selected item is not changed :/

Private Sub myCombo_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles myCombo.SelectedIndexChanged​

                ​myCombo.EditorControl.CurrentRow = myCombo.EditorControl.Rows(myNumRow)
                myCombo.EditorControl.CurrentRow.IsSelected = True
                myCombo.EditorControl.CurrentRow.IsCurrent = True

End sub

Do you have an idea pls ?

NB : I'm on Q1 2015

Dimitar
Telerik team
 answered on 12 Oct 2015
9 answers
201 views
I'm not able to input the date on DatetimePicker once i change the culture to ar-SA. (Hijri Calendar).
Once i try to change the date by keyboard, I get different numbers.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 12 Oct 2015
3 answers
129 views

Hello,

I wonder if there is a way to make a group summary row visible at all times?
Even when the rows in the group is hidden (collapsed).

 

Best regards

Jan Persson

Jan
Top achievements
Rank 1
 answered on 12 Oct 2015
2 answers
388 views

Hello Telerik,

 

I find in most cases the background of the RadTrackBar when themed just does not fit the style of the page it is being located in.

eg. I am using Office2010black theme and when placed on a RadPageView tab the background just doesn't go. 

Is there anyway to make this transparent and take on the colour of the panel in some way?

I've attached an image to make it clearer. 

Thanks

 

Terry

 

Hristo
Telerik team
 answered on 09 Oct 2015
2 answers
155 views

 I add a new RadButtonElement in RadRibbonBarGroup and Set the image of RadButtonElement . When the cursor over the button, the button's color(?) changes.

Like the attach images.

But I wrote following code, it do not have the same change when  the cursor over the button.

So I want ask which property can achieve that。

.

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Oct 2015
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
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?