Telerik Forums
UI for WinForms Forum
2 answers
122 views
Hi

Visually the grid always shows as having focus even though some other control has focus. Can that be avoided?

Kindly advise any solution.

Regards!
Zerka
Top achievements
Rank 1
 answered on 01 Mar 2011
2 answers
120 views
Hi,
   is there any way to set and and grid row like this example given below

1)   Dim RowNum As Integer=grd.Row
2)   grd.Row=i

* Where Row is grid property which gives row number
* where i is an integer like 1,2,3,.................................
meraj
Top achievements
Rank 1
 answered on 01 Mar 2011
17 answers
377 views
Hello,

I have a hierarchical GridView with about 250+ rows. Scrolling through the grid page at a time by clicking on the scrollbar throws exception.

      Object reference not set to an instance of an object.
         at Telerik.WinControls.UI.GridTraverser.StepInHierarchyBackward()
         at Telerik.WinControls.UI.GridTraverser.MovePreviousCore()
         at Telerik.WinControls.UI.GridTraverser.MovePrevious()
         at Telerik.WinControls.UI.ItemScroller`1.ScrollUp(Int32 step)
         at Telerik.WinControls.UI.ItemScroller`1.thumbTimer_Tick(Object sender, EventArgs e)
         at System.Windows.Forms.Timer.OnTick(EventArgs e)
         at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
         at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
         at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
         at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
         at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
         at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
         at System.Windows.Forms.Application.Run(Form mainForm)
         at GridSample1.Program.Main() in C:\Users\MyUserName\Documents\GridSample1\Program.cs:line 18
         at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
         at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
         at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
         at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
         at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
         at System.Threading.ThreadHelper.ThreadStart()


My code was working fine until Q2 2010 SP1. My current version is Q3 2010.

Thanks.
Ivan Todorov
Telerik team
 answered on 01 Mar 2011
2 answers
394 views
Hi

           I am used radgridview in my vb.net project. Here i validate the a particular cell which is only acceptable numeric letters and point separators. The particular cell is in edit mode. How its to validate using vb language.

Please send any sample vb.net project attached for my reference.

Thanks
Allwin
 
Richard Slade
Top achievements
Rank 2
 answered on 01 Mar 2011
2 answers
115 views
Hello!

We started our trial of the Telerik controls yesterday, and one of our main points for evaluating is the WPF suite.  We are current Sitefinity customers and all of our shop has used the Telerik development suite in the past at former jobs, so we are looking to purchase this suite and not have to go to a competitor.  We were a bit disappointed to see that the trial is .NET 3.5 only (unless I'm missing something?).  When I saw that the beta was in .NET 4.0, that looked much more appealing.  Plus, the controls that are new in the 2011 release are all controls we really need for our project (two of them are dealbreakers or dealmakers).  I looked around but I don't see a way to download the beta.  Is that not available when you are in a trial period?  I realize the controls are still in beta and it wouldn't be in great taste to make an evaluation off of beta code, but we are VERY familiar with Telerik and how great the controls are, so we're not afraid of a few bugs.  It's pretty easy for us to tell what is a Telerik limitation and what is a bug since we've all done Telerik-based projects in the past. I feel like we cannot do a proper evaluation without the controls being in .NET 4.0 and not having the new controls available.  I see the release isn't until next month, but, unfortunately, we need to make a decision before then.

I tried to submit a support ticket, but my account says I am not licensed to submit a ticket, so I didn't know where else to go other than the forums.

Is there any way to get a direct link to the WPF 2011 Q1 beta?

Much appreciated,
Doug 
Doug
Top achievements
Rank 1
 answered on 28 Feb 2011
6 answers
128 views
I have a ribon bar with a couple of ribon bar buttons groups. I added some butons with icons. After a while I changed the icons and  i deleted the old icons. After a couple of hours of normal working, I started getting error messages about the old icons that were deleted. THe error message complain about missing these old icons. I closed the solution and reopened and surprise , all my buttons on ribbon bar dissapear, the only things remaining are ribbonbbarbuttongroup.

I work with VS2008

So where are all my buttons ????

Stefan
Telerik team
 answered on 28 Feb 2011
2 answers
118 views
Hey I just noticed that if you setup a Yearly Recurrence using the second option it doesn't work correctly.
It doesn't always reoccur yearly.

Example 1:
If I choose for the appointment to recur every first day of March with a end after count of 4, it reoccurs as a daily recurrence. 

Bottom line: as far as I can see is if you have First selected in the first drop-down or anything other than a Weekday selected in the second opt. it screws things up.

Is there a fix for this?
Thanks!
Dobry Zranchev
Telerik team
 answered on 28 Feb 2011
2 answers
143 views
I am using a Q3 2010 RadTreeView with "ShowLines" and "Show RootLines" set equal to "True" and LineStyle = "Solid".  I have the Theme set to "Windows 7" which theme is also dropped on the parent Form.

I have only one root node added at design time.  That nodes "lines' shows as configured in the Designer.  But as soon as I run the program, the line disappears.   When my code adds many other nested child nodes, no lines show for any of them either.

The .CHM file mentions only the "ShowLines" property without referring to any other required associated properties.  Is there an associated property I need to set.to get the lines to show at run-time?   Is there something about the Windows 7 theme that overrides my "ShowLines" setting?  (I would expect explicit manual property settings to override any theme's defaults).

Thank you.
-Bob
Julian Benkov
Telerik team
 answered on 28 Feb 2011
4 answers
313 views
HI all,

Is it possible to arrange columns so that they will look like this:
----------------------------------------------------------------------------
                                               |   c o l u m n   h e a d e r 2
                                               --------------------------------------
c o l u m n   h e a d e r 1   |   c o l u m n   h e a d e r 3
                                               --------------------------------------
                                               |   c o l u m n   h e a d e r 4
----------------------------------------------------------------------------
                                               |   column 2 data
                                               --------------------------------------
column 1 data                       |   column 3 data
                                               --------------------------------------
                                               |   column 4 data
----------------------------------------------------------------------------

I've tried this with HTMLViewDefinition, but it doesn't help a lot. Using HTMLViewDefinition I faced issues with setting correct widths for the columns (every time it either auto fills if AutoSizeColumnsMode is set to 'Fill', or shrinks if it set to 'None').

Setting a view.RowTemplate.Rows[0].Cells[0].Width to any value doesn't help as well.

I've read this discussion about using one column header for two columns, located here:
http://www.telerik.com/community/forums/winforms/gridview/span-multiple-columns-with-gridview-header.aspx
But not sure that it could be used in my case.

Also, I've took a look at these two articles:
http://www.telerik.com/help/winforms/overview2.html
and
http://www.telerik.com/help/winforms/columngroupsview.html

Could you please advise on how to arrange columns the way I need?

Cheers,
P
Martin Vasilev
Telerik team
 answered on 28 Feb 2011
3 answers
181 views

Hi,
I have got a problem with the "ScrollControlIntoView" Method of the Radpanelbar control.

After the "radPanelBar1_PanelBarGroupCollapsing" Event, the collapsing Item should scroll into view.
The function should be likely this.

private void radPanelBar1_PanelBarGroupCollapsing(object sender, PanelBarGroupCancelEventArgs args)
        {
            this.radPanelBar1.ScrollControlIntoView(this.radPanelBar1.Controls[this.radPanelBar1.Items.IndexOf(args.Group)]);
        }

but it doesn't work. Please help me.
Ivan Petrov
Telerik team
 answered on 28 Feb 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)
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
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?