Telerik Forums
UI for WinForms Forum
1 answer
367 views
Does anyone know if it Is it possible to hide the expand/collapse button at all?  I am trying to preserve as much horizontal space as possible and also fulfill a requirement that the first level of nodes is always expanded.

I've come across a solution for the ASP.NET AJAX suite but nothing for the WinForms (http://www.telerik.com/community/forums/aspnet-ajax/treeview/drop-expand-collapse-image-from-root-node.aspx#854721)

Thanks,
Adam
Adam
Top achievements
Rank 2
 answered on 08 Jul 2011
1 answer
136 views
Dear Team,

I got issue in Menu strip.

I have a same shortcut for main menu and sub menu of different menu item.
if i keep on pressing Alt+ key and press any sub menu shortcut the shortcut is not working.


Kindly refer the attachment.

there i have given shortcut N for  >> None Menu item and  >>Open>> New item . but if i hold Alt key and press O it open the Open sub menu and then if i press N idle is should execute event on >>New menu but it is not work as per expected.

kindly suggest the solution for above problem. waiting for replay


Thanks and Regards
Saurabh dubey
Martin Vasilev
Telerik team
 answered on 08 Jul 2011
1 answer
222 views
Hi,

I am developing a windows application.

In that I have a form with a gridview placed on that.

In form I have Update button also.

When user selects one row and click on update ,it has to redirect to another form with the selected data and user can enter details in that and when user click on update data should saved back to database.

How can i acheive this,specifically redirecting to another form with selected records and on click on update button how to save this to database

Please help me,if anyone can post some code snippets then it would be great.
komathi priya
Top achievements
Rank 1
 answered on 08 Jul 2011
1 answer
214 views
i am new at this so it may be a stupid question !

I have a dataset in VB.NET 2010 , i am getting the dataset using FillBy method , providing one parameter , 
 Try
            Me.daNatalog.FillBy(Me.DsPatients.Patients, txtPatkey.Text)
        Catch ex As System.Exception
            System.Windows.Forms.MessageBox.Show(ex.Message)
  End Try



i want to update the underlying data with any changed data in any of the bound controls. 

I am using one of the control as an example to understand this , its a radTextBox(txtEmail) whose databinding Text property is set to PatientBindingSource - email , DataSource Update mode is OnPropertyChanged 

i add this code to update dataset , this only update first character or give me some error

Private Sub txtEmail_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtEmail.TextChanged

        DsPatients.Tables(0).Rows(0)("e_mail") = txtEmail.Text.ToString
        daNatalog.Update(DsPatients.GetChanges())

    End Sub

This code does not do anything.

Private Sub txtEmail_Validated(ByVal sender As Object, ByVal e As System.EventArgs) Handles txtEmail.Validated
        DsPatients.Tables(0).Rows(0)("e_mail") = txtEmail.Text.ToString
        daNatalog.Update(DsPatients.GetChanges())

    End Sub

Please let me know how would i get this working 

Thanks
Julian Benkov
Telerik team
 answered on 08 Jul 2011
5 answers
176 views
Is there a way to create an override of the GridViewSummaryItem to get an editable summary item with an OnPropertyChanged event?
Alexander
Telerik team
 answered on 08 Jul 2011
2 answers
366 views
Hi,
I am going to watch demo application of WPF. But I got the following error. So, what should I do. Please help me.

PLATFORM VERSION INFO
Windows : 6.1.7600.0 (Win32NT)
Common Language Runtime : 2.0.50727.4927
System.Deployment.dll : 2.0.50727.4927 (NetFXspW7.050727-4900)
mscorwks.dll : 2.0.50727.4927 (NetFXspW7.050727-4900)
dfshim.dll : 4.0.31106.0 (Main.031106-0000)


SOURCES
Deployment url : http://demos.telerik.com/wpf/Telerik.Windows.Examples.xbap


ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* An exception occurred while downloading the manifest. Following failure messages were detected:
+ Configuration system failed to initialize
+ '<', hexadecimal value 0x3C, is an invalid attribute character. Line 133, position 4. (C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 133)
+ '<', hexadecimal value 0x3C, is an invalid attribute character. Line 133, position 4.


COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.


WARNINGS
There were no warnings during this operation.


OPERATION PROGRESS STATUS
No phase information is available.


ERROR DETAILS
Following errors were detected during this operation.
* [7/7/2011 6:43:29 PM] System.Configuration.ConfigurationErrorsException
- Configuration system failed to initialize
- Source: System.Configuration
- Stack trace:
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
at System.Configuration.ConfigurationManager.GetSection(String sectionName)
at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()
at System.Diagnostics.DiagnosticsConfiguration.Initialize()
at System.Diagnostics.DiagnosticsConfiguration.get_Sources()
at System.Diagnostics.TraceSource.Initialize()
at System.Net.Logging.InitializeLogging()
at System.Net.Logging.get_On()
at System.Net.WebRequest.Create(Uri requestUri, Boolean useUriBase)
at System.Net.WebRequest.Create(Uri requestUri)
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifest(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DeploymentManager.BindCore(Boolean blocking, TempFile& tempDeploy, TempDirectory& tempAppDir, FileStream& refTransaction, String& productName)
at System.Deployment.Application.DeploymentManager.BindAsyncWorker()
--- Inner Exception ---
System.Configuration.ConfigurationErrorsException
- '<', hexadecimal value 0x3C, is an invalid attribute character. Line 133, position 4. (C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 133)
- Source: System.Configuration
- Stack trace:
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
--- Inner Exception ---
System.Xml.XmlException
- '<', hexadecimal value 0x3C, is an invalid attribute character. Line 133, position 4.
- Source: System.Xml
- Stack trace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String[] args)
at System.Xml.XmlTextReaderImpl.ParseAttributeValueSlow(Int32 curPos, Char quoteChar, NodeData attr)
at System.Xml.XmlTextReaderImpl.ParseAttributes()
at System.Xml.XmlTextReaderImpl.ParseElement()
at System.Xml.XmlTextReaderImpl.ParseElementContent()
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlTextReaderImpl.Skip()
at System.Xml.XmlTextReader.Skip()
at System.Configuration.XmlUtil.StrictSkipToNextElement(ExceptionAction action)
at System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
at System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()


COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
Animesh Dey
Top achievements
Rank 2
 answered on 08 Jul 2011
6 answers
206 views
Good evening.
    I want to know if there's a way to save the end-user customization of a CommandBar Control. If the user removes a button, or change the disposition of the strips... when he closes the application, next time he wants to find the layout as it was. I didn't find a method to do this.

Thank you.
Franco
Gabriele
Top achievements
Rank 1
 answered on 07 Jul 2011
1 answer
481 views
I have a radgridview that I want to change the background color of check box columns like the attached file.

Please, could you help me.
Ivan Petrov
Telerik team
 answered on 07 Jul 2011
1 answer
605 views
How can I make a gridview use all the width avaible in a flowlayout panel? the flowlayoutpanel is set to dock Fill, I set the gridview to dock fill too but it won't take the full width.

Thanks in advance.
Svett
Telerik team
 answered on 07 Jul 2011
4 answers
243 views
Hello,

We have followed the recommendation from http://www.telerik.com/help/winforms/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows.html and merged all the required Telerik WinControls DLLs into one assembly using ILMerge.

Now the problem is that as soon as we change the references in our Visual Studio 2010 project from the Telelerik.WinControls.*.dlls to the merged assembly, the designer view of the form fails to load and crashes Visual Studio 2010. If the designer view is not loaded, we can run in debug mode, etc and there are no problems with the resulting application deployed with the merged assembly.

I do believe that perhaps starting developing a radForm from scratch using the controls from the merged assembly (rather than the Telerik DLLs) would probably have solved this issue. But we are too far into our development to strip away everything and start designing the forms from scratch.

I was wondering if anyone else has come across this? If so, do we have a way of fixing this?

We are using WinControls version 2010.2.10.806 with Visual Studio 2010.

Regards.
Jack
Telerik team
 answered on 07 Jul 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?