Telerik Forums
UI for WinForms Forum
2 answers
183 views
Hello,
I have a grid with a GridViewTextBoxColumn.  When this cell goes into edit mode, I would like to have a button that the user can click to launch a modal dialog form.  On this form the user can edit the data of selected cell like on the Teleriks Expression Editor form.

Any help is greatly appreciated.

Thanks,
Sz

Szotyi
Top achievements
Rank 1
 answered on 06 Oct 2011
4 answers
145 views
Hey at Telerik

I have found a bug in the RadDateTimePicker.
When the control is continuously enabled/disabled the Text element of the control stops showing the date.

I need this functionality to rebind a RadDateTimePicker to a SelectionChanged event on a RadGrid.

I have reproduced the bug in a little test project (Of cource without references). http://kort2.lifa.dk/examples/RadDateTimePickerMissingDateText.rar

Try and disable/enable the RadDateTimePicker numerous times, after fourth click the Text control element of the RadDateTimePicker stops working.

Sincerly Jan.
Peter
Telerik team
 answered on 06 Oct 2011
5 answers
138 views
hello,
i have a DropDwonColumn in my Grid i want to bind a specific cell in that column not all cells in the column.
is that possible?
Alexander
Telerik team
 answered on 05 Oct 2011
3 answers
215 views
Hi there

I want to use RichTextBox in confirmation dialog (using docx templates) and insert string and Images at corresponding bookmark position.

foreach (BookmarkRangeStart bm in radRichTextBox1.Document.GetAllBookmarks())
{
        switch (bm.Name) 
        {
           case 'OrderNo':
              //how to replace only content of bookmark leaving formating and bookmark
              break;
            ...
        }
}

Need help - thanks!
Julian Benkov
Telerik team
 answered on 05 Oct 2011
1 answer
127 views

Hi

Sometimes the following exception is thrown in our application:

Parameter is invalid.

ved System.Drawing.Region.GetHrgn(Graphics g)    
ved System.Windows.Forms.Control.GetHRgn(Region region)    
ved System.Windows.Forms.Control.OnHandleCreated(EventArgs e)    
ved System.Windows.Forms.Form.OnHandleCreated(EventArgs e)    
ved System.Windows.Forms.Control.WmCreate(Message& m)    
ved System.Windows.Forms.Control.WndProc(Message& m)    
ved System.Windows.Forms.ScrollableControl.WndProc(Message& m)    
ved System.Windows.Forms.ContainerControl.WndProc(Message& m)    
ved System.Windows.Forms.Form.WmCreate(Message& m)    
ved System.Windows.Forms.Form.WndProc(Message& m)    
ved Telerik.WinControls.UI.RadFormControlBase.WndProc(Message& m) i :linje 0    
ved System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)    
ved System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)    
ved System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

 

No line of code is specified in this exception. One of our customer is using Citrix and this exception is more frequent there.

How can I solve this problem?

The exception is oftenly thrown while refreshing data in RadGridView, RadDatagridviewComboboxes and other controls. Actually I can not reproduce this exception on my machine but in the situation told by customer, we are refreshing data.

Telerik version used by application is v2011.1.11.419.

Any help would be appreciated.

Thanks

Regards

 

Jack
Telerik team
 answered on 05 Oct 2011
1 answer
56 views
hi everybody is there a way that we could loop to selected rows using two buttons button1 and button2, like for example i want the small arrow to point to the first selected row with document name f10_oct1_en.pdf, currently it is pointing to f36_may07_en.pdf, and each time i click the button it jumps to the next selected row which in my case if the arrow is on f10_oct1_en.pdf will go to f21_dec17_en.pdf, same thing will happen to the prev button only going backwards..
i have attached a png file on the thread so you could understand what i mean...
thank you very much...
Emanuel Varga
Top achievements
Rank 1
 answered on 05 Oct 2011
8 answers
89 views
I have used Telerik ASP.net AJAX and Reporting in the past.  I now have a project that seems to lend itself to WinForms, but my concern is that I would rather have it be a web application.  Here is what it needs to do: 
  1. integrate with a currently working classic asp web program  (not a problem as we already have a .net component doing this)
  2. have a bunch (25) of forms that the users will be filling out that will save the data to a database.  the forms are some yes/no questions, some fill in, and some drop down choices: pretty basic stuff just collecting data. 
  3. some users will only be viewing these forms and their data; need to have them open automatically in a pdf.
  4. in some cases, if the user answers a certain question with a Yes, we need to ask the user (probably with a popup box) if they want to do something, and we have to save that response to a separate database.
  5. would like to have some of the questions appear/disappear based on responses to other questions.
  6. need to be able to work offline and then update the database when they are connected at a later time

I would prefer that they don't have a standalone application that has to be installed.  That is my concern with using the WinForms.  Any advice would be appreciated.

Thanks, Amy
Amy
Top achievements
Rank 1
 answered on 04 Oct 2011
6 answers
634 views
I did some searching around, but couldn't find an answer to this.

I have a PageView with 2 tabs that I have set to use the Office2007Silver theme.  I have added images to both of the tab and while those look nice the text on the tabs is too small and I would like to increase it.

I have tried changing the font size in several places, but none of them change the font.

I tried directly in the properties of the PageView object. 

I also expanded the PageView Tasks and clicked "Edit UI Elements" because this section helped me change properties of buttons I'd applied a theme to.  I tried the PageViewLabelElements, StripButtonElements... eventually I changed the font size for every single element in this section, but nothing changed.

So where/how do I change the font size on a tab on a PageView object that has a theme applied to it?

/<evin
Kevin
Top achievements
Rank 1
 answered on 04 Oct 2011
1 answer
94 views
I am using telerik GridView to modify a Visual Studio extension sln. the Gridview has checkboxColumn, textColumn and ImageColumn. CheckboxColumn uses Telerik.WinControls.UI which is a ~7MB dll file. Adding a 7MB reference file within Visual Studio extension package  is not acceptable. Is there any other way I can use Checkbox column without referencing the large dll file.
Emanuel Varga
Top achievements
Rank 1
 answered on 04 Oct 2011
2 answers
131 views
Hi all,

I have to ask a newbie question:

I have a Gridview that displays Data from my Database and I already have the code for INSERT,UPDATE,DELETE..
But I have a TextBoxColumn there named Gender. In the database..it was a field that has Char(1) data type.
 I'll just have to put M or F into this field.

 I want to make this column into a ComboBox column that has 2 items.
Just Male and Female so that the user may not mistake in inputing data


I am a student and totally new to these controls
Thanks 
Ivan Petrov
Telerik team
 answered on 04 Oct 2011
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)
Chart (obsolete as of Q1 2013)
Form
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
Diagram, DiagramRibbonBar, DiagramToolBox
GanttView
Panorama
New Product Suggestions
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
AutoCompleteBox
Label
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
Documentation
SplitContainer
Map
DesktopAlert
ProgressBar
CheckedDropDownList
TrackBar
MessageBox
Rotator
SpinEditor
StatusStrip
CheckedListBox
LayoutControl
SyntaxEditor
Wizard
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
DataEntry
ScrollablePanel
ScrollBar
WaitingBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
BindingNavigator
PopupEditor
RibbonForm
Styling
TaskBoard
Barcode
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
NavigationView
DataLayout
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
Licensing
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?