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

in my RadRibbonBar are 4 RadButtonElements in the QuickAccessToolBar (radRibbonBar.QuickAccessToolBarItems).
Now i want to collapse one or more Buttons at runtime. Therefor i've set the Visibility-Propertie of the RadButtonElement to Collapsed:

radButtonElement.Visibility = Telerik.WinControls.ElementVisibility.Collapsed;
Nothing happens.

Than i try to refresh parts of, or the whole, the RibbonBar.
At first i tried it with RadButtonElement.UpdateLayout(). - Same result, nothing happens.
Next i've used the Refresh- and Update-Methode of the RibbonBar - still no results.
And at last i've add a new RadButtonElement to the QuickAccessToolBarItems of RibbonBar in the hope that the RibboBar now refresh itself.

I only want to hide one or more Buttons programmatically.
Can you explain me, how to get it working?


Regards



Peter
Telerik team
 answered on 15 Sep 2010
4 answers
272 views
Hi,

Working in VB.Net with the last release.

How can I test is there is a verticalscroll bar in my RadGrid ?

Or is there a way to force a column to fit the space unused ?

Thanks
Svett
Telerik team
 answered on 15 Sep 2010
2 answers
215 views
Hello all,

I think I may have found a bug with the Export function for the RadScheduler.  I used the Export function as follows:

Using stream As FileStream = File.Create("schedule.ics")
    Me.schAvailability.Export(stream, New SchedulerICalendarExporter)
End Using

and then used this iCal feed in lotus notes and got the error: "The content of this URL does not conform to the iCalendar parsing specification."  At first I thought this was because I was using a custom appointment object and editappointmentdialog.  Here is the contents of the .ics file produced from the export function:

BEGIN:VCALENDAR
PRODID:-//Telerik Inc.//NONSGML RadScheduler//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VTIMEZONE
TZID:Mountain Standard Time
BEGIN:STANDARD
TZNAME:Mountain Standard Time
TZOFFSETTO:-0700
TZOFFSETFROM:-0600
RRULE:FREQ=YEARLY;BYDAY=SU;BYMONTH=11;BYSETPOS=1;WKST=MO
DTSTART:16010101T020000
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:-0700
TZOFFSETTO:-0600
DTSTART:20070101T020000
RRULE:FREQ=YEARLY;BYDAY=SU;BYMONTH=3;BYSETPOS=2;WKST=MO
TZNAME:Mountain Daylight Time
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
DTSTART;TZID=Mountain Standard Time:20100702T000000
DTEND;TZID=Mountain Standard Time:20100702T235900
SUMMARY:Vacation
DESCRIPTION:Vacation
UID:98ef45e7-e8b1-43b9-92f2-91cd7a9cf2fb
LOCATION:Vacation
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
BACKGROUND:BUSINESS
END:VEVENT
END:VCALENDAR

Please note the bolded lines.  This above .ics file did not load correctly in lotus notes and produced the error message I said above.

All I had to do to fix this error and get my ics file correctly working in lotus notes was make the following changes to the above bolded lines:

DTSTART:20100702T000000-0700
DTEND:20100702T235900-0700

Can you confirm that setting time zone as ;TZID=Mountain Standard Time: is indeed an issue (for lotus notes)?

EDIT: I found another fix for this.

We can leave the DTSTART and DTEND in VEVENT as is:
DTSTART;TZID=Mountain Standard Time:20100702T000000
DTEND;TZID=Mountain Standard Time:20100702T235900

BUT we have to add a timezone offset to the DTSTART (in STANDARD and DAYLIGHT) of VTIMEZONE

BEGIN:VTIMEZONE
TZID:Mountain Standard Time
BEGIN:STANDARD
TZNAME:Mountain Standard Time
TZOFFSETTO:-0700
TZOFFSETFROM:-0600
RRULE:FREQ=YEARLY;BYDAY=SU;BYMONTH=11;BYSETPOS=1;WKST=MO
DTSTART:16010101T020000-0700
END:STANDARD
BEGIN:DAYLIGHT
TZOFFSETFROM:-0700
TZOFFSETTO:-0600
DTSTART:20070101T020000-0700
RRULE:FREQ=YEARLY;BYDAY=SU;BYMONTH=3;BYSETPOS=2;WKST=MO
TZNAME:Mountain Daylight Time
END:DAYLIGHT
END:VTIMEZONE

Brennan
Top achievements
Rank 1
 answered on 15 Sep 2010
1 answer
158 views

 

I tried to use "foreach" and "for" to get all rows in the demo of GridView Folder tree, but failed

for (int i = 0; i < radGridView1.Rows.Count; i++)
{
}
foreach 
(GridViewRowInfo fvri in  radGridView1.Rows)
{}
Stefan
Telerik team
 answered on 15 Sep 2010
5 answers
245 views
How do I select a specific appointment in code?

More precisely, when the RadSchedulerReminder dialog is displayed and the 'Open" button is pressed, I would like to scroll to and select that appointment.

I am handling the Reminder.ItemOpened() event, and I assume that e.RemindObject points to an appointment in the Scheduler's event storage, please correct me if that is not the case.

-Chris
Dobry Zranchev
Telerik team
 answered on 15 Sep 2010
1 answer
211 views
I am trying to add tooltips to my unbound data grid... Can someone please let me know how to accomplish this through code? Below is how I am adding data to the grid.
Thanks for the help!

Craig

 

for (int i = 0; i < scheduleNotesList.Count; i++)

 

{

 

GridCommandCellElement cellElement = null;

 

 

GridViewRowInfo rowInfo = this.grdNotes.Rows.AddNew();

 

rowInfo.Cells[

"User"].Value = scheduleNotesList[i].AddedByUserIdSource.NameFirst + " " + scheduleNotesList[i].AddedByUserIdSource.NameLast;

 

rowInfo.Cells[

"PatientName"].Value = scheduleNotesList[i].PatientIdSource.FullName;

 

rowInfo.Cells[

"Note"].Value = scheduleNotesList[i].NotesDetail;

 

rowInfo.Cells[

"Note"].CellElement.ToolTipText = scheduleNotesList[i].NotesDetail;    //This throes a NullReferenceException.

 

rowInfo.Cells[

"DateAdded"].Value = scheduleNotesList[i].ModifiedDate.ToShortDateString() + " " + scheduleNotesList[i].ModifiedDate.ToShortTimeString();

 

}

Stefan
Telerik team
 answered on 15 Sep 2010
2 answers
192 views
Hi,

I'm using the gridview and sometimes get quite a lot of rows, like about 40.000 records.
there are about 18 columns and some need formatting based on the value in the cells.
this works fine either through the conditinal formatting or in the rowformatting/cellformatting event as described in some of your posts and tutorials.

so far so good.

However, two cells need some more action and I'm just wonderingwy the rowfomatting event is always fired, when you scroll or get the focus in the grid etc. Seems a little too much.

Shouldn't those events be fired when the value changes or is there an event which only fires when the value changed or when the value is being written in the cell? Like a rowcreated event?


Thanks
Robert
Top achievements
Rank 1
 answered on 14 Sep 2010
4 answers
319 views
Hello,
I'm having problems with the RadForm component. This problem appears to me both in Q1 2010 and Q2 2010, .NET Framework 4. I'm running Windows 7 and using VS 2010. The problem is that the form does not appear to style itself correctly. I've attached a screenshot to show you the problem. I'm confused as to what is causing this problem, because I don't recall having this issue with Q2 2008 or even Q1 2010 before i had it uninstalled and installed again.

Thank you.

Edit: The form appears correctly in the Visual Studio Designer, the problem appears only when running the application.
Stefan
Telerik team
 answered on 14 Sep 2010
1 answer
222 views
Hi,
     Please send a sample form which is there in QuickStart.dll.Only form with  RadDock Control and Titlebar with images .
On Maximize , the image also should resize.

Thanks
Stefan
Telerik team
 answered on 14 Sep 2010
8 answers
530 views
hi,

I am trying for binding a Relational data from the database to Rad TreeView control.
Ihave taken a Dept table (primary Key table) , Employee table (related with a foriegn key to Dept table and itself has a primary Key column) and Products table (related with a foriegn key to Employee table).
I have tried using RelationBindings.Add() methods but, i didn't get the result.

Please can u tell me how to bind a relational data to a Rad treeview control.

Thank you,

regards,
Mahitha Madala.
Jack
Telerik team
 answered on 14 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)
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?