Telerik Forums
UI for WinForms Forum
3 answers
81 views
I want to display an image with the oh-so-popular glass table reflection, but I don't particularly want to use radCarousel since I only want to display one image at a time. Is there a way to do this in say a radPanel or other control?
Martin Vasilev
Telerik team
 answered on 05 Mar 2009
7 answers
1.3K+ views
In the Q3 2007 version, I was able to put a radgridcell into edit mode by doing this:

this.radGridView1.Rows[2].IsCurrent = true;  
this.radGridView1.Columns[2].IsCurrent = true;  
((GridDataCellElement)this.radGridView1.CurrentCell).BeginEdit();  

But now in the Q1 2008 version, the method BeginEdit() no longer belongs to the GridDataCellElement class..

1) How can I accomplish this in the 2008 version
2) Is there somewhere on this site, or maybe in the documentation provided with the controls themselves where I might be able to find the answer to this question, and similar questions, without having to ask about it here?
Nikolay
Telerik team
 answered on 04 Mar 2009
3 answers
180 views
I have been trying to apply a them to the RadRibbonForm but it just doesn't work!

Here is how I have been trying to do it.
  1. Open Visual Style Builder
  2. Select the radRibbonForm control
  3. Modify the styles
  4. Give it a name and save it to an xml file.
  5. Add the xml file to the project and set it as Embedded Resource.
  6. Add a radRibbonForm from the template to the project
  7. Add a theme manager to the form.
  8. Load the xml file created aboveas a resource.
  9. Open the properties for the ribbon form
  10. The theme I created is not in the drop down list of theme names so I type it in.
  11. Designer doesn't change
  12. No change at runtime either.

How do you apply a theme to the radRibbonForm?

Mike

Deyan
Telerik team
 answered on 04 Mar 2009
2 answers
118 views
I decided to add radTreeView to radGroupElement so I Change EnableHostControllerMode to True and then the backColor of content is changed. I try to set backColor of content to transparent, but when I run from, the color was white.
after that I set backColor of content to custom color(Red,Blue,....),but when I run from, the color was white.
In fact I want change EnableHostControllerMode without any affect on color.
any idea??


Mojtaba
Top achievements
Rank 1
 answered on 04 Mar 2009
2 answers
324 views
Hello,

scrolling to a row with:

radGridView1.GridElement.ScrollToRow( rownumber );

works fine in many cases but in the following 2 cases:

case 1:
The grid contains fewer rows than it can display.
For example the grid can display 10 rows and it contains only 5 rows.
Now i add a new row which appears as last row and use the ScrollToRow(6).

What happens:
I see only one row ( my newly added row number 6 )  and on the right sight a scrollbar appears.
For me it's very confusing to see only one row when i know that there are 5 more rows.

What should happen:
All rows of the grid should be displayed, because no scrolling is necessary and no scrollbar should appear.

case 2:
The grid contains more rows than it can display and the scrolling goes to a row in the range <MaxRows - DisplayableRows, MaxRows>.
For example the grid contains 99 rows and it can display 10 rows.
Now i add a new row  which appears as last row ( 100 ) and use the ScrollToRow( 100 )

What happens:
I see only one row ( my newly added row number 100 ).

What should happen:
The grid should show the rows 90 - 100.

Is it possible to solve the two cases ?

Kind Regards,

Ramius



Ramius
Top achievements
Rank 1
 answered on 03 Mar 2009
6 answers
140 views
Hello,

I'm testing at this moment the grid control.
The intention of the application is that the user loads an Excel File and that the content is loaded in a gridview. This works succesfull.
The next step is that the user gets a collection of columns using a webservice. These columns are listed in a frame, sort of a multiline textbox.
The user drags and drops a such a columnname to a column of the grid. At that point I must mark this column as assigned and change the caption of the column header to the new value.

Is there solution to make this possible?
Thanks
Nick
Telerik team
 answered on 03 Mar 2009
1 answer
164 views
Hi,
I have a value fetching from database like;

Purushottam Kumar(12478,OC)

 
where I want to show only Purushottam Kumar as display value in the single cell of WinRadGidView and the complete values Purushottam Kumar(12478,OC) or rest of values (12478,OC) should be also available in hidden form in the same cell.

Please help me how I can maintain  the both display value and hidden value in the same cell simulteneously.

Regards,
Purushottam Kumar
Nick
Telerik team
 answered on 03 Mar 2009
5 answers
404 views
Hello,

I'm new to Telerik controls. Currently checking trial version in order to implement in my Winform project.
I have nullable datetime that I want to update, insert through Gridiview.
If I try to type a value in a column, it wouldn't change in the bounded list (BindingList<T>). If I select in from the datetimepicker, it works OK unless the value is null. I can't update null values. I have Q3 2008 SP2 version.
I checked in the ExamplesCSVS2008 project and saw the same behaviour (Gridview Column Types form grid).
I can replace null value with DateTime.MinValue, but I want to see blank or 00/00/0000 if the bounded value is DateTime.MinValue. In any case it won't solve the manual input issue.
Any ideas how to handle this problem?

Thank you,
Tamar
Jack
Telerik team
 answered on 03 Mar 2009
3 answers
287 views
I am trying too change group by expression Programmatically like this code:
grdHistory.MasterGridViewTemplate.GroupByExpressions.Clear(); 
GridGroupByExpression expression1 = GridGroupByExpression.Parse("[SmsTitle] as [SmsTitle] format '{1} ', count([Serial]) as [Template] format '({1} {0})' Group By [SmsTitle]"); 
grdHistory.MasterGridViewTemplate.GroupByExpressions.Add(expression1); 
grdHistory.DataSource = SMSPanelComponent.GetSmsTemplates(); 
but after that grid is bound in normal mode without any group i.e(groupcount=0).
I test my group expression in design mode and it worked correctly.
any idea??
Jack
Telerik team
 answered on 03 Mar 2009
3 answers
154 views
I have a table like this:


<name 1>  <checkbox>  <button>
<name 2>  <checkbox>  <button>
<name 3>  <checkbox>  <button>
...
<name n>  <checkbox>  <button>

So basically with this form will be the gridView (i will add them programatically not by binding to a source)

So the question arrives here:

I use:

radGridView1.Rows.Add("name 1",true , "run");

and so on.

How can i add an image to the button? i mean to the commandCollumn? Cause i need to have the same image on each button.

PS: and also how can i add a custom structure like this:

public class MyClass{ 
  string name;

public override ToString(){
return name;
}
}

To put it instead that single text?

Thanks a lot ;)
Timotei
Martin Vasilev
Telerik team
 answered on 03 Mar 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?