Telerik Forums
UI for WinForms Forum
1 answer
117 views
Hi,
we are developing with Telerik Winforms controls Q3 2007.
We are trying to get the event inside GridviewComboboxColumn when selected index or selected value is changed, but we can't get this event.
We guess it must be so easy that we think it must be in front of us, but we can't see it... it's we drive us crazy.

Please, someone can help us.

Thanks in advance

Stefan
Telerik team
 answered on 10 Jun 2011
1 answer
182 views
I've either found a bug in the RadGridView or I'm using the wrong collection.

I am leveraging the MasterTemplate.DataView.CurrentPosition in order to capture the index of the selected item, which I'm placing in a form-level variable. When this item is deleted, I want the CurrentPosition so that I can highlight the next row at that same index.

The CurrentPosition works fantastic in all instances, save for when the column is Sorted. I tried grabbing the CurrentPosition both in the SortChanged() and SortChanging() events, but the CurrentPosition property does not reflect the new location of the selected row after the sort.

I tried to circumvent this by a combination of .Refresh and <grid dataview>.IndexOf(<grid dataview>.CurrentItem), but this didn't work.

FYI: The reason I used the MasterTemplate.DataView is because this also takes into account Filtering.

Anyone's feedback would be greatly appreciated!
Sean
Sean
Top achievements
Rank 1
 answered on 09 Jun 2011
1 answer
112 views
Hello All,

Is it possible to save multiple RadGridViews to the same file with their data included?

The SaveLayout/LoadLayout functions only work with the layout, and, as far as I can tell, do not provide functionality to save multiple grids to the same file.

Thanks!
Stefan
Telerik team
 answered on 09 Jun 2011
1 answer
228 views
Hi there,

Iam using a radgrid for that we are creating Parent-child relation programatically.It works fine for the first time (refer screen shot1) when loading. But if we have done any update operation or if we are again trying to load the page.It is creating multiple tables in the Child grid view(refer screen shot 2).We are calling that creating relation method again in Update operation if it is not called the changes done are not reflecting in the child grid.Here is the code how we are programatically binding.
radGrid_MultiplePI.DataSource = Nothing
            Dim ds1 As New DataSet()
            Dim ds2 As New DataSet()
            ds1 = objdalProtocolSetupWizard.displayProtocolandInstitutions(cmbProtocolNumber.SelectedValue)
            Me.radGrid_MultiplePI.MasterGridViewTemplate.DataSource = Nothing
            Me.radGrid_MultiplePI.MasterGridViewTemplate.AllowAddNewRow = False
            Me.radGrid_MultiplePI.MasterGridViewTemplate.AllowDeleteRow = False
            radGrid_MultiplePI.DataSource = ds1.Tables("Institutions")
            radGrid_MultiplePI.Columns(1).IsVisible = False
            radGrid_MultiplePI.Columns(1).Width = 150
            radGrid_MultiplePI.Columns(2).Width = 150
            Dim template As New GridViewTemplate()
            template.BeginInit()
            template.DataSource = Nothing
            radGrid_MultiplePI.MasterGridViewTemplate.ChildGridViewTemplates.Insert(0, template)
              template.AllowAddNewRow = False
            template.AllowEditRow = False
            template.AllowDeleteRow = False
            template.DataSource = ds1.Tables("Investigators")
            Dim relation As New GridViewRelation(radGrid_MultiplePI.MasterGridViewTemplate)
            relation.ChildTemplate = template
            relation.RelationName = "InstitutionInvestigators"
            relation.ParentColumnNames.Add("ID")
            relation.ChildColumnNames.Add("ID")
            template.Columns(0).Width = 100
            template.Columns(1).Width = 100
            template.Columns(0).IsVisible = False
            radGrid_MultiplePI.Relations.Add(relation)
            template.EndInit()
            radGrid_MultiplePI.Refresh()
Production release is scheduled very soon it's need to be resolved asap.Looking forward for your reply.

Thanks,
Prasad
Julian Benkov
Telerik team
 answered on 09 Jun 2011
4 answers
338 views
Hi,

I've been trying to follow the sample below and stuck on one point. I'ved copied your sample in to word as it seems the formatting is messed up.
I get this error
Error 1 The name 'task_Complete' does not exist in the current context

task.Complete +=

new EventHandler(task_Complete);

Where is the task_Complete declared?

Thanks

 



http://www.telerik.com/support/kb/winforms/track-and-status/using-radwaitingbar-to-indicate-the-status-of-long-running-operations.aspx
Nikolay
Telerik team
 answered on 09 Jun 2011
3 answers
131 views
Hello,
I
use the telerik WinForms Q2 2010sp2 version, and upgraded version Q32010 pair, only to apply the style of the GridView telerik got no style applied, blank, anyone know why this happens? Any component that has to change the GridView to apply the normal style?

The Best Regards,
Ana Faria
Jack
Telerik team
 answered on 09 Jun 2011
1 answer
173 views
Hi,
I have a issue with following Code......

private void btnFinish_Click(object sender, EventArgs e)
        {
            Configuration c = ConfigurationManager.OpenExeConfiguration(System.Reflection.Assembly.GetExecutingAssembly().Location);
            ConnectionStringsSection section =  (ConnectionStringsSection) c.GetSection("connectionStrings");
            section.ConnectionStrings["netTiersConnectionString"].ConnectionString =  connectionString;
            c.Save();
            this.Close();
        }

My program gives an error at this point:
section.ConnectionStrings["netTiersConnectionString"].ConnectionString = connectionString;

error:”object reference not set to an instance of an object”
any ideas?

Thanks in Advance…..

Stefan
Telerik team
 answered on 09 Jun 2011
6 answers
201 views
I am aware of how to add special days, however, I would like to hide the text of the day on the calendar. 

So if my hostitem is a picture, the picture is displayed, but the day number is not. 

when the day number is displayed, it sometimes make the image confusing. 


Thanks!
Ivan Todorov
Telerik team
 answered on 09 Jun 2011
11 answers
972 views
I have an application with a toolwindow on the left and i'd like to disable the close button. Is it possible to do this?
Or is it possible to cancel the event ?

Thank you
Stefan
Telerik team
 answered on 09 Jun 2011
1 answer
164 views
Ok, I'm not sure how to explain this, but, I have a list of "Special Days" that span 2 weeks on both sides of the displayed calendar.

For days that are "vacation" the image shown is the plane. However if the last days of the previous month is also a vacation day. The images do not show up. (See image attached).

Any work around for this?

Thanks!!
Ivan Todorov
Telerik team
 answered on 09 Jun 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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?