Telerik Forums
UI for WinForms Forum
4 answers
184 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
213 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
546 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
228 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
287 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
79 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
101 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
118 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
228 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
5 answers
207 views
Group Summaries:
I dont know if anyone has suggested it yet or even if it is possible to do it right now, but I would like the user to be able to right-click on the columns group summary and select from a context menu what he/she would like to see (Sum,Min,Max,Average, etc) for that column.

I've attacked an example of what i'm trying to describe.

Column Group Views:
I would also like to suggest an ability to use the column chooser and to drag an entire group from the grid to the column chooser window, this would allow the user to quickly add/remove entire groups from the gridview.

If any of this is currently possible, i would really like to know how I can achieve any of these.

Thank You.
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
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
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
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
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
AI Coding Assistant
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?