Telerik Forums
UI for WinForms Forum
1 answer
104 views
I have a custom theme based on the Desert Theme. However, when alternating Grid Row Colors are enabled the color is the base orange and I cannot find that anywhere in the VSB. If I load the theme package in my application and do color blending then I can control the orange row color, but I would like to save the change back as theme package, so could you help me with one or the other of my two issues:

  1. Direct me in altering the theme so the alternating row is not orange in the theme package.
  2. Direct me to the equivalent save process for the LoadPackageResource

If you need an example please let me know

Victor
Telerik team
 answered on 20 May 2010
1 answer
135 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
164 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
87 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
837 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
162 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
124 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
103 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
118 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
189 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
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
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
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
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Licensing
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?