Telerik Forums
UI for WinForms Forum
1 answer
203 views
Is there a way to change the size of the Headers for the Document Window or Tab Tittles. I have put in this link an image and the parts I wanted to change the size are annotated with square boxes.
Anton
Telerik team
 answered on 12 Dec 2012
6 answers
142 views
Hi!

How can i use custom- and basic filtering combinded ?

There is a customFilterRow example, but it does not contains the basic filter row either.

I have a textBox, and on the textChanged-event i refresh the masterTemplate and the customFiltering-event is fired.
Then i do my filterSearch. Everything works fine, like in the customFiltering-example.

But after that, i want to use the basicGridFilter, but it doesn't work. if i clear the textBox i set the enableCustomFiltering to false,
and then the grid is empty. i only get basic or customFiltering to work, not both.

Thx !

The textBox (customFilter) is used for a search on the whole grid.
The FilterRow should be used to filter each row.
Julian Benkov
Telerik team
 answered on 12 Dec 2012
3 answers
2.3K+ views
Hi! I am creating a panel with rounded corners, I followed the documentation here and was able to get that. The problem comes when I wanna change the color of the panel. For instance, I have a gray background on my app, and the panel has a white background. Instead of only seeing the rounded corners on the panel... I am seeing the square corners in white and then a rounded border around the panel. See screenshot. Suggestions on how to hide the square corners?


Thanks!
Plamen
Telerik team
 answered on 12 Dec 2012
2 answers
192 views

Hi there,

is it possible to disable the Key Tips for some specified controls in the RadRibbonBar?

I have placed a RadImageButtonElement and a RadDropDownListElement in the same RadRibbonBarGroup.

I would like to disable the Key Tip feature only for this both controls. All the other controls should be accessible by the Key Tip.

I have set the Property -> radRibbonBar1.EnableKeyMap = true; and for the other controls in the RibbionBar I assigned the KeyTip too.

At the moment the RadImageButtonElement and RadDropDownListElement get a numeric automatic key tip.

I use  RadControls for WinForms  Q3 2011 SP1.

If anyone has any ideas I would appreciate

Thanks in advance

Sascha

Sascha
Top achievements
Rank 1
 answered on 12 Dec 2012
2 answers
104 views
I have a few global static events that some of my forms subscribe to.  The subscription happens in the Form.Load event of each form.  Those forms are added to a DocumentWindow then to the DockManager.  The subscription is great, everybody's listening fine.  Now when I close a DocumentWindow, the forms OnClosing events doesn't happen thus not unsubscribing to the static event I had wired.  So now when another form (document window) fires the static event I get an exception from the closed form where the static handler is trying to work but the form doesn't exists anymore.

Any ideas on how to unsubscribe to static events on forms that are children to DocumentWindows once closed?

Thanks,
Byrd
Julian Benkov
Telerik team
 answered on 12 Dec 2012
1 answer
100 views
Hello,
  Im using telerik 2010.2.10.713 version library, i want on my radgridview to validate the filled fields by the user at the end of editing the row, i have as selection mode the fullrow select, for that purpose i used row validating event wich i used on datagridview but this didnt work on radgrid view, im trying:

if (radGridView1.Rows[e.RowIndex].Cells["usu_clave"].Value == null)              {                    radGridView1..Rows[e.RowIndex].Cells["usu_clave"].ErrorText ="some error";               e.Cancel = true;     //prevent the user to save changes                       return;             }


<code style="color: #000;">if (radGridView1.Rows[e.RowIndex].Cells["usu_clave"].Value == null)</code><code style="color: #069;font-weight: bold;"></code><code style="color: #000;">              {</code><code style="color: #000;">                    radGridView1..Rows[e.RowIndex].Cells["usu_clave"].ErrorText ="some error";</code><code style="color: #069;font-weight: bold;"></code><code style="color: #000;">               e.Cancel = true;     //prevent the user to save changes      </code><code style="color: #069;font-weight: bold;"></code><code style="color: #000;">                 return;</code><code style="color: #069;font-weight: bold;"></code>             }<br><div style=" background-color: #fff;"><span style=" "><span style=" margin-left: 0px !important;"><code style="color: #000;"></code></span></span></div>

what is going wrong?

thanks!
Svett
Telerik team
 answered on 11 Dec 2012
3 answers
109 views
 
Hi,

I have a grid view , which has paging enabled.
When i try to change the page size , i am getting the below error.

" Specified argument was out of the range of valid values.
Parameter name: ItemHierarchicalIndex

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code."

Please let me know if there is a fix for this.

Thanks,
Raghav.
Maria Ilieva
Telerik team
 answered on 11 Dec 2012
4 answers
193 views
my application uses BackgroundWorker to initialize user controls and load data models for the control to keep the user interface responsive. i have a custom control which uses page view to show different custom user controls. i load data for the control and instantiate the control in a background thread. after initializations the data model and the control is added to a global list of controls. the main ui then shows the control in a tab document. now when i try to add it to the tab the page view page object throws an exception mentioning cross thread access. i have checked for cross thread access before adding the control to the tab strip. it only happens if i use a page view control inside the my custom user control. instead if i use a tab strip than page view in my custom control it works fine.

how can i avoid this exception?
Boryana
Telerik team
 answered on 11 Dec 2012
1 answer
243 views
Hi,
Thanks for the great work.
Am very new to telerik Rad Charts.
I would like to Create 2 Bar Charts on 1 windows Form using VB.net with Data coming from a Database.

I am looking at creating SQL Statements for each of these 2 Charts with the X and Y axis for the Charts in mind.
i.e Select Products, Prices from ProductSale

Kindly provide a sample example that can enable me pick data from the Database and Bind this Data to the Bar Charts.
I have tried but havent been able to get a newby example of this kind from the forum yet

Thank U.





 
Ivan Petrov
Telerik team
 answered on 11 Dec 2012
2 answers
155 views
Hello

I created a new form, added a RadGridView to it, and populated it using a query containing a UNION statement.

pGrid.BeginUpdate();
// QueryDB below returns a Datatable with the resultset or the SELECT
DataTable rs = clsDBConn.QueryDB("SELECT a,b,c FROM T1 UNION SELECT a,b,c FROM T2");
pGrid.DataSource = null;
pGrid.DataSource = rs;
pGrid.MasterTemplate.AutoGenerateColumns = true;
pGrid.MasterTemplate.AllowAutoSizeColumns = true;
pGrid.MasterTemplate.AllowAddNewRow = false;
pGrid.MasterTemplate.AllowDeleteRow = false;
pGrid.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.None;
pGrid.MasterTemplate.SelectionMode = GridViewSelectionMode.FullRowSelect;
pGrid.TableElement.ShowTranslucentSelectionRectangle = true;
pGrid.ShowRowHeaderColumn = false;
pGrid.EndUpdate();
 
foreach (GridViewDataColumn column in pGrid.Columns)
{
    column.ReadOnly = false;
}


Even with the ReadOnly=false, when I changed a cell's value and clicked elsewhere, a "Data Exception" message saying "Column 'a' is read only." poped up. I put my UNION statement in a view, called the view, and everything worked as expected.
Philippe
Top achievements
Rank 2
 answered on 10 Dec 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?