Telerik Forums
UI for WinForms Forum
1 answer
642 views
Hello,

I have a RadTextBoxElement within a RadToolStripItem. When a specific button is pressed I want the text box to receive focus, but the focus method returns false (and doesn't do anything).
I have tried setting CanFocus, Enabled and Visibility to true and visible but the focus method still doesn't work. Any ideas on how to make it work?
Nikolay
Telerik team
 answered on 14 Jul 2008
9 answers
325 views
Hello!
Many of my users would like to export formatted / filtered data from a datagrid and into Excel. Is there any way of solving this?

Does the datagrid support VirtualMode? I could not find any property similar to this. Or any event similar to the default DataGridViews's CellValueNeeded.

If it is not possible in this version, I would like to send a request for it.

Martin Vasilev
Telerik team
 answered on 14 Jul 2008
1 answer
101 views
Greetings:

Before Q1-2008 SP1 I loaded my radGridView with a DataSet in the DataSource property.  After Q1-2008 SP1 that throws a low-level error.  So, I started loading the grid via the 'MasterGridViewTemplate.LoadFrom' method.

It works except that the columns I previously added manually through code, including an additional Command column, are now replaced by the columns from the DataReader being passed to the LoadFrom method.  Before the LoadFrom my column count is 6 (including my Command column) and after the LoadFrom it is 5 (the number of columns in the DataSet).

QUESTION:

How can I keep the columns that I manually added ?

Please advise ASAP

Thanks,

Robb Murdock

Julian Benkov
Telerik team
 answered on 14 Jul 2008
3 answers
181 views
Hello,

I have an xml document such as this:

<Message> 
    <SequenceNumber>1</SequenceNumber> 
    <Comments> 
        <Comment> 
            <SequenceNumber>1</SequenceNumber> 
            <CommentSource>REMOTE_HOST</CommentSource> 
            <CommentText>Free text comment data</CommentText> 
            <CommentType>FT</CommentType> 
        </Comment> 
        <Comment> 
            <SequenceNumber>2</SequenceNumber> 
            <CommentSource>REMOTE_SOURCE</CommentSource> 
            <CommentText>Free text comment data</CommentText> 
            <CommentType>FT</CommentType> 
        </Comment> 
    </Comments> 
    <DelimiterDefinition>|\^~</DelimiterDefinition> 
    <SenderID>REMOTE_HOST</SenderID> 
    <ReceiverID>LOCAL_HOST</ReceiverID> 
    <Comment>EmptyComment</Comment> 
    <ProcessingID>Production</ProcessingID> 
    <Version>1</Version> 
    <DateTime>0001-01-01 00:00:00</DateTime> 
    <CustomerIdentifying> 
        <CustomerIdentifyingRecord> 
            <SequenceNumber>1</SequenceNumber> 
            <Comments> 
                <Comment> 
                    <SequenceNumber>1</SequenceNumber> 
                    <CommentSource>REMOTE_SOURCE</CommentSource> 
                    <CommentText>Free text comment data</CommentText> 
                    <CommentType>FT</CommentType> 
                </Comment> 
            </Comments> 
            <Name>Jones^David</Name> 
            <MothersMaidenName /> 
            <BirthDate>1964-03-15</BirthDate> 
            <Sex>M</Sex> 
            <EthnicOrigin>NotSpecified</EthnicOrigin> 
            <Address /> 
            <TelephoneNumber /> 
            <TestOrder> 
                <TestOrderRecord> 
                    <SequenceNumber>1</SequenceNumber> 
                    <Comments /> 
                    <Priority>U</Priority> 
                    <UserField1>Order Comments</UserField1> 
                    <UserField2 /> 
                </TestOrderRecord> 
            </TestOrder> 
        </CustomerIdentifyingRecord> 
    </CustomerIdentifying> 
</Message> 


Can I display this data in a hierarchical radgridview where child records/tables of "Message" can be both "Comment" tables and "CustomerIdentifyingRecord" tables?

Simply loading the xml as a dataset does not appear to be sufficient.

Is this possible with the radgridview?

Thanks
Jack
Telerik team
 answered on 13 Jul 2008
3 answers
222 views
Hi,

1. Is it possible to create a button (image button would be nice since the GridViewCommandColumn is just wrong for this, it should be a + and -) per row? I know you do not support Hierarchies but can I "infuse" a button?

2. On that button click I would like to increase the height of the Row to add a user control that will show details, pie charts, etc. This usercontrol should be as wide as the whole row (not only a cell).

I am thinking of hacking into  the source code but now when Q2 is comming up... well it would be better not to have to migrate that code every time a service pack or version of the Telerik controls is released.

Thanks,
/ jorge
Kannan Venkateswaran
Top achievements
Rank 1
 answered on 11 Jul 2008
3 answers
234 views
Hi,

I am using the desert theme. The RadListBox is not styled and the RadTextBox scrollbars are not either.

How do I accomplish this on the XML for the style (i have made a copy of the desert theme and have tweaked the XML to my needs.

Thanks,
- jorge
Nikolay
Telerik team
 answered on 11 Jul 2008
4 answers
324 views
Here's how to reproduce the issue.

1. Create a MDI parent form.
2. Create a MDI child form that inherits from Telerik.WinControls.UI.ShapedForm.
3. Set the shape property of the child form to RoundRectShape.
4. Open the child form from within the parent form.
5. Minimize the child form.

Notice the title does not show.

Is there any way around this issue?

Thanks.
Nikolay
Telerik team
 answered on 11 Jul 2008
1 answer
160 views
I am trying to populate a ComboBox with data from a access db. I have the following code that works in a normal combobox, but with the radcombobox does nothing:

                Dim ComboBox1 As New Telerik.WinControls.UI.RadComboBox 
 
                Dim cn As OleDbConnection 
                Dim connString As String = ligacao 
                cn = New OleDbConnection(connString) 
 
                cn.Open() 
                Dim da As New OleDb.OleDbDataAdapter(sql, cn) 
 
                Dim ds As DataSet = New DataSet 
                da.Fill(ds, "Tabela"
 
                With ComboBox1 
                    .DataSource = ds.Tables(0) 
                    .DisplayMember = "D1" 
                    .ValueMember = "D2" 
                End With 

Can you tell me what I have to change to make it work?

Thanks
Martin Vasilev
Telerik team
 answered on 11 Jul 2008
1 answer
442 views
Hi All,
I use the RadGridView to show text that is sometimes longer than the original cell. Since the complete text does not fit into the cell I decided to show a tool tip by using the ToolTipTextNeeded event. The problem is that this event only allows me to set a text for the tool tip. The tool tip itself disappears after only 5 seconds which makes it quite unusable for my implementation.
To find out why I cannot set an AutoPopDelay for the displayed tooltip I used a bit of Reflector magic and found out that the RadToolTip class being used is internal as well as the property that holds the tool tip for the cells. This is a bit stupid because now I can't even derive my own class.
In the end I decided to force the required values into the grid by using reflection but of course this is not the best way to solve this problem.
Shouldn't the ToolTipTextNeededEventArgs expose far more properties of the original tooltip or the entire tool tip itself?
Just in case someone else is having the some problem, I'll post my ToolTipTextNeeded event handler here:
private void gviAufgaben_ToolTipTextNeeded(object sender, ToolTipTextNeededEventArgs e)  
        {  
            GridDataCellElement cell = sender as GridDataCellElement;  
            if (cell != null)  
            {     
                ComponentBehavior behavior = cell.ElementTree.ComponentTreeHandler.Behavior;  
                PropertyInfo tooltip = behavior.GetType().GetProperty("ToolTip", BindingFlags.NonPublic | BindingFlags.Instance);  
                object tip = tooltip.GetValue(behavior, null);                
                PropertyInfo autoPopDelay = tip.GetType().GetProperty("AutoPopDelay");  
                autoPopDelay.SetValue(tip, 60000, null);                  
                e.ToolTipText = cell.Value.ToString();                
            }             
        } 

I hope that someone can come up with a better suggestion.
Thanks,
Sebastian
Martin Vasilev
Telerik team
 answered on 11 Jul 2008
3 answers
759 views
Hi,

I have a page that contains two data grid view controls. Both the Grid View Controls are sharing a common Context Menu. When i Select any Context menu item(let's Say Copy) i need to know which Data Grid View Control opened up the Context menu. So when the MenuItem Click event is fired i need to know the event is fired on which Grid.....

Could any body please help me out..

Any kind of help is appreciated.

Sasmita
Martin Vasilev
Telerik team
 answered on 11 Jul 2008
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?