Telerik Forums
UI for WinForms Forum
3 answers
319 views
Hello,

I have a RadGridView that contains 3 child templates in it. So when you expand each row, there are 3 tabs that you can view the data for each child template by clicking on each tab.

In my export code, i have the exporter.ExportHierarchy = true; for each export function. However, when i go to export the gridview to CSV / Excel / HTML / PDF, it appears that it can only export the first child template hierarchical grid data. It does not export all 3.

My question - Can the data for ALL child templates be exported using the CSV / Excel / HTML and/or PDF exporter commands?

Please let me know if this is possible, as right now it is only exporting the first child template.

If this is not possible to export all 3 child templates, is it possible to remove certain child templates before exporting so that i can provide my user with options on what child template they want to export?

Your help in this matter would be greatly appreciated, thanks!
Ivan Petrov
Telerik team
 answered on 23 May 2012
4 answers
130 views
I see that the PITS issue to make the Aqua theme exportable/usable in the VSB has been deleted. Is there a reason for this ? The aqua theme is one of the long term themes in the controls now, is there a reason it wasn't enabled in the VSB to begin with ?
Jack
Telerik team
 answered on 23 May 2012
2 answers
202 views
Hi,
Is there a way to bind to IEnumerable<IDictionary<stringobject>>.

Thanks
Holger Boskugel
Top achievements
Rank 2
 answered on 23 May 2012
1 answer
89 views
Hi,

I need to be able to move/resize a recurring apointment such that any changes are reflected in any future linked appointments. At the moment I can't seem to resize even the master appointment of a recurring series. Please advise.
Ivan Todorov
Telerik team
 answered on 23 May 2012
3 answers
227 views
Hey guys,

Just like the title says. I am setting the DecimalPlaces property on a GridViewDecimalColumn to a value of 2, both in the designer and in my code. When the grid displays, however, four decimal places show. Why is the GridViewDecimalColumn's DecimalPlaces property not using the value I assigned to it? 

Code: 

((Telerik.WinControls.UI.GridViewDecimalColumn)rgvGrid.Columns["Amount"]).DecimalPlaces = 2;
Stefan
Telerik team
 answered on 23 May 2012
3 answers
325 views
I am binding the datasource to an empty datagrid.  Afterwards, I change the column headers and want to make a particular field a hyperlink.  I saw something in the threads earlier about having to add a new column, link the data to that column and hide the original column.  I'm not sure I understand how to bound data from one column to another.

    Using context As New FES_ThreeWayMatchEntityModel.ThreeWayMatchEntities
        Dim q = From lh In context.Invoice_Header
                Join v In context.Vendors On lh.Vendor_ID Equals v.Vendor_ID
                Select v.Vendor_Name, lh.Shipment_Number, lh.Invoice_Number, lh.Invoice_Date, lh.Invoice_Total
 
        invoiceList.invoiceDataGrid.DataSource = q
    End Using
 
    ' Create the hyperelink column
    Dim hl As New GridViewHyperlinkColumn
    hl.Name = "hlVendorName"
 
    With invoiceList.invoiceDataGrid
        .BestFitColumns()
        .Columns("Vendor_Name").IsVisible = False       ' Hide the original field
 
        .Columns("Shipment_Number").HeaderText = "Lot/Shipment Number"
        .Columns("Invoice_Number").HeaderText = "Invoice Number"
        .Columns("Invoice_Date").HeaderText = "Invoice Date"
        .Columns("Invoice_Date").FormatString = "{0:MM/dd/yyyy}"
        .Columns("Invoice_total").HeaderText = "Invoice Total"
 
        ' Add the hyperlink column
        .Columns.AddRange(hl)
        .Columns.Move(6, 0)
    End With
End Sub


Where or how do I bind the data?

Thanks
Bob
Stefan
Telerik team
 answered on 22 May 2012
3 answers
297 views

When I search for an item in a row, the grid does not scroll down to the selected row.

The row is selected, but I have to manually scroll down to the selected row.

I have AutoScroll = true

Thanks

If filterTextBox.Text <> "" Then
    For Each row As GridViewDataRowInfo In LotDetailsDataGrid.Rows
        If (filterTextBox.Text.Equals(row.Cells("ISBN_13").Value.ToString)) Then
            row.IsSelected = True
            Exit For
        End If
    Next
End If
Stefan
Telerik team
 answered on 22 May 2012
4 answers
354 views
Hello all,
I want to make ComboBox Readonly, i don't find a good Solution in the forum.
I don't to use Skin...
So
I implemented a simple code !!! that i maked with help on demo:
            if (ZoneText is RadComboBox)  
            {  
                ((RadComboBox)ZoneText).EnableViewState = false;  
                if (mode == ModeEdit.ADD)  
                {  
                    ((RadComboBox)ZoneText).BackColor = Color.White;  
                    ((RadComboBox)ZoneText).ShowToggleImage = true;  
                    //((RadComboBox)ZoneText).ShowDropDownOnTextboxClick = true;  
                    //((RadComboBox)ZoneText).ChangeTextOnKeyBoardNavigation = true;  
                    ((RadComboBox)ZoneText).OnClientKeyPressing = "";  
                    ((RadComboBox)ZoneText).OnClientDropDownOpening = "";  
                    ((RadComboBox)ZoneText).EnableTextSelection = true;  
 
                }  
                if (mode == ModeEdit.BROWSE)  
                {  
                    ((RadComboBox)ZoneText).BackColor = Color.FromName("#E6E6E6");  
                    ((RadComboBox)ZoneText).ShowToggleImage = false;  
                    //((RadComboBox)ZoneText).ShowDropDownOnTextboxClick = false;  
                    //((RadComboBox)ZoneText).ChangeTextOnKeyBoardNavigation = false;  
                    ((RadComboBox)ZoneText).OnClientKeyPressing = "CancelKeyPress";  
                    ((RadComboBox)ZoneText).OnClientDropDownOpening = "CancelDropDown";  
                    ((RadComboBox)ZoneText).EnableTextSelection = false;  
 
                }  
                if (mode == ModeEdit.EDIT)  
                {  
                    ((RadComboBox)ZoneText).BackColor = Color.White;  
                    ((RadComboBox)ZoneText).ShowToggleImage = true;  
                    //((RadComboBox)ZoneText).ShowDropDownOnTextboxClick = true;  
                    //((RadComboBox)ZoneText).ChangeTextOnKeyBoardNavigation = true;  
                    ((RadComboBox)ZoneText).OnClientKeyPressing = "";  
                    ((RadComboBox)ZoneText).OnClientDropDownOpening = "";  
                    ((RadComboBox)ZoneText).EnableTextSelection = true;  
 
                }  
            } 
    public enum ModeEdit  
    {  
        ADD,  
        EDIT,  
        BROWSE  
    } 
and finnaly
i make 2 simple function JS !!!

<script type="text/javascript">  
 
    function CancelDropDown(sender, eventArgs) {          
         eventArgs.set_cancel(true);  
    }    
 
    function CancelKeyPress(sender, eventArgs)  
    {  

        eventArgs.get_domEvent().keyCode =

null;

    }  
</script> 

Code not complexe, but make combo like textBox,
enjoy!!!!
Adrian
Top achievements
Rank 2
 answered on 22 May 2012
9 answers
399 views
Hello,
I'm wondering if is there any control that display a balloon over another control to display information. Something similar to the notices of windows SO system tray but in our aplication and over a button for example, and of course more powerfull than a simple tooltip. Where I can insert controls like buttons, textbox, etc...
Thanks!
Karl
Top achievements
Rank 1
 answered on 22 May 2012
1 answer
389 views
Hi
When I add button element to my ribbon group there are borders around it. How can I remove borders?
Stefan
Telerik team
 answered on 22 May 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)
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
CheckedDropDownList
ProgressBar
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
NavigationView
Accessibility
VirtualKeyboard
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
+129 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
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
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?