Telerik Forums
UI for WinForms Forum
8 answers
601 views
Hi,
I have a need to create a list of items from a grid using only the rows that are displayed (not filtered).  I tried to use the RowInfo.IsVisible property but it seems that all rows "IsVisible" is set to true even if the row is not visible due to it being filtered out.

The scenario is; The user creates a filter on a gird and then clicks a button (or whatever to trigger an event) and then the program needs to be able to get values from just the un-filtered rows.

Does anyone know how this can be done?

Thanks,
Mike B.

Update:
After more testing, the IsVisible does seem to be set to false for rows that are filtered out.
Sorry for "jumping the gun".

Mike B
Pioter
Top achievements
Rank 1
 answered on 25 Feb 2021
21 answers
686 views

Is it possible to properly display HTML that was exported from a RadRichTextBox in a GridView cell?

The user is allowed to use many of RadRichTextBox's formatting features when entering data into a RadRichTextBox. This data is saved to the database using the HtmlFormatProvider.  I am currently saving the HTML as an HTML fragment with inline formatting.  The HTML is later pulled from the database and used to populate the RadRichTextBox. I am able to retain the HTML formatting with no problem.

However, the HTML is not formatted properly when displayed in a GridView. It is simply displayed as text, including all HTML tags.  Setting DisableHTMLRendering to false for the appropriate columns does not work.

I noticed that simple HTML displays correctly. For example, the following mark-up displays "text" in blue letters as expected:

"<html><color=0,0,255>text"

The following is a simple example of HTML exported from the RadRichTextBox using the HtmlFormatProvider:

<p style="margin: 0px 0px 0px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px;"><span style="font-family: 'Times New Roman';font-style: normal;font-size: 16px;color: #0000FF;">Text</span></p>


 

Nadya | Tech Support Engineer
Telerik team
 answered on 25 Feb 2021
9 answers
1.2K+ views
I want implements at runtime a querybuilder like Sql .
I found  this control on http://www.activequerybuilder.com/product_net.html
Telerik has this control?
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Feb 2021
2 answers
158 views

Hi,

I'm really loving the SyntaxEditor component but i'm looking for a way to print specific parts of my SQL bold.

 

Take for instance the query: SELECT * FROM Customers WHERE CustomerId=%CustomerId%

I want the %CustomerId% part printed bold. Is this possible?

Thanks,

 

Ben

Neil
Top achievements
Rank 1
 answered on 25 Feb 2021
3 answers
408 views
Hi..
Is there any way to use an image - picturebox as a tool tip?
thanks
Nadya | Tech Support Engineer
Telerik team
 answered on 25 Feb 2021
1 answer
390 views

I am using the following code and cannot get the WaitingBar to start animation.  I was running a Task, but tried adding a DoEvents and a Sleep to see if I could get it going.  Not sure why.  I am using the same WaitingBar in other places in my app and it works fine, but not here.

                            radWaitingBar1.Visible = true;
                            radWaitingBar1.Text = "Downloading files";
                           // radWaitingBar1.ResetWaiting();
                            radWaitingBar1.StartWaiting();
                            Application.DoEvents();
                            Thread.Sleep(5000);
                            //task = Task.Run(() => Run("um.zip"));
                            //task.Wait();
                            radWaitingBar1.StopWaiting();
                            radWaitingBar1.Visible = false;

Nadya | Tech Support Engineer
Telerik team
 answered on 25 Feb 2021
1 answer
185 views
When I click in the top row to type in a new row value, the CurrentRowChanged event is fired.  I have other code in this event, that I do not want to run when adding a new row.  So I need to trap this so the code will not run in the event.  I did not have this problem until I updated to the latest controls.  
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Feb 2021
12 answers
781 views

hi

i use paging in my winform grid view.everytrhing is ok.

but i wanna customize the panel paging. for example disable ShowFastBackButton and ShowFastForwardButton in panel paging.

in this page it said that :

There are a number of properties, which allow you to customize the paging panel to your specific needs. You can access these properties through the RadGridView.GridViewElement.PagingPanelElement.

i want change these properties in design time not by code, but i cant find any of these properties in property grid or in property builder.

i have another question and that is about TextBoxStripElement in paging panel. iwant localize that and put my text intead of page and of in TextBoxStripElement.

is there any solution for these two question?

Best Regard

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 25 Feb 2021
4 answers
295 views

Hi: 

I am having an issue with "changing the selected line color", which was replied earlier in the forums.
I am doing the same as explained here, but the background color does not change while the text of the line changes.

private void rgvCompanyList_ViewRowFormatting(object sender, RowFormattingEventArgs e)
        {
            if (e.RowElement.IsSelected && e.RowElement.IsCurrent)
            {
                
                e.RowElement.DrawFill = true;
                e.RowElement.GradientStyle = GradientStyles.Solid;
                e.RowElement.BackColor = Color.Black; // It doesn't work !
                e.RowElement.ForeColor = Color.White; // It works
                // e.RowElement.NumberOfColors = 1; that didn't work either 
            }
            else
            {
                e.RowElement.ResetValue(LightVisualElement.DrawFillProperty, ValueResetFlags.Local);
                e.RowElement.ResetValue(LightVisualElement.BackColorProperty, ValueResetFlags.Local);
                e.RowElement.ResetValue(LightVisualElement.GradientStyleProperty, ValueResetFlags.Local);
                e.RowElement.ResetValue(LightVisualElement.ForeColorProperty, ValueResetFlags.Local);
                // e.RowElement.ResetValue(LightVisualElement.NumberOfColorsProperty, ValueResetFlags.Local);
            }
        }

özer
Top achievements
Rank 2
Veteran
Iron
 answered on 24 Feb 2021
3 answers
398 views

How can I add clickable map pins (or points) to RadMap in WinForm? 
I have already added Points  to the radMap but I want to create Events (Mouse click) and (Mouse hoover) on those points. 

Could you please help?

 

Dess | Tech Support Engineer, Principal
Telerik team
 answered on 23 Feb 2021
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
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?