Telerik Forums
UI for WinForms Forum
0 answers
121 views
Hi,

I am using telerik report version 10 and I want to use more then one datasource (with perameter and without pearmeter) in a single report.cs file. i.e.

public rptEmployee(int empID)
{
             InitializeComponent();
            sqlDataSource1.Parameters[0].Value = empID;
}

public rptEmployee()
{
             InitializeComponent();
             // here I want to use   sqlDataSource2 (without perameter)        
}

Please tell me how I will use it

Thanks & Regards
Manoj
Manoj Sevda
Top achievements
Rank 1
 asked on 23 Apr 2011
3 answers
194 views
I'm not able to to get a TreeView node to edit. Here is my code:

var node = new RadTreeNode(k.Key);
node.ImageIndex = (int)IconsEnum.Key;
node.EditMode = EditMode.Value;

I want to edit the value. What am I missing. I do have the TreeView to allow editing.

Thanks,
David McCarter
Jack
Telerik team
 answered on 22 Apr 2011
2 answers
278 views
I'm having problems adding a RadProgressBarElement real-time to a RadStatusStrip. When I add the progressbar to the statusstrip, it does not show.

code:
radStatusStrip1.Items.Clear(); 
radProgressBarElement1.Text = "Extracting Rollback Contents"; 
radProgressBarElement1.Maximum = 100; 
radProgressBarElement1.Minimum = 0; 
radProgressBarElement1.AutoSizeMode = RadAutoSizeMode.FitToAvailableSize; 
radProgressBarElement1.Visibility = ElementVisibility.Visible; 
radProgressBarElement1.Enabled = true; 
radStatusStrip1.Items.Add(radProgressBarElement1); 
radStatusStrip1.Update(); 
radStatusStrip1.Refresh(); 
    
// loops here and increments progress status 
    
radStatusStrip1.Items.Clear(); 
RadLabelElement1.Text = "Showing Contents of " + myDate + " Rollback File"; 
radProgressBarElement1.Text = ""; 
radStatusStrip1.Items.Add(RadLabelElement1); 
radStatusStrip1.Update(); 
radStatusStrip1.Refresh();

After my loop, the RadLabelElement shows in the status strip as designed.  To add to my confusion, I can also add the progressbar at this point and it shows up as well??? 

Any idea what I'm doing wrong? 

 

Ivan Petrov
Telerik team
 answered on 22 Apr 2011
1 answer
203 views
The ListControl exposes BeginUpdate() / EndUpdate(), why not also DeferRefresh()?

I do like the  IDisposable

using(myControl.DeferRefresh()) {  ,,,  }

notation.

cheers
erwin
Julian Benkov
Telerik team
 answered on 22 Apr 2011
1 answer
168 views
Hello, Telerik Team
When  a track bar orientation is "Vertical" , I want to let the maximum value of the trackbar to be at the top and the minimum value at the buttom , How? 
Ivan Petrov
Telerik team
 answered on 22 Apr 2011
3 answers
208 views
How can i change the bordercolor of the RadSpinEditor via Code?

In RadSpinEditor1.SpinElement i didn`t find anything like bordercolor.
Alexander
Telerik team
 answered on 22 Apr 2011
1 answer
166 views
I have a pageview with two pages.  Each page have serveral textbox.  In the textbox_Validating, I will check the input value and set the e.cancel = true if validating fail.  The cursor will stay in the textbox if the validation fail.
However, if I input invalid value in the textbox and click another tab immedicately, the cursor will go to that new page instead of staying in the textbox.
So, how should I handle it? Thanks!
Ivan Petrov
Telerik team
 answered on 22 Apr 2011
1 answer
69 views
Hi,
I need a Incrementa Search Sample for treeview in WinForm.
Julian Benkov
Telerik team
 answered on 22 Apr 2011
9 answers
204 views
Is there a way I can force the + / expansion image on a node when the children are load on demand and I know that there will be existing child nodes.
Julian Benkov
Telerik team
 answered on 22 Apr 2011
1 answer
149 views
Hi,
1. I want to add  a new row by preesing the DOWN Arrow and Insert a new row at current position using "+" key in my grid.
2. How can I know it that at which row Dupplicate key is inserted? Afetr detect I want to move cursor to that row. Also I want to set the row's ErrorText to my own Message.Please help me.

Further questions are coming soon, Thank you,
Tooraj Azizi.
Martin Vasilev
Telerik team
 answered on 22 Apr 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
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
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
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?