Telerik Forums
UI for WinForms Forum
4 answers
400 views
Hi, possible I can get help here in following feature in telerik windows forms.
I need to know if this possible to do in telerik. When MDI child form is opened toolbar(RadToolStrip) from this form automatically merged to toolbar in MDI parent from. Also when you switching between few different MDI-child forms with different toolbars - in MDI parent form toolbars are changing in accordance.
Nick
Telerik team
 answered on 21 Aug 2009
3 answers
305 views
Hello Again


Using

.MasterGridViewTemplate.GroupByExpressions.Add("Application,sum(Score) As [Sub Total Score = ] Group By Application")

which works fine but on multiple applicaion rows is really messy, is there a way to format the heading to create an easy to read column, so instead of something that looks like this;

app1firstappname;Sub Total Score = 2
app2secondappname;Sub Total Score = 3
app2thirdappname;Sub Total Score = 3

it would more look like this

app1firstappname;                                        Sub Total Score = 2
app2secondappname;                                   Sub Total Score = 3
app2thirdappname;                                       Sub Total Score = 3







Cheers
Nick
Telerik team
 answered on 21 Aug 2009
5 answers
188 views
I am having real grief with the Telerik theme/style builder  app for winforms. It's pretty much constantly crashing.

For example, I have my apps RADMenuStrip selected, clicked the Tasks arrow and selected 'Open Theme Builder',
splash screen comes up and I get a pretty long error popping up that starts with:
'System.ArgumentException: No such property registered: HotTracking, Telerik.WinControls.UI.GridRowElement at....' (and it carries on for around 30 more lines - see this link for a screenshot ).
When I click okay, the splash screen stays there, but the app has totally hung. I then have to kill the 'splashform' app using Task Manager, which in turn also closes Visual Studio.

VERY annoying and it's happening atleast 50% of the time I try and changes styles. Currently the form doesn't even use any styles beyond the default look and feel - this is the first style I'm trying to create in this app.

The 'No such property registered: HotTracking' varies by the way - I've had 'isClicked' and others instead of HotTracking.
I'm running Q3 2008, but prior to this had Q1 2007 installed.

Thanks,
Richard.
Deyan
Telerik team
 answered on 21 Aug 2009
5 answers
218 views
Hi everyone!

I need to add a multiline TextBox to the RibbonBar. I used that code in the desingercode (short version ;) )

private InitializeComponent() 
{ 
//(...) 
this.radTextBoxElement = new RadTextBoxElement(); 
 
//(...) 
// radRibbonBarGroupMessageText 
//  
this.radRibbonBarGroupMessageText.Items.AddRange(new Telerik.WinControls.RadItem[] {this.radTextBoxElement}); 
this.radRibbonBarGroupMessageText.Name = "radRibbonBarGroupMessageText"; 
this.radRibbonBarGroupMessageText.Orientation = System.Windows.Forms.Orientation.Horizontal; 
this.radRibbonBarGroupMessageText.Text = "Treść"; 
// 
//(...) 
// 
} 
 
RadTextBoxElement radTextBoxElement; 

then, using the designer I heve set the properties of this TextBoxElement.TextBoxItem : multiline to true, and the null text to proper info and AcceptReturn = true;

When I run my application, I see the null text, but I can start a new line with enter key and even when I put a lot of text (reach right edge) text doesn,t break to new line... Can someone help me fix that? I will be greatfull.


Peter
Telerik team
 answered on 21 Aug 2009
12 answers
910 views
Hi,

while some of your controls have a "UseDefaultDisabledPaint" property I can't find this on RadTextBox.

My need:
I hav a data entry application.
Left I have a list of items - and on the right the details of it.
The user can edit the details by pressing a button which enables the controls (textboxes and so on).

For better visibility it would be great to have a special style on disalbed Textboxes.

By the way -  the only reason to use RadTextBox instead of Forms.Textbox is the idea to use styles for better visiblity.
Because I see no other reason -- it's more oposite! With Forms.Textbox SHIFT-TAB works!!

So is there a way to change the disabled style?
Even having BLACK as ForeColor would be enough!

Regards

Manfred
Peter
Telerik team
 answered on 21 Aug 2009
28 answers
740 views
What is the best place to update the DB when a new row are added, deleted or modified in the Grid?

Validating?
Validated?
ValueChaging?
ValueChanged?

Thans a lot
Nick
Telerik team
 answered on 20 Aug 2009
3 answers
172 views
I have a docking manager on the main form.  I have a docking manager in each dynamically generated document pane.  How can I restrict docking of panels in the document pane to the docking manager of the same document pane?  I don't want the user to be able to drag dockables from one docking manager to another...


Julian Benkov
Telerik team
 answered on 20 Aug 2009
3 answers
410 views
Hi All,

I have a radGridView that is populated via a TableAdapter:

buUserTableAdapter buUserTA = new buUserTableAdapter();  
protected BindingSource buUserBindingSource = new BindingSource();  
 
buUserBindingSource.DataSource = buUserTA.GetData();  
this.radGvAdminUsers.DataSource = buUserBindingSource; 

The radGridView is read only, however, I have a "detail" section below the radGridView where users can edit the contents of the records.  The database is updated upon clicking a "save" button via a stored procedure of the TableAdapter:

private void radBtnAdminSaveUser_Click(object sender, EventArgs e)  
{  
    int userId = Convert.ToInt32(lblAdminUserDBID.Text);  
    string userLogin = this.radTxtAdminLoginId.Text.ToUpper();  
    string lastName = this.radTxtAdminLastName.Text;  
    string firstName = this.radTxtAdminFirstName.Text;  
    string userPhone = this.radMTxtAdminPhone.Value.ToString().Trim();  
    int userRole = Convert.ToInt32(this.radComboAdminRole.SelectedValue);  
      
    string userRoleDesc = radComboAdminRole.Text;  
    bool userActive = Convert.ToBoolean(this.radCbAdminUserIsActive.Checked);  
    if (userId != 0)  
    {  
        buUserTA.UpdateSP(userId, userLogin, lastName, firstName, userPhone, userRole, userActive, System.Configuration.ConfigurationManager.AppSettings["UserNetworkId"].ToString());  
    }  
    else 
    {  
        //Need to do an insert for a new user and update for the new id  
        userId = Convert.ToInt32(buUserTA.InsertSP(userLogin, lastName, firstName, userPhone, userRole, System.Configuration.ConfigurationManager.AppSettings["UserNetworkId"].ToString()));  
    }  
} 

When this is clicked, the database is properly updated, however, the radGridView does not refresh to reflect the changes.  

From what I've read, it seems like the radGridView is supposed to automatically updated.  What am I missing or doing wrong?  Any help with this is greatly appreciated.

Robert

Victor
Telerik team
 answered on 20 Aug 2009
2 answers
227 views
Hello,

I would like to not allow the user to select an item in my radListBox. I have set the selection mode to none, but this still places a border around the edge of the item. How can I ensure that items do not show as selected in any visible way?

Thanks

Richard
Richard Slade
Top achievements
Rank 2
 answered on 20 Aug 2009
1 answer
159 views
Hi,
I have been facing problems adjusting the column length to best fit based on the maximum data present in any of the columns field.
i.e.
the column should automatically maximize to the maximum length of the records in that column
Can you please Help me out, as currently all of my columns are compressed and i have to manually expand each column to have a look at my data.

Note: My gridview is being populated by list using the (datasource) property.

Victor
Telerik team
 answered on 20 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?