Telerik Forums
UI for WinForms Forum
10 answers
396 views
I am currently using a good old fashioned
 gvDispensing.MasterGridViewTemplate.LoadFrom(openRS(tSQL))
command to load a record set into a grid view.

Some of the data I am working with has 80/150 thousand lines, and when I open the form, it takes over 2 minutes to load the grid view using the code below.

gvDispensing.MasterGridViewTemplate.AllowAddNewRow = False 
        gvDispensing.MasterGridViewTemplate.ShowRowHeaderColumn = False 
        gvDispensing.MasterGridViewTemplate.AutoGenerateColumns = True 
        gvDispensing.MasterGridViewTemplate.BestFitColumns() 
 
        gvDispensing.GridElement.BeginUpdate() 
 
        tSQL = "Crazy Multi Join Query Here" 
        gvDispensing.MasterGridViewTemplate.LoadFrom(openRS(tSQL)) 

Is there anyway to open the form, and attach a progress bar to this loading process so that the user knows that something is happening?


Julian Benkov
Telerik team
 answered on 02 May 2012
3 answers
240 views
Dear Friends,

Is there a way to manage the tooltip behavior of the calendar?

When I use cell.ToolTipText ="Something" it look Ok, but,  with Long Text it's staying on one straight line!

I wish to be able to Word Wrap the long text so I don't see it all across the screen!

Thanks for any Infos!

Ben
 

Richard Slade
Top achievements
Rank 2
 answered on 01 May 2012
3 answers
89 views
I'm attempting to make the treeview in our application work as it did prior to the improvement which has it clear the current text. (i.e. I'd like the editor that gets created to have the old text in it, and that text highlighted). I've got all this down except for the highlighting.

This needs to be done programmatically, as some nodes do not have an option to be renamed.

What I'm doing currently is: after the treeview acquires an editor, setting the text value of that editor to the value that was the node's text. I can't, however, find an editor that has any kind of "highlight text" feature, to pass to the treeview when EditorRequired is raised. What can I do to implement this feature?
RadTreeNode node = radTreeView1.SelectedNode;
radTreeView1.BeginEdit();
radTreeView1.ActiveEditor.Value = node.Text;

Thanks in advance,
-Alan
Stefan
Telerik team
 answered on 01 May 2012
10 answers
498 views
I get following exception when I check or unckec any node in RadTreeView.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.TreeNodeElement.ToggleElement_ToggleStateChanging(Object sender, StateChangingEventArgs args)
   at Telerik.WinControls.UI.RadToggleButtonElement.OnToggleStateChanging(StateChangingEventArgs e)
   at Telerik.WinControls.UI.TreeNodeCheckBoxElement.OnToggleStateChanging(StateChangingEventArgs e)
   at Telerik.WinControls.UI.RadToggleButtonElement.set_ToggleState(ToggleState value)
   at Telerik.WinControls.UI.TreeNodeCheckBoxElement.OnToggle()
   at Telerik.WinControls.UI.RadToggleButtonElement.OnClick(EventArgs e)
   at Telerik.WinControls.RadItem.DoClick(EventArgs e)
   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadItem.RaiseBubbleEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.RaiseRoutedEvent(RadElement sender, RoutedEventArgs args)
   at Telerik.WinControls.RadElement.DoMouseUp(MouseEventArgs e)
   at Telerik.WinControls.ComponentInputBehavior.OnMouseUp(MouseEventArgs e)
   at Telerik.WinControls.RadControl.OnMouseUp(MouseEventArgs e)
   at Telerik.WinControls.UI.RadTreeView.OnMouseUp(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at Telerik.WinControls.UI.RadTreeView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Version is 2011.3 11.1219 
I can send you small sample with this exception. 
Don
Top achievements
Rank 1
 answered on 30 Apr 2012
3 answers
303 views
I have a gridview column for full name which is made up of two fields from a database (first name + last name). When I go to edit rows in the grid, I would like display text boxes for first name and last name instead of the concatenated full name which isn't something I can edit directly. Is there a way to do this with the radgridview?  I've done something similar with NestedViewTemplate on the web side, but I'm not sure how to create this type of funcationality with winforms. Any help would be appreciated!
Melissa
Top achievements
Rank 1
 answered on 30 Apr 2012
1 answer
158 views
The RadForm Title Bar is cut near the close,max,minimize button, when i load the mdi RadForm in RTL with ar-SA culture thread.

I have tried many different ways, but i'm not able to fix it.
Boryana
Telerik team
 answered on 30 Apr 2012
5 answers
214 views
how to get Group Header name as Summary row name. Please finnd the attached image for more clarification
Jack
Telerik team
 answered on 30 Apr 2012
8 answers
1.9K+ views
I'm binding a GridView to a datasource with Date/Time fields which may be null or empty. I'd like to either display "none' or a blank string in the column, but no matter what I do it always shows up as "1/1/0001 12:00:00 AM".

How can I at least hide this text?
Svett
Telerik team
 answered on 30 Apr 2012
5 answers
178 views
Hello ,
I developed a rich text box user control fro my application purpose. However, for each form or user control I added it, a code block is getting added automatically in designer file. Following is the code block:
radDocument1.DefaultStyleSettings = styleDefinition1;
radDocument1.DocumentContentChangedInterval = System.TimeSpan.Parse("00:00:00.0000100");
radDocument1.HyperlinkNavigationMode = Telerik.WinControls.RichTextBox.HyperlinkNavigationMode.CtrlClick;
radDocument1.HyperlinkToolTipFormatString = "{0}\r\n{1} to follow link";
.......
The main problem is with the statement radDocument1.DocumentContentChangedInterval = System.TimeSpan.Parse("00:00:00.1000100");
This line causes a run time exception saying the interval should not be zero.
However, if I try to change the value, it gets automatically reset every time if a deign change occur on form/control.
So, I need to look for this entry and change it to some non-zero value before every run.

Please help me out to get rid if it.

Thanks
--Pawan
Jack
Telerik team
 answered on 30 Apr 2012
3 answers
128 views
Hi~
my winform version is 2012.1.321.40
In office2010blue theme should not change the button's font.
but another themes are change good.
only office2010blue theme should not change the button's font.

what can i do?
Boryana
Telerik team
 answered on 30 Apr 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?