Telerik Forums
UI for WinForms Forum
4 answers
387 views
Hey Guys

Scratching my head over this one.. I have a grid populated by an SQL query.

On queries that require the vertical scroll bar to be shown , the first search displays with the Grid at the top of the results. ( scroll position at the top)

If I just hit search again without touching anything else... the scroll goes to the last row every time.

I have even tried setting this at the end of each search , but still the scroll appears at the end of the selection after the first populate.

 

Me.RadGridView1.TableElement.ScrollTo(0, 0)

 

 

I hate spending hours on something that is probably very easy !  It must be something I am doing to clear the Grid and repopulate it.. but haven't managed to find it!.

Any hints / thoughts?

Thanks

Rob

 

Jack
Telerik team
 answered on 22 Nov 2012
8 answers
258 views
Hi,

How to get the  row Border Coordinates of a gridView for a winform application.

Regards,
Vishal
Plamen
Telerik team
 answered on 22 Nov 2012
2 answers
68 views
How to change Style.BackColor property for particular Cell?
Plamen
Telerik team
 answered on 22 Nov 2012
12 answers
224 views
In radGridView I've GridViewComboBoxColumn column:
GridViewComboBoxColumn MemberColumn = new GridViewComboBoxColumn();
            MemberColumn.Name = "MemberColumn";
            MemberColumn.HeaderText = "Member";
            MemberColumn.DataSource = ctx.Members;
            MemberColumn.ValueMember = "MemberID";
            MemberColumn.DisplayMember = "MemberName";
            MemberColumn.FieldName = "MemberID";
            this.ResultGridView.Columns.Add(MemberColumn);

In EF model I've One to One Relationship:
Link
I want to show in MemberColumn dropdownlist show only not added items to ResultGridView from Members Entity.
Because user can't add twice 1 member to Data table.
Thanks



Julian Benkov
Telerik team
 answered on 22 Nov 2012
8 answers
1.6K+ views
Hi, i want to know how to set  row header text in datagird. usually, the icon arrow was displayed.
Plamen
Telerik team
 answered on 22 Nov 2012
1 answer
391 views
Does GridView use an internal in memory bitmap buffer and then bitblt or does use GDI vector api to paint itself on the screen?

Experiment:  Application using RDP terminal server 6.1. Slow bandwidth, high latency connection, rdp server in europe and rdp client in USA east coast.

The grid is drawn slowly, a little box (about 100x100 pixel) appears in the upper left corner, then other boxes are slowly drawn on client screen.

Actually the same data displayed by legacy microsoft access 97 is 10x faster.

How can we improve responsiveness, paying whatever is necessary in terms of ugliness, quality, flickering, whatsoever?

Best Regards.

Jack
Telerik team
 answered on 22 Nov 2012
1 answer
204 views
Hello,
Since Test Studio has no plans to support testing Telerik WinForm applications could you advice a tool or may be tricks for solving this problem?

The best regards,
Igor
Plamen
Telerik team
 answered on 22 Nov 2012
13 answers
628 views
Hi

I am new to Yelerik controls and need some help..

I am having a problem looping trough selected items in a ListBox and get the selected value of the item..

Usually i would do this in a foreach loop:

private ArrayList GetItems() 
        { 
            ArrayList retVal = new ArrayList(); 
            for(int i = 0; i < listBoxLanguages.Items.Count; i++) 
            { 
                if(listBoxLanguages.GetSelected(i) == true
                    retVal.Add(i); 
            } 
            return retVal; 
        } 

but this does not work in RadListBox control...... GetSelected method does not exist :-(

Any help in appreciated.
Stefan
Telerik team
 answered on 22 Nov 2012
4 answers
406 views
The documentation does not show how to capture the events from the custom Item buttons.

http://www.telerik.com/help/winforms/listview-custom-items.html

Please can we have an example in vb.net 

thanks
Stefan
Telerik team
 answered on 22 Nov 2012
1 answer
315 views
Hi Telerik Team,

I am getting this error:

,"App Excep: System.Web.HttpException: An error occurred while communicating with the remote host. The error code is 0x80070001. ---> System.Runtime.InteropServices.COMException (0x80070001): Incorrect function. (Exception from HRESULT: 0x80070001)

   --- End of inner exception stack trace ---

   at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)

   at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer, Int32 offset, Int32 size)

   at System.Web.HttpRequest.GetEntireRawContent()

   at System.Web.HttpRequest.FillInFormCollection()

   at System.Web.HttpRequest.get_Form()

   at System.Web.HttpRequest.get_Item(String key)

   at Telerik.Web.UI.RadCompression.IsAjaxRequest()

   at Telerik.Web.UI.RadCompression.Compress(HttpApplication application)

   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Monday, November 19, 2012   at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)

   at System.Web.Hosting.IIS7WorkerRequest.ReadEntityCoreSync(Byte[] buffer, Int32 offset, Int32 size)

   at System.Web.HttpRequest.GetEntireRawContent()

   at System.Web.HttpRequest.FillInFormCollection()

   at System.Web.HttpRequest.get_Form()

   at System.Web.HttpRequest.get_Item(String key)

   at Telerik.Web.UI.RadCompression.IsAjaxRequest()

   at Telerik.Web.UI.RadCompression.Compress(HttpApplication application)

   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)Void RaiseCommunicationError(Int32, Boolean)System.Runtime.InteropServices.COMException (0x80070001): Incorrect function. (Exception from HRESULT: 0x80070001)",2012-11-19 19:45:51.227

 


This error is coming on the production server. this is not coming on local or the staging server. I am using asp.net 2.0 and sql server 2008. and using telerik..is this something related to telerik..
please help..this is urgent.. i think this errror comes when there is load on the server.
Martin
Telerik team
 answered on 22 Nov 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?