Telerik Forums
UI for WinForms Forum
4 answers
195 views
hey,
i'm using the multicolum combobox with html tags in values.
The list is beautiful but my problem is that when i select a bold string in my list for example, i see "<html><b>My value</b>" in the selectedvalue.
An idea ? thanks :)
Peter
Telerik team
 answered on 08 Sep 2011
3 answers
180 views

Hello,

 

I have one problem that makes me crazy. Can anyone help?

 

Problem:

I have a tree structure that I wanted to bind to RadGridView, something like this:

 

public interface IGridViewZadanka

{

    Odbornost Odbornost { get; }

    int IDZad { get; }

    string ZadankaInfo { get; }

    IEnumerable<IGridViewMetoda> MetodyView { get; }

}

 

public interface IGridViewMetoda

{

    string Test { get; }

    string Izolace { get; }

    string Postup { get; }

    string P { get; }

    string Zadani { get; }

    string Odecet { get; }

    string Vysledek { get; }

    string Stav { get; }

    bool Tisk { get; }

    string V { get; }

    string Popisek { get; }

    int IDZad { get; }

    int IDZadMet { get; }

    int? IDParent { get; }
    
Odbornost Odbornost { get; }

}

 

I want to bind this structure to two-level hierarchy grid with one feature: second level will contain 2 (or more in future) tables that depend on field Odbornost (detail table for Odbornost are slightly different – for Odbornost MB would be nice to use self-referenced hierarchy, but for Odbornost TS would be nice to use only flat view of data) and only one corresponding detail will be visible.

 

For example:

+ (IGridViewZadanka) IDZad=1, Odbornost=TS,…

   - (IGridViewMetoda) IDZad=1, Odbornost=TS,…

   - (IGridViewMetoda) IDZad=1, Odbornost=TS,…

+ (IGridViewZadanka) IDZad=1, Odbornost=MB,…

   + (IGridViewMetoda) IDZad=1, Odbornost=MB,…

      - (IGridViewMetoda) IDZad=1, Odbornost=MB,…

+ (IGridViewZadanka) IDZad=2, Odbornost=TS,…

   - (IGridViewMetoda) IDZad=2, Odbornost=TS,…

   - (IGridViewMetoda) IDZad=2, Odbornost=TS,…

 

 

From examples in http://mono.telerik.com/Grid/Examples/Hierarchy/TwoTablesAtLevel/DefaultCS.aspx and http://www.telerik.com/help/aspnet-ajax/grid-several-tables-at-level.html and http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/twotablesatlevel/defaultcs.aspx I know that this is possible, but I am unable to do it. Can anyone help me and provide me some example (in C# for win form)? I would appreciate it.

 

Misa

Julian Benkov
Telerik team
 answered on 08 Sep 2011
1 answer
135 views
I'm wonderingif Radscheduler supports Gant Chart.    Also, there is any way I can switch the hours of the day to horizontal instead of vertical?  I've included a screenshot of what I want to accomplish with scheduler. Also, this is for Winforms and not ASP.   Thank you in advanced

Regards,

Jose
Stefan
Telerik team
 answered on 08 Sep 2011
3 answers
329 views
4 answers
176 views
I want to insert update delete use Radgridview API.

I use automatic



[img]http://i1143.photobucket.com/albums/n637/new_adm/rad.png[/img]

And it can load my data.
[img]http://i1143.photobucket.com/albums/n637/new_adm/rad4.png[/img]
But when I insert update delete ,it not effect to SQL.Every is not change.
[img]http://i1143.photobucket.com/albums/n637/new_adm/rad3.png[/img]
and this is my CS code:
private void Form1_Load(object sender, EventArgs e)
       {
           // TODO: This line of code loads data into the 'doanvienDataSet.doanvien' table. You can move, or remove it, as needed.
           this.doanvienTableAdapter.Fill(this.doanvienDataSet.doanvien);
            
            
 
       }

and I insert more code in RowChange event like that.It's can update and delete but it can't insert
private void radGridView1_RowsChanged(object sender, Telerik.WinControls.UI.GridViewCollectionChangedEventArgs e)
        {
                 
                this.doanvienTableAdapter.Update(this.doanvienDataSet.doanvien);
                 
             
        }


When i insert it will have a fail:
There is already an open DataReader associated with this Command which must be closed first.



I don't know how to close this Command.please help me.thank you very very much!
Julian Benkov
Telerik team
 answered on 08 Sep 2011
5 answers
225 views
My company has assigned me the task of updating one of our older programs by adding a Rich Text Editor into one of the comment fields. In order to achieve this with our Q3 2009 Telerik controls, I created a button that opens a RadMarkupEditor dialog.

My only concern is -- how can I change the title of the dialog?
Jack
Telerik team
 answered on 08 Sep 2011
1 answer
123 views

Dear Telerik team,hi:

Inquire dock about several questions
Such as the figure shelf.

How to plant Form from two " Appoint "  In DocumentWindow page to this area
1.MDI_ChartForm1 "appoint" to DocumentWindow1
2.MDI_DataGridViewForm1 "appoint" to DocumentWindow2 
and
3.After increasing the two window newly, how to set up DocumentWindow1/2 DocumentButtons =>ActiveWindowList
4.In MDI mode, increases a page newly to sign each time, how could let this page signed for being main and (obvious)
and
5.How to click to sign in DocumentWindow1 page, publish DocumentWindow2 excellently at the same time,
They move ahead simultaneously

It doesn't explain this to already see Example code and Dock contents

No matter any answer, thank you very much
Thank Telerik for Telerik's demo code, it is a very good tool, arduous, thanks.

Julian Benkov
Telerik team
 answered on 08 Sep 2011
1 answer
74 views
Hi there,

I was wondering if its possible to move some of the Pages to a 2nd row so that the pages do not overrun out of the form.

For e.g.

I got a form with the pages set up this way

|/Page 1// Page2// Page 3// Page 4// Page 5//|
|                                                                       |

and I would like it to look like

|/Page1//Page2//_______________________|
|/Page3//Page4//Page5__________________|
|                                                                        |
Stefan
Telerik team
 answered on 08 Sep 2011
2 answers
139 views
Hi

I am trying to develop a wallboard application that will simply rotate web pages to present production information about particular companies.  The web pages are being served correctly and render fine within any web browser; but when using the rotator there is always one item that is blank.  I have a collection of sites to display and then am simply creating items into the radRotator control, after a set period of time I simply refresh the browser.  Has anyone else experienced issues with the webbrowser item not loading the page contents?

The code to setup the rotator is

               

radRotator1.Stop();
radRotator1.Items.Clear();

foreach (string site in sites)
{

    RadWebBrowserItem item1 = new RadWebBrowserItem();
    item1.Url = new Uri(site);
    item1.WebBrowserControl.ScriptErrorsSuppressed = true;
 
    radRotator1.Items.Add(item1);
}
 
radRotator1.CurrentIndex = 0;
radRotator1.Start(true);

To refresh after period of time
radRotator1.Stop();
 
foreach (RadItem item in radRotator1.Items)
{
 
    RadWebBrowserItem item1 = (RadWebBrowserItem) item;
    item1.WebBrowserControl.Refresh(); 
}
 
radRotator1.Start(true);

Any help appreciated, have spent lots of time on this but the problem is that the page that is not loaded is not consistent and could be any of the sites in the list.

Cheers
Ivan Petrov
Telerik team
 answered on 08 Sep 2011
4 answers
203 views
Hello
I have a question. Is it possible to autosize rows but not only the viewable part but the entire row?
For example I have a GridView with 45 columns but I can see in one time only part of all columns.
And if I scroll left/right I see how the rows are autosized. but I would like to have all the rows autosized from the begining.
can you help me?
Jack
Telerik team
 answered on 08 Sep 2011
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?