Telerik Forums
UI for WinForms Forum
1 answer
441 views
Hi Telerik:
           IF i have too many items in Toolstrip, could I customize the overflow panel to only show the invisible ones, and NOT to show ones like "Add or Remove Buttons", "Customize", "Reset Toolbar"?
           And Overflow panel does not support the scroll bar, so users have no way to select the last ones, if there are too many items in RadToolStripItem.
Boryana
Telerik team
 answered on 30 Jul 2010
2 answers
480 views
Hi,
I got '4' radButtons for my application. When each button is clicked it will open up a form. I wanted to modify the buttons in such a way that the button which is clicked  keeps highlighted until another button is clicked...!

Thanks
Boryana
Telerik team
 answered on 30 Jul 2010
9 answers
358 views
I have code for a bound grid that changes a column filter based on the value of a checkbox on the form.  When the form initially loads, I am able to select a row by clicking on the grid.  After the filter is set programtically one or more times, I can no longer select a row by clicking on the grid.  The selected row stays the same.

 

 

if (showAll.CheckState != CheckState.Checked) {  
    FilterExpression _filter = new FilterExpression(FilterExpression.BinaryOperation.AND,  
    GridKnownFunction.EqualTo,  
    GridFilterCellElement.ParameterName);  
    _filter.Parameters.Add(GridFilterCellElement.ParameterName, 123);  
    Grid1.MasterGridViewTemplate.FilterExpressions.Clear();  
    Grid1.Columns["ID"].Filter = _filter;  
}  
else {  
        Grid1.MasterGridViewTemplate.FilterExpressions.Clear();  
        Grid1.Columns["ID"].Filter = null;  
}  
 

 

Julian Benkov
Telerik team
 answered on 30 Jul 2010
2 answers
232 views
I have created a custom UserControl.  The structure of the UserControl is,

UserControl
   RadPanel1
      RadPanel2
      RadStatusStrip

RadPanel2 is where I draw graphics.  The RadStatusStrip display mouse location information below RadPanel2.  RadPanel1 is sized so that RadPanel2 and RadStatusStrip completely fill the area.

This UserControl is then placed in a ToolWIndow within a ToolTabStrip within a RadSplitContainer within a RadDock.

In the initial state, everything works fine.  However, I need to dynamically resize the UserControl when the RadSplitContainer is resized, or when the ToolWindow is undocked and resized.  I also need to resize the UserControl when the ToolWindow is redocked.

I have tried making the RadPanels the Windows Panel also.  In both cases, I cannot get the Resize event on the Panel or RadPanels to fire to allow me to redraw the contents according to the new size.  I do see the Resize event on the ToolWindow being fired.

What is the proper way for me to do the resizing of the UserControl and its contents?

Thanks for any help.


Ken...
Boryana
Telerik team
 answered on 30 Jul 2010
6 answers
418 views
When I add an image to a header cell in my grid and set the TextImageRelation to ImageBeforeText, the cell displays with a big gap between the image and the text.  Why is this?  I want my image to display right next to the text, like this: [image] [header text].  What I get is more like this: [image]               [header text].  How can I fix to get a proper image/text display?

Thanks,
Rachel
Svett
Telerik team
 answered on 30 Jul 2010
5 answers
307 views
Hi,

How can I translate the messages in Winform RadGrid?
Sebastian
Telerik team
 answered on 30 Jul 2010
1 answer
1.1K+ views

Hi,

I have a requirement where I need to have my Datepicker designed (not the colors or theme) as attached.  Over here, unlike the normal datetimepicker which shows like a dropdown control, we need to have a textbox and a image and on click of this image the calendar should be popped down.  All the RadDatetimepicker's features are still valid but the calendar should pop up only on click of this image and it should hide the calendar when we click outside.

Kindly let me know if I can achieve this functionality using the existing RadDatetimepicker control.

Thanks
Krishnan N

Nikolay
Telerik team
 answered on 30 Jul 2010
1 answer
218 views
Hi

   How to bring horizontal scroll bar for the radcombobox if the items inside the list length is too long.
Victor
Telerik team
 answered on 30 Jul 2010
2 answers
257 views
Hi Support,

I change the AppointmentTitleFormat of my RadScheduler. It works perfectly for the Day View, Week View and Timeline but unfortunately the Month view Appointment Title is not correct.

How can I change the Appointment Title format in Month View?

Regards
Nadia Sangiovanni
Top achievements
Rank 1
 answered on 29 Jul 2010
5 answers
292 views

Scenario:
I have a grid that shows student names etc. It has a child grid that lists all the tests for that particular student.  The parent grid has CommandCellColumn where the user can launch a report that has a summary of all the students tests, the child grid has a CommandCellColumn that launches a report for the individual test.

Problem:
You click on the 'Print Summary' button on the parent grid, it launches the report, view the report, close the report window. Everything is fine. Click on the 'Print Results' button in the child grid, view the report, close the window. It will close the window, the will open the same window again.  You close the newly opened window, and after closing that one, it won't happen again.  I'm guessing that since I'm usign the Form.ShowDialog() to open the report windows, its holding the sencond window back for whatever reason.  I don't know why, but the child grid always opens a second form.

I tried to put some flags in the event the stop the code from executing twice, but it didn't work.

The Code:

private

void grvStudentTestResults_CommandCellClick(object sender, EventArgs e)
{
        if (stop == 0)
        {
            stop = 1;
            
GridCommandCellElement element = sender as GridCommandCellElement;
            if (element.ColumnInfo.HeaderText == "Testing Summaries")
            {
                    frmResults frm = new frmResults(Convert.ToInt32(element.RowInfo.Cells["StudentID"].Value));
                frm.ShowDialog();
                stop = 0;
             }
             else if (element.ColumnInfo.HeaderText == "Print Results")
             {
                    frmResults frm = new frmResults(Convert.ToInt32(element.RowInfo.Cells["StudentID"].Value), element.RowInfo.Cells["TestCode"].Value.ToString());
                    frm.ShowDialog();
                    stop = 0;
                }
        }
}

Stefan
Telerik team
 answered on 29 Jul 2010
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?