Telerik Forums
UI for WinForms Forum
1 answer
152 views
Hi there,

are there ExpandAnimation and CollapseAnimation
properties for the winform control or does they only in the ASP.Net Controls ?

thankyou 
 marv
Nikolay
Telerik team
 answered on 23 May 2008
2 answers
120 views
Hello,

I've a question about the AddNodeByPath method.

I get an array with the following content (datatype is string)

Switzerland
Switzerland/Bern
Switzerland/Zurich
Switzerland/Zurich/Bulach
Switzerland/Zurich/Bulach/Opfikon
Switzerland/Zurich/Uster
...

And I'd have the following hirarchie:

-Switzerland
|-Bern
|-Zurich
 |-Bulach
  |-Opfikon
 |-Uster

But when I use this code I get some other structure:

foreach (string city in cities)
{
  radTreeView1.addNodeByPath(city, "/");
}

Can you help me to give an easy solution for that? I don't want to solve it by recursion and other more complex algorithms.

Thank you in advance
Danny Meier
dannyyy
Top achievements
Rank 1
 answered on 23 May 2008
2 answers
242 views
Trying to install Telerik Reporting Q3 2007 SP1

I get prompted for DB login credentials

(local)\SQLExpress with windows authentication

I receive following error:
Error 27502: Could not connect to Microsoft SQL Server '(local)\SQLExpress'. Cannot generate SSPI context(0)

I have tried several variations, connecting to the sql server 2005 developer edition installed, using machine name, localhost, etc. All connections work using Visaul Studio and SQL management studio. I also get successful application connectivity. The only connectivity that is failing is Telerik Reporting installtion. Please advise.


Hrisi
Telerik team
 answered on 22 May 2008
1 answer
135 views

Hi,

I am currently testing the Q1 2008 gridview and I'm facing this issue :
Each time that I remove a column from the grouping panel, I loose all grouping information displayed in the row like :  "Compagny : TESTABC ; "

Here's what I do :

Fist, I'm accessing data through LINQ doing something like this :

string connString = @"Data Source=SERVER;Initial Catalog=DB;Persist Security Info=True;User ID=user;Password=password";  
 
context = new DomainDataContext(connString);  
//test 1 -- Binding grid view  
radGridView1.DataSource = context.Orders;  
 

Then I group using 2 or more columns and I remove one of them.

Any idea what code is missing ?




I configured (in designer) the gridview like this :

enableSorting : false;
MasterGridViewTemplate.AllowAddNewRow : false;
MasterGridViewTemplate.AllowDeleteRow : false;
MasterGridViewTemplate.AllowEditRow : false;

Nikolay
Telerik team
 answered on 22 May 2008
1 answer
133 views
**Update**
Issue arrises on Vista Business and Win2k3 but not XP (only 3 OS's tested so far)

Double clicking on a forms title bar to maximise the form causes the Gridview's CellClick event to fire.

This will only happen if the mouse is hovering over a row in the grid after the form is maximised.

The CellClick event doesn't fire if you maximise the form with the top right form button.

using System;
using System.Data;
using System.Windows.Forms;

namespace GridTest
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void radGridView1_CellClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
        {
            DoStuff();
        }
        private static void DoStuff()
        {
            MessageBox.Show("Fired from CellClick");
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            DataTable dt = new DataTable("Stuff");

            DataColumn dc = new DataColumn {DataType = typeof (string), ColumnName = "1"};
            dt.Columns.Add(dc);

            dc = new DataColumn {DataType = typeof (string), ColumnName = "2"};
            dt.Columns.Add(dc);

            dc = new DataColumn {DataType = typeof (string), ColumnName = "3"};
            dt.Columns.Add(dc);

            dc = new DataColumn {DataType = typeof (string), ColumnName = "4"};
            dt.Columns.Add(dc);

            for (int i = 0; i < 20; i++)
            {
                DataRow dr = dt.NewRow();
                dr[0] = "Fluff";
                dr[1] = "Fluff";
                dr[2] = "Fluff";
                dr[3] = "Fluff";

                dt.Rows.Add(dr);
            }

            radGridView1.DataSource = dt;
            radGridView1.MasterGridViewTemplate.Columns[0].Width = 350;
            radGridView1.MasterGridViewTemplate.Columns[1].Width = 350;
            radGridView1.MasterGridViewTemplate.Columns[2].Width = 350;
            radGridView1.MasterGridViewTemplate.Columns[3].Width = 350;
        }
    }
}

Martin Vasilev
Telerik team
 answered on 22 May 2008
8 answers
188 views
Does Telerik have CheckedCombo Box control?
If yes, does it have an option to select mulitple values like in CheckedListbox?

Prad
Kiril
Telerik team
 answered on 22 May 2008
1 answer
309 views
I cannot figure out how to set the size or position (in pixels, not snapped to the top, left, bottom, or right) of a floating DockPanel which was created at runtime.

Below is how I'm instantiating the DockPanel (the DeckWorkspace is a valid UserControl... part of CAB, "docked" and "auto-hide" are bools). I have tried setting Size, but that only appears to control the private "dockSize" member, and obviously I don't have access to the private "floatSize" member.


DockPanel panel = new DockPanel();

DeckWorkspace workspace = new DeckWorkspace();

workspace.Name = workspaceName;

workspace.Dock = DockStyle.Fill;

panel.Controls.Add(workspace);

dockingManager1.PrimarySite.DockingManager.SetDock(panel, DockPosition.Default);

panel.DockState = (docked) ? DockState.Docked : DockState.Floating;

panel.DockState = (autoHide) ? DockState.Docked & DockState.AutoHide : panel.DockState;

Julian Benkov
Telerik team
 answered on 22 May 2008
3 answers
275 views
I've set some conditional formatting on my RadGridView which works great.  However when I update a cell value, the color formatting isn't applied.  Note:  I'm using ApplyToRow = true.

I'm already calling Update() and Refresh() on the grid after each update...isn't that enough to apply the conditional formatting to the cell?
Nikolay
Telerik team
 answered on 22 May 2008
1 answer
378 views
Hi,

the following line in the InitializeComponentMethod causes a problem

       
CType(Me.DockingManager.System.ComponentModel.ISupportInitialize).EndInit() 

StackTrace :
 Object reference not set to an instance of an object
Telerik.WinControls.Docking.DockingManager.LoadFromXmlCore(XmlDockingManager xmlManager) 
Telerik.WinControls.Docking.DockingManager.SetTreeXml(String xmlContent) 
Telerik.WinControls.Docking.DockingManager.System.ComponentModel.ISupportInitialize.EndInit() 

This does not happen on all machines.

What can I try to debug / get closer to the problem?

I use version 6.0.2.0 of the RadControls, .Net Framework 2.0 , VS 2005, Windows Server 2008
Julian Benkov
Telerik team
 answered on 22 May 2008
3 answers
235 views
I'm implementing the gridview in a 2.0 c# windows forms app.  When I export the gridview to Excel, all open instances of Excel crash. The export works, but crashing Excel is a little disruptive.

Has anyone experienced this in the past, and are there likely causes/workarounds?

Please advise...

Many thanks!



Martin Vasilev
Telerik team
 answered on 22 May 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?