Telerik Forums
UI for WinForms Forum
1 answer
259 views

Hi,

I have a windows Rad Scheduler control on my page. I want to bind this scheduler with the database. I have added some customized fields on the edit appointment dialog. I want to bind all the fields with the database including customized.

      I have tried to bind the control using SchedulerBindingDataSource but it is not binding the data with the control. I am not using AppointmentMappingInfo class. Instead of that i have created my own class that contains property like start, end, summary, description with some new customized property.

     One more thing i am not using SchedulerDataSet and AppointmentsTableAdapter, instead of that
I am using SQL dataset and adapter. I do not require Resources also.

     
    Could any one provide me the short and easy code. Its very urgent. Please HELP....

Thanks
Praveen
 

Jordan
Telerik team
 answered on 13 May 2009
1 answer
148 views

Hi, could you help me with RadGridView

I'm binding it to BindingSource object, selecting couple of columns in Grid's designer,

but when a start my aplication, and i'm setting my bindingSource DataSource property,

it generate lots of columns that I'm not interessted.

I set AutoGenerateHierarchy = false

Thanks in advance,

Nikodem Rafalski

Nikolay
Telerik team
 answered on 13 May 2009
1 answer
85 views
When a document container is split the source container is left with no tab selected.

  • If you open the Tabbed Document sample (2009 Q1).
  • Drag "document2" so it breaks the document area into 2 horizontally, and drop it below
  • you now have 3 documents tabbed in the top half and "document2" in the bottom half.
  • "Document1" is now showing in the top half, its text is bold, however its tab is not highlighted, and as its not properly selected the close button does not work.

This is quite confusing to uses as its not obvious why they can't close the window.

Nikolay
Telerik team
 answered on 13 May 2009
1 answer
104 views
I am trying to develop a programatically defined hierarchical grid as the example pictured here: photohere

I want to get rid of the annoying thick orange border around the child grid, and also find a way so that the horizontal size of the child grid to be the same as the parent grid, and not extending to the right. I do not want to create a new style, but rather try to do it programmatically.

I have found a similar reference in the forum that supposedly takes care of the first problem, listed here:http://www.telerik.com/community/forums/winforms/gridview/hierarchy-child-size.aspx , but does not seem to do the trick, since the cell formating event never ends this loop.

Any help would be greatly appreciated.

Regards,

George





Jack
Telerik team
 answered on 13 May 2009
5 answers
250 views
I have a strange problem.  In the below code when conditions exist that causes one of the messages to be displayed, after the message is acknowledged (stepping this through) the validate is immediately called again.  If I remove the messages, then this behavior is not exhibited.  Am I doing something wrong, or is this a bug.  I'm running the latest of the lastest.

private
void grdSleeves_Validating(object sender, CancelEventArgs e)

{

 

    try

 

    {

 

        if (sender is RadGridView)

 

        {

 

            RadGridView grid = (RadGridView)sender;

 

 

            if (grid.CurrentCell.ColumnIndex == (int)enum_grid_sleeve.picked)

 

            {

 

                int picked = Convert.ToInt32(grid.ActiveEditor.Value);

 

 

                int available = Convert.ToInt32(grid.CurrentRow.Cells[(int)enum_grid_sleeve.paqavailable].Value);

 

 

                int required = Convert.ToInt32(grid.CurrentRow.Cells[(int)enum_grid_sleeve.paq].Value);

 

 

                if (available < picked) { e.Cancel = true; MessageBox.Show("Picking more than available."); }

 

 

                else if (required < picked) {e.Cancel = true; MessageBox.Show("Picking more than required."); }

 

            }

        }

    }

 

    catch { }

 

}

Jack
Telerik team
 answered on 13 May 2009
5 answers
696 views
Hi,

We are having issues with changing RadTreeNode backcolor at runtime. Setting the backcolor works fine, but resetting it back to transparent color messes up node highlight and selection highligh. We use Vista theme, so the selected node would normally have blue highlight with gradient, but after setting background color and resetting it back, the selected item highlight looses gradient and becomes just white with blue border. Is there a better way to permanently hightlight a node? We just swithed from standard .Net TreeView and used Status icon for that, which works differently in RadTreeView.

// Resetting color 
node.BackColor = Color.FromArgb(0, 0, 0, 0); 
node.BackColor2 = Color.FromArgb(0, 0, 0, 0); 
 
// Setting custom background 
node.BackColor = Color.FromArgb(0xEA, 0xF3, 0xFB); 
node.BackColor2 = Color.FromArgb(0x1E, 0x77, 0xD3); 

We use RadControls for WinForms 2009.1.414.

Thanks,
Gregory
Victor
Telerik team
 answered on 13 May 2009
0 answers
159 views
I have tested a styled radComboBox using some theme, but I notice something. When I click on open dropdown button first time, combo shows a dropdown list under it but not shows shadow around it, some times dropdown list is bigger than radcombobox width size; at second time when dropdown list is displayed, shadows is shown and dropdown list is width sized like radcombobox width size, but another thing that is the main problem is when radComboBox is big size of width to show great deal of text, scrollbars disapear!!

What could be done?
Aldemar
Top achievements
Rank 1
 asked on 12 May 2009
2 answers
164 views
Hi,

Is there a way to use RadTreeView control with the same theme in different places with and without the border? Looks like drawing a border around the control is controlled by the theme and creating an extra theme doesn't seem to be reasonable just for this purpose. I found a work around by setting the RadTreeView.TreeViewElement.DrawBorder property to true. But it would be more logical and convinient to make at available in the Designer. Should i submit it as a feature request?

Thanks
Grigoriy
Grigoriy
Top achievements
Rank 1
 answered on 12 May 2009
16 answers
1.0K+ views
Question #1
When adding a checkbox column to a gridview and when I turn on the filter option of the grid there is a checkbox that shows up as part of the filter.  How can I turn that into a select all checkbox instead of filtering on it?  Is there a better alternative to doing this?

Question #2
How come when I add a checkbox to my gridview before filling the gridview with data it just shows the checkbox and it doesn't look right/good is there a way to just have a clear grid or at least make it look better? 



Thank You
Jack
Telerik team
 answered on 12 May 2009
1 answer
127 views
Hi,
I am having RadPanel , in RadPanelBarGroupElement i am having RadButton Element.Now i want apply theme for this group element.What is the way to achieve this.
Mike
Telerik team
 answered on 12 May 2009
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?