Telerik Forums
UI for WinForms Forum
3 answers
159 views
can i have a list of values on a filter property like equals
actually i want to have a drop down on a filter which will be having some list of values from that column from which the client can select and get the results on the grid.
thanks in advance
Svett
Telerik team
 answered on 01 Dec 2010
11 answers
286 views
Hello, 
I am trying to bind a datatable to a radmenucomboitem in a context menu, that is used by a treeview control.  I set the datasource, valuemember and displaymember on form load, and then attach the context menu to each tree node after the treeview has been loaded.  When I run the app, the combobox displays, but it is empty.  What could I be missing?  Thanks!

radMenuComboItem1.ComboBoxElement.ValueMember = "ENTITY_ID"
        radMenuComboItem1.ComboBoxElement.DisplayMember = "NAME"
        radMenuComboItem1.ComboBoxElement.DataSource = _dsTemp.MDMGroup
Stefan
Telerik team
 answered on 01 Dec 2010
4 answers
370 views
Dear Telerik team,

i have a datatable (from SQL) column "enable" with data type smallint. The values of this column are "0" & "1".
The grid, shows the rows of this column like "0" & "1".
I want to change this column to CheckboxColumn and when the value is 0=unchecked and 1=checked.

How can i do that??
Thank you in advance for your help.

Best Regards,
Navarino Technology Department
Richard Slade
Top achievements
Rank 2
 answered on 01 Dec 2010
2 answers
164 views

Hi

                By default column headers are too high for me.

                How can I decrease height of column headers?

Regards

Raymond
Top achievements
Rank 1
 answered on 01 Dec 2010
1 answer
147 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
245 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
273 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
629 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
292 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
352 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
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?