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

How can I hide/collapse the toolTabStrip close button permanently. I used " toolTabStrip1.CloseButton.Visibility = ElementVisibility.Collapsed;" and "((Telerik.WinControls.UI.RadButtonElement)(this.toolTabStrip1.GetChildAt(0).GetChildAt(2).GetChildAt(0).GetChildAt(2).GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Collapsed;" but it's not working properly. I attached a screen shot.

Many thanks,
 
Ian

Edit: Using Version 2011.1.11.315
Ian
Top achievements
Rank 1
 answered on 23 Feb 2012
5 answers
375 views

Do you know how to fire a RowSourceNeeded event manually ?

e.g. RowSourceNeeded(sender, new GridViewRowSourceNeededEventArgs(xxx,xxx,xxx));

Thanks.

 

 

Julian Benkov
Telerik team
 answered on 23 Feb 2012
2 answers
185 views
Hi I'm fairly new to using telerik winforms controls. I would like to implement a  raddock and have an outlook style radpageview in Outlook mode in the left hand tool window in stead of using a tree.  How would you suggest doing that or would an alternate approach be better.  I can place the radpageview in th etool window however I do no know how to have it resize with the raddock tool window.
thanks
Jonathan
Ivan Petrov
Telerik team
 answered on 23 Feb 2012
1 answer
138 views
Hi, I am using RadControls for WinForms (Q1 2012) and i'm looking for a solution to make like a secondary x axis wich would be on the top of the chart area. On the top of the chart area i would like labels witch were associated to each colums  of my chart.  If someone have a soluion ..
 
Giuseppe
Telerik team
 answered on 22 Feb 2012
5 answers
438 views

I'm using Winforms 2011.3.11.1116.  I'm trying to position another control on top of a RadCalendar (a textbox) as part of a small WYSIWYG calendar-printing app.  I will position the textbox to fill the largest remaining space on the calendar--meaning the largest space on the calendar that does not contain any days from the focused month--, either at the top or bottom.  Of course, to do this, I need to be able to figure out WHERE the largest remaining space is.

I have the calendar in a 6 row month view, and I set ShowOtherMontDays to false. I have tried the following:

1) My first thought was to ask the DefaultView for the month and the first and last day shown in the view, then do the necessary calculations to figure out where the "space" was.  No go, because the ViewStartDate and ViewEndDate properties refer to the first and last day of the month (which I can figure out myself from the month), NOT the first and last element rendered.

2) Then I thought I should iterate through the elements, getting the dates and finding the min and max.  But ... there is no iterable collection that I can find. That was, to put it mildly, surprising.  (As it was in a related thread for a different technology:http://www.sitefinity.com/devnet/forums/sitefinity-3-x/general-discussions/radcalendar-search-date-and-bold-it.aspx ).

3) Next I thought to try a combination of Navigating and ElementRender. In Navigating, I would set a Min and Max date to a sentinel value, then in ElementRender I would find the min and max dates as they were rendered. However, for some odd reason, at least one date in the previous view is, at least sometimes, rendered after Navigating fires.  Though this is annoying, I could cache all the dates, then figure out which one was not like the others (say, sort the list, and find wherever there was a gap between dates).  But, there is also the problem of the initial view, which does not trigger the Navigating or Navigated events.

This seems much too complicated, to me, so I guessed that I was probably not thinking of the best way to solve this problem.

Thoughts?

Taylor
Top achievements
Rank 1
 answered on 22 Feb 2012
1 answer
146 views
Has anyone ever tried to create some zoom on an image control. We have a "Book" that we are creating from images and we would need the ability to zoom so the users can see the text better when reading them. Any ideas would be great.
Richard Slade
Top achievements
Rank 2
 answered on 22 Feb 2012
5 answers
110 views
Hi.  I am using a customized theme based on Office2010Black with the 2011 Q3 SP1 build.  I have noticed that all of the other items in the ribbon of my app have no background - their background is transparent and it shows the nice gradient of the ribbon.

However, the RadSplitButtonElements on my ribbon have a background gradient on them.  I would like to remove this background so that they look like the rest of the buttons.  Since this is how the Microsoft Office 2010 applications do it (their Paste button is like a split button), I would like to do the same.

I do not see a place to do this in the Visual Style Builder.  I looked under, in the VSB Controls Structure pane, RadRibbonBar --> RadRibbonBarGroup.  I expected to find a "SplitButtonInRibbon" element under RadRibbonBarGroup, but it's not there.

How do I do what I want to accomplish with the VSB?  Thanks!
Stefan
Telerik team
 answered on 22 Feb 2012
6 answers
443 views
I have almost rounded all my controls but not the RadTabStrips as well as the corner of each of the tab header.
Also the background color is not changed. On the RadGridView I cannot change the column headers background color. Managed to change the border, the shape and other details, but not the background color.

Attached is a screen capture where can be seen in red the RadTabStrip with light gray background. In orange the RadGridView with gray column headers and in blue the small tab header with blue color and not round corners.

Thanks in advance for your help
Nikolay
Telerik team
 answered on 22 Feb 2012
2 answers
461 views
Hello dear Telerik team.
I am using RadDropDownList to let the user choose from four options. Those options are absolutely static, so I create four dropDownItems hardcoded. Each option has its text and image. I can define each item by a lode like :

var radListDataItem1 = new RadListDataItem();
            radListDataItem1.Image = Properties.Resources.SomeImage;
            radListDataItem1.Text = "Sometext";           
            radListDataItem1.Value = someValue;

            var source = new BindingList<RadListDataItem>();

            source.Add(radListDataItem1);

            cmbTriggerType.DataSource = source; //cmbTriggerType is my RadDropDownList

//same for three more items

            cmbTriggerType.SelectedIndex = 0;

And now here comes the question! :)
What should I do to cause your control to render each DataItem  with both text and image visible?
Thanks in advance.
Artem
Artem
Top achievements
Rank 1
 answered on 21 Feb 2012
1 answer
146 views
Private Sub InsertNewContactDetails()
 
        Dim iSql As String = "Insert into CompanyDetails (EmailOffice,EmailAdmin,EmailOrders,EmailAccounts,EmailOther,ContactPersonOffice,ContactPersonAdmin,ContactPersonOrders,ContactPersonAccounts,ContactPersonOther,ContactNumber,ContactNumberExtension,ContactnumberFax,ContactNumberFaxExtension,ContactNumberMobile1,ContactNumberMobile2,ContactNumberDirectNumber,ContactNumberFaxToEmail) VALUES ( ' " + txtEmailOffice.Text + " ',' " + txtEmailAdmin.Text + " ' ,' " + txtEmailOrders.Text + " ' ,  ' " + txtEmailAccounts + " ' , ' " + txtEmailOther.Text + " ',  ' " + txtContactPersonOffice.Text + " ', ' " + txtPostalAddress1.Text + " ',' " + txtPostalAddress2.Text + " ', ' " + cmbPostalAddress3.Text + "','" + cmbCategory.Text + "' ,'" + cmbClassification.Text + "')"
        Dim da As New OleDb.OleDbDataAdapter(iSql, MyConnection)
        Dim dt As New DataTable
        da.Fill(dt)
        da.Dispose()
        myDataSet()
        txtEmailOffice.Text = ""
 
    End Sub
i've got a form that i am working on and on that form i have a radpageview control which has several pages . my text boxes are on the radpageviewpage control and my butttons are on the main form. the code to insert information on the first radpageviewpage is working well however the code to insert information on the second radpageviewpage is not accepting my code. when I use the code above I get the following error

"Operator '+' is not defined for types 'String' and 'Telerik.WinControls.UI.RadTextBox'." 
Ivan Petrov
Telerik team
 answered on 21 Feb 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
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?