Telerik Forums
UI for WinForms Forum
1 answer
220 views
Hello

I found that the Q1 2010 radTextBox and the radComboBox don't show text in ClearTypeGridFit even as I set it in "Edit UI elements" of each control (.NET 4.0 C# WinForm with VS2010). All other rad-controls work well with ClearTypeGridFit.

Funny enough, the radComboBox shows all items from the dropdown list in ClearTypeGridFit, but when I select an item its text is drawn without any font smoothing again.


Is there a trick to force these two resistant controls to show text in ClearTypeGridFit ?

Thx,

Andre
Peter
Telerik team
 answered on 20 May 2010
1 answer
205 views
It seems the only way to close a document window is from the "X" on the far right of the document tab container.  Is there a way to add an "X" to the tab itself?
Georgi
Telerik team
 answered on 20 May 2010
1 answer
127 views
Hello
I am trying to use RadRibonBar form

so i add new Windows Form
then i choose
Telerik adRibbonForm and i name it FirstPage.vb
i have second form names NewForm.vb

now i see the bar and a second bar at the very bottom and between them there is a named it is Called Panel1

so i created a button RadButtonElement1

Now what i like to do is when the user clicks the RadButtonElement1 the new form to be displaced instead on Panel1. How do i do this?

in another words when the user clicks on the button RadButtonElement1 the Panel1 to be replaced with the contents of NewForm.vb or just NewForm.vb to be moved in to Panel1


Thanks


Deyan
Telerik team
 answered on 20 May 2010
7 answers
935 views
Hello again!

In my application, I have a radGridView control binded to database. I present production summary in it and I want to have there two progressbar columns in it. I follow the article about creating custom cell elements in CellFormat event. And everything works fine until I need to scroll data. Progressbar remain in their places and dodn't scroll with rest of the data. They seems to be over the row.

The problem is similar to this: http://www.telerik.com/community/forums/winforms/gridview/controls-are-moving-between-rows.aspx and this http://www.telerik.com/community/forums/winforms/gridview/radgridview-custom-elements-and-sorting.aspx.

But none of these solution seems to work. This is the problem causing part of my code:

1. Setting the columns from database, and adding two new columns for progress bars.

private void SetMainGridColumns() 
        {
            for (int i = 0; i < this.radGridViewProductionList.Columns.Count; i++) 
            { 
                this.radGridViewProductionList.Columns[i].IsVisible = false; 
            } 
 
            this.radGridViewProductionList.Columns["number"].IsVisible = true; 
            this.radGridViewProductionList.Columns["number"].HeaderText = "Nr zamówienia"; 
            this.radGridViewProductionList.Columns["numberCard"].IsVisible = true; 
            this.radGridViewProductionList.Columns["numberCard"].HeaderText = "Nr karty"; 
            this.radGridViewProductionList.Columns["ItemsFactoryCard"].IsVisible = true; 
            this.radGridViewProductionList.Columns["ItemsFactoryCard"].HeaderText = "Produkt"; 
            this.radGridViewProductionList.Columns["datePlannedRealisation"].IsVisible = true; 
            this.radGridViewProductionList.Columns["datePlannedRealisation"].HeaderText = "Termin realizacji"; 
             
            this.radGridViewProductionList.Columns.Add(new GridViewDataColumn(){UniqueName = "TimeRemaining", HeaderText = "PozostaÅ‚o dni"}); 
            this.radGridViewProductionList.Columns.Add(new GridViewDataColumn(){UniqueName = "Progres", HeaderText = "PostÄ™p"}); 
 
            this.radGridViewProductionList.MasterGridViewTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill; 
        } 

2. Cell formatiing event for first progress bar.

private void radGridViewProductionList_CellFormatting(object sender, CellFormattingEventArgs e) 
        { 
            // exclude header element in the data column                       
            if (e.CellElement.ColumnInfo is GridViewDataColumn)// && !(e.CellElement.RowElement is GridHeaderRowElement)) 
            { 
                GridViewDataColumn column = (GridViewDataColumn)e.CellElement.ColumnInfo; 
                if (column.UniqueName == "TimeRemaining") 
                { 
                    // check if the progress bar is already added to the cell                           
                    RadProgressBarElement element; 
                     
                    if (e.CellElement.Children.Count > 0) 
                    { 
                        //element = (RadProgressBarElement)e.CellElement.Children[0]; 
                        //this.SetValuesToElement(e.CellElement, element); 
                        return; 
                    } 
 
                    element = new RadProgressBarElement(); 
                     
                    //int days = ((DateTime)e.CellElement.RowInfo.Cells["datePlannedRealisation"].Value - DateTime.Today).Days; 
                    int days = new Random().Next(0, 100);   //tymczasowo, bo dane w bazie fikcyjne i wychodza glupoty 
                    element.Text = days + " dni"; 
                    element.Minimum = 0; 
                    element.Maximum = 
                        ((DateTime) e.CellElement.RowInfo.Cells["datePlannedRealisation"].Value - 
                         (DateTime) e.CellElement.RowInfo.Cells["dateOrder"].Value).Days; 
                    //element.Value1 = days<0?0:days; 
                    element.Value1 = days > element.Maximum ? element.Maximum : days; 
                    element.Orientation = ProgressOrientation.Left; 
                    e.CellElement.Children.Add(element); 
                    element.StretchHorizontally = true; 
                    element.StretchVertically = true; 
                } 
} 

Some elements are only because the " ill " demodata in database, but it isn't important. in the if case I try to use the one of the solution but it doesn't work or I don't understand it.

I do no enable editing, adding etc in the grid. It is only for presenting and sorting data. And the scrollinup or scrolling with handling the scrollbar by cursor made mentioned above problem.

I will be greatfull for fast reply with working solution :)

Arul S V
Top achievements
Rank 1
 answered on 20 May 2010
3 answers
199 views
Hi ,

I have done an application,in that we have 3 split panels,in the 3rd split panel i have added Rad Dock control .In this Rad dock we are adding 3 Tool Windows programatically.My problem is when any of the Tool window is Docked it is not occupying the whole Rad Dock space[means Dock fill].and if all the 3 tool windows are Auto hide[means not dock able] we want the Split panel 2 should occupy half of the space of Split panel3.

Please find the  attached images

Thank you,
Pradeep
Nikolay
Telerik team
 answered on 19 May 2010
6 answers
161 views
Hi ,
I'm unable to extract CollapsablePane  control from 2009 Q3 collection example , could you please help by sending extracted solution ?
I was able to make  WinForms Q1 2009 SP1 (v2009.1.9.414)  work but when i click over it the frame size(Hight ) dosn't collabse only the element inside which is looks odd .
I guss its the collapsablepaneDefult.xml file cause this problem
Thanks
Abdulrahman
Nikolay
Telerik team
 answered on 19 May 2010
1 answer
133 views
Hi,
does anyone manage to find a solution to scroll to a selected tab so that the tab is highlighted ?
This issue is going on since long time and still there is no solution available.
I have latest rad controls installed.

Any help on this issue is highly appreciated.

Thanks,
Sid
Nikolay
Telerik team
 answered on 19 May 2010
3 answers
180 views
I just upgraded to Q1 2010 SP2 and our Dock tabs have lost their old style.  They were nice blue rounded rectangular tabs that matched the rest of the app before the upgrade but now they are slanted on the side, black n white, and are no longer wide enough for the text.  How can I keep the upgrade but get these tabs to look as they once did?  Thx...
Nikolay
Telerik team
 answered on 19 May 2010
1 answer
232 views
I am having an issue with deploying my application.
This is my first application using RadTools and the first time i've ever seen this problem. 
So I was curious if the tools had this file included.
I do not have this file in my References, so I wasn't sure why its causing an error. 
thanks!

my error:
Following errors were detected during this operation.
* [05/13/2010 3:19:29 PM] System.Deployment.Application.InvalidDeploymentException (SignatureValidation)
- Strong name signature not valid for this assembly Microsoft.mshtml.dll.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ComponentVerifier.VerifyStrongNameAssembly(String filePath, AssemblyManifest assemblyManifest)
at System.Deployment.Application.ComponentVerifier.StrongNameAssemblyComponent.Verify()
at System.Deployment.Application.ComponentVerifier.VerifyComponents()
at System.Deployment.Application.DownloadManager.DownloadDependencies(SubscriptionState subState, AssemblyManifest deployManifest, AssemblyManifest appManifest, Uri sourceUriBase, String targetDirectory, String group, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.DownloadApplication(SubscriptionState subState, ActivationDescription actDesc, Int64 transactionId, TempDirectory& downloadTemp)
at System.Deployment.Application.ApplicationActivator.InstallApplication(SubscriptionState& subState, ActivationDescription actDesc)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
Nikolay
Telerik team
 answered on 19 May 2010
1 answer
298 views
Hi,
  Is there any way to change the language of RadScheduler control?
I'm desing a multilanguage aplication and I need a way to choose the language of all aplication, including my label and the default labels, buttons, etc of the RadContros.

Thanks.
Dobry Zranchev
Telerik team
 answered on 19 May 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?