Telerik Forums
UI for WinForms Forum
1 answer
139 views
Hi,

I'm using a ShapedForm that has a PageView in it. When I set the PageView to Dock Fill, it covers the TitleBar completely.

How can I have the PageView just fill the form but not the TitleBar?

Thanks.

Sacha
Sacha
Top achievements
Rank 1
 answered on 11 May 2012
1 answer
117 views
We are facing several problems when persisting properties changed at design time. Sometimes with no apparent reason the properties changes are not saved to disk nor showed at run time.
It happens with radtreeview, radmenu, radmaskededit.
Working with imagelist in radtreeview is a nightmare. Changing fonts in radmenu does not work anymore. ExcludePromptsandLiterals works in one machine but not in the other.
Theses problems are driving us insane, since it happens in different projects and different machines.
These machines are running windows 7 and visual studio 2010.
I just canĀ“t believe simple things like these do not work properly. I would like to hear from you what could possibly be happening. 
Peter
Telerik team
 answered on 11 May 2012
2 answers
224 views
I am entering avalues into another text box and I want it to surrender Focus to another textbox if the value I have entered is the same as the one in the database.However what is happening is that  if the value is the same as in the database the cursor just disappears and it does not give focus to the control that I want it to give focus to. Any ideas on how I can correct this.

Private Sub txtProducedAt_TextChanged(sender As System.Object, e As System.EventArgs) Handles txtProducedAt.TextChanged
 
        Dim iSql As String = "SELECT ID,SiteName   FROM  Sites WHERE SiteName = '" & txtProducedAt.Text & "'     "
        Dim da As New OleDbDataAdapter(iSql, LoginForm1.Conn)
        Dim dTable As DataTable = New DataTable
        da.Fill(dTable)
        If dTable.Rows.Count = 0 Then
 
            Exit Sub
 
        ElseIf dTable.Rows.Count > 0 Then
 
            txtProducedAt.Text = dTable.Rows(0)("SiteName").ToString
 
            txtAccountNumber.Focus()
 
        End If
 
    End Sub
Stefan
Telerik team
 answered on 11 May 2012
2 answers
152 views
I have a client request to hide the first 7 columns of a grid if they are the same values as the columns above. I have the logic to check and match the previous row but I can't find a way to iterate through the cells in RowInfo.

I was planning on setting the ForeColor to the BackColor to hide it from the user but keep the value so I can sort correctly. Any suggestions would be greatly appreciated.

Thanks,
Tom

        void radGridView1_RowFormatting(object sender, RowFormattingEventArgs e)
        {
            GridViewRowInfo row = e.RowElement.RowInfo;

            if (row.ViewTemplate != this.gridDashboard.MasterTemplate)
            {
                return;
            }

            if (lastRow == null)
            {
                lastRow = row;
                return;
            }

            // Does the current row match the last row?
            if (lastRow != null && lastRow != row)
            {
                bool isMatch = true;
                for (int i = 0; i < 8; i++)
                {
                    if (!Object.Equals( row.Cells[i].Value,  lastRow.Cells[i].Value))
                    {
                        isMatch = false;
                    }
                }

                if (isMatch)
                {
                    for (int i = 0; i < 8; i++)
                    {
                        // Clear the duplicate cells
                        // by setting ForeColor = BackColor
                    }
                }
                else
                {
                    lastRow = row;
                }
            }
        }


Tom Uellner
Top achievements
Rank 1
 answered on 10 May 2012
2 answers
100 views
Hey, i need little help so i finished application was using metroblue and desert theme combined and i released application now when i try it on other computer it doesnt work :/ what should i doo? please tell me? :/
Stefan
Telerik team
 answered on 10 May 2012
1 answer
239 views
I have a functionality where i need to add nodes to the tree and get the name of the node form the user , in the node by using beginedit.
I have some custom validation that  i need to do , i am using the valueValidation event for doing that. once the validation is done , If the validation fails , i.e when i do e.cancel = true and validation error gets triggered , i want the new node added during the process to be removed. I tried doing it in validationerror event , but this is not allowed. please let me know how can i do this.

Regards
Harsh
Julian Benkov
Telerik team
 answered on 10 May 2012
1 answer
108 views
Hi~ I have a question.

I'm familar with is the Expression Blend. 
Can I edit control template by VSB?





Stefan
Telerik team
 answered on 09 May 2012
1 answer
215 views
just i need to make my ribbon form to be the mdiparent container and when creating childs from it the child window doesn't appear !!
Stefan
Telerik team
 answered on 09 May 2012
1 answer
409 views
Hello,

Is there anyway i can change the background gradient of a RadForm at runtime? If so, how can i do it?

I have multiple forms, and some of them will have different gradients, so i would to be able to change the gradients at runtime so i don't have to create a ton of different theme files for each form.

Please let me know if this is possible.
Stefan
Telerik team
 answered on 09 May 2012
2 answers
141 views
Hello everyone one,
today I installed RadControls for WinForms Q1 2012

And when i make new project and debug it i still see normal windows form :S 
Any help??
Here is screen:
http://cimg.ws/i/MKohQ.png
Stefan
Telerik team
 answered on 09 May 2012
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?