Telerik Forums
UI for WinForms Forum
1 answer
197 views
Hi,
I use the telerik GridView and read datas from a XML in this. Now I will write an XML from the GridView. I will read it same as a normaly windows list view element so this code i used for this:
foreach (ListViewItem lvi in lvPending.Items)
                {
 
                    writer.WriteStartElement("transaction");
                    writer.WriteStartElement("eventId");
                    writer.WriteString(lvi.SubItems[0].Text);
                    writer.WriteEndElement();//eventID
                    writer.WriteStartElement("orderNumber");
                    writer.WriteString(lvi.SubItems[1].Text);
So my question how can I read this with a teleric grid view?
foreach (GridDataItem item in RadGrid1.Items)
{
   
}

doesn´t run. I got the error:The type or namespace name 'GridDataItem' could not be found (are you missing a using directive or an assembly reference?)  

Thanks for help
Thomas
Stefan
Telerik team
 answered on 19 Apr 2012
2 answers
121 views
When using the row filter button for DateTime Columns if a row has a null value the filter fails.
This can easily be reproduced using the Demo samples by going into the Nwind.mdb and setting one of the Employees Hiring Dates to NULL and then going to Demo Samples for Winforms -> GridView -> Filtering -> Filtering and clicking the filter button under hiring and selecting Is not null.
Julian Benkov
Telerik team
 answered on 18 Apr 2012
6 answers
309 views
I have two RadGrids on the same page.  They have the same list of people in both grids, just with different information in each.  When I scroll one grid, I want to make sure that I scroll the other one to the same person.  They are the same height.  I have implemented two scroll events in the form's OnLoad:
 
this.gv1.GridElement.VScrollBar.Scroll += new ScrollEventHandler(gv1_VScrollBar_Scroll);
this.gv2.GridElement.VScrollBar.Scroll += new ScrollEventHandler(gv2_VScrollBar_Scroll);

And then I have:

void gv1_VScrollBar_Scroll(object sender, ScrollEventArgs e)

 

{

    gv2.GridElement.VScrollBar.Value = e.NewValue;

}
 

 

void gv2_VScrollBar_Scroll(object sender, ScrollEventArgs e)

{

    gv1.GridElement.VScrollBar.Value = e.NewValue;

}

 

Here's the problem.  It works for gv1.  The event never even fires for gv2.  If I comment out the functioning one, the other still doesn't work.  Off the top of my head, the only difference I can come up with is that gv2 is heirarchical.  Any thoughts?
Thanks,
Dan

Svett
Telerik team
 answered on 18 Apr 2012
1 answer
153 views
HI..
 I am trying to customize an existing RadTheme and have achieved pretty much what was required. However I am unable to change the color of the text of the RadForm. Apparently the new text color is applied for RadForm and RadTitle in Visual Style Builder. But when previewing, the new color is not visible. 
I've attached an image for your clear understanding.

Reards,
Zubair
Boryana
Telerik team
 answered on 18 Apr 2012
1 answer
353 views
How to create a Theme Selector just like in Telerik Theme Viewer?
Stefan
Telerik team
 answered on 18 Apr 2012
3 answers
199 views
I am a newbia with RadScheduler control. I would like to add another check event for example prompting user a message before showing the Edit Appointment Dialog Form,  when you double click to add new appointment. Please help me. Thanks.
Ivan Todorov
Telerik team
 answered on 18 Apr 2012
1 answer
124 views
Hello,

I can't seem to get this work:

- I have a spineditor set to min of 0, and max 100.
- when i run the form and enter a number within the range above (for example, say 8), then leave the spineditor, the value changes back to zero. 
- I then have to reenter my value (ie, 8) and it keeps it the second time i enter it.

Any ideas to prevent this from happening?  I have no code in the leave event either.

thanks
Francis
Ivan Petrov
Telerik team
 answered on 18 Apr 2012
3 answers
162 views
I have a RadRibbonBarGroup that contains a RadRibbonBarButtonGroup.

There is some padding between the outside edge of the RadRibbonBarGroup and the outside edge of the RadRibbonBarButtonGroup. I assumed I would be able to adjust this with either RadRibbonBarGroup Padding or RadRibbonBarButtonGroup margins. But these values are already 0.

What do I need to set in order to get rid of the spacing around the RadRibbonBarButtonGroup buttons?

Thanks!
Peter
Telerik team
 answered on 18 Apr 2012
1 answer
94 views
Hi,

We are using the Telerik winform Q3 2009 SP1.

In our application, We have used the Scheduler control also. The issue happens when we view the date that has multiple appointments [10-20 at least]. In this case, if we minimize the rad form, we are not able to reopen it.

It happens only when we view the date which has multiple appointments. Otherwise, we are able to minimize & maximize the form.

Please let me know the fix for this.

We are in production. So, I appreciate your immediate help on this.

Thanks in Advance.



Ivan Todorov
Telerik team
 answered on 18 Apr 2012
1 answer
165 views
How can I achieve the following (see also picture)?

I have a Form which is displaying a image (the green).
Now i have a ToolWindow docked to the left (the blue and red). But when the Tollwindow is not docked I have this big blue bar on the left side.
What I want is just the "minimized" Toolwindow "floating" over the image.

How can I achieve this?

Boryana
Telerik team
 answered on 18 Apr 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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?