Telerik Forums
UI for WinForms Forum
1 answer
106 views
Hi everybody,

I have bought the license of this controls, I would like to know how to create the theme for RadMultiColumnComboBox.
I know how to use VSB, but I don't see any Control Structure for RadMultiColumnComboBox. I use the RadControls for WinForms Q2 2010 SP2 version.

Thanks and Regards,
ABS SA de CV
Stefan
Telerik team
 answered on 01 Dec 2010
4 answers
183 views
I tried to priovide a custom localization provider for RadPageView with no success. 

Public Class PageViewLocalizationProvider
    Inherits Telerik.WinControls.UI.RadPageViewLocalizationProvider
 
    Public Overrides Function GetLocalizedString(ByVal id As String) As String
        Return SharedLocalizationManager.GetLocalizedString(id)
    End Function
End Class

To use the localization provider I did
Telerik.WinControls.UI.RadPageViewLocalizationProvider.CurrentProvider = New PageViewLocalizationProvider()

SharedLocalizationManager is just a shared class that provides localization string (a simple select case) for both RadDockLocalizationProvider and RadPageViewLocalizationProvider.

RadDockLocalizationProvider is working fine but RadPageViewLocalizationProvider is not working at all (the GetLocalizedString function is never called)

I am using the Q3 2010 dlls (trial version).

Thank you in advance

Ivan Petrov
Telerik team
 answered on 01 Dec 2010
3 answers
199 views
Hi,

I am using Q2 2010 SP1 Winforms and am getting out of memory exceptions in a simple grid app bound to an IList<>.

A timer fires every 10 seconds, reloads the IList<> and rebinds it to the grid as below:

 

 

radGridView1.DataSource =

null;

 

radGridView1.DataSource = m_Deals;

I was assuming that setting the DataSource to null would clear the grid of data before each reload.

Depending on how much data is there, after a certain time I get an Out of Memory exception.

Can you advise the best way to prevent this on periodic reloads of the Grid ?

Martin

Martin
Top achievements
Rank 1
 answered on 01 Dec 2010
10 answers
534 views
hi , i am using the following code for the change of the Font according to the standard Font stored in DB(which is getting populated previous to this code) . But the Font remains the Standard "Microsoft Sans Serif". I want to change Font of each and every cell. Please suggest..
I also tried the Commented code : as
//e.CellElement.Font = new Font("Marathi Sharda", 10);
but it didnt work...

 private void ChangeFont()
        {
            for (int i = 0; i < DgrdCustomerMaster.Rows.Count; i++)
            {
                for(int j=0;j<DgrdCustomerMaster.Rows[i].Cells.Count; j++)
                {
                    DgrdCustomerMaster.Rows[i].Cells[j].Style.Font = new Font(DgrdCustomerMaster.Rows[i].Cells["dgrdFont"].Value.ToString(), 10); ;
                }
            }
        }
private void ChangeFont()
       {
           for (int i = 0; i < DgrdCustomerMaster.Rows.Count; i++)
           {
               for(int j=0;j<DgrdCustomerMaster.Rows[i].Cells.Count; j++)
               {
                   DgrdCustomerMaster.Rows[i].Cells[j].Style.Font = new Font(DgrdCustomerMaster.Rows[i].Cells["dgrdFont"].Value.ToString(), 10); ;
               }
           }
       }
 
private void DgrdCustomerMaster_CellFormatting(object sender, Telerik.WinControls.UI.CellFormattingEventArgs e)
       {
          // e.CellElement.Font = new Font("Marathi Sharda", 10);
           ChangeFont();
       }
Richard Slade
Top achievements
Rank 2
 answered on 01 Dec 2010
5 answers
217 views
Hi..

I have added RadRibbon Form in my Project and i set that form as MDI.

then i added one child form... if i click a rad button element from radribbonbar it will show that child form.it works.

but My Problem is ,i added  groupbox control in MDI and Clicked that child form.it shows but i displays behind of that mdi groupbox control.


is there any way to overcome that problem?

i have attached Image
Richard Slade
Top achievements
Rank 2
 answered on 01 Dec 2010
4 answers
284 views
I am using Winforms Q2 2010 SP2.  
What property do I set to change the value of the default text that is displayed when there is no data to display in the RadGridView?  The text "No Data to display" appears now.

 I've looked through the forums and Telerik help but can't seem to find an answer.

Thanks

Richard Slade
Top achievements
Rank 2
 answered on 30 Nov 2010
2 answers
74 views
Hi,

I have created one RadGridView and I am looking for the functionality for floating help control. Whenever a user rolls over the mouse in the column header of a Radgridview this floating help control will popup with some pre-defined description about that header. As soon as mouse pointer is no more in the header, this floating control will disappear. Any other suggestions to implement this are most welcome. I am using WPF for my application.

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 30 Nov 2010
2 answers
97 views
Hi,

I have couple of things about the RadGridView in particular. I have created a Radgidview in following way:-

        <UserControl x:Class="MySampleClass"
            
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
              mc:Ignorable="d"
              d:DesignHeight="300" d:DesignWidth="300">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="Auto" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <telerik:RadGridView Grid.Column="0" Grid.Row="0"
                             x:Name="MainGridView"
                             ItemsSource="{Binding Path=MetricsData}"
                             AutoGenerateColumns="False" CanUserDeleteRows="False" CanUserInsertRows="False" ShowGroupPanel="False" RowIndicatorVisibility="Visible" SelectionMode="Extended" SelectionUnit="Cell"
                             IsFilteringAllowed="False"
                             SelectedCellsChanged="MainGridView_SelectedCellsChanged">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn Header="ColA" Name="Mkt" DataMemberBinding="{Binding Path=Market, Mode=OneWay}" IsResizable="False" IsSortable="False" IsReadOnly="True" />
                <telerik:GridViewDataColumn Header="ColB" Name="SiD" DataMemberBinding="{Binding Path=Sub1, Mode=OneWay}" IsResizable="False" IsSortable="False" IsReadOnly="True" />
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</UserControl>

This user control resides inside a ScrollViewer(which is inside a GroupBox) in the topmost Page.

The first thing is when I access column name using GridViewCellInfo.Column.UniqueName in code-behind, it returns the string from Binding Path, I was expecting the value from the header name. Is there any way to get the header value or name element.

Other thing, when the radgridview contains many elements and scrolled down, I want the header row to be fixed and only its contained elements to be scrolled. How can I achieve this.

When a mouse rollover occurs over some particular elements of RadgidView, I want to change the visibility of them as hyperlinks(some underline bar appears and color changes to blue) to show that these elements are clickable (I am handling Selected event). Is there any property over some column that I set.

Thanks,
Mark
Mark
Top achievements
Rank 1
 answered on 30 Nov 2010
1 answer
117 views
Hi team,

I need to disable arrow button in radtoolstrip.
when ever i make it as float dialog i need to disable it.

Thanks
suresh
Ivan Todorov
Telerik team
 answered on 30 Nov 2010
2 answers
209 views
I have a xml file i need to databind to a DropDownList, the xml looks like this

<Category>
    <ID=1/>
    <Title=Main/>
    <ParrentID=0/>
</Category>
<Category>
    <ID=2/>
    <Title=Sub of Main/>
    <ParrentID=1/>
</Category>
<Category>
    <ID=3/>
    <Title=Level 3/>
    <ParrentID=2/>
</Category>
<Category>
    <ID=4/>
    <Title=Main 2/>
    <ParrentID=0/>
</Category>

is it possible to have the DropDownLost display it like this

Main 1
    Sub of Main
        Level 3
Main 2
Richard Slade
Top achievements
Rank 2
 answered on 30 Nov 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
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
Accessibility
NavigationView
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
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?