Telerik Forums
UI for WinForms Forum
3 answers
233 views

Hello Telerik,

I have two small questions about PropertyGrid.

1. Is possible to have a hyperlink in one Property Value (not entire column, just one or several values to be URL)

2. I've tested the nice feature of grouping. Can I have more sub-groups there, or expandable one, eg:

Distributors (main group)

         Belnor ( sub group)

                 Property - Value

                 Property - Value

         Kirkwald (sub group)

                 Property - Value

                 Property - Value

 Thanks in advance,

     

 

 

    

 

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 05 Jun 2015
0 answers
162 views

Hello.

I want to change the text of the column in listview with checkbox

I have

 

Public Sub lvRegDePedido_ItemCheckedChanged(sender As Object, e As ListViewItemEventArgs) Handles lvRegDePedido.ItemCheckedChanged
            formatoDeCellda()
    End Sub

Private Sub formatoDeCellda()
        Try
            Dim e As ListViewCellFormattingEventArgs
            e = Nothing
            If e.CellElement.Data.HeaderText = "Estado del articulo" Then
                If e.CellElement.Text = "No entregado" Then
                    e.CellElement.ForeColor = Color.Aqua
                End If
            End If
        Catch ex As Exception : MsgBox(ex.Message)
        End Try
    End Sub
 

I work in the trial version (demo)

Adj Img

Hector
Top achievements
Rank 1
 asked on 04 Jun 2015
1 answer
98 views

Hello 

Does RadControls have a textbox where in I can implement a textbox password field similar to Android Environment. 

I should be able to enter a character, display the character entered for a few milliseconds before masking it using "asterix" or any other password

character. Also I should be able to edit/insert/delete any character anywhere in the content.

 

 

 

 

Dimitar
Telerik team
 answered on 04 Jun 2015
1 answer
130 views

I have a grid (Q2 2014 SP1) with several columns and one checkbox column.  The checkbox is the only information that can be modified by the users.  Now, depending on the checkbox state, I paint the row using this code (where "IsConcilie" is the checkbox's column name):

if (row.Cells["IsConcilie"].Value.Equals(true))
{
rowElement.DrawFill = true;
rowElement.GradientStyle = GradientStyles.Solid;
rowElement.BackColor = Color.Gray;
rowElement.ForeColor = Color.White;
}
else
{
rowElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
rowElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local);
rowElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
rowElement.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local);
}

The problem I have is when one of the cell is clicked, the cell is selected and painted using the default colors which makes the cell hard to read because it keeps my foreground color setting.

Since only the checkbox can be modified, is here a way we can prevent the selected cell to paint using the default painting behavior?  Or how can I handle the painting of the cell myself and bypass the default settings?  Or even, can we make the rows non-selectable?

Thanks.

Hristo
Telerik team
 answered on 03 Jun 2015
1 answer
114 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
140 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
624 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
266 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
135 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
374 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
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
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
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
NavigationView
Callout
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
SpeechToTextButton
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
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?