Telerik Forums
UI for WinForms Forum
0 answers
114 views
Hello Telerik Team

I have a table in database which has some Float column, I load that table data in to a data table and assign the data table to a radgridview as a datasource, when a grid cell is not in edit mode I want to see the  float values whit out decimal point
,but when the cell is in edit mode I want to see the float values with decimal point(we have some thing like this in excel),
I use this format string to achive it
((GridViewDecimalColumn)GrdItm.Columns[FieldName]).FormatString = "{0:#,#}";
but when the cell is in edit mode it shows only 2 decimal point.I have attached a file which show what I need in radgridview.
If it was possible I send you a demo about what I need
I will be realy thankfull if you could help me

Mahsan
Top achievements
Rank 1
 asked on 11 Jun 2014
4 answers
205 views
I tried it. but the background image does not work for me.

What's wrong?

Jacky
Top achievements
Rank 1
 answered on 11 Jun 2014
5 answers
104 views
Hi

I am getting the below error suddenly, My application works until yesterday, today I installed "RadControls for ASPNET AJAX Q1 2009", after that my all windows RadGrid contorls giving the errors. 

Error:

Telerik.wincontrols.RadpropertyNotfoundException: No such property registered: Rowspacing,Telerik.windcontrols.UI.GridTableElement.

Regards
raju

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 10 Jun 2014
2 answers
395 views
Is there an event to sync with the current page on pdf viewer document?

Since the navigator is in sync there should be, i guess, such an event, but I can't find it.

Can you please help?
Best Regards
Andrea
Andrea
Top achievements
Rank 1
 answered on 10 Jun 2014
2 answers
135 views
Hello, i have some tables with something like 1GB data and 2M records, i have a very efficient ibindinglistview implementation to cache few data locally, so i download from DB server only few rows.

It is possible to use the integrated grid UI to set the Filter expression on my IBindingListView to reload the local cache or do i have to hide the integrated filter UI and add some filter textbox outside the grid?

Best regards.
Dimitar
Telerik team
 answered on 10 Jun 2014
6 answers
514 views
Hi, at last I am delving into the Winforms controls for the first time, but I am coming up against some strange behaviour when manually binding a RadComboBox to a datasource.

Here is the code called from form_load:

protected void PopulateDropDown()  
{  
DataTable topics = osa.GetAllTopicsForExistingAssessmentsDT();  
radComboBox1.DataSource = topics;  
radComboBox1.DisplayMember = topics.Columns["topictext"].ColumnName;  
radComboBox1.ValueMember = topics.Columns["topicID"].ColumnName;  

The datasource is simply a DataTable returned from a webservice.

The issue I have is the when DisplayMember is set, the radComboBox1_SelectedIndexChanged event fires twice and then once again when ValueMember is set. Why is this?

Regards,
Jonathan

Regards,
Jonathan
Dimitar
Telerik team
 answered on 09 Jun 2014
3 answers
436 views
I have a grid that displays a parent-child relationship nicely.  The user can select a record and edit it if they choose.  When they do, before the user is returned control of the form, I grab the underlying DataSource, find the record the user just edited, and update it to reflect their changes.  It's faster than refreshing the entire DataSource.

Like so:

// select the existing item
List<Classes.ContractItem> currentContractItems = (List<Classes.ContractItem>)this.dgList.DataSource;
int index = currentContractItems.FindIndex(c => c.ContractItemId == this.CurrentContractItemId);
 
if (index != -1)
{
    currentContractItems.RemoveAt(index);
    currentContractItems.Insert(index, this.CurrentContractItem);
}
else
    currentContractItems.Add(this.CurrentContractItem);
 
this.dgList.DataSource = currentContractItems;

This works perfectly for the parent.  My problem is refreshing the child rows of the record being updated.  this.CurrentContractItem has a List<T> property that contains all the child records, and they are already updated and ready in the above code.  So there is something additional I need to do to get the grid to refresh it's child rows.

I've tried several things, reviewed and tried several posts that I found on here.  Most were ancient and needed translation from obsolete methods and properties, but I tried them anyway.

What can I do to get the child rows to refresh themselves when the underlying DataSource has changed?


The RadGrid has a Template
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Jun 2014
1 answer
165 views
Hi,

I have a RadScrollablePanel and I'm trying to figure out how to color the vertical scrollbar through code and not by setting a theme.  Can you tell me how to do that?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Jun 2014
1 answer
132 views
Hi all,
I am currently using the RadMarkupDialog to enable HTML markup on a column in a RadGridView.
I would like to enable spell check on the entered text somehow but cannot seem to see how to do this.

The code I am using to display the dialog and set the text is

Dim dialog As New RadMarkupDialog()
                            dialog.DefaultFont = RadGridView1.Font
                            dialog.Editor.RibbonBar.CommandTabs(1).Enabled = False
                            dialog.Editor.HyperlinkButton.Enabled = False
                            dialog.Value = RadGridView1.CurrentCell.Text
                            Dim result As DialogResult = dialog.ShowDialog()
                            If result = DialogResult.OK Then
                                Me.RadGridView1.CurrentCell.Value = dialog.Value
                            Else
                            End If

Any ideas on how to do this?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 09 Jun 2014
1 answer
133 views
Visual Studio 2012 C # WinForm help please contact Do you want to change how can I do?
Stefan
Telerik team
 answered on 09 Jun 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)
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
ProgressBar
CheckedDropDownList
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?