Telerik Forums
UI for WinForms Forum
1 answer
131 views
Hi,

I am using radgrid with autogenerated future. i have around 184 dynamic columns. but i need third position column as Gridviewcomboboxcolumn for this i am using below code. i removed the mold name column and inserted new gridviewcomboboxcolumn in the same position.

    Private Sub gv_CPS_DataBindingComplete(sender As Object, e As Telerik.WinControls.UI.GridViewBindingCompleteEventArgs) Handles gv_CPS.DataBindingComplete
        Dim grid = TryCast(sender, RadGridView)
        If grid Is Nothing OrElse Not grid.Columns.Contains("MOLD NAME") Then
            Return
        End If
        grid.Columns.Remove("MOLD NAME")
        Dim MOLD_NAME_COMBO = New GridViewComboBoxColumn("MOLD NAME")
        MOLD_NAME_COMBO.Name = "MOLD_NAME_COMBO"
        MOLD_NAME_COMBO.HeaderText = "MOLD NAME"
        MOLD_NAME_COMBO.DataSource = objCom.Dynamic_Combo_load("cast(mold_type_id as varchar(100)) as mold_type_id", "Name", "T_SFS_MOLD_TYPE ORDER BY NAME")
        MOLD_NAME_COMBO.ValueMember = "mold_type_id"
        MOLD_NAME_COMBO.DisplayMember = "Name"
        MOLD_NAME_COMBO.FieldName = "MOLD NAME"
        MOLD_NAME_COMBO.Width = 100
        MOLD_NAME_COMBO.DropDownStyle = RadDropDownStyle.DropDown
        MOLD_NAME_COMBO.AutoCompleteMode = AutoCompleteMode.SuggestAppend
        grid.Columns.Insert(3, MOLD_NAME_COMBO)
    End Sub

Please have look the attached image file.
Both combo box values are stored database when i retrieved the record combo value is not displayed. but combo box have the both value.

Please help on this same(urgent)
Kamalakannan
Top achievements
Rank 1
 answered on 26 Jul 2012
3 answers
181 views
Hi every body;
Dear all;


We would like to have the summation of each column row by row without using summary row item (the summary row item is used when we have grouping).
It is appreciated if you can answer that, how we can improve the calculation speed whilst the data source is very large (i.e. grater than 200,000 row).

the scheme of our propose is illustrated in following:

Column A     Column B               Calculated Column
   A                     10                       10
   B                      3                        13
   C                      9                        22
   D                      5                        27


 
Yours Sincerely.
Svett
Telerik team
 answered on 26 Jul 2012
3 answers
334 views
Can someone show me the best way to develop the image for the ribbon bar start button?
Stefan
Telerik team
 answered on 26 Jul 2012
1 answer
247 views
I have a radgrid filled with data that contains date column
I have applied filter to all the column successfully and its working fine.
I am making a report based on radgrid data and I want to show on report From and To dates that has been entered into filtering date columns.

How can I get those two dates that I entered while filtering a date column?
Stefan
Telerik team
 answered on 26 Jul 2012
3 answers
134 views
Hi telerik ,

i  have downloaded the free trail of latest winforms controls. after installation am getting the below error


I tried uninstalling the controls and installed 3 times ,facing the same issues .also i couldn't able to delete this controls from GAC saying some user using this ..please guide me to use the latest version... waiting for the reply.
Thanks.
Dev.
Stefan
Telerik team
 answered on 26 Jul 2012
1 answer
107 views

Hello
i'm using the 2012 Q2 release and when i try to use the value from maskededitbox it doesn't works
if i have this mask: 000-000-0000 and used the value property it will bring me the same mask

and in the RadGridView if i use the Mask Column no matter what kind of mask i tried to use it doesn't works

thanks

Peter
Telerik team
 answered on 26 Jul 2012
3 answers
331 views
I have a schedule control and a calendar control on a form.

When a user clicks on a cell in the schedule control (in timeline view), the calendar updates to show, as specialdays, all the days for the month that has the day in it that the user selected.

The specialdays and focusedDate have a very similar colour and I want to recolour the special days and focuseddate colours so they are easily identifiable.

Ive started changing the special days color, but when a user clicks in a different scheduler cell, the background color of the calendar remains how it was set previously.

I'm using the ElementRender event of the calender control to see if its a special day, and if it is colour it. I'm not sure how to reset it if it isnt.

Code below, and any help greatly appreciated.


private void Calendar_ElementRender(object sender, RenderElementEventArgs e)
{
    foreach (RadCalendarDay date in ((RadCalendar)sender).SpecialDays)
    {
        if (e.Day.Date == date.Date)
        {
            e.Element.BackColor = Color.Red;
            return;
        }
    }
}
Stefan
Telerik team
 answered on 26 Jul 2012
2 answers
69 views
Hello,

I have Hyperlink columns and am noticing it's just ignoring the TextAlignment property. I changed the "GridViewHyperlinkColumn" to "GridViewTextBoxColumn" and the TextAlignment works just fine.

var column = new GridViewHyperlinkColumn() { FieldName = sColumnNames[i], HeaderText = sColumnDisplayNames[i],
                                                                            HeaderTextAlignment = ContentAlignment.MiddleLeft, TextAlignment = ContentAlignment.MiddleCenter };
        rgvWidget.Columns.Add(column);
Rahul
Top achievements
Rank 1
 answered on 25 Jul 2012
1 answer
184 views
Hello,
I use RadGridview in my project. I use unbound mode and giving datasource to grid from a collection. I have one gridview template, each row has child rows. In child rows, there is a  GridViewComboboxColumn.

My problem is, i am trying to update child row GridviewComboboxColumn value programmatically on CellEndEdit event of grid. I edit the column, i see its edited in debug, but the changes doesnt display in the cell. Why changes doesnt display, how can i make it display?
Svett
Telerik team
 answered on 25 Jul 2012
1 answer
50 views
Hello Telerik.

Can i call a gridview value such as (name,tag) from my custom griddatacellelement.
Stefan
Telerik team
 answered on 25 Jul 2012
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)
Chart (obsolete as of Q1 2013)
Form
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?