Telerik Forums
UI for WinForms Forum
1 answer
110 views

Trying to implement this feature-

http://feedback.telerik.com/Project/154/Feedback/Details/112143-fix-horizontal-scroll-bar-should-appear-when-auto-size-columns-mode-is-enabled-a

With ColumnGroups and it does not seem to honor the minimum column widths.  Is there a way to implement scrolling when using auto sized columns when the view has been put into ColumnGroups?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 03 Jun 2015
3 answers
132 views

I using a demo copy of your Winforms Rad Control for testing and evaluation.  My issue is when I'm using one of your radforms my data sources window will not allow me to drag and drop Entity framework 6 data sources onto your forms. Can you tell me how to resolve this issue please ?

 Image using a rad form unable to drag & drop data sources

 

Image using a standard windows form data sources work correctly

 

regards

Neil

Dimitar
Telerik team
 answered on 03 Jun 2015
4 answers
616 views
Hi. 
I Have a radGridView, i am trying to find the TextChanged Event of a cell, in which i want an event to happen while the user is typing inside a cell while text is being changed.

How to find it?

Thankfully yours.
Stefan
Telerik team
 answered on 03 Jun 2015
6 answers
258 views
Hello,

I upgraded the Telerik WinForms to 2014.2.715 version.
The upgrade results to all my forms containing the radtextboxes and raddropdownlists with Anchor property set to `Right` stops working properly.

1. The affected control (e.g. radtextbox) shall be placed on a UserControl control directly or on a panel.
2. Its anchor property must contain Right (eg Top+Right+Left)
3. The UserControl control must be placed on a Telerik RadForm.

After starting the app the radtextbox ignores the anchor=right and leaves the form's boundaries.

Resizing the UserControl in the designer works fine. Previous release (2013.3.1127) doesn't contain this problem. The problem appears after upgrading to 2014.2.715.

As I understand it is old bag reincornated :) The problem is the same as described here: http://stackoverflow.com/questions/9604605/user-control-keeps-stretching-once-dropped-on-form
Dimitar
Telerik team
 answered on 02 Jun 2015
1 answer
130 views

Hi to all,

I trying to copy from one gridview that has 4 columns and paste another gridview that has 3 columns.

Now, in RadGridViewPasting of destination GridView I wrote this code, those gridviews are into Windows dialog that called from main Windows with ShowDialog mode. But this code generate an error.

 If I compare ContainsData in incoming and ContainsData in outcoming are formally correct.

What's up?

01.private void MappingRadGridViewPasting(object sender, GridViewClipboardEventArgs e)
02.        {
03.            try
04.            {
05.                if (Clipboard.ContainsData(DataFormats.Text))
06.                {
07.                    string data = Clipboard.GetData(DataFormats.Text).ToString();
08.                    if (data != string.Empty)
09.                    {
10.                        var items = data.Split('\n');
11. 
12.                        StringBuilder sb = new StringBuilder();
13. 
14.                        for (int i = 0; i < items.Length; i++)
15.                        {
16.                            var fields = items[i].Split('\t');
17. 
18.                            int type = Convert.ToInt32(fields[0]);
19.                            int id = Convert.ToInt32(fields[1]);
20.                            string name = fields[2];
21. 
22.                            if (i == items.Length - 1)
23.                                sb.AppendFormat("{0}\t{1}\t\t{2}", type, id, name);
24.                            else
25.                                sb.AppendFormat("{0}\t{1}\t\t{2}\r\n", type, id, name);
26.                        }
27. 
28.                        string output = sb.ToString();
29. 
30.                        Clipboard.SetData(DataFormats.Text, output);
31.                    }
32.                }
33. 
34.            }
35.            catch (Exception ex)
36.            {
37.                ExceptionHelper.ShowException("MappingRadGridViewPasting", ex);
38.            }
39.        }

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 02 Jun 2015
6 answers
367 views
Hi,

I have a grid with 3 aggregate footers, when the  user groups on a particular column I’m adding
the aggregate  values to the group
header, which works fine.

But I cannot get the text to align , I have tried to pad the
text with spaced with no success, here an image…


What I’m hoping to do is basically align / give the illusion
of  4 columns in the header,  one for the column title the other 3 for each  aggregate value.

Here's some code:

private void gviTicketSummary_GroupSummaryEvaluate(object sender, GroupSummaryEvaluationEventArgs e)
{
int i = 0;

if (e.SummaryItem == null)
return;

if (e.SummaryItem.Name == "Site")
{
int count = e.Group.ItemCount;
decimal PlannedQty = 0;
decimal ActualQty = 0;

foreach (GridViewRowInfo row in e.Group)
{
PlannedQty += Convert.ToDecimal(row.Cells["PlannedQty"].Value);
ActualQty += Convert.ToDecimal(row.Cells["ActualQty"].Value);
}

string sPlanned = PlannedQty.ToString("#,##0");
string sPlannedNew = PlannedQty.ToString("#,##0");

if (sPlanned.Length < 20)
sPlannedNew = sPlanned.PadRight(20, ' ');

string sActual = ActualQty.ToString("#,##0");
string sActualNew = ActualQty.ToString("#,##0");

if (sActual.Length < 20)
sActualNew = sActual.PadRight(20, ' ');

string site = e.Value.ToString().Trim();

string siteNew;
if (site.Length < 20)
{
siteNew = site.PadRight(20, ' ');
}
else
siteNew = site;


string Header = string.Concat(siteNew, " Planned Tonnes :", sPlannedNew, "Actual Tonnes : ", sActualNew);

// e.FormatString = String.Format("{0}Planned Tonnes : {1} Actual Tonnes : {2}", siteNew, sPlannedNew, sActualNew);

e.FormatString = Header;


}



Hope this makes sense

 

Thanks

 

Shaun

Jeen
Top achievements
Rank 1
 answered on 02 Jun 2015
1 answer
1.1K+ views

I'm looking for some clarification on the Bin and Bin40 directories.

I a previous thread there was mention that Bin was for .net 2.0 and Bin40 was for .net 4.0, but that doesn't really explain how the directories should be used. We build under .net 4.0.  Recently in our projects, we somehow found some references to assemblies in the Bin directory that were causing exceptions.  We never reference anything in that dir... at least not intentionally. 

Can someone explain the difference between what's in the Bin and Bin40 directories, why they exist and what developers need to know about them?   Thanks.  

Steve

 

Stefan
Telerik team
 answered on 02 Jun 2015
1 answer
143 views
how can i use a binding source to bind values to radColorBox  while binding source is list of string of color names
Dimitar
Telerik team
 answered on 01 Jun 2015
1 answer
244 views

Hi All,

in the former control I used the TextChanged Event with others to set a dirty flag providing the user a message to save his changes before leaving the Editor. In the current control the Event is not firing.

As an alternative I used the ContentChanged Event if the user changes any text. But this Event has the drawback that is fired after loading the form before the user had any chance to enter any character.

What can be done to get that scenario working.

 

Best Regards

Herbert

Dimitar
Telerik team
 answered on 01 Jun 2015
0 answers
138 views

how i can hide or set the icon in following snapshot,

 

Ammar
Top achievements
Rank 1
 asked on 01 Jun 2015
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
Documentation
SplitContainer
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
ShapedForm
SyntaxEditor
Wizard
TextBoxControl
CollapsiblePanel
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
Styling
Barcode
PopupEditor
RibbonForm
TaskBoard
Callout
NavigationView
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
SplashScreen
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?