Telerik Forums
UI for WinForms Forum
2 answers
173 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
326 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
270 views
Hi,

How can I translate the messages in Winform RadGrid?
Sebastian
Telerik team
 answered on 30 Jul 2010
1 answer
1.0K+ 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
166 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
215 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
252 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
4 answers
173 views
Hello all,
I just wanted to make a forum post to see if anyone else was having a similar problem.  I have just recently upgraded to the Q2 2010 SP2 release (.504 I believe) and noticed that RadLabels have a defined color as their BackColor.  Previously I could have sworn that the BackColor for the Labels was transparent (which would be preferable I think).  I know that Telerik has been trying to convert all of the themes using the new Visual Style Builder tool and maybe this slipped through the cracks.

Has anyone else had this problem?  Telerik is there a way to make it so that the Labels can have a transparent back color?  Also, is there a way to see what else has changed in the Theme?  I did notice things like RowHeight for RadGridViews has changed as well.  I know it's small things but when it comes to the UI the little things make the big difference.

Thanks again all,

-Bill
Tim
Top achievements
Rank 1
 answered on 29 Jul 2010
5 answers
158 views
Is it possible to have a fixed width and multiline text in the node area?  So that text would wrap.

Thanks
Victor
Telerik team
 answered on 29 Jul 2010
3 answers
343 views
Hello,

ClearSelection wont work in my implementations. if i use this.radGridView.CurrentRow = null; there is no selection at start up. but if i click then on a cell, the first cell in the clicked row will be selected. but this is wrong ?!

Regards,
tHomas
Jack
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)
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
Barcode
BindingNavigator
PopupEditor
RibbonForm
Styling
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?