Telerik Forums
UI for WinForms Forum
5 answers
481 views
   Hi I write this code and I m trying someting . But when i click copying event then 3 times show messagebox "a" but  when i click pasting event then messagebox show 1 times "a".. Why copying event show 3 times ??

       private void radGridView1_Copying(object sender, GridViewClipboardEventArgs e)
        {
            MessageBox.Show("a");
            

        }

        private void radGridView1_Pasting(object sender, GridViewClipboardEventArgs e)
        {
            MessageBox.Show("a");
        }
Karl B
Top achievements
Rank 1
 answered on 15 Oct 2015
3 answers
324 views

I need to export data from 3 different grids into one excel file.How can i do that?

 

Dimitar
Telerik team
 answered on 15 Oct 2015
1 answer
236 views

Hi, 

I'm using a DropDown button, and edit its items dynamically in the DropDownOpening event. 

I've tried to limit the size of the list popup using the MaxSize and MaximumSize properties of the list element, but it cuts the popup to only present the fitting items, without any scrolling bar. 

I have tried several workarounds but I'm not getting the desired result. 

 Do you have any suggestions? 

Thanks! 

Hristo
Telerik team
 answered on 14 Oct 2015
3 answers
54 views
I want to iterate through the rows created after I added them in the "click here to add a new row" and shows up at the bottom. How do I iterate through these new rows?
Dimitar
Telerik team
 answered on 14 Oct 2015
1 answer
107 views

I have two groups in my radPanorama which both of them have about ten radTileElement.

When I drag one radTileElement in another position inside it's group then no event is fired, even if I drop it into another group no event is fired.

 

How to know if radTileElement is in drag state and how to know where and when it's dropped ?

Hristo
Telerik team
 answered on 13 Oct 2015
2 answers
97 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
210 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
101 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
91 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
234 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
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?