Telerik Forums
UI for WinForms Forum
7 answers
550 views
HI i am trying to use the waitingbar bar but i can't get it to work, here is  my code:

  private void btnCheckServers_Click(object sender, EventArgs e)  
        {    
                this.radWaitingBar1.StartWaiting();  
                label1.Text = "trying to connect....";  
                Telnet Session = new Telnet(this.txtIP.Text, Convert.ToInt16(this.txtPortTest.Text), 1000);  
 
                try 
                {  
                    Session.Connect();  
                    label1.Text = Session.ReturnMessage;  
                }  
                catch (Exception ex)  
                {  
                    label1.Text = ex.Message;  
                }  
 
                this.radWaitingBar1.EndWaiting();  
   
        } 


Can someone tell me what i do wrong?

Thanx and greetings,
Wim

In the Help i read this:
  1. Place a RadWaitingBar control and a RadButton control on a form.
  2. Select the RadWaitingBar control.
  3. Set the StepWidth property to 4.
  4. Set the ThemeName property to ControlDefault.
  5. Set the BackColor property to BlueViolet.
  6. Select the RadButton control.
  7. Set the Text property to Animate.
  8. In the Properties window, click the events button.
  9. Double-click the Click event.
  10. Replace the automatically-generated event handler with this code:


thing is that i cant find property StepWidth!

Victor
Telerik team
 answered on 10 Aug 2009
1 answer
109 views
Hey 
     
        I need to copy and past from the radgrid to excel.  I almost done wtih that using Control +
c  and Control +V. But how i can do this using Context Menu. when i right click , i can see the Copy, Past options , but its not working for the Selected Cells.

regards
Naji
Nikolay
Telerik team
 answered on 10 Aug 2009
3 answers
442 views
hi
before i use these code for next row in gridview  but in radgrid i don't know.
privatevoid btnNext_Click(object sender, EventArgs e)
{
int index = radgrid1.CurrentRow.Index + 1;
if (index == radgrid1.Rows.Count)
index = 0;
radgrid1.Rows[index].Cells[0].Selected =
true;
}
please help me
thank you very much
niloo norouzi
Top achievements
Rank 1
 answered on 09 Aug 2009
2 answers
138 views
Hello,

I'd like to have two listboxes side by side that scroll together, much like you would see in a diff or merge tool. Is there some way that this can be accomplished with Telerik ListBoxes?

Thanks!
Jeremy
Jeremy Murtishaw
Top achievements
Rank 1
 answered on 07 Aug 2009
1 answer
126 views
Hi, I use the ribbon, dock controls (not the new one yet), and some other controls like the RadGroup etc.
However, when designing the App as an Outlook Style application and placing the controls in the Navigation area to the left, the positions and sizes of those controls are not being kept.

I must say:
For the amount of noise you guys are making those kind of problems are realy ticking me of.
This is not the first time this is happening I had similar issues with the grid in a previous release.

So, my advise:
Before you give us those amazing controls make sure we can use them in production without being messed with whenever a property is being changed. I'm sure I'm not the only one having those kind of problems.
If this keeps happening I will want to have my money back and use another vendor, just for you to know this is serious!!!

I use the latest version, VS 2008 with the latest SP, Windows Vista Ultimate 32 with the latest service pack. 
Mike
Telerik team
 answered on 07 Aug 2009
3 answers
450 views
Hello,
I am testing Edit modes on RadGridView and I found the feature quite counterintuitive, please correct me if I am wrong.

Here is a work flow:
1) I select cell - it goes to edit mode as expected - then I press escape and the cell escapes edit mode.
2) now I move with my cursor to different row, the cell is still out of edit mode
3) however when I select row on the same row as in step 2 I am suddenly in edit mode again.
Jack
Telerik team
 answered on 07 Aug 2009
1 answer
187 views
Hi!

I think I have found a "bug".

I have a multicolumndropdown on a form.
The multicolumndropdown displays rows from a tabel with about 15000 rows in.
I have implemented "on demand loading" by using the KeyPress event of the combobox control like this:

Sub

 

cbCustomerSearchValue_KeyPress

 

    If

 

Asc(e.KeyChar) = 13 Then

 

        Retailers = Retailer.LoadRetailersByReference1(cbCustomerSearchValue.Text)

      

 

        RetailerBindingSource.DataSource = Retailers

 

        If Retailers.Count > 1 Then

 

            cbCustomerSearchValue.MultiColumnComboBoxElement.ShowPopup()

 

        ElseIf Retailers.Count = 1 Then

 

            LoadCustomer(Retailers(0))

            tabCustomerInformation.Focus()

 

        End If
    End if
End sub

When the user selects a row, I load the information about the customer like this:
Private Sub cbCustomerSearchValue_SelectedValueChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles cbCustomerSearchValue.SelectedValueChanged

 

 

If cbCustomerSearchValue.MultiColumnComboBoxElement.IsDroppedDown And cbCustomerSearchValue.SelectedItem IsNot Nothing Then

 

 

 

    LoadCustomer(DirectCast(DirectCast(cbCustomerSearchValue.SelectedItem, Telerik.WinControls.UI.GridViewDataRowInfo).DataBoundItem, DataAccessLayer.Retailer))

 

 

End If

 

 

End Sub

 

 

 


If the search result in just one hit, I load that customer and display information about it.

Here comes my problem:
If the search resulted in more then one hit, I show the drop down list and the user can then select. (This is working)
The problem here is that even though the text inside the drop down box is not the same as the displaymember text on the first row, the first row in the grid is still selected.

Since the row is already selected, the selectedvaluechange event will not fire :(

Is there a way to detect when the actual user clicks on a row (and not when the databind occurs)?

Why is the first row selected when databinding occurs, can I disable this behavior?
In a normal dropdown control no row is selected until the user made it choose.
I think the multicolumndropdown should behave the same :)

Regards
Per




Jack
Telerik team
 answered on 07 Aug 2009
2 answers
181 views
Hi,
I want to informed (preferebly by event) that DockTabStrip of a given DocumentWindow has changed.

In other words. Imagine I have two documents (in the same TabStrip, only one can be seen at a time) and I drag one out and dock it, lets say, on the left. Now I can see both of the documents at the same time. Is there any event that fires up on such action?

Obvoiusly I work with RadDock control =)

Paul
Top achievements
Rank 1
 answered on 07 Aug 2009
1 answer
221 views
Hi,

I want to use RadControls in VC++ application (using Visual studio 2008). When I add the reference to Telerik.Wincontrols, the Radcontrols are added to Toolbox.
In a VC++ application, all the RadControls under the toolbox are disabled. In a C# application, all RadControls under the toolbox are enabled and can be added to windows form.

Question:
Why are the RadControls in the toolbox, disabled in VC++ application?
Please clarify how to make them enabled, so that they can be used in VC++ application.

Thanks in advance,
Best Regards,
Rajani

Victor
Telerik team
 answered on 07 Aug 2009
3 answers
169 views
Hello,

I am generating a treeView from 3 SQL Server tables.
I added the binding sources, table adapter .... 
I write this code:

 

this.villeTableAdapter.Fill(this.logisticsDataSet.Ville);
/
/ TODO: This line of code loads data into the 'logisticsDataSet.Region_2' table. You can move, or remove it, as needed. 

 

 

this.region_2TableAdapter.Fill(this.logisticsDataSet.Region_2);
// TODO: This line of code loads data into the 'logisticsDataSet.Region_1' table. You can move, or remove it, as needed. 
this.region_1TableAdapter.Fill(this.logisticsDataSet.Region_1);

// TODO: This line of code loads data into the 'logisticsDataSet.Pays' table. You can move, or remove it, as needed.

 

this.paysTableAdapter.Fill(this.logisticsDataSet.Pays);
this.radTreeView1.RelationBindings.Add(new RelationBinding("FK_Reg_1_Cont", this.Region1bindingSource)); this.radTreeView1.RelationBindings.Add(new RelationBinding("FK_Reg_2_Reg_1", this.Region2bindingSource));this.radTreeView1.RelationBindings.Add(new RelationBinding("FK_Emp_Reg_2", this.Region2bindingSource));

this.radTreeView1.RootRelationDisplayName = "Cont";
this.radTreeView1.DataSource = this.paysBindingSource;

Now my treeView is correctly populated.

My problem is how the change the text displayed in the treeNode because i want that the treeView another column name (and in the future i want to customize the text displayed in the treeNode) ?
Thanks in advance.

 

 

 

Victor
Telerik team
 answered on 07 Aug 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)
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
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
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?