Telerik Forums
UI for WinForms Forum
5 answers
196 views
Hello

Using the RibbonBar, I am adding buttons vertically to a RibbonBarGroup when there are three or less. when there more buttons, I add adjacent RibbonBarButtonGroups, then add the buttons to them.

The problem is that buttons do not look the same.
How can i make the buttons in RibbonBarButtonGroup have the exact same style as those in RibbonBarGroup ?

I use Office2007Silver theme, and the latest version.

Thanks in advance!


Peter
Telerik team
 answered on 02 Sep 2010
1 answer
139 views

Q1) When i change the datasource of the grid, how do i get the filters to update according to the datatypes of the new datasource. 
The problem i'm having is that filter operator list for each filter does not get updated based on the new column datatype.
So if its an int32 column, the filteroperator remains as Contains instead of changing to Equal.
 And obviously when the user uses the filter, exceptions occur and application crashes. 

I have autogenerateColumns set to true, and every time i change the datasource, i run this statement
  entitiesGrid.TableElement.Update(GridUINotifyAction.DataChanged);

Q2.) is there a way to set FilterOperator on the defualt filyter for a column on RAdGridView programmaticly? 


Please advise.
Thanks 
Anisha 
Alexander
Telerik team
 answered on 02 Sep 2010
3 answers
136 views
Hello all,

This is more of a question of possibilities (meaning ... can I do _____ with RadScheduler?) I am not necessarily looking for a solution yet, just some good advice as I am just starting to design/develop this new feature. We are currently using Planner.Net (mindfusion.eu) for our scheduling control, but since the rest of our app is based on Telerik Controls, I was thinking of using just one component vendor.

Grouping
I need to be able to group by one of three unique fields. We can call these fields "Contact Person", "Location", or "Resource". Now I see I define my own resources to add to the collection and can group by resources. But am I able to group by other fields as well (even if I have to write some funky code)?

Custom Appointment Types
Say I have three different appointment types. The standard appointment, an appointment type that contains contact/organizer person details (name, phone number, email address), and an appointment that contains contact information for a contact person and a guest-speaker. I need to store this data in unique database fields and am unable to just put all the information in the event details. If coded properly, can the scheduler display all three appointment types and bring up the appropriate dialogs as needed?

Nested Appointments (*just a wish*)
Is there a way to nest appointments? The example would be something like ...
On Friday, 3 September, Prof. Jones has office hours from 8am to 4pm (this is the "main" appointment).
Student Stephanie has booked a meeting to discuss _____ from 8:30 to 9:30 and TA Smith has scheduled a meeting to go over midterm exams from 10:00 to 12:00. I know that I can schedule three appointments which would show an appointment scheduled for the professor, and then the two additional appointments. What I would like to display is the "blocked" time for the prof as one appointment with the other two appointments scheduled "within" that blocked time. Is there any possibility for this?

This is for a WinForms application (using DotNet 3.5 for the UI and DotNet 4.0 for the data layer). If this is possible say using the web  or WPF controls ... and I AM ABLE host them within a WinForm application then I am willing to use some funky coding techniques to get this type of functionality to be possible.

Thanks in advance for any suggestions/advice!

Alon

Dobry Zranchev
Telerik team
 answered on 02 Sep 2010
1 answer
219 views

Hi

 

               I am using RadControls for WinForms Q2 2010 SP1 with .NET 3.5.

                I implemented interface INotifyPropertyChanged on object that I bound to grid.

                Properties of objects change but values in grid are not changed.

                It works fine with Microsoft grid.               

 

                How can I solve this problem?

 

Regards

Julian Benkov
Telerik team
 answered on 02 Sep 2010
1 answer
107 views
Hi
        

                I am using RadControls for WinForms Q2 2010 SP1 in .NET 3.5.            

                I would like to bound hierarchy structure to RadGridView that is not DataSet.            

                My structure is quite simple:      

            1. On the top is class ContentTargetFolder:
    
            

public class ContentTargetFolder
{
    private string _name;
    public string Name { get { return _name; } }
    /*…here I have other properties to display*/
    private List<Package> _packages;
    public List<Package> Packages { get { return _packages; } }
    â€¦
}

 

            2. Package class:

public class Package
{
    /*…Properties to display…*/
  
    private List<PackageItem> _packageItems = new List<PackageItem>();
    public List<PackageItem> PackageItems { get { return _packageItems;}}
    â€¦
}

        3. PackageItem class:

public class PackageItem
{
    /*…Properties to display…*/
  
}

 

                I have List< ContentTargetFolder> CTFs object and I do this:

this.radGridView1.BeginUpdate(); 
this.radGridView1.MasterTemplate.Reset(); 
this.radGridView1.AutoGenerateHierarchy = true;
this.radGridView1.DataMember = string.Empty;
this.radGridView1.DataSource = CTFs;
this.radGridView1.EndUpdate();

The problem is that I get flat list, Packages property from class ContentTargetFolder is displayed as normal property it is not treated as collection of objects.

How can I solve this problem?



Regards

Julian Benkov
Telerik team
 answered on 02 Sep 2010
6 answers
1.0K+ views
I want delete a row on GridView. But i don't know how to delete it and update it to database

Help me please

Thanks and regards
Julian Benkov
Telerik team
 answered on 02 Sep 2010
6 answers
121 views
On monthview or weekview, we select a date, eg  8/19/2010,  then we navigate to dayview and we want to see the same selected date 8/19/2010 on dayview.  How can we do this?

It seems that the date shown on dayview is the first date of weekview or monthview when navigating to dayview from weekview or monthview
Julian Benkov
Telerik team
 answered on 02 Sep 2010
1 answer
104 views
Hi,

When I am stepping through code in visual studio after a breakpoint has been hit with the drop down window visible, it always appears over the top of every window including not visual studio related windows.
I am using version 2010.2.10.713, visual studio 2010, windows 7.

regards,
Jeff.
Peter
Telerik team
 answered on 02 Sep 2010
4 answers
146 views

Hi,

I want to uninstall winForms Q1 2010 SP2 for VS2010, it shows like below several hours.

"Please wait while configures Telerik RadControls for WinForms Q1 2010 SP2".

Any good idea solve this?

Software I had installed:

1. VS2005

2. VS2008

3. Telerik premium collection for .net (Q1 2010 SP2) [&& WinForms Q1 2010]

4. uninstall VS2005

5. install VS2010

6. uninstall/reinstall ASP.NET Q1 2010 SP2 (it's ok)

7.uninstall WinForms Q1 2010 SP2 (no results)

hope this information usabled.

Vassil Petev
Telerik team
 answered on 02 Sep 2010
2 answers
401 views
Hello,

I'm using a RadGridView to view a List<Products>. It contains a decimal "Price" field and a string "currency" field.
I've figured out how to specify a column FormatInfo and FormatString:

CultureInfo cultureInfo;
 switch (Product.Currency)
 {
     case "EUR":
         cultureInfo = new CultureInfo("fr-FR");
         break;
     case "GBP":
         cultureInfo = new CultureInfo("en-GB");
         break;
     default:
         cultureInfo = new CultureInfo("fr-FR");
         break;
 }
 radGridViewSupplierProducts.MasterGridViewTemplate.Columns["Price"].FormatInfo = cultureInfo;

Now the question is: how can i do the same thing but cell by cell (not for the entire column), based on the Product fields values.
ex: one product that costs £23 and another 45€ and displaying those values..

Regards,

Rafael
Rafael
Top achievements
Rank 1
 answered on 02 Sep 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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
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
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
DateTimePicker
CollapsiblePanel
Conversational UI, Chat
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
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
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?