Telerik Forums
UI for WinForms Forum
2 answers
126 views
hi is there any help for the scheduler control? I couldn't find any. I was looking for a tutorial which reads appointments from the database.

Thanks,
Derek.
Arni
Top achievements
Rank 1
 answered on 20 Nov 2008
2 answers
210 views
I recently installed the Q3 components and really like the themes colour blending addition.
I attempted to use this in a test app I created to test the new features.

Now this is really simple code (love it) but for some reason I cannot get it to work.

I have a form that inherits radform. I have a ribbonbar (pointless but just for testing) , a status
bar and a button. The button , statusbar and form all use the desert theme and the ribbonbar
the standard blue theme. I attempt to apply the colour blending after the button is clicked.
The code for it is as follows.

 

public partial class frmMain : RadForm
{
 private Theme currentTheme;
 private const string baseColorParamName = "BaseColor";

 public frmMain()
 {

     InitializeComponent();

 }

 private void radButton1_Click(object sender, EventArgs e)
 {

  currentTheme = ThemeResolutionService.GetTheme("Desert");
  HslColor baseColor = HslColor.FromAhsl(0.118, 0.9, 0.9);
  currentTheme.AddColorBlend(baseColorParamName,baseColor);
  currentTheme.ThemeProperties[baseColorParamName] = baseColor;
 }

}


The code generates no errors and the form borders sort of flicker as it happens,
the colour blending however has no effect. I assume I am missing something
simple but the code above barring the moving of some lines to a single proc,
is identical to that in the examples.

Could anyone shed some light on what I am doing incorrectly ?

 

Kenneth Jackson
Top achievements
Rank 1
 answered on 19 Nov 2008
3 answers
308 views
hi i set a Filter Expression manualy

DataGrid.MasterGridViewInfo.FilterExpression = "id = 7" ;

but the gird didn't filer the rows .
i tried 

DataGrid.MasterGridViewInfo.UpdateFiltering();

DataGrid.MasterGridViewInfo.UpdateView();

is there a way to ser the row filter menual from code.

 
Nick
Telerik team
 answered on 19 Nov 2008
1 answer
180 views
HI,
I posted earlier but decided to make a new thread. Seen as there is no documentation yet, I was wondering, is there a tutorial on how to use a datasource with the scheduler?  I need the appointments to be persistent. It would be really great to see the scheduler working in conjunction with a database. If I can do this, then my employer will proceed to purchase the controls suite.

Thanks,
Derek.
Jordan
Telerik team
 answered on 19 Nov 2008
5 answers
867 views
Is it possible to Add A User Control To A Grid Column?

I need a grid which for each row the user needs to choose an from one of two radio button options.

Item              Buy/Sell
Cars             [ ]  [ ]
Dogs             [ ]  [ ]
Houses          [ ]  [ ]

I figured a user control would be the easiest way to do this but I could really use an example? Experimentation makes me think it's not possible as I can only add a RadElement item to the CellElement.Children() collection?

My fallback position was to try adding to RadioButtons to the same cell and I adapted the Telerik progressbar example in this regard.. see below for method called from CellFormatting event.   Seems to work so far as long as I define a new location when adding the second element as by default it appears on top of the first element; still, I'm not sure how well this general approach will workout when I start applying more logic and controls.. is a user control a no-go?

Cheers
  Ewart.

  private void AddRadio(CellFormattingEventArgs gCell) 
      { 
         if (gCell.CellElement.Children.Count > 0) 
            return
 
         RadRadioButtonElement element = new RadRadioButtonElement(); 
         gCell.CellElement.Children.Add(element); 
 
         // apply theme to the progress bar   
         ApplyThemeToElement(element, "Aqua"); 
      } 



Nick
Telerik team
 answered on 19 Nov 2008
3 answers
103 views
I installed the new Q2 and had nothing but problems. I get a series of dialogs that tell me "Error loading theme form resource Telerik.WinControls.UI.Resources.UIElementsThemes.StatusBar.Office2007Blue.xml: System.INvalideCastException:......".
AT
Top achievements
Rank 1
 answered on 18 Nov 2008
1 answer
173 views
Hello,
I Would like to know if its possible to adjust an itemImage in a radrotator. My images are to big and i don't know how to change this.
thanx
Shirya
Nick
Telerik team
 answered on 18 Nov 2008
9 answers
130 views
Hi,
I was wondering if it was possible to have a button on each row to browse to a file? I would like to store the path in the corresponding field for each row. I have a table for statuses. For each status I want the customer to choose an image.

Thanks for any help.

Derek.
Jack
Telerik team
 answered on 18 Nov 2008
6 answers
228 views
Hi,
I was hoping that when I select a tab using the overflow drop down it would select the tab in the first position (0) as described in the post (Unexpected behavior when using overflow button). However, this is not happening and the tab that is selected is not visible at all.  Is there a way to get this to work? 
Thanks,
Nik
Nikolay
Telerik team
 answered on 18 Nov 2008
4 answers
157 views
I have a tab strip control that has a dynamic amount of tabs.  Autoscroll is set to true so that if there is more tabs then there is space to show all tabs, I can scroll back and forth to find the tab I need. The user is also given the ability to add new tabs as is necessary.  When a new tab is created by the user, I want to make it the currently selected tab, and bring focus to the first control on that tab page. I have been able to successfully select the new tab by using tabstrip.SelectedTab = tabstrip.Items(tabstrip.Items.Count - 1).  The problem I have is that sometimes the new tab is way off on the right side, and is hidden from sight because there are too many tabs. Is there some kind of function like ScrollToTab() or some way that I can programatically scroll to that last tab so that I can see it if it is off the screen?
Nikolay
Telerik team
 answered on 18 Nov 2008
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
CheckedDropDownList
ProgressBar
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
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
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
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?