Telerik Forums
UI for WinForms Forum
1 answer
259 views
Hi,

I am trying to use the RAD grid view for winform. What i need is to change the color as the user moves the mouse over the rows.
I.e. A row should change its color when user hovers the mouse and as the user leaves the mouse from this row, it should again change color. This is very critical for me so any help will be appreciated.


Muktesh
Victor
Telerik team
 answered on 23 Jan 2009
1 answer
203 views
I'm asking if there is any way to have not only positioning at the bottom of the adding new row section, but also making this row always visible when i'm scrolling the table.
In other words, I know the way to positioning at the bottom the adding new row section (gridToConfigure.MasterGridViewTemplate.AddNewRowPosition = PinnedRowPosition.Bottom;)
But I'm trying to avoid the need to scroll when I have many rows on my table and I want to add a new row.
Can anyone help me please?
Thanks in advance, regards

Alvaro
Victor
Telerik team
 answered on 23 Jan 2009
3 answers
148 views
I just downloaded the trial and I'm trying to display heirarchical data. I've gone through the examples but no luck. The best I can do is display the master row with the plus sign but when I click the plus sign I don't see the details.

I'm using a stored procedure to populate my dataset. It returns two tables. Table[0] is the master and Table[1] is the detail.

I've tried the following two examples. Any help would be apprecieated.

 

Example 1.

dataAdapter.Fill(myDataSet);

myDataSet.Tables[0].TableName = "workorder";
myDataSet.Tables[1].TableName = "details";

DataRelation dr = new DataRelation("workorders",
   myDataSet.Tables[0].Columns["WorkOrderId"],
   myDataSet.Tables[1].Columns["WorkOrderId"]);
DataSet.Relations.Add(dr);

radGridView1.AutoGenerateHierarchy = true;
radGridView1.DataSource = myDataSet;
radGridView1.DataMember = "workorder";

Example 2. 

radGridView1.DataSource = myDataSet.Tables[0];

GridViewTemplate template = new GridViewTemplate();
template.DataSource = myDataSet.Tables[1];
radGridView1.MasterGridViewTemplate.ChildGridViewTemplates.Add(template);

GridViewRelation relation = new GridViewRelation(radGridView1.MasterGridViewTemplate);
relation.ChildTemplate = template;
relation.RelationName = "workorders";
relation.ParentColumnNames.Add("WorkOrderId");
relation.ChildColumnNames.Add("WorkOrderId");
radGridView1.Relations.Add(relation);

Victor
Telerik team
 answered on 23 Jan 2009
1 answer
108 views
I have been tearing my hair out trying to figure out how to get a grid to show grouped items on startup.  That is, when the grid initiallly displays, it's automatically in group mode.  The group panel is not visible, and the user cannot change the grid groupings.

No matter what I tried I couldn't make it work.  Then, I noticed I had a line like:

myGrid.MasterGridView.AutoGenerateColumns = false;

If I remove this line -- voila, the startup mode of the grid is in group mode.  It works as advertised. 

Now, this is causing me other problems; namely, columns that I don't want to appear show up in the grid.  So how can I get these two to happily coexist? 

BTW, why can't you select AutoGenerateColumns in the designer?  Seems to be missing.

Martin Vasilev
Telerik team
 answered on 23 Jan 2009
1 answer
92 views
Apparently, Expand has changed from a boolean Property to a Method.
Should be noted as breaking change in the Release Notes.

this.grid.MasterGridViewTemplate.Groups[i].Expand=true;

is now

this.grid.MasterGridViewTemplate.Groups[i].Expand();



Jack
Telerik team
 answered on 23 Jan 2009
1 answer
185 views
Hi all,

I was wondering if it's possible to create controls on runtime. I want the users to be able to design their own forms, placing whatever control they want on them.
I'm able to add some Telerik controls to a toolbox but then when I try to drag and drop them I got the following error:
"Failed to create component..."

I guess this is because the machine where I'm testing my app doesn't have Telerik installed and it needs the License.
Is there any kind of license which allows me to distribute my app and get rid of the necessity of having the users to install Telerik?

Thanks in advance

Regards

Silvana
Martin Vasilev
Telerik team
 answered on 23 Jan 2009
1 answer
84 views
Hi,

I was wondering if someone could help me with exporting radgridView to excel with grouping.
I tried it with the reporting example only alot of namespaces where incorrect!

Wim
Martin Vasilev
Telerik team
 answered on 23 Jan 2009
3 answers
196 views
Hi Guys;
I'm trying to figure out how to do a winform max size (where it goes over the taskbar on your desktop) similiar to the bookstore kiost sample demo application..

any help would be appreciated.  I can't seem to find any documentation on this.

cheers
Charles
Nikolay
Telerik team
 answered on 22 Jan 2009
3 answers
172 views
Hello,

Can anyone point me to information on how to add ScreenTips with images to the menu items? I tried your help but could not find anything. The examples do not have anything on this topic as well, and I thought that it was pretty straight forward to add text there, but it does not seem to be working as I would expect. Thanks for your help.
Nick
Telerik team
 answered on 22 Jan 2009
2 answers
160 views
Greetings!

I'm having a display issue when using a RadSplitButtonElement in a RadRibbonBar. I'm hoping that I'm just missing something simple and somebody can help me. Here is a walkthrough to reproduce the issue:

  1. Create a new Windows application
  2. Drop a RadRibbonBar onto the form
  3. Click "Add New Tab" and name it "Test"
  4. Click "Add New Chunk..." under Test
  5. Right click the New Chunk and click "Add an item" > "Horizontal Button Group"
  6. Right click the space inside the new group and click "Add an item" > "RadSplitButtonElement"
  7. Select the new "RadSplitButtonElement1" and from the Properties window, click the ellipsis button for the Image property.
  8. Pick a 32x32 bitmap. For example, Common7\VS2008ImageLibrary\1033\Objects\png_format\WinVista\Annotation_New.png that comes with Visual Studio 2008
  9. Change the TextImageRelation property to "ImageAboveText"

You can now see the button in the ribbon. The image is there, but the text has disappeared - it is (I assume) beneath the image, but the button has sized itself to the height of the image alone (rather than the image height plus the text height), so the text cannot be seen.

When I change the image to a 16x16 image (for example, Common7\VS2008ImageLibrary\1033\Objects\24bit_bitmaps\camera.bmp), the top of the text can now be seen but it still appears to be cropped as if the button is being resized based on the height of the image alone.

I put the RadSplitButtonElement into a RadRibbonBarButtonGroup because I couldn't find a way for the UI to offer me the option of adding a RadSplitButtonElement except for into a RadRibbonBarButtonGroup.

Is there a bug at work here or (more probably) am I doing something wrong?

Thanks!

Cheers,

FRASER TUSTIAN



Specs:
OS: Windows Vista SP1
.NET Version: 3.5
Telerik Libraries Referenced:
Telerik.WinControls.dll   8.0.0.0
Telerik.WinControls.UI.dll  8.0.0.0
TelerikCommon.dll   8.0.0.0

Nick
Telerik team
 answered on 22 Jan 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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?