Telerik Forums
UI for WinForms Forum
6 answers
181 views
I'm looking for a way to toggle hide and unhide for the menu bar on an application. I want it to toggle when the user presses 'Alt' just like on Internet Explorer 8.
All attempts I have made so far have failed. Capturing KeyDown has a tendancy to make the toggling flicker if the Alt key is pressed too long. Also, the menu toggles if the user trys ALT+Tab or any other Alt key function.
Victor
Telerik team
 answered on 20 Aug 2009
3 answers
199 views
Hi,

I refer to the three telerik.dll(Telerik.WinControls.dll / Telerik.WinControls.UI.dll / TelerikCommon.dll) for adding Radribbon UI.
Now I should make msi file for installing and testing on other computers.

I just added three dll file on the msi project, and I installed this file on other computer.
After install process, I ran my application and failed process before load ribbon form.

I think my msi file have some problem about telerik dll files.
What should I do for add dll file in msi file? Do I need any setting about registry?

Do you have any suggestions about that? Actually I didn't use msi file before. 
Please let me know, how to add telerik dll..


P.S This msi run normally on my computer.(I installed radcontrols for winforms on my desktop.)
       However it is not a situation what I want.

Regards,
Peter
Telerik team
 answered on 20 Aug 2009
5 answers
232 views
I have created a new EditAppointDialog form, using a custom Appointment Factory.  C#

1)  How can I set the new custom appointment data during manual creation?  I don't see "Email" show as an option.  Am I missing something?  The email data does save & load within the session.   


Appointment appointment = null;
appointment = new Appointment(start, end, summary, description, location);
this.radScheduler.Appointments.Add(appointment);


this.radScheduler.AppointmentFactory = new CustomSchedFactory();


public class CustomSchedFactory : IAppointmentFactory
    {
        #region IAppointmentFactory Members

        public IEvent CreateNewAppointment()
        {
            return new MySched();
        }

        #endregion
    }

public class MySched : Appointment
    {
        public MySched() 
            :base()
        { }

        string email = String.Empty;

        public string Email
        {
            get { return this.email; }
            set 
            {
                if (this.email != value)
                {
                    this.email=value;
                    this.OnPropertyChanged("Email");
                }
            }
        }



2)  I also will have a new combobox added to the custom AppointmentDialog, and I want to add items at form load (similiar to Resources). How I can I add drop-down values to my custom combobox on the radScheduler during Onload of RadForm (not Appointment form)?

this.radScheduler.Resources.Add(new Resource(1,"Test"));
(I have a new "Types" combobox on the custom EditAppointmentDialog)



Jeremy Murtishaw
Top achievements
Rank 1
 answered on 19 Aug 2009
1 answer
157 views

If RadGropBox have

1) non odd height (for example, 179 instead of 180) and

2) font set for Tahoma with size 8 

lower boundary is lost. See this picture for example.

I use Telerik RadControls for WinForms version 2009.2.729.

Nick
Telerik team
 answered on 19 Aug 2009
2 answers
237 views
Hi,
We want to buy your product so we try it now to see if it's feet us.
we want a carousel with images,The images will be added in runtime
here is my code:
--------------------------------------------------------------------------------------------------------------------------------------------

RadButtonElement

 

radB = new RadButtonElement();

 

 

 

Image Image = SaveBitmap(f); //My Faunction which returns an image

 

radB.CanFocus =

true;

 

 

 

radB.DisplayStyle = Telerik.WinControls.

 

 

DisplayStyle.Image;

 

 

radB.Image = Image;

radB.Name =

"radButtonElement";

 

 

 

radB.Text =

"radButtonElement";

 

 

 

((Telerik.WinControls.Primitives.

 

 

FillPrimitive)(radB.GetChildAt(0))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;

 

((Telerik.WinControls.Primitives.

 

BorderPrimitive)(radB.GetChildAt(2))).Visibility = Telerik.WinControls.ElementVisibility.Hidden;

 

 

 

this.leoSchachterCarousel1.Items.Add(radB);
---------------------------------------------------------------------------------------------------------------------------------------

the Problem Is that the Image is to big and when I set it smaller it is cut...
how can I set an AutoSize and Stretch Image to RadButtonElement ?
Thank You,

 

 

chaily pardes
Top achievements
Rank 1
 answered on 19 Aug 2009
8 answers
212 views
Hi!

Is its possible to add a button next to the close button in the far right corner of a dock control in mdi tab mode ?

I want to have a "create new tab" button next to the close button :)

Regards,
Per
Julian Benkov
Telerik team
 answered on 19 Aug 2009
1 answer
257 views
Hi,

I am trying to provide my user with a "open in new window" capability from the RadDock interface. The user will generally open new screens in new tabs but there is an extra button which will allow them to "float" any particular tab so it becomes an independent window.

I'm guessing the best way to achieve this within the RadDock framework is to create a new floating ToolWindow for the Document when the user presses the "open in new window" button. This way we can allow them to re-dock it to the DockManager later if they wish.

My approach would be

ToolWindow tw = new ToolWindow; // create the new toolwindow
tw.CloseAction = CloseAndDispose; // I always do this.
this.documentTabStrip.ControlsAdd(tw); // Add the toolwindow to the tab strip.
this.radDock.ActiveWindow.Parent = tw; // Switch the parent of the current document to the toolwindow
tw.Float(new Rectangle(0,0,500,500)); // Float the new toolwindow

Unfortunately it doesn't seem that simple. I got a couple of problems doing this;
1) The change of parent for a large form (40-50 textboxes) takes a long time, and causes visual flickering and glitching.
2) The transferred DockWindow is not dock.Fill inside the ToolWindow. It retains the size it was at the point where ownership was transferred. I can't seem to find a way of getting the transferred DockWindow to resize itself when transferred.
3) The transferred DockWindow seems to have a blank TabItem associated with it, so doesn't visually work - it leaves  gap for displaying the tab at the top of the toolwindow.

Subsequently I changed my approach to transfer the internal top level control for the DockWindow rather than the DockWindow itself, like this;

ToolWindow tw = new ToolWindow();
tw.CloseAction = CloseAndDispose;
Control controlToBeTransferred = this.radDock.ActiveWindow.Controls[0]; // Assumes a containerControl at top level.
ths.documentTabStrip.Controls.Add(tw);
controlToBeTransferred.Parent = tw;
tw.AutoScroll = true;
this.radDock.ActiveWindow.Close(); // It no longer has anything in it.
tw.Float(new Rectangle(0,0,500,500));

And this seems to work fine now. Thought the Forum would be interested.
Nick
Telerik team
 answered on 19 Aug 2009
2 answers
191 views
Hi,
I have setup CommandBinding on my RadSpinEditor with Command as FocusCommand. Upon pressing the shortcut using keyword, spinEditor does not gain focus.

I see similar problems with RadComboBox also. Please help me in setting up focus on these controls using keyboard shortcut.

Thanks
Ankur
Ankur Khator
Top achievements
Rank 1
 answered on 19 Aug 2009
0 answers
152 views
Hi,

I am working on the hierarchical gridview. I need to display all the customers in the Parent grid and orders by the customer in child grid.
I want to load all the customers when the form loads and to click on the expand row to view the orders related to that customer.
Is it possible and how? do the gridview supports load on demand?

Thanks.
yaqub
Top achievements
Rank 2
 asked on 19 Aug 2009
1 answer
210 views
Hey Guys,

DataBindingComplete Event for GridView Didn't fire when execute this code


BL.CodeData.AccountTypeCodes.FillAccountTypeCodes(_CurrencyCodesEc, null);   // _CurrencyCodesEc is an entityCollection 
        bindingSource2.DataSource = _CurrencyCodesEc;

Is there any thing missing ???


Telerik version 2009 Q2
windows 2008
VS 2008
.Net framework 3.5
Victor
Telerik team
 answered on 18 Aug 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
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?