Telerik Forums
UI for WinForms Forum
6 answers
164 views
Hi again,

I have cut copy and paste toolbar buttons on my toolbar - whenever I click one, the focus on the active control is lost so I can't send a clipboard command to the control. Any ideas on how to achieve this?

reagrds,

Avner
Boyko Markov
Telerik team
 answered on 07 Aug 2009
3 answers
362 views

I have a GridView into which I load a few rows of data. Behind each row I have more information, which is displayed in a different form when the user clicks on the row. I also have "Previous" and "Next" buttons to navigate in the GridView.

At startup it looks like the first row is selected, it is blue and has a little arrow to the right. But when I click the "Next" button I get radgrid.SelectedRows.Count = 0, and therefore I can't navigate to the next row. If I then click on the first row I get the same result, BUT if I click on one of the other rows I get radgrid.SelectedRows.Count = 1 and everything works fine. I then can click on the first row too, getting the expected result.

Is this a bug, or is it something I'm doing wrong? Is there a way to set which row that is selected, - radgrid.Rows.SelectedIndex = 0 ?

Any help is appreciated.

Regards, 

Jill-Connie Lorentsen

Jack
Telerik team
 answered on 07 Aug 2009
5 answers
273 views
Hi Telerik + others, I'm thinking of compiling our winform app with the telerik source code rather than the raw telerik DLL's, my assumption here being there will ne a way in which I can do this and get the compiler to eliminate unused deadcode branches.

At the moment we're distributing at least 10mb of telerik pre-compiled libraries and i figure there is a lot of telerik code I'm probably not using that could be removed.

Has anyone else tried this approach or have any useful comments/advice?

Regards
   Ewart.

Arie Segev
Top achievements
Rank 1
 answered on 06 Aug 2009
4 answers
271 views
Hi,

Can anyone say anything about how the performance is on the new Dock component compared to the old DockingManager?

We are using the old DockingManager in a rather complex form and it takes up to 10 secs. for the form to load so we are hoping for a great performance boost in the new component.

Thanks,
Brian
Nick
Telerik team
 answered on 06 Aug 2009
1 answer
105 views
Hi...

Just wondering why in the documentation it was mentioned of the existence of a RowDeleting and RowDeleted event. But when I inspect it in the event list those two events are not present.

Regards
Jan
Nick
Telerik team
 answered on 06 Aug 2009
2 answers
189 views
Hello again, I have a doubt with the control radcombobox item scaling effect, can work with the scroll mouse, ie combobox with this effect there is any way to make it work with a mouse when you scroll forward or backward in other words move the combobox list with mouse scroll, giving hope to understand, the combobox works with the mouse scroll but without effect, but I have to work with the fact there a way to make it work item scaling effect, Thanks in advance for any assistance
Gilberth
Top achievements
Rank 1
 answered on 06 Aug 2009
3 answers
803 views
Hello,

I'm having trouble with sorting on my gridview column. I've specified the DataType as datetime:

grdPackages.Columns[(int)ServerPackage.Column.Timestamp].DataType = typeof(DateTime);

However, when clicked on, it still does a Text-based sort. Is there anything else I need to do? If I were to change the column to a DateTime column, would this help? How would I go about doing this? It's a databound gridview populated from a list of custom data types.

Also, I'm also getting 'NullReferenceException' errors in my gridview formatting function on the line above, when it's called for a second time. So, the first time the grid is populated, the formatting function is called, and the column is set to typeof(DateTime). After this point, the user clicks elsewhere, causing the gridview's datasource to be set to null. Then, if they return to the same spot, the data is loaded and the formatting function is called again. This time, it throws the nullreferenceexception on that line. I don't understand why this would happen. I've verified that it happens even when the data source is the same...

Thanks!
Jeremy


Jack
Telerik team
 answered on 06 Aug 2009
1 answer
153 views
I recently installed the RadControls for WinForms Q2 2009 in VS2008 and I appear to be missing several options in the RadSplitContainer Tasks smart panel.  Add or Remove Panel are missing as well as the Horizontal option.  I dropped the RadSplitContainer control into a Docking.DocumentWindow.  Any suggestions?
Georgi
Telerik team
 answered on 06 Aug 2009
1 answer
175 views
I want to create a form with rounded rectangle shape like the telerik visual style builder except the outermost border. I dont want to use the inbuilt  theme but my custom colors. Could you please let me know how to achieve that? Is there anyway to edit the predefined themes?

thanks
ren
Nick
Telerik team
 answered on 06 Aug 2009
2 answers
100 views
After sorting with the radgrid then changing pages (or the reverse), I get: "index [pagesize] is either negative or above rows count."

The code is quite simple

    protected void RadGrid1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)  
    {  
        DataTable dt = dm.GetDtFromSQL(string.Format(SQLTemplate, ViewState["showID"]), "", ViewState["showID"].ToString(), false);  
        if (dt.Rows.Count > 0)  
        {  
            DataView dv = dt.DefaultView;  
            dv.RowFilter = ViewState["filter"].ToString();  
            dv.Sort = string.Format("{0} {1}", ViewState["sort"], ViewState["order"]);  
            RadGrid1.DataSource = dv;  
        }  
        else  
        {  
            RadGrid1.DataSource = null;  
        }  
    } 
Nick
Telerik team
 answered on 06 Aug 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)
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?