Telerik Forums
UI for WinForms Forum
1 answer
148 views

Hello.. how are you..

i have the next scene.. i have a grid nest into the other grid i am using the tools to export of telerik.. its a example:

 

public

 

void Export(String sFilepath, RadGridView grvExportExcel)

 

{

 

ExportToExcelML exporter = new ExportToExcelML(grvExportExcel);

 

exporter.SummariesExportOption =

SummariesOption.ExportAll;

 

exporter.RunExport(sFilepath);

 

}

but its doesn't work .. when i run this function its make the file succesfully but only export the primary grid and the template not...
i need export all information of the grid... if somebody can help me.. i will pleasure.. for your help.

 

 

public void Export(String sFilepath, GridViewTemplate grvtExportExcel)

 

{

 

RadGridView rgvGrid = new RadGridView();

 

 

foreach (GridViewDataColumn c in grvtExportExcel.Columns)

 

{

rgvGrid.Columns.Add(c);

}

 

foreach (GridViewDataRowInfo d in grvtExportExcel.Rows)

 

{

rgvGrid.Rows.AddNew(d);

}

ExportToExcelML exporter = new ExportToExcelML(rgvGrid);

 

exporter.SummariesExportOption = SummariesOption.ExportAll;

 

exporter.RunExport(sFilepath);

}

 

}

but its doesn't work neither....

regards...
thanks for your help.

Martin Vasilev
Telerik team
 answered on 13 Jul 2010
2 answers
134 views
Hello everybody!

I've got simple question about filtering:

I need to have only several filter expression  like  "startswith","contains","endswith" and "no filter"... How can I achieve that
?
I'm using 2010.1.10.308 version of gridview.

Thanks in advance.
Martin Vasilev
Telerik team
 answered on 13 Jul 2010
1 answer
240 views
i want to disable mouse scroll when i have focus on a multicolumnCombo and i havent opened the drop down list.
Is it possible?
Boryana
Telerik team
 answered on 12 Jul 2010
1 answer
70 views
Ok, i've watched the training video and read several posts on this forum. and I don't exactly get how to do this.

I can add a simple value such as text box, checkbox, etc. But I want to add a new combo box that will contain meeting rooms available. 
So basically its replacing the Resource combobox. 
Normally I would use the datasource.ResourceProvider.Mappings and pass the ResourceMappingInfo. 

How would i populate my MeetingRooms combobox?

Thank you!
Dobry Zranchev
Telerik team
 answered on 12 Jul 2010
3 answers
118 views
I'm loading a  gridview from an oracle datareader approx 30,000 rows with 8 columns
and it taking almost a minute to load..  I have grouping and sorting enabled.
sample code is

Public

 

Sub SetGrid(ByVal grd As RadGridView)

 

 

Try

 

System.Windows.Forms.Cursor.Current = System.Windows.Forms.Cursors.WaitCursor

 

 

 

If Not dr Is Nothing Then

 

grd.MasterGridViewTemplate.LoadFrom(dr)

 

 

 

BestfitGrid(grd)

 

Else

 

 

Exit Sub

 

 

End If

 

 

Catch vbex As Exception

 

 

End Try

 

 

End Sub

would appriciate any direction in improving perfomance since I'm new to your software trying to justify purchase of Software

 

Stefan
Telerik team
 answered on 12 Jul 2010
1 answer
158 views
Hi,

We are using Telerik 2009.3.9.1203. In that, we are using Scheduler Control in our project. We are looking for the feature where we can assign the first visible time of the calendar as we need. For example, In the scheduler control, As I have assigned the "AutoScrollWorkTime" Property as true, I always see the calendar starting from 9 a.m. But, If i schedule an appointment at 8 p.m, then, the scheduler should start with 8 p.m. Is there any property available like "FirstVisibleTime"?

Can you please help me on this ASAP.
Dobry Zranchev
Telerik team
 answered on 12 Jul 2010
1 answer
120 views
Good day,
Anyone knows about tutorial about update/insert scheduler data to database using stored procedures????

Help me, please.

Victor Bocanegra
Lima, Perú
Dobry Zranchev
Telerik team
 answered on 12 Jul 2010
3 answers
108 views
Hi,

I want to disable the most of the controls in the form. is there a way to do it for all of them at the form level.

also, I have a requirement of NOT greying out the controls when they are disabled.

thanks for your advice and help in advance.

regards,
Khizar
Nikolay
Telerik team
 answered on 09 Jul 2010
1 answer
150 views
Hi!

I have encountered a problem with RadGrid when using AutoGenerateColumns=false. Having defined the required columns and setting the property to false (both in code and in the property designer) the resulting output when the grid is bound to a data reader is far from what is to be expected.

The columns I specify do not take on the values defined by the fields assigned to them, rather they display the contents of coumns in the order the query returns them, append the remaining columns (ignoring the autogenerate setting) to my defined set, ie

Query returns ID, strSurname, StrForename, strPhone, strLocation

I defined a simple grid (as a test) to display only the column strSurname with the heading "Surname"

What happened was I got a grid with columns "Surname",  lngID, strSurname, strForename, strPhone

With 'Surname' displaying the values for lngID, 'lngID' displaying the values for strSurname etc.
Julian Benkov
Telerik team
 answered on 09 Jul 2010
2 answers
218 views
Hi,

I'm trying to list some information about tasks and when I'm trying to set a date/time entry, I'm only able to edit the date part, not the time part.

I've tried to change the DataEditFormatString to be able to change the time part but without success.

What am I doing wrong?

Here is a code of one of the GridViewDateTimeColumn.

            gridViewDateTimeColumn1.DataEditFormatString = "{0:D}"
            gridViewDateTimeColumn1.DataType = typeof(System.DateTime); 
            gridViewDateTimeColumn1.FieldAlias = "DateBegin"
            gridViewDateTimeColumn1.FieldName = "DateBegin"
            gridViewDateTimeColumn1.HeaderText = "DateBegin"
            gridViewDateTimeColumn1.IsAutoGenerated = true
            gridViewDateTimeColumn1.UniqueName = "DateBegin"
            gridViewDateTimeColumn1.Width = 140; 

Thanks,
Alexander
Telerik team
 answered on 08 Jul 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
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
CheckedDropDownList
ProgressBar
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?