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

I would like to know if there is a possibililty to just filter on the RadGridView by passing a string to a certain property.

I've seen that there is FilterExpressionChanged Event which has the FilterExpressionChangedEventArgs as argument and that argument has a property FilterExpression.

What I would like to have is to be able to just call this property FilterExpression so I know in a string the filter expression on the entire grid and can also pass a string to this Expression to be able to filter.

Is this possible? Or maybe a workaround?
Julian Benkov
Telerik team
 answered on 13 Jan 2012
1 answer
126 views

Hey :)

I made a radgridview  that displays too multiple columns

And within this radgridview  , it has a column FirstNAme, MiddleName, LastName,  QuizAverage, Quiz1, Quiz2, Quiz3 etc

How can I get the columns that contains the string "Quiz" such as QuizAverage, Quiz1, Quiz2, Quiz3 etc.. without specifying their indexes?
Just by mere Identifying wheter a ceratin column name contains "Quiz"

Thanks for help in this regard :)

Julian Benkov
Telerik team
 answered on 13 Jan 2012
3 answers
133 views
Hi,

We're looking at using the RichTextBox control to generate HTML elements that will appear within a page (for example, to specify a rich text product specification that will appear as part of a product information page).

When HTML is exported from the control, it is exported with large quantities of header markup and additional tags that are unnecessary for our purposes.  Unfortunately, since the styles are contained within the header section, simply stripping out this superfluous content is not possible without losing the text formatting.

Is it possible to configure the HTML provider to generate in-line styles so the formatting will remain consistent when used as part of any HTML document?  Additionally, is it possible to avoid additional markup (such as the classing of paragraphs and spans) when no modifications are being made to the styles in order to avoid the quantity of text generated?

I have the feeling the control is simply unsuitable for our needs, but please let me know if anyone has a solution to this.

Thanks.
Jack
Telerik team
 answered on 13 Jan 2012
1 answer
161 views
I have a BindingList bound to a GridView. I can make changes to the grid which are reflected back into the BindingList. The BindingList is filled from a linq result set. How do I move the changes in the BindingList back to the database?

TRACKING[] data = (from t in context.TRACKINGs
                   where SqlMethods.Like(t.EHT_ISO_DWG, "%02-02%")
                   select t).ToArray();
return new BindingList<TRACKING>(data);

The above code is what is used to fill the BindingList. The return value is the set to the DataSource property of the GridView.
Julian Benkov
Telerik team
 answered on 13 Jan 2012
1 answer
91 views
Hi,
I’m using “RadControls for WinForms Q3 2011 SP1” and I need to display the data in Hierarchical GridView from objects as shown in the attachment. I found in forum that there is a solution http://www.telerik.com/community/forums/winforms/gridview/hierachical-gridview-from-objects.aspx but this is not working with the latest version. Please help me.

Regards.
Muralidhar.
Ivan Petrov
Telerik team
 answered on 13 Jan 2012
12 answers
566 views
I want to position three buttons at the left edge of the main RadMenu of a form.  These buttons need to be created, added, and removed from the menu programmatically, via C#.  Looking through this forum I found a thread advising that I manually position the buttons, and attempted that - but the RadMenu's Size field seems to be holding an incorrect value, which is quite a bit too wide and results in the buttons ending up far off the right of the form and thus not visible.  I know of no other way to get the menu width.  Is there something else I need to do, or some other method I could try to make this work?  I am using version 2011.3.11.1116.  Thanks.
Bill
Top achievements
Rank 1
 answered on 12 Jan 2012
1 answer
268 views
Greetings,

we have just recently aquired Telerik Premium Collection and while exploring its rich funcionality a few questions have arisen about GridView. We are using WinForms and OpenAccess Q3 2011.

1) In combination with OpenAccess what is the best approach when trying to implement automatic CRUD operations on gridview, so far we have looked in knowledge base, code library and demos but information about this is scarce. So how can CRUD be implemented using only grid and binding source without any code behind?

2) Is it possible to have a custom insert template (like in ASP.NET Ajax Grid - InsertItemTemplate) in GridView which can be customized either in code or with Property Builder? Or is it possible to change the GridNewRowElement during grid binding and which event to use?

As an example lets say we have a simple table City in database with ID, Country_ID, State_ID, Name and Description columns. When we bind the grid using BindingSource we show only ID, Name and Description columns and also set the ID coulmn to be read only, however when the user wants to insert a new row the ID column should not be read only because we want the user to manually set the ID. Moreover the insert row should have two comboboxes using its own data sources (from Country and State tables) which would enable the user to select appropriate values from a dropdown menu (county name and state name). Basically we want to have two templates - one for view and one for insert (and potencially also an edit template).

3) Since we are using OpenAccess, is it possible to extract a doimain class object bound to a row during/after edit (in CellValueChanging/Changed) so we dont have to use e.Row.Cells[x].Value beacuse its more error prone?

Any kind of samples (projects especially) or links would be greatly appreciated.
Julian Benkov
Telerik team
 answered on 12 Jan 2012
0 answers
107 views
Hi everyone

public void FillGridCombo(ref Telerik.Web.UI.RadGrid grd, int iCol, DataTable lDTSrc, string sID, string sDisplay)
    {
        try
        {
            System.Collections.Specialized.ListDictionary hList = new System.Collections.Specialized.ListDictionary();
            int iRow = 0;
            for (iRow = 0; iRow <= lDTSrc.Rows.Count - 1; iRow++)
            {
                hList.Add(lDTSrc.Rows[iRow][sID], lDTSrc.Rows[iRow][sDisplay]);
            }
            grd.Columns[iCol].Initialize();
            grd.Columns[iCol].GetCustomPropertyDataFields(hList);

        }
        catch (Exception ex)
        {
            throw ex;

        }
    }

I used this function for getting data in combobox column in ASP.NET Rad GridView which works f9.
I need to know the alternate for the bold rows or if someone has better solution please let me know.

Thanks
Shah
Top achievements
Rank 1
 asked on 12 Jan 2012
1 answer
119 views
Hi Team,

when i try to use latest telerik radcontrols for winforms q3 2011 version, it is showing much differnce in design of shellform for that i am attaching 2 sample prototypes showing these differences.

In both these prototypes i have used size of radribbonbar and deckworkspace are more or less same.In sampletelerikQ2proto project,i have set layourworkspace.dock as none.if i give fill then it fills the whole form,but this does not happen in sampletelerikq3proto.

Herewith i have attached 2 small prototypes of telerik radcontrols for winforms (q3 & q2) 2011 version.

please clarify my above doubts.

Thanks,
Ulaga
Ivan Todorov
Telerik team
 answered on 12 Jan 2012
4 answers
246 views

RadPageView will be the successor of RadTabStrip and RadPanelBar by providing different views over a collection of pages. Each page is a stand-alone Panel where controls may be added through the Visual Studio Designer. The control is fully customizable yet greatly optimized for both memory consumption and performance. It will offer better item sizing and spacing, as well as extended orientation modes over the other two controls. Read more in the following blog posts:

What will happen to the old controls?

The old controls will be supported for at least one year after the release of Q2 2010. Users will nevertheless be encouraged to use RadPageView since it addresses the fundamental shortcomings of the previous controls.

Is upgrading to the new controls easy?

Upgrading from the old to the new control should be easy and painless, unless you have extended the previous controls with custom functionality. If this is the case, please contact Telerik support and we will help you move to the new version. We will also try to provide an automatic upgrade tool with Q2 2010 SP1.

Videos and instructions on how to upgrade from the old versions to the new control will be posted shortly.

How do I get support for the new controls?

To get technical support, either contact Telerik support or post in the PageView Forum.

Nikolay
Telerik team
 answered on 12 Jan 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)
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
TrackBar
MessageBox
Rotator
SpinEditor
CheckedListBox
StatusStrip
LayoutControl
SyntaxEditor
Wizard
ShapedForm
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
Security
LocalizationProvider
Dictionary
SplashScreen
Overlay
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
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?