Telerik Forums
UI for WinForms Forum
2 answers
195 views
hi to all
i have used RadCommandBar in which i have added a text box and that text box is used for to enter the Password. I have also set the Property PasswordChar * of text box but still it is showing the passwords.


Rahul
Top achievements
Rank 1
 answered on 14 May 2012
1 answer
173 views
I'm sure this is something very small and silly but I can't figure it for some reason.

  1. I've copied "TMDBTheme.tssp" to my "C:\" drive.
  2. Right click on my project and "Add Existing Item"
  3. Find the file on my "C:\" drive and add it
  4. Right click on the file in my project explorer and select "Properties".
  5. Set "Build Action" to "Embedded Resource"
  6. Add the following two lines to my form constructor:
  7. ThemeResolutionService.LoadPackageFile("TMDBTheme.tssp");
  8. ThemeResolutionService.ApplicationThemeName = "TMDBTheme";
  9. Build my project
  10. Run my project
  11. I get a FileNotFoundException error: "File 'TMDBTheme.tssp' does not exist."

What am I missing?
Boryana
Telerik team
 answered on 14 May 2012
3 answers
410 views
Is there any way how to refresh sorting on RadGridView easy way (i.e. force grid to re-sort according actual sorting settings)? I'm now using following code, but it's kind of ugly.
private void uxTourGrid_CellEndEdit(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)  
{  
    if (e.ColumnIndex == 0 && uxTourGrid.Columns[0].SortOrder != RadSortOrder.None)  
    {  
        RadSortOrder sort = uxTourGrid.Columns[0].SortOrder;  
 
        uxTourGrid.Columns[0].SortOrder = RadSortOrder.None;  
        uxTourGrid.Columns[0].SortOrder = sort;  
    }  
}  
 
I'm sorting according to first column.

Thanks for any help.

Regards,
Daniel
Stefan
Telerik team
 answered on 14 May 2012
5 answers
524 views
I have 4 DateTime Fields in my RadGridView.  StartDate, StartTime, EndTime, EndDate.  I need to be able to have a Time only picker when adding / editing in the grid.  I can't seem to find a way to use the RadTimePicker.  Is there a way to integrate this?  Or use the GridViewDateTimeColumn in such a manner?

I'm Using WinForms Q1 2012 (2012.1.12.215) in a .NET 4.0 framework project.

Thanks.  Matthew
Stefan
Telerik team
 answered on 14 May 2012
2 answers
310 views
Hi Team,

I have been facing this issue, whenever i show a dialog or a messagebox in the valuevalidating event . I get a null exception error in
the program.cs file . but this does not occuur if i show the dialog in anyother event .please let me know the solution for this.

Regards
Harsh
Jack
Telerik team
 answered on 14 May 2012
1 answer
74 views
Hi team,

When i try to show a dialog in the validationerror event , why does the valuevalidating event gets trigerred.
This runs the showdailog twice that way. please help me to overcome this.
I am using telerik version:2011.2.11.0831

Regards
Harsh
Jack
Telerik team
 answered on 14 May 2012
3 answers
323 views
Hi,

Is there a way to set the  font details (say, to Arial 9.35)  for ALL controls in a single place or do I need to set them all individually?

If I can do it programmtically that'd be great as that will allow me to let the users choose their font.
Stefan
Telerik team
 answered on 14 May 2012
4 answers
486 views
Hi,

I have a telerik grid view where i am showing one table from my dataset which contains total 4 tables. Now while exporting to excel, i want to export all the tables instead of just one. How can i achieve this using telerik features.


thanks
kapil
Ivan Petrov
Telerik team
 answered on 11 May 2012
1 answer
265 views
Hi,

What's the intended/best way of setting the location for RadGridView's ColumnChooser dialog box? I want to show it at the center of the calling application (ideally) or at least within the bounds of the calling application.

I tried using ColumnChooser.StartPosition = FormStartPosition.CenterParent but it didn't work. May be because its Parent or MdiParent is set to NULL (I found this while debugging).

Thus currently I am setting the DesktopLocation property of ColumnChooser to the DesktopLocation of ParentForm offset by (50, 50).

//Since workListRadGridView.ColumnChooser's Parent or MdiParent property is not set,
//setting its StartPosition to FormStartPosition.CenterParent doesn't work.
//As a workaround, get parent form's desktop location and offset it 50 pixels from
//both X and Y co-ordinates to keep the column chooser within the bounds of the application.
//Parent form desktop location.
//DesktopLocation property is idle choice because of the following remark in its documentation on MSDN:
//"If your application is running on a multimonitor system, the coordinates of the form are the coordinates for the combined desktop."
//Telerik's documentation for ColumnChooser also has the mention for DesktopLocation property.
//(though not in the context of "setting the location")
 
if (this.ParentForm != null
    && this.ParentForm.DesktopLocation != null)
{
    Point columnChooserDesktopLocation = new Point(this.ParentForm.DesktopLocation.X, this.ParentForm.DesktopLocation.Y);
    columnChooserDesktopLocation.Offset(50, 50);
    radGridView.ColumnChooser.DesktopLocation = columnChooserDesktopLocation;
}


But I am bit apprehensive of ParentForm being NULL or this approach not working correctly for some reason. Thus needed to know if there exists a better way of specifying the location of the ColumnChooser.

Also, more importantly, I want the above code to work even if the user has more than one monitor/display unit.

Thanks,
~Abhay
Svett
Telerik team
 answered on 11 May 2012
1 answer
264 views
Hi guys,

I'm having a little trouble trying to get the RadDock working.

Here is my scenario:
I have a windows form which contains a RadPageView. Inside one of those tabs I have multiple RadSplitContainers which are giving me left, center, right and bottom panels. The left, right and bottom ones are fixed with the center expanding with the form/window. In each of these I need to house UserControls or Forms.

But how?

I've dropped a RadDock into a panel and set it to fill the parent. I've then created both a UserControl and a Form which at run time (Form1_Load) either one gets inserted into the RadDock. Something like this (ucBBMain is my UserControl):

UserControl uc = new ucBBMain();
radDock1.DockControl(uc, DockPosition.Fill);

But I get an  error:
"Invalid DockTabStrip for a DockPosition.Fill operation."

I also tried this but get the same error:
UserControl uc = new ucBBMain();
HostWindow host = new HostWindow(uc, DockType.Document);
radDock1.DockControl(host, DockPosition.Fill);

Very same happens with a Form.

So how can I put UserControls or Forms into a RadDock where their size is expanded to the RadDock they are inside?

Or in fact is a RadDock the correct control to use? Can I put a UserControl directly into the SplitContainer panels?
Julian Benkov
Telerik team
 answered on 11 May 2012
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
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
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?