Telerik Forums
UI for WinForms Forum
2 answers
150 views

how to make a gesture pan in gridview, I do not use a touchscreen monitor, I want when I click the mouse on the row can slide up and down, almost the same as "demohub" when I click on the panorama can be slide to the left and right.


Thank You.
Eko
Top achievements
Rank 1
 answered on 01 Feb 2012
1 answer
65 views
We are using Telerik WinForm controls, after we have implemented the controls we have seen that every
time the program loads there is a dynamic assembly with the same version of Telerik Controls.
What is this Assembly what is the usage ?
Boryana
Telerik team
 answered on 01 Feb 2012
3 answers
153 views
Hello, i'm  trying to validate a cell in the CellValidating event,but i have this problem.

When i enter the any value in the cell, i search in database por entered by the user.
For example the user entered x3
i have this code

case "Codigo":
                   if (grdContrato.IsInEditMode && e.Value != null)
                   {
                       ArticuloEntity articulo = new ArticuloEntity();
                       articulo = ArticuloNeg.ObtenerArticuloById(e.Value.ToString());
                       if (!string.IsNullOrEmpty(articulo.ArticuloId))
                       {
                           this.grdContrato.CurrentCell.Value=articulo.ArticuloId;
                           contrato.Detalle[e.RowIndex].ArticuloId = articulo.ArticuloId;
                           contrato.Detalle[e.RowIndex].Descripcion = articulo.Descripcion;
                       }
                       else
                       {
                           BuscarArticulosForm buscarForm = new BuscarArticulosForm(e.Value.ToString(), "Codigo");
                           buscarForm.ShowDialog();
                           if (!string.IsNullOrEmpty(buscarForm.CodigoSeleccionado))
                           {
                               this.grdContrato.CurrentCell.Value = buscarForm.CodigoSeleccionado;
                               contrato.Detalle[e.RowIndex].ArticuloId = buscarForm.CodigoSeleccionado;
                               contrato.Detalle[e.RowIndex].Descripcion = buscarForm.ArticuloSeleccionado;
                           }
                       }
                   }
                   break;

And when the event ends, the e.value have x3, but the contrato.Detalle[e.RowIndex].ArticuloId  have the real code "x3450".
the contrato.Detalle[index].ArticuloId,is the property of the BindingList<>, and this bound to the gridview.
But when the event ends, the contrato.Detalle[e.RowIndex].ArticuloId have the x3 againg.

Whow i can set to e.value , so that the event ends the cell have the value x3450 and not the user entered value
i try with this.grdContrato.CurrentCell.Value = buscarForm.CodigoSeleccionado;  but do not work.

Tanks





Julian Benkov
Telerik team
 answered on 01 Feb 2012
1 answer
246 views

I'm trying to figure out how to remove rows from the child template of a on-demand loaded child. I can do this no problem with a standard command button on the Master template, but the child doesn't want to make the row go away.... 
private void uiProductsGrid_CommandCellClick(object sender, EventArgs e)
        {
            GridCommandCellElement button = (GridCommandCellElement) sender;
 
            if (button.RowInfo.HierarchyLevel == 1)
           {
               DataRowView drv = (DataRowView)button.RowInfo.DataBoundItem;
               Guid id = (Guid)drv["Id"];
 
               Selection.DeleteSelection(id);
               button.MasterTemplate.Rows.Remove(button.RowInfo);
               return;
           }
            if (button.RowInfo.HierarchyLevel ==2)
           {
               Guid id = Guid.Parse(button.RowInfo.Cells["Id"].Value.ToString());
               Product.DeleteProduct(id);
                // What do I put here to remove this row from the grid???
               return;
           }
           
        }
Svett
Telerik team
 answered on 01 Feb 2012
3 answers
435 views
Hello,

I am implementing virtual mode for WinForms RadGridView

Everything working ok except one thing, in my virtual mode implementation user may required additional data from slow data source in such case the data will not be available when grid needs the cell value.
In this case the cells displays a "Loading..." text until the data is retrieved from the slow source.

The problem is how to tell the GridView to reread the cells values to update the cells with real content.

I tried the MasterTemplate.Refresh but this cause the grid scroll returns to the top again and display the first item.

Is there any method to call to force the grid to re-read the visisble cells values without reseting the scroll?

I am using 2011 Q2 SP1


Julian Benkov
Telerik team
 answered on 01 Feb 2012
1 answer
160 views
I have a problem with docking toolTabStrip.

In starting position is ok (caption toolTabstrip is hidden  , but when I dock this control and undock then caption of  toolTabStrip is show.

Files below are describe this problem.
stefan stefanov
Top achievements
Rank 1
 answered on 01 Feb 2012
3 answers
166 views
Hi, My requirement is to display the button in the Grid.So in the cellformatting i have added the below code to display button in the cell of the Grid.

RadButtonElement

 

 

radButtonElement = new RadButtonElement();

 

radButtonElement .Click +=

 

new EventHandler(radButtonElement _Click);

 

e.CellElement.Children.Add(radButtonElement );

The problem i am facing is when the Grid is getting filled it is displaying the Button in the Grid.But when i click on it for the first time it is not firing the radButtonElement _Click event. When i click second time it is firing.

Could you suggest me how to fire the click element for the first time only.

Ivan Petrov
Telerik team
 answered on 01 Feb 2012
3 answers
172 views
Hi,

      Is there any option for binding data for  Rad Multi Column combo box  on demand ( like Load on demand in web application ).
 I want to Implemented this option in my Rad form.




Julian Benkov
Telerik team
 answered on 31 Jan 2012
2 answers
169 views
In the GroupSummaryEvaluate event, I want to loop through the data rows in the group looking for a row based on some criteria against the data in that row.  I then want to display some data from this row in the group description.  I can do this using e.Group.Rows.  However, the Rows property is marked as deprecated and the Items property is not accessible.  What is the best way to do this?
Sara
Top achievements
Rank 1
 answered on 31 Jan 2012
1 answer
92 views
Hi!
Im using RadRichTextBox v1219 and i would like that hyperlinks clicked just be exibited in my application browser, prevents any external action. I can get HyperlinkClicked Event and direct the URL to my browser, but the hyperlink opens an external browser too and i dont want to, there's any way to cancel the event? Thanks!
Stefan
Telerik team
 answered on 31 Jan 2012
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
Iron
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
Iron
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?