Telerik Forums
UI for WinForms Forum
2 answers
143 views
Hi,
I'm new to RadControls and am having fun using the different controls. I am trying to load groups and elements in a RadPanelBar based on a group table and an items table in my database. If I can do that my employers will gladly buy the full suite. I looked at the help and I can build up the groups programmatically. Is there a tutorial or an easier way to do this? I can build it up using datasources, but just wondered.  I'm using SQL Server, but the help files show an example using Access and OLEDBConnection.

Thanks a lot.
Nikolay
Telerik team
 answered on 29 Aug 2008
1 answer
205 views
Hi,

Could I please have an example of how to implement drag and drop functionality between two RadListBox controls. The examples in the older posts don't seem to work with the latest release.

Thanks,
Brad
Nikolay
Telerik team
 answered on 29 Aug 2008
1 answer
235 views
I would like to disable the fast navigation popup that appears when clicking on the calendar's "title" (Month-Year).  When clicking there, a popup appears allowing the user to select a different Month-Year.  I would like to handle this event with a different popup.  I have been able to tie into the same mouse down event to create my own popup window, however the telerik fast navigation window still pops up.  Is there a way to disable this so that I can handle the event myself and popup my own fast navigation type of window?

I would like to keep the fast nvaigation arrows and header in place, just replace the popup that gets displayed when clicking on the Month-Year text.

Thank you.

William
Boyko Markov
Telerik team
 answered on 29 Aug 2008
4 answers
287 views

Okay, I know I'm missing something here. I'm using the latest version of Rad for WinForms (Q1 2008) and I'm trying to populate a RadGridView using code only (not the BindingSource control). Can you tell me why this code isn't working?

private void PopulateGrid()
{
 DataSet ds = GetMasterDetail();
 radGridView1.DataSource = ds;
}

private DataSet GetMasterDetail()
{
  DataTable master = Clients.GetMasterList();
  master.TableName = "Clients";
  DataTable child = Orders.GetChildList();
  child.TableName = "Orders";

  DataSet ds = new DataSet();
  ds.Tables.Add(master.Copy());
  ds.Tables.Add(child.Copy());

  DataRelation relationship = new DataRelation("MasterDetail", ds.Tables["Clients"].Columns["ClientID"], ds.Tables["Orders"].Columns["ClientID"]);
  ds.Relations.Add(relationship);

  return ds;
}

Julian Benkov
Telerik team
 answered on 29 Aug 2008
1 answer
186 views
I have added unbound GridViewImageColumn.

I want to set the image of this colum from bmp file added to project resources, depending on the value in a bound column. How do I do this?

Thanks ... DP
Julian Benkov
Telerik team
 answered on 29 Aug 2008
1 answer
141 views
Hi Telerik support,
I'm using RadControls for Winforms and was trying to follow the RadTreeView instructions on how to add Context menus. For the past 10 minutes I'm trying to find RadDropDownMenu until I found in a web site that it was replaced by RadContextMenu.

Nikolay
Telerik team
 answered on 29 Aug 2008
1 answer
255 views

Why does iterating through the rows in the grid take so long like in this example.  It can take a few minutes to walk through every row in the grid if it contains 10000+ rows.  Is there a more efficient way to walk the rows.  I am trying to implement a find within a column functionality, but it is extremely slow for a large number of rows.



for
(int i = 0; i < Global.MainUiForm.OutputGrid.RowCount; i++)

{

currentRow =

Global.MainUiForm.OutputGrid.MasterGridViewInfo.Rows[i];

radColumn = (

RadColumn)this.comboBoxLookIn.SelectedItem;

if (regex.IsMatch(currentRow.Cells[radColumn.FieldName].Value.ToString()))

{

currentRow.IsCurrent =

true;

currentRow.EnsureVisible();

currentRow.Cells[radColumn.FieldName].EnsureVisible();

found =

true;

break;

}

}

Mike
Telerik team
 answered on 28 Aug 2008
2 answers
250 views
Hi,

I've got on last problem I need to solve before I'm happy to be finished with a long journey.

I had to integrade the Grid Control into a large C++ solution, therefore I had to create a MFC custom control with CLR activated and loaded the RadGridView in this custom control. Then, the custom control can be placed on the MFC dialogs.

Now to my problem: When I right click on such integrated RadGrid, the context meny opens but in the backgroud the grid vanishes. When I then move the mouse over the grid, it gets becomes visible again.

Everything is working fine with RadGrids that are called from within the C++ app but open in their own WinForm Dialog. One little thing which appers with every RadGrid is, when I open the context menu by accident or just want it to close again, I need to choose one option. When I right click again it just opens anoder context menu and I then have two of them.w

Can the problem be solvend from the .Net side? If yes how? If it is a problem with C++ and MFC does anyone have an Idea there?

Julian Benkov
Telerik team
 answered on 28 Aug 2008
1 answer
225 views
Hi,

I changed the BackColor property of a CellElement using the CellFormatting event, but it seems very awkward compared to the other cells in the row when that row is hovered or selected:
the other cells in the row change their colors because of the hovering, whereas the cell whose BackColor I adjusted remains the same.

How can I help this poor cell to behave like its fellows?

Thanks,
Tamás
Martin Vasilev
Telerik team
 answered on 28 Aug 2008
7 answers
93 views
Today I ran an application I made last week on my laptop, which is running Windows Vista.  The application has a dateTimePicker, with the format set to "long".  In Vista, the default date shows as "June-07-08", while it shows as "June 7, 2008" on XP.  Therefore, when I try to pick a date, it reset me to the minimum date, which is January 01, 1990 by default.

Thanks in advance.
Boyko Markov
Telerik team
 answered on 28 Aug 2008
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?