Telerik Forums
UI for WinForms Forum
1 answer
135 views
I am having an issue with the RadGrid control when binding to a DataSet that uses a Expression Column.

The expression column is 

Parent(CategoriesProducts).CategoryName

When I bind this DataTabe to a DataGridView there is no error.

But if I try to bind the DataTable to a RadGridView I get the error.

Cannot find the parent relation 'CategoriesProducts'.


Martin Vasilev
Telerik team
 answered on 12 Mar 2008
2 answers
221 views
How can i add a tooltip on the selected row

I wan to show first coloum text on the tooltip of selected row

is there any direct propery to set the tooltiip or some alternate solution
please let me know
ashok
Top achievements
Rank 1
 answered on 10 Mar 2008
1 answer
197 views
I have a radgridviw. In the last column of the gridview, I would like to use a menu items to provide additional functionality such as viewing documents, editing documents, etc. I have the controls loaded in the grid, and they display fine, but I can not capture any events in the column containing the menu items. Code pasted below.

public partial class LALA: UserControl
    {
        public LALA()
        {
            InitializeComponent();
            BindToDataReader();
            gvManageDocs.CellFormatting += new  CellFormattingEventHandler(gvManageDocs_CellFormatting);             
        }
     

        private void gvManageDocs_CellFormatting(object sender, CellFormattingEventArgs e) 
            {

                if (e.CellElement is GridCommandCellElement) 
                { 
                    if (e.CellElement.Children[0] is RadButtonElement ) 
                    { 
                        e.CellElement.Children.Clear();

                        RadMenuElement buttonElement = new RadMenuElement(); 
                        //RadDropDownButtonElement buttonElement = new RadDropDownButtonElement();
                        buttonElement.Items.Add(new RadMenuItem("view")); 
                        buttonElement.Items.Add(new RadMenuItem("modify")); 
                        buttonElement.Items.Add(new RadMenuItem("release"));
                        buttonElement.Items.Add(new RadMenuItem("new")); 
                        e.CellElement.Children.Add(buttonElement); 

                    } 
                } 
            } 

        private void BindToDataReader()
        {

            gvManageDocs.GridElement.BeginUpdate();
            gvManageDocs.MasterGridViewTemplate.Columns.Clear();
            gvManageDocs.GridElement.EndUpdate(false);
            gvManageDocs.GridElement.BeginUpdate();

            gvManageDocs.MasterGridViewTemplate.AutoGenerateColumns = false;
            gvManageDocs.MasterGridViewTemplate.AllowAutoSizeColumns = true;
            gvManageDocs.MasterGridViewTemplate.AllowAddNewRow = false;

            char[] delimiterChars = { ',' };
            string strHeaders = AppGlobal.g_strAllManageHeaders;
            string[] allHeaders = strHeaders.Split(delimiterChars);
            string strDataFields = AppGlobal.g_strAllManageData;
            string[] allDataFields = strDataFields.Split(delimiterChars);

            for (int x = 0; x < allHeaders.Length; x++)
            {               
                if (x == allHeaders.Length-1)
                {
                    GridViewCommandColumn column = new GridViewCommandColumn();
                    column.HeaderText = allHeaders[x].ToString();
                    column.DataField = allDataFields[x].ToString();
                    gvManageDocs.MasterGridViewTemplate.Columns.Add(column);
                    column = null;
                }
                else
                {
                    GridViewTextBoxColumn column = new GridViewTextBoxColumn();
                    column.HeaderText = allHeaders[x].ToString();
                    column.DataField = allDataFields[x].ToString();
                    gvManageDocs.MasterGridViewTemplate.Columns.Add(column);
                    column = null;
                }
            }
        
 
             gvManageDocs.GridElement.EndUpdate(false);
           
            this.gvManageDocs.DataSource = DATASET
           
           
        }

    }

Jack
Telerik team
 answered on 10 Mar 2008
3 answers
165 views
Yet another theming issue:

We have noticed that it is only possible to add 10 theme files to the Theme Manager - once it hits this limit, I can keep trying to add more, but they never show up in the list.

Please let us know if this is true - the documentation does not mention anything about a limit on theme resources - and we have so many because we are breaking the theme files up by control-type, and intend to merge them once the themes are set. We do this because the VSB crashes when using 'complex' theme files.

We have a deadline this week and are currently help up due to theming issues on our project, at this point we need a response as soon as possible so we can decided a course of action to move forward.

Nikolay
Telerik team
 answered on 07 Mar 2008
1 answer
207 views
Hello, is it possible to modify the theme applied to the scrollbars within a RadTextBox? I thought I did see a previous post concerning this, but am unable to locate it again.

Thanks!
Nikolay
Telerik team
 answered on 07 Mar 2008
5 answers
221 views
In this post:

http://www.telerik.com/community/forums/thread/b311D-gdcka.aspx

This is stated:

As for loading themes from file, you should have in mind that the file name is generated automatically, and references the full file path on your hard drive. It is quite possible that this path is not valid when deploying the application on another station. For that reason you should use embedded resource OR file name relative to application's executable file. Here is example for relative path:
  • If your application compiles in "C:\Prorects\MyApp\bin\debug" and the theme file is located in "MyApp\Resources" folder, the relative path would be: "..\..\Resources\MyThemeFileName.xml"

In Q2 2007 this will work in the designer as well.


However, I do not believe this to be true - because when I change the path name to a relative path, it is using the Visual Studio IDE launch directory as the base directory, not the directory of the application files.

Can you confirm this?

I am using Q32007 SP1.

Martin Vasilev
Telerik team
 answered on 07 Mar 2008
3 answers
223 views
We are noticing that even if we have the 'Text' property set, the text does not display in design mode - it does display at run-time.

Also, is there a method for changing the orientation of the label so the text displays before the Checkbox?

Thanks.
Nikolay
Telerik team
 answered on 07 Mar 2008
1 answer
167 views
Hello, I may be doing something unusual, but I figured I'd give it a try and it worked..

I changed the 'ThemeClassName' for a RadPanel to a custom name, then matched that in a Theme file - this way I have more descriptive ThemeClass names.

It DOES work, which is great - the problem is when I close the user control, it wipes out my custom ThemeClassName, and reverts it back to 'Telerik.WinControls.UI.RadPanel'.

Is this intended behaviour? It seems that if I can change this property it should save it, otherwise the property should be locked.

Thanks.
Nikolay
Telerik team
 answered on 07 Mar 2008
2 answers
185 views
Say I have the mask (###) ###-####, how do I load the string 1234567890 into the textbox and retaining the mask? 


In the above scenario, I also try to set .Value = telephone, where telephone is a 10 character long string.  However the text box is simply empty if I do that.
Boyko Markov
Telerik team
 answered on 07 Mar 2008
1 answer
120 views
Hello,

We customized the Stylesheet-CLASS property using the 'Edit UI Elements' for a RadPanel. For example:

Default:

Element=FillPrimitive
Class: RadPanelFill

We changed to:

Element=FillPrimitive
Class: AdminPanelFill

In our theme file, we have a property setting group with ClassSelector:

<XmlClassSelector ElementClass="AdminPanelFill">

In the designer, this works as expected, but in run-mode it fails to work. The theme IS being loaded, I confirmed this by debugging and using immediate mode to return the default style builder from the ThemeResolutionService. But instead of using our custom Class names, it reverts to 'RadPanelFill'.

Please advise on this issue, at this point it appears that using themes with custom class names for primitives does not work as expected. Possibly we are doing something wrong, however the 'manual' provides little to no help - we wish to continue using the control library for future projects, but at this time there appear to be too many bugs or inconsistencies with the help documentation.


Nikolay
Telerik team
 answered on 06 Mar 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?