Telerik Forums
UI for WinForms Forum
4 answers
67 views
I am in the process of upgrading my project to use the Q2 2010 Telerik WinControls (specifically the 2010.2.10.806 version).  After updating I cannot see the ExcelML namespace under Telerik.WinControls.UI.Export.  Am I doing something wrong or is this a known issue?

An example piece of code is as follows:

using Telerik.WinControls.UI.Export;
...
private void btnExport_Click(object sender, EventArgs e)
        {
            //Create a new Temporary File
            ExportToExcelML exporter = new ExportToExcelML(this.mainGrid);
            string fileName = Path.GetTempPath() + "ExportData.xls";
 
            //Export the grid to the file
            bool exportThemeColors = true;
            exporter.HiddenColumnOption = HiddenOption.DoNotExport;
            exporter.SheetMaxRows = ExcelMaxRows._65536;
            exporter.ExportVisualSettings = exportThemeColors;
            exporter.RunExport(fileName);
 
            //Open it in Excel
            Process process = new Process();
            process.StartInfo.FileName = fileName;
            process.Start();
        }

My error states that the type or namespace cannot be found.  I even tried opening up the namespace in the object explorer and cannot see the class.  Any help is greatly appreciated!

Thanks,

-Bill
Martin Vasilev
Telerik team
 answered on 03 Sep 2010
5 answers
289 views
I got the above error attempting to open the Property Builder. The first time, I basically had to start over with my project which basically had only the RadGridView (Q2 2010) on the form for a 2-level hierarchy grid (orders and line-items).

It seems like this should be easy but I am running into all sorts of problems trying to get this to display correctly - for example, turning off a column in the child by unchecking it. Re-enter the property builder still shows it checked (until eventually, I can't get into the PB).

At one point, I deleted the grid and data objects but the design file still showed templates and other code.

Another problem I did solve was in setting the DataSource. The pulldowns ordersDataSet but when I clicked it, it populated ordersDataSetBindingSource which did not work (execution error). I had to select the Form List Instance version of the ordersDataSet instead of the Project Data Sources OrdersDataSet to get this to work. Changing this back and forth also seemed to resolve the Stack Empty error. 

Another problem is adding a checkbox column, when I run the app, the checkboxes display but are not checkable.The grid was marked Read-Only so changing this, fixed it.

Another problem, using a formatting string for a colun of "{0:C2}" displays some strange currency symbol instead of the dollar sign (so I used "${0:0.00}" instead. I then found the C2 would work by changing the FormatInfo property from (Default) to en-US.

Another problem related to the hierarchy is that clicking the + to expand the child shows 2 tabs (both say "table" and both display the same child grid). Still working on this.

I am probably doing somethings wrong but I am still trying to find out what.

Thanks,
Gary Davis
Jack
Telerik team
 answered on 03 Sep 2010
1 answer
109 views
Hi there

How do I implement the ability to select a day in the Timeline view, press the "Right Arrow" key, and the next day is selected where the next day is the following week?

Currently, we display the 5 day working week as a Timeline, and moving right or left (using the arrow keys) works as expected for Monday to Friday, but when I press left on Monday, or right on Friday, nothing is fired; how can I move the date to the following/preceding week?

Thanks
Andy
Dobry Zranchev
Telerik team
 answered on 03 Sep 2010
5 answers
62 views
HI....
i attached two images with this forum,
Pic1(WithoutDock.jpg)-> showing that tablelayoutpanel1.Dock=DockStyle.None
pic2(AfterDocking.jpg)-> showing that tablelayoutpanel2.Dock=DockStyle.Fill

while i docking these controls, i can't change the radPanelBarGroupElement1.ContentPanel and radPanelBarGroupElement2.ContentPanel height .. look picture AfterDocking.jpg.
i need to dock these tablelayoutpanels and show like Picture 1.
is there any property to fix this problem..

note: i want to keep the GroupStyle as ExplorerBarStyle...

Thanks,
Shinu.
Nikolay
Telerik team
 answered on 03 Sep 2010
0 answers
135 views

 

private void radGridView1_UserAddedRow(object sender, GridViewRowEventArgs e)
{
  this.radGridView1.CurrentRow = this.radGridView1.Rows[10];
}

There are no mistakes,but no effect

Index 10 existing

How to modify
hon
Top achievements
Rank 1
 asked on 03 Sep 2010
1 answer
92 views
Telerik Team:

When I click on the area left to the ComboBoxElement (Not in the Arrowbutton), the popup collapses automatically. How to avoid this behaviour?

Clickable area for the ComboBoxElement is attached.

1. ComboBoxElement.DropDownStyle = RadDropDownStyle.DropDownList;
2. I am using a "RadControls for WinForms Q1 2010 SP2 (2010.1.10.504)"

The same issue exists in the Telerik Demo application. Please provide me the solution.

This very urgent, Please reply asp.(Same issue raised before but no reply)

Regards
Arul
Peter
Telerik team
 answered on 03 Sep 2010
1 answer
118 views
Solution:

RadDateTimeEditor

 

 

dte = new RadDateTimeEditor();  

 

((

 

RadDateTimeEditorElement)((RadDateTimeEditor)dte).EditorElement).Opened += new EventHandler(SelectDateRange_Opened);  

 

 


private 

 

 

void SelectDateRange_Opened(object sender, EventArgs e)  

 

 

{

 

RadDateTimePickerBehaviorDirector

 

 

behavior = ((RadDateTimePickerElement)(sender)).GetCurrentBehavior();  

 

 

((

 

RadDateTimePickerCalendar)behavior).Calendar.ClearButton.Visibility = ElementVisibility.Hidden; 

 

 

}

 

Dobry Zranchev
Telerik team
 answered on 03 Sep 2010
1 answer
76 views
Hi Telerik Team:

RadComboBoxElement popup closes immediately after popup (Clicks the RadComboBoxElement Text Area of RadComboBoxElement (Not in “Arrow Button” area)).

Note:
1. ComboBoxElement.DropDownStyle =
RadDropDownStyle.DropDownList;
2. RadControls for WinForms Q1 2010 SP2 (2010.1.10.504)

Plz Reply ASP.
Peter
Telerik team
 answered on 03 Sep 2010
1 answer
164 views
Is there a good example of showing how to customize items (visual appearance) of RadListControl or is there a better explanation then that provided in the help sections (DataRepresentation, Visual Data Representation and Customizing Items(Visual Appearance))?

Do I understand it correctly, that in order to customize this control, you would have to have a class that contains your business data, a CustomDataItem class that mimicking the business data class, and another CustomVisualItem class?

I believe that the purpose of the help is to explain how things work, and purpose of the example is to show how it works, not to confuse more, or to provide examples that do not flow from one to another, and have missing or wrong code.


Thanks in advance for any help.
Victor
Telerik team
 answered on 02 Sep 2010
3 answers
119 views
Is there a way to limit or hide the default filter predicates that are displayed? I have no use for Is Null, Is Not Null, or the custom option.
Jack
Telerik team
 answered on 02 Sep 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
DateTimePicker
CollapsiblePanel
Conversational UI, Chat
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
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?