Telerik Forums
UI for WinForms Forum
3 answers
46 views
Hi,

I'm working on an add-in for Microsoft Office and use a lot of Telerik components for the custom UI.
To have all these Telerik controls look and feel like the rest of Office, I apply a theme at runtime, depending on which color scheme the user have set for Office. And on Development machines this works like a charm - change the color of Office and my add-in changes with it.
For distributing to end-users I want to put the theme assemblys in the GAC, as I have to be sure that these theme assemblies can be found run-time, as they are loaded when needed.
Putting the theme dll's in the GAC works fine for the Office2010Blue and the Office2010Black themes, but nothing happens when I try to deploy Office2010Silver to the GAC - and not even when using gacutil. I'm using Telerik 2013.1.220.40, VS2012 and .NET 4.5.

Hope you can help me out here, as the add-in doesn't if it can't find the theme assemblies at run-time.

Best regards
Thomas


George
Telerik team
 answered on 16 Sep 2013
1 answer
153 views
How do I go about prevent all day appointments being created. If I create an appointment in the scheduler as normal and drag it to the top of the scheduler into the all day bar it changes the times to an all day event. I want to prevent them double clicking in the all day event bar or dragging and dropping an appointment in to this bar.

I've tried the following but it still allows me to create appointments
void rsTest_CellFormatting(object sender, SchedulerCellEventArgs e)
      {
          if (e.CellElement is SchedulerHeaderCellElement)
          {
              e.CellElement.Enabled = false;
              e.CellElement.Visibility = Telerik.WinControls.ElementVisibility.Hidden;
          }
      }
George
Telerik team
 answered on 16 Sep 2013
3 answers
136 views
Hi Team,

I have a requirement like 
i have a radForm in which radPageview and radPropertygrid controls are present.Here the radPageView size is not resizable,its statis.i want a functionality if i maximize the radPageview at runtime radPropertyGrid has to reduce its size accordingly and vice versa.something just like visual studio docking option
George
Telerik team
 answered on 16 Sep 2013
1 answer
189 views
Hello!

I am looking for a special component. It should be a slide bar on/off - something like this:
http://st.depositphotos.com/1575949/1271/v/950/depositphotos_12715551-On-Off-switch-slide-button-.jpg

Do you have something like this? Or maybe can you tell me how to create it for example from RadHScrollBar?

Many thanks

Kuba

Edit: OK! I'm close to get this component using RadHScrollBar. I have only one problem with it. There are ScrollsRadButtons. I define them Visibility to Collapsed, but they are there still. I can't slide my bar to the end (see attachment). I tried use PositionOffset and Location properties but it doesn't work. That buttons don't disappear. Only Margin properties looked good, but it changes size of thumb too much. I tried to set AutoSize property to False, but then my Thumb disappear and I don't know where (see attachment2).

What can I do to repair it?
Ivan Petrov
Telerik team
 answered on 13 Sep 2013
1 answer
92 views

I have a tree and each of it's node.text has two words. The first and second words should have different colors. I'm already changing the color of the text property but I can't figure out how to split the node.text in two different colors.

can you help me plz?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 13 Sep 2013
4 answers
139 views
Hi
I'm using PivotGrid and it's a amazing control, thanks.
now
CustomName property worked for RadPivotGrid.
But, I'm using RadPivotFieldList together.
When user remove one field and add again, it comes without CustomName.
how can I display CustomName in RadPivotFieldList?

Regards
pegah
Peter
Telerik team
 answered on 12 Sep 2013
3 answers
1.0K+ views
Hi,
    How to show the Context Menu only when right click the mouse on the selected row in rad grid.
    Please give solution for this......

Stefan
Telerik team
 answered on 12 Sep 2013
3 answers
165 views
Hi, is it possible to filter the items of a ListView by its CheckedState status?

Thanks,

Javier
Stefan
Telerik team
 answered on 12 Sep 2013
7 answers
202 views
Hello,

I am in the process of evaluating the WinForms Controls. Actually, when I saw the Bubble Bar in the Demos, I was convinced I need Telerik to go on with my project. However, I am trying to even start a project for the last two days and nothing seems to be going right, let alone set up a BubbleBar, which now, I have come to understand that it is not a native (Rad) control, but a derrivative.

Anyway, here's the problem. I tried to isolate the BubbleBar to another project (drawing from your demo source code). It seemed impossible to get the references right. So, I open a form and drag a label in it. I am thinking: "all relevant references must be inserted automatically now". And indeed they are (image1.png). You can see all controls in design time (image2.png). But, as soon as i try to compile, I get an error for each control as if I had never inserted a reference (image3.png). If it helps, in image4.png you can see my intellisense showing no namespaces other than "Examples", for Telerik.

What am I doing wrong?

Thank you in advance,
N.

PS:
I am working on VS2010, but later may be working on VS2008 as well.
Peter
Telerik team
 answered on 12 Sep 2013
3 answers
126 views

I am having a problem and had been searching the web and couldn't find anything that will help me.

this is my problem.
Im working in WinForm , c#

I have a grid where is a Column of type **GridViewDateTimeColumn**.
When the user update a row I check it in the event **RowValidating** and if I get a repeated date or other error I show the user a message and I do **e.cancel = true** to not validate the row.
But then If I press ESC. I cannot cancel all the changes like it usually does before 
Any idea how to do it?

Here is my code:

   private void grdPirteyMenahel_RowValidating(object sender, RowValidatingEventArgs e)
        {
            try
            {
                Cursor.Current = Cursors.WaitCursor;
                if (e.Row != null)
                {
  
//Generate a service to connect to DB
                   
                   var factory = new MezumanimChannelFactory<IKerenService>(ServiceConsts.SERVICE_KEREN);
                   var service = factory.CreateChannel();
                   string sError = string.Empty;
//here I call a SP in the database that check if the dates are correct (column of dates are call it "MiTaarich" and "AdTaarich".
//The SP return a String with the error, if there is no error it will return and empty string
 
                   sError = GetErrorPirteySacharMenahel(Convert.ToDateTime(e.Row.Cells["MiTaarich"].Value), Convert.ToDateTime(e.Row.Cells["AdTaarich"].Value), Convert.ToInt32(e.Row.Cells["Kod"].Value));
 
                                if (sError != string.Empty)
                                {
                                    e.Cancel = true;
                                    RadMessageBoxHelper.Alert(sError);
                                }
                   }
                       
            }
            catch (Exception ex)
            {
                 
                Elad.Mezumanim.Client.Utils.Log.LogUtil.write(ex);
                e.Cancel = true;
                RadMessageBoxHelper.Alert(Messages.DataDisplayError, this);
            }
            finally
            {
                Cursor.Current = Cursors.Default;
            }
        }


I also tried adding this code when i get the error:

 
DataTable dt = (grdPirteyMenahel.DataSource as DataTable);
dt.RejectChanges();


But this recover the value of date as it was before (what is good) but doesn't let me get out of the row when I press ESC

Any idea how to solve it?

thank you very much
best regards
Iair
                                   
George
Telerik team
 answered on 11 Sep 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)
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?