Telerik Forums
UI for WinForms Forum
2 answers
65 views
Hello,

I have got a web and winform pattern with default controls and I´m going to use Telerik controls into them.

I´m having problem specially with adding them to winforms. Concretely, I have got a picture and I want to use hover on it. If the pointer is over a picture, another picture should be shown (therefore I have 2 pictures, 1 is shown at the beginning and when pointer is over it the image is changed by the other picture, when is not over it the picture 1)). In web application is easy to do it by using style sheet page but I have no idea how to do it in winforms?

So, how can I do this?could you help with any idea?What do you suggest me?

Thank you.
Victor
Telerik team
 answered on 26 Jun 2009
5 answers
364 views
Is there any way to get the appointment times to appear in 12-hour format? I saw the AppointmentTitleFormat property, but it looks like there is only the availability to rearrange or add formatting to the 24-hour format.

Is this possible?

Thanks,
Marcus
Nikolay
Telerik team
 answered on 26 Jun 2009
1 answer
121 views
HI,
I need to be able to place another button on the dialog which opens another form.  I am having difficulty inheriting from the dialog outlined in this example:   http://www.telerik.com/community/forums/winforms/scheduler/edit-appointment-dialogue.aspx

I am using VB Express 2008.   Thanks.
Jordan
Telerik team
 answered on 26 Jun 2009
1 answer
175 views
Hi Telerik:

I am using a radgridview  with a binding list as Data Source. The information I am showing is the Category ID and the Category Name.

Well, when a row is deleted , for instance, category id = 32, I want to move down the rest of categories ID  in order to fill that id, so now the 33 is 32, 34 is 33 and so on.

My second issue is with a new row. When I create a row the id is 0 by default. I want to change this to the next category ID for example 35.

So my idea is to modify the binding list in a event, for example when a row is deleted , modifing the categories Id in the  binding list  and rebind to the grid if necessary, but I don't know where to do it. And so  for a new row.

I found in the documentation an event called RowDeleting but I can't find it in the  designer, and  I don't know which is the event for a new row.

Any ideas ?

Regards.
Pablo

Victor
Telerik team
 answered on 25 Jun 2009
3 answers
142 views
Hi,
My radgridview is dynamically populated and I am trying to delete a row. It deletes it from the grid but not from the database. My code is as follows:

'bsMaintenance is the bindingsource

bsMaintenance.RemoveCurrent()

bsMaintenance.EndEdit()


'Save changes

Dim

 

myBuilder As SqlCommandBuilder = New SqlCommandBuilder(daDataAdapter)

 

 

Dim iResult As Integer

 

 

Dim bResult As Boolean = False

 

bsMaintenance.EndEdit()

myBuilder.GetUpdateCommand()

 

daDataAdapter.UpdateCommand = myBuilder.GetUpdateCommand()

 

daDataAdapter.Update(DSData, "TBL_CALL_TYPES")

 




Any help would be appreciated.


Martin Vasilev
Telerik team
 answered on 25 Jun 2009
1 answer
136 views
Hello,

My partner and I cannot seem to figure this out.  Right now, we have the carousel feature working nicely, the only downfall is that the carousel panels start way off to the right side.  We would like the middle carousel panel to start right in the middle of the screen, with the middle element selected.  We figured out how to select the correct element, but cannot figure out how to get the carousel panel to start in the correct spot. 

Any help greatly appreciated. 

Thanks
Deyan
Telerik team
 answered on 25 Jun 2009
5 answers
1.3K+ views
Hi,

I would like to use horizontal and vertical lines (borders) for cells to divide the information of the gridview and see it clearly. At the moment I have a gridview without any line and it´s difficult to see well the datas.

how can I do it?

Thank you in advance.
Deyan
Telerik team
 answered on 24 Jun 2009
4 answers
242 views
Greetings!

I'm having trouble with the alignment (particularly vertically) of an image on a RadButtonElement that's in a RadRibbonBar. I hope I'm just missing something simple!

Here's the walkthrough:

  1. Create a new Windows application
  2. Drop a RadRibbonBar onto the form
  3. Click "Add New Tab" and name it "Test"
  4. Click "Add New Chunk..." under Test
  5. Right click the New Chunk and click "Add an item" > "Horizontal Button Group"
  6. Right click the space inside the new group and click "Add an item" > "RadTextBoxElement"
  7. Carefully right click the group again and this time click "Add an item" > "RadButtonElement"
  8. Change the button's image anything smaller than 16x16. For example, Common7\VS2008ImageLibrary\1033\Objects\24bit_bitmaps\share.bmp from the Visual Studio 2008 image library
  9. Change the button's display style to Image
  10. Change the button's MinSize.Height to 22

 

The button is now to the right of the text box, but the image is not vertically centred in the button (note that if you set the MinSize.Width to be large than the image's width, it will not be horizontally centred either).

Most importantly, changing the buttons' ImageAlignment does not appear to have any effect - it is still displayed only at the top of the button and not centered, regardless of the setting of this property.

Is there a way to get the image to display in the centre of the button in this instance?

Thanks!

Cheers,

FRASER TUSTIAN



Specs:
OS: Windows Vista SP1
.NET Version: 3.5
Telerik Libraries Referenced:
Telerik.WinControls.dll   8.0.0.0
Telerik.WinControls.UI.dll  8.0.0.0
TelerikCommon.dll   8.0.0.0

Martin Vasilev
Telerik team
 answered on 24 Jun 2009
1 answer
94 views
Hi!

Is there any way to disable sorting in the overflow section? I want to keep the original order of my tabs, as I added them, but in the overflow section they are sorted alphabetically. I've searched everywhere where I could, but I wasn't able to find any answers.

Best regards,
Csongor
Martin Vasilev
Telerik team
 answered on 24 Jun 2009
2 answers
192 views

Hello,

I need to change the font of the gridview + header Programmatically.
The gridview rows I can change successively in the cellformating event  

  private void radGridViewProductie_CellFormatting(object sender, CellFormattingEventArgs e)
{
            e.CellElement.Font = Mo.LetterType;
}


The header row i change after binding the gridview.
See the following code

schrapViewBindingSource.DataSource = Schraplijst;
radGridViewProductie.DataSource = schrapViewBindingSource;
radGridViewProductie.MasterGridViewTemplate.BestFitColumns();

GridViewRowInfo Row = this.radGridViewProductie.MasterGridViewInfo.TableHeaderRow;
foreach (GridViewCellInfo gi in Row.Cells)
{
   if (gi.CellElement != null)
   {
       gi.CellElement.Font = Mo.LetterType;
   }
}

This works but the problem is when I comment out the BestFitColumns the Cellelement always returns null

What is the best way to change the font of the header row.?
Wich event can I use for that ?


Greetings Tim
IT Development
Top achievements
Rank 1
 answered on 24 Jun 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)
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
ProgressBar
CheckedDropDownList
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?