Telerik Forums
UI for WinForms Forum
1 answer
70 views
Hello,

I have got this issue and don't know how to solve it.

On my development machine (win xp home sp2) I can build a solution using radRibbonBar (free control as a benefit of registration of MSVS2008 Express) and run it with no problem.
Than I move the executable to other machine (win xp prof sp2) and it crashes on start. It is not a development machine so there is no VS installed.

The crash memory dump says only System.IO.FileNotFound.
Rest is a stack dump etc, so it doesn't say to much.

I have tried to run it on other development machine but with no radRibbonBar installed and it crashed on startup as well.

Is it some common issue?

Greets
Mariusz

I will provide more detailed info if needed.
Martin Vasilev
Telerik team
 answered on 22 Apr 2008
3 answers
101 views
I'm looking for a way to determine when the SelectedNodes property changes.

When an item is added to SelectedNodes, this is easy because the Selected and Selecting events are fired.  I know there's no corresponding event for unselecting a node.  However, is there any other event that is fired when the selection status of a node changes?

Thanks for your help.
Jordan
Telerik team
 answered on 22 Apr 2008
1 answer
99 views

Hello,
I Use winform Q3 2007.
I want to disable filtering feature of an ImageColumns. So i set ;

gridViewImageColumn1.Filter.Function = GridKnownFunction.NoFilter;

But, firstly  it doesnt prevent user inputing filter text box of the column,
secondly and most important one, when you input something in the filter textbox of the image coloumn and select some menu item in the filtering context menu ( i mean "equal", "greater", ...menu )  it still wants to filter the expression and so program fails with
System.Data.SyntaxErrorException: The expression contains invalid name
message.

 for now,  I overcome this case by coding this, 

private

void BLSecimDataGrid_MasterGridViewTemplate_FilterChanging(object sender, FilterChangingEventArgs e)
{
if (sender is Telerik.WinControls.UI.GridViewImageColumn)
{
GridViewImageColumn gridViewImageColumn = ((Telerik.WinControls.UI.GridViewImageColumn)sender;
if (!string.IsNullOrEmpty(e.NewStringValue)) e.Cancel = true;
}
}

i think it's a bug and i want to know, if there is another solution without coding and just setting some property :) 

Thank you

Serkan APUL.

Dwight
Telerik team
 answered on 22 Apr 2008
1 answer
192 views
I want to remove the RadTabStripElement from the ribbon bar from the RadRootElement, I trys in many ways but in vain.
I simply want the RadQuickAccessToolBar in my ribbon bar.


In the RadTitleBarElement I Set the visibility property of RadImageButtonElement for minimize and maximize button. In design mode it shows Ok, but in run time again I found all three button on the title bar. I set Visibility property of ImagePrimitive of StripLayoutPanel, but in running mode again it in view.

How I set these property, Please help.
Peter
Telerik team
 answered on 21 Apr 2008
5 answers
379 views

Question regarding CellFormatting

I have just bought a couple of licenses of radcontrols. And I must say; I am very impressed! It helps me save loads of time.

I have a radgrid filled with data (like this):

Name     Bit (should be hidden)      Phone

John        1                                    22445566
Mike       0                                    44556677
Joan        1                                    44556677

And I want to change the background-color on Name-cell if Bit is set to 1. The background color for the cell with John and Joan should be yellow. And Mike should stay as it is.

This is normally functionality that I would solve using the OnItemDataBound-event. But now I guess I have to use the CellFormatting-event instead.

I figured out that I could not grab the value of Bit, because the column is hidden (radgridDialog.Columns["myBitField"].IsVisible = false;)

So then I tried to prefix my name-column from my stored procedure. So John and Joan became <pre>John and <pre>Joan. Not the nicest solution I have seen. But I was starting to get desperate. Do anyone have an better idea?

The logic almost work. The only thing I'm having problems with now is to change the value of the cell. My function looks like this:

void radGridView1_CellFormatting(object sender, CellFormattingEventArgs e)  
{  
        // exclude header element in the data column                         
        if (e.CellElement.ColumnInfo is GridViewDataColumn && !(e.CellElement.RowElement is GridHeaderRowElement))  
        {  
             GridViewDataColumn column = (GridViewDataColumn)e.CellElement.ColumnInfo;  
 
              if (column.DataField == "Name")  
              {  
                  if (e.CellElement.Value.ToString().StartsWith("<pre>"))  
                  {  
                         Font font = e.CellElement.Font;  
 
    //What should the line below be? I see that e.CellElement.Value is readonly  
                         //e.CellElement.SetValue(Telerik.WinControls.RadProperty rd, (object)e.CellElement.Value.ToString().Replace("<pre>", ""));  
                         e.CellElement.Font = font;  
                         e.CellElement.BackColor = Color.Yellow;  
                         e.CellElement.ForeColor = Color.Tomato;  
                  }  
             }  
      }  
}  
 
 

Thanks
Jack
Telerik team
 answered on 21 Apr 2008
4 answers
205 views
I've got two trees in my form. One has a list of items and one has a list of categories those items can go into. The items don't have to be in a category and they can be in more than one category.

I'd like the user to be able to drag a node from the list tree and capture that it is dropped on a category and have it show up as a child node under that category. By default this works but the node is actually removed from the list tree and put in the other tree. I'd like it to not get removed from the list but have it act more like a copy operation than a move.

I'm sure I can make this work by capturing the right events and adding in some logic, but before going through the trouble of tracking down exactly what I needed to do, I wanted to make sure I wasn't missing some kind of flag or setting on the tree that would do exactly what I'm talking about automatically.
Nikolay
Telerik team
 answered on 21 Apr 2008
1 answer
116 views
Hi , i'm just doing a program with the rad combox and i can't with de selected index change event use the selected value. How can I do this.

Thanks for your help

Alex
Nikolay
Telerik team
 answered on 21 Apr 2008
3 answers
250 views
Sounds fairly simple, although I can't seem to figure it out - How would I go about finding which tab is currently being displayed? And how would I get a specific tab to be displayed, programmatically?

Basically what I'm really looking for is a way to ensure that when the user loads a page, it *always* loads the first tab - at the moment it seems to load whatever the developer has left the designer on.
Nikolay
Telerik team
 answered on 21 Apr 2008
2 answers
133 views
Trying to install Q1 2008 build I get an error that the Toolbox has stopped working ... I also get this error when I uninstall ....

Any ideas please ?
Nikolay
Telerik team
 answered on 21 Apr 2008
3 answers
147 views
Hello,

we fill a gridview from a xml file. Now we put a checkbox at each of the rows. But not in front if the "header" with was not posible with the old telerik controls.

At the moment it looks like this

(checkbox = cb)

- header 1
    - cb | row 1
    - cb | row 2
    - cb | row 3
- header 2
    - cb | row 4
    - cb | row 5
- header 3
    - cb | row 6
    - cb | row 7

So that we don't have to select every single row (for example 1 to 3) we have a procedure with does this for us after a mouse click.

Now we heard with the new Telerik controls (Q3 2007) it ist possible like this.

- header 1 cb
    - row 1
    - row 2
    - row 3
- header 2 cb
    - row 4
    - row 5
- header 3 cb
    - row 6
    - row 7

and to activate alle the rows (for example 1 to 3) if we press one of the Checkboxes (for example header 1)

If this is possible, how??

Jack
Telerik team
 answered on 18 Apr 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)
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?