Telerik Forums
UI for WinForms Forum
3 answers
273 views
Hi
I have four questions:
1. How can I make transparency drop down menu in RadMenu items?
2. How can I make transparency drop down menu header ?
3. how can I change the color of selection of buttons? I mean when mouse moves on buttons, it appears yellow. I need it to be appear green.
4. How to make disappear the drop down header line? I mean if you pay attention to the drop down menu, you can see a vertical band at the left or right side of the drop down menu, depends on right to left setting. I need this band to be disappear like a very simple drop down.
Thanks
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Nov 2013
1 answer
182 views
Hello,

is it meanwhile possible to make individual work times for each weekday?

For example:

Monday 08:00 - 17:00
Tuesday 08:30 - 18:00
Wednesday 07:00 - 16:30
....


Greets,
Shaggy
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 22 Nov 2013
1 answer
137 views
Hi,

  I have  a requirement that user want to type full date in Rad date time picker ( without using arrow keys).
 Please advise me .

Thanks.
Dimitar
Telerik team
 answered on 22 Nov 2013
5 answers
225 views
Hello,

I am programatically trying to add an arbitrary number of checkboxes (RadCheckBoxElements) to a Vertically aligned ButtonGroup in a RibbonBar. The problem I encounter, is when the number of Elements exceeds three/four, the elements appear 'behind' the edge of the ribbonbar: the list of elements is not continued in an imaginary adjacent column, if you will. In a textual representation, this is what I have now:

===Bar===
[ ] CheckBox1
[ ] CheckBox2
[ ] CheckBox3
===Bar===
[ ] CheckBoxn (appears partly or wholly below bar edge)

What I want to achieve is:
===Bar===
[ ] CheckBox1  [ ] CheckBox4
[ ] CheckBox2  [ ] CheckBoxn
[ ] CheckBox3
===Bar===

Could you help me with this? Thanks in advance!
Peter
Telerik team
 answered on 21 Nov 2013
12 answers
596 views
Hi,

How can I add image on the right blank side of the ribbon. I Attached a screen shot for clarity. Thank you.

Best regards,

Ian
Stefan
Telerik team
 answered on 21 Nov 2013
1 answer
129 views
i want a code for inserting image into rad grid in winforms wqith c# where i inserted a binary type image in sql server...so plz help me in this..
Dimitar
Telerik team
 answered on 18 Nov 2013
1 answer
217 views
In the Windows TreeView, in the BeforeSelect event, the TreeViewCancelEventArgs has a property called Action. So I can check e.Action, and if the source of the action is code, or user input, I can take the appropriate action.

The closest thing RadTreeView has for this event is SelectedNodeChanging. However, the RadTreeViewCancelEventArgs doesn't have an Action property. When using a RadTreeView and handling the SelectedNodeChanging event, how can I determine the source of the selection change, whether by code or user input?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 18 Nov 2013
5 answers
166 views
Hello
Whenever I want to create  new project as "RadControls Windows Forms Application" it shows me an error message.
I attached the screenshot of error.

This error appears in both VB.NET and C# mode.

Please help.

Thanks.
Vesko
Telerik team
 answered on 18 Nov 2013
2 answers
142 views
Hello
I add a RadPanorama on my form.
Then I open the "Element hierarchy editor"
If you pay attention to the left column, you can see two FillPrimitive under RadScrollBarElement.

The bug is because we have two same name here, there is no access to the second FillPrimitive items from code.

For example to changing the Backcolor and BackColor1 and BackColor2 and BackColor3 of ScrollBar, you can change it from hierarchy, but it is not possible to change it via code.

I attached a screenshot of what I explained example.




Also on RadTitleBar, we have same bug.
I mean there is no access to text via code.
For example it is not possible to access text visibility on title bar via code.

Thanks.

Sherlock
Top achievements
Rank 1
 answered on 16 Nov 2013
1 answer
138 views

Hi all 
i try to view pdf like this 
01.radPdfViewer1.ReadingMode = Telerik.WinControls.UI.ReadingMode.OnDemand;
02. 
03.              using (FileStream fStream = File.OpenRead(dlg.FileName))
04.              {
05.                  MemoryStream mStream = new MemoryStream();
06.                   
07.                  mStream.SetLength(fStream.Length);
08.                  fStream.Read(mStream.GetBuffer(), 0, (int)fStream.Length);
09. 
10.                  this.radPdfViewer1.LoadDocument(mStream);
11.              }
and then the pdf is show.after call radPdfViewer1.PageDown();

the form throw this exeption

01.System.Reflection.TargetInvocationException was unhandled
02.  HResult=-2146232828
03.  Message=Exception has been thrown by the target of an invocation.
04.  Source=mscorlib
05.  StackTrace:
06.       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
07.       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
08.       at System.Delegate.DynamicInvokeImpl(Object[] args)
09.       at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)
10.       at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)
11.       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
12.       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
13.       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
14.       at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)
15.       at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
16.       at System.Windows.Forms.Control.WndProc(Message& m)
17.       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
18.       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
19.       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
20.       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
21.       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
22.       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
23.       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
24.       at System.Windows.Forms.Application.Run(Form mainForm)
25.       at BookReader.Program.Main() in d:\Omid\Kar\PDF library\Rad\1\BookReader\BookReader\Program.cs:line 18
26.       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
27.       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
28.       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
29.       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
30.       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
31.       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
32.       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
33.       at System.Threading.ThreadHelper.ThreadStart()
34.  InnerException: System.Reflection.TargetInvocationException
35.       HResult=-2146232828
36.       Message=An exception occurred during the operation, making the result invalid.  Check InnerException for exception details.
37.       Source=System
38.       StackTrace:
39.            at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary()
40.            at System.ComponentModel.RunWorkerCompletedEventArgs.get_Result()
41.            at Telerik.WinControls.UI.RadFixedPageElement.pageRenderer_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e)
42.            at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)
43.            at System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object arg)
44.       InnerException: System.NullReferenceException
45.            HResult=-2147467261
46.            Message=Object reference not set to an instance of an object.
47.            Source=Telerik.WinControls.PdfViewer
48.            StackTrace:
49.                 at Telerik.WinControls.PdfViewer.PdfElementsRenderer.RenderImage(ImageSource source)
50.                 at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawImage(Image image, Graphics graphics)
51.                 at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContentElement(IContentElement contentElement, Graphics graphics)
52.                 at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContainer(Container container, Graphics graphics)
53.                 at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContentElement(IContentElement contentElement, Graphics graphics)
54.                 at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContainer(Container container, Graphics graphics)
55.                 at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawContentElement(IContentElement contentElement, Graphics graphics)
56.                 at Telerik.WinControls.PdfViewer.FixedPageRenderer.DrawPage(ContentCollection content, Graphics graphics, Matrix pageTransform)
57.                 at Telerik.WinControls.UI.RadFixedPageElement.pageRenderer_DoWork(Object sender, DoWorkEventArgs e)
58.                 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
59.                 at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
60.            InnerException:

so when I change readingmode and read large file it accure.

please help how to handle it.
thanks every one
Ivan Todorov
Telerik team
 answered on 15 Nov 2013
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?