Telerik Forums
UI for WinForms Forum
1 answer
82 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
160 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
115 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
63 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
200 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
80 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
174 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
354 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
110 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
9 answers
858 views
Hello
 i want to select Gridview rows by pressing Space Key, and change the status of them to selected. for example by pressing Space , if the row is selected change the status of it to no selected ,if its not selected change the status to selected.in addition i want to change the back color of the selected row.
Ill be thankfull if you could help me.
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)
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?