Telerik Forums
UI for WinForms Forum
7 answers
752 views
Hi, i have a value e.g.  23.0000   how do make this a euro value such as €23.00    ?   thanks for any help.
Hilda Kenny
Top achievements
Rank 1
 answered on 22 Nov 2010
21 answers
202 views

After creating a hierarchical bound grid with two levels(two different binding sources) for example, you exit Visual Studio 2008 and  then go back in to change any of the properties of the columns in  the child template(from within the design view) it will work fine, you can do a build, run it, and even see the changes in the designer.VB file. But then when you exit Visual Studio 2008 SP1 again and get back in again, the changes you made to the child template are gone!  from that point on it accepts no updates or changes of any kind from the design view.

I also did a fresh install of Visual Studio 2008 as well as the Telerik install  on my virgin laptop and created a new project. Same problem.   the only controls I am using are the radribbonform and the radgridview within it.  if you can't reproduce it for some reason I  will attach the project

Please get back to me ASAP since this is very urgent. I can't continue. I'm at a dead-end unless you have some workaround that I can use.

Thanks,  Eyal
Jack
Telerik team
 answered on 22 Nov 2010
4 answers
134 views
Hello,
     I'm trying to create a custom GridViewMultiComboBoxColumn with additional features. When the grid autogenerate the columns depending the data type, I want that it autogenerates my customColumn if the type of the column's datasource is a related persistent class. Maybe it is not possible, but I want to try it.

Thanks in advance.
Tajes
Top achievements
Rank 1
 answered on 22 Nov 2010
1 answer
98 views
Hello,
As a part of an application I'm developing, I'm writing a very basic XML viewer. It gets an xsd schema and an xml file, and should display the xml contents in gridview, so the user can expand each row to discover its inner properties.
I've tried using telerik's grid view for the mission, and I had three problems:
1. It adds 'redundant' columns to the grid - for example I have 'name' and 'address' properties, and it adds a column named 'name_id' which contains indices of the rows. I didn't understand why it does that and how can I disable that, so I tried hiding this extra column (which doesn't appear in the xsd schema), which leads me to my second problem:
2. I can access columns and rows of the 'main' grid, the one that contains the first level data, but how can I access the inner grids, the ones that open up when the user expands a row? I have an event handler for expanding rows, but I couldn't find a way to get the inner gridview from its arguments.
3. How can I change the font dynamically? I want the user to be able to resize the font. I tried using the font property of the gridview object, but it doesn't do anything(!). In this forum I saw people talking about doing it in the grid xml, for the specific table which font is to be determined, but I can't do it dynamically, I think.
Thank you,
Shai
Jack
Telerik team
 answered on 22 Nov 2010
4 answers
269 views
Hi,

I'm having a few issues i'm unable to resolve and wondered if someone could give me a quick hand.

I've got a main gridview which shows a list of pre-filtered data for each user after they log in. I used to have controls databound so when a row was selected the details would update and when changes were made using those controls and the save button pressed the dataset would update.

Then someone pointed out that if they grouped some of the data and then changed that same criteria using the controls the bindings would go out of sync and when a further record was selected, the incorrect details would be displayed in the controls. (Basically the agents have a list of customers and a column which shows the next call date. When they group by that to show them the customers they have to call that day, they will then change the next call date and that's when things become out of sync; selecting Customer A doesn't display Customer A in the bound controls).

So I suspected this was because the row index was getting out of sync so I went about rewriting the entire process so that when the row changes it now fills those controls with the currentrow value; this works fine.

My problem is now trying to update the dataset with the changes made to that row. I have used the below code (basic example) but it really doesn't look right and isn't saving the information properly.

private void SaveAccountDetails()
{
    int currentrow = this.radGridView1.Rows.IndexOf(this.radGridView1.CurrentRow);
    mercuryDBDataSet.Main[currentrow].Notes = AccountNotesTextBox.Text;            
    radGridView1.CurrentRow.InvalidateRow();
    MessageBox.Show("Records Updated");
}

I have looked at the value for currentrow and if I try to save the first row in my filtered list it is giving me an index of 0. This is updating the row and the first row in my dataset which isn't what I want.

I found something about GridViewRowInfo on here but not sure if it's the correct way to go and then how to implement it in my code.

I would really appreciate any help!

Regards,

Guy
Emanuel Varga
Top achievements
Rank 1
 answered on 22 Nov 2010
3 answers
87 views
I have a radstatusstrip whose theme is Office2007Blue.
The radProgressBarElement for this theme shows a discontinuous strip containing gray strips separated by white strips when progress is shown. How can I make sure that the expanding part of the progress bar is a solid color rather than a broken series of vertical strips.

I am using Q1 2008 SP1 version.

Thanks
Sunil
Richard Slade
Top achievements
Rank 2
 answered on 21 Nov 2010
10 answers
338 views

Hello,

I am trying to figure out on how to get the selected row and column index on a RadGridView in a MouseDown event. What I am trying to do is when the user right clicks, a context menu strip pops up with options to do something..

P.S. I am trying to do it in C# VS2010.

Thank you,

Greatly Appreciated.

Emanuel Varga
Top achievements
Rank 1
 answered on 20 Nov 2010
5 answers
287 views
How do I set the height (number of entries) displayed when a user drops down a GridViewComboBoxColumn?
Emanuel Varga
Top achievements
Rank 1
 answered on 20 Nov 2010
2 answers
80 views
Hi ,i have one problem , that i have a Parent Grid and a Child Grid, and i want to have the values from the cells of Child Grid on mouse click . So that i can show that value, But i am not able to get it. I have attached the PIC of my datagrid, i want the  value of Kroner.Please Help..

I hope you get the problem.

Please Help....
Emanuel Varga
Top achievements
Rank 1
 answered on 20 Nov 2010
1 answer
144 views
Is there a way I can find this information somewhere?

Thanks
Emanuel Varga
Top achievements
Rank 1
 answered on 20 Nov 2010
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?