Telerik Forums
UI for WinForms Forum
1 answer
56 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
140 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
226 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
415 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
145 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
151 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
153 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
153 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
86 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
1 answer
138 views
Hello.

I have Gridview with ColorColumn which is binded to database varchar field. Data displays correctly, but when I want  to change it, error [Input string was not in correct format.] is thrown. I think it has something to do with changing data from string to System.Drawing.Color.

Regards.
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)
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?