Telerik Forums
UI for WinForms Forum
4 answers
242 views
Hello,

I`m Using radGridview But KeyPress, KeyDown, CellPaint and Some one else doesn't execute.

Best Regards.
Jack
Telerik team
 answered on 26 Oct 2009
1 answer
119 views
Hi, i have searched the forums and i havent been able to find an answer to this simple question. Our DB server is Oracle and hence it doesnt have a boolean / bit type in it. Any boolean columns are defined as char(1) and the values are set to Y or N (this is stock standard oracle practice).
I want to display data in the radgridview and the most natural column type for the user to use to change values in the Y N column is the checkbox column. Is there any way to bind the column so that if the db value is Y, the check box is checked and if the value is N it is unchecked (and conversly when you check and uncheck the checkbox, the data in the underlying datasource is updated to Y or N),

In the standard .net datagridview, the column has properties called TrueValue  and FalseValue which can be bound as followed to achieve what i am after
CheckBoxColumn.TrueValue = "Y";
CheckBoxColumn.FalseValue = "N";
What is the telerik equivalent?
Martin Vasilev
Telerik team
 answered on 26 Oct 2009
0 answers
115 views
Hi,

In the gridview control how can i make a column accept Return(enter)
Currently if i click enter it takes me to the next cell.

Thanks,

Smitha Test
Top achievements
Rank 1
 asked on 23 Oct 2009
4 answers
152 views
Hi,

We are using the Telerik winform to build our application.
Its working fine at the developer machine
But when its deployed at the client machine it gives the following error as attachment.

We tried using both the XCopy and GAC deployment methods specified in the deployment documentation.

We are using the RadDoc feature in our application. After installing using click once or doing Xcopy it gives an unexpected error page and when we check the event log it gives the error in the attachment.

Please let us know if its a problem with Raddock in itself or we are missing something.

Thanks in advance,
Smitha



Atul Nisar
Top achievements
Rank 1
 answered on 23 Oct 2009
1 answer
108 views
Prior to Q3 2009 Beta, entire trees of ChildGridViewTemplates get skipped entirely when you scroll their Parent GridViewTemplates.  Now that you're using one Vertical Scroll Bar for the entire forest of GridViewTemplates, they're no longer being skipped and you're actually scrolling through them.  This brings up the issue where you're looking at Data Rows of ChildGridViewTemplates with only the Column Headers for the MasterGridViewTemplate showing.  Could you please change the standard behavior or add an optional behavior such that, when a ChildGridViewTemplate Row is currently the 1st Visible Row in the RadGridView, it will either:

a)  pin the Tabs (if any) and Column Headers Rows for that ChildGridViewTemplate just under the Tabs (if any) and Column Headers Rows for the Parent GridViewTemplate of that ChildGridViewTemplate, or

b) replace the MasterGridViewTemplate's Column Headers Row.  This may be preferred because option a could leave you with a cascading tree of Tabs (if any) and Column Headers Rows that will eventually fill up your whole Visible RadGridView depending on how many hierarchy levels you have and the height of your RadGridView.

Telerik 2009Q3 Beta (2009.2.9.1016), VS 2005 (v8.0.50727.762 SP.050727-7600), .Net2 (2.0.50727), XP SP3, Core2Duo 2.99GHZ with 3GB.

Jack
Telerik team
 answered on 23 Oct 2009
3 answers
180 views

Can RadGridView support Export to Excel in Traditional-Chinese chars (in Office2007 Traditional-Chinese)?

I try these scripts, but the Chinese Chars cannot show(I only see the "?" char),

   ExportToExcelML exporter = new ExportToExcelML(this.radGridView1);
   exporter.SheetMaxRows = ExcelMaxRows._65535;
   exporter.ExportVisualSettings = true;
   string fileName = "ExportedData.xls";
   exporter.RunExport(fileName);

thanks for your kindly help.

Edwin


below is some sample data from the generated excel file:


StorerKey Type Company VAT Address1 Address2 Zip Contact1 Contact2 Phone1 Phone2 Fax1 Fax2 Email1 Email2 MemberID MemberAddDate ShortCode ShortName Phone Contact3 Phone3 Http TransactionCount TransactionAmount AvailableAmount LastTransactionDate DeliveryType PayType TaxType isVendor SaleMan SaleMan1 SaleMan2 SaleMan3 SaleManPhone1 SaleManPhone2 SaleManPhone3 SaleManMobile1 SaleManMobile2 SaleManMobile3 ContactMobile1 ContactMobile2 ContactMobile3 CounterNO SearchPath ChannelStorer GroupNo InvTitleCode BelongtoChannelStorer ISCusLabel PrePayAmount DeadAmount UseCase Zone SalesPermotePercent InvoiceTitle ZoneCombineType IsInvoice ZeroAmountNewTicketAllowed SendShippingTKByPDFFtpFolder SendShippingTKByPDFFtpFolderOn SendShippingTKByPDFEMail SendShippingTKByPDFFax SendShippingTKByPrintOut ShippingTKByPDFFtpFolder CurrentMonth_NotPayedMoney LastMonth_NotPayedMoney Last2Month_NotPayedMoney Over2Month_NotPayedMoney SubZone isPaperVendor SafetyPriceState SafetyPriceStateSystemInfoDate SafetyPriceStateInfoMan SafetyPriceStateInfoType SafetyPriceStateInfoDate isShipTKNotes ManufactureCompanyKey CompanyDetailKey Contact1Email Contact2Email FTPDataEmail AllowedAmount isOPVendor isSelfVendor UniqueTicket isCompanyInvoiceTitle ClientSystem Stop SalesNotes IssueMark Notes1 Notes2
0000000850 162 ???(??:????)   ????????????1?3?14?3-1? ????????????1?3?14?3-1? 427 ??? ??? 04-25336789 04-25336789 04-25316699       B0624 37622   ??? 04-25336789       112 237222 3430 39989.29 14 3 0 N SA SALE010 SARA SA 0970-066321#6026           0932-533263 0932-533263     \\dl360\f7\???\0000000850_????   F7-??? 00001   Y 0 0   0051 1.1   B Y Y N N N N Y   0 0 0 0     0         Y 00001 G0001       -5000 N N N N            

Martin Vasilev
Telerik team
 answered on 23 Oct 2009
5 answers
665 views
I have a radtabstrip in a VB.NET project. examples to add and remove tabs have been noted and used.
using values from a database, tabs with unique names are created. how do i check whether the tab already exists prior to creating it?

Cheers


  
Erwin
Top achievements
Rank 1
 answered on 22 Oct 2009
1 answer
484 views
I have a dock component with a Toolwindow on the left (classical case) and a maximum of 4 documentWindows which are created on demand (A "new" button in the ribbon bar).

So, I can clic on DocumentWidows to select one of them and do some action in the toolwindow (select a date for example) to refresh the content of the selected DocumentWindow.

My problem is : How can I get the active documentWindow?

I've tried MyDock.ActiveWindow but it constantly return the ToolWindow because when in clic on the controls inside my toolWindow, it activate it.

What is the "best practice" to do what I want?

Thank you
Nikolay
Telerik team
 answered on 22 Oct 2009
0 answers
164 views
Hello,

I`m using Q3 2008 WinForms, And i use RadGridView and wanna Remove some rows when user click on a bottum on form. I used this code to remove rows one by one.

DialogResult mr = new DialogResult();  
mr = MessageBox.Show("Are U Sure?");  
if (mr == DialogResult.OK)  
            {  
                Telerik.WinControls.UI.GridViewDataRowInfo Row;  
                int RCount = GridHdr.SelectedRows.Count();  
                for (int I = RCount - 1; I > -1; I--)  
                {  
                    Row = (Telerik.WinControls.UI.GridViewDataRowInfo)GridHdr.SelectedRows[I];  
                    Row.Delete();  
                    BindingSourceHdr.EndEdit();  
                    AdapterHdr.Update(dBDataSet);  
                }  
            } 

before this code i`m using foreach statement but in two statement i have problem whit Removing
foreach(GridViewDataRowInfo Row in GridHdr.SelectedRows)  
{  
  Row.Delete();
  BindingSourceHdr.EndEdit();  
  AdapterHdr.Update(dBDataSet);  
when one row was deleted SelectedRows Collection was change and exception occord in runtime.

Regards
Hamid
HamiD Mayeli
Top achievements
Rank 1
 asked on 22 Oct 2009
2 answers
140 views
It is our pleasure to announce the availability of Q3 BETA for RadControls for WinForms. Among the many improvements in the controls, the Beta preview of Telerik’s Q3 release focuses on optimizations in Telerik Presentation Framework allowing for breaking improvements in performance. Full information on the beta you will find in our Beta Lab and in the Release Notes.
 
The downloads are now available in your account (or free trials):



Please, use the Beta Forum to post your feedback.
 
Enjoy!
Nick
Telerik team
 answered on 22 Oct 2009
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
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?