Telerik Forums
UI for WinForms Forum
1 answer
149 views
Hello every body,

i want to display full size of an control (Panel) within an RadPanelBar.
I just see a part of it. I have set AutoScroll = false, it turn back to true.

How can i display the whole child control of RadPanelBar without seeing
the scrollbar?

Would you kindly help me? 
Alexander
Telerik team
 answered on 09 Sep 2010
5 answers
365 views
Hello Team Telerik,

This is very likely a simple question to answer:

My test winforms application (Telerik Winforms components Q2 2010) has one RadPageView component on Form1. Each Button1 click will create a new PageViewPage and put a RadDock on it (see code below). Running this app from within VS2008 will show in Windows Taskmanager (Windows 7 32 bit) after the application-start approx. 40MB memory working set. Clicking 20 times on Button1 will increase the memory to approx 80MB. Closing all pages by clicking on the X button of the PageView TabStrip will not reduce the amount of used memory (instead creating another set of 20 pages by clicking Button1 will result in further increased memory allocation). 

namespace WindowsFormsApplication4
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
 
        private void button1_Click(object sender, EventArgs e)
        {
            RadPageViewPage page = new RadPageViewPage();
            page.Text = "Page";
 
            RadDock dock1 = new Telerik.WinControls.UI.Docking.RadDock();
            dock1.Dock = System.Windows.Forms.DockStyle.Fill;
 
            page.Controls.Add(dock1);
 
            this.radPageView1.Pages.Add(page);
            this.radPageView1.SelectedPage = page;
        }
    }
}

Trying to  remove dock1 from the page and disposing it when the page is removed did not help:
private void radPageView1_PageRemoving(object sender, RadPageViewCancelEventArgs e)
        {
            RadDock dock1;
            RadPageViewPage page = this.radPageView1.SelectedPage;
            if (page != null)
            {
                Control[] pagecontrols = page.Controls.Find("radDock1", false);
                int numerofpagecontrols = pagecontrols.Length;
                if (numerofpagecontrols == 1)
                {
                    dock1 = (RadDock)pagecontrols[0];
                    page.Controls.Remove(dock1);
                    dock1.Dispose();
                }
            }
        }

Thank you very much for any feedback.
Regards,
Ralf
Nikolay
Telerik team
 answered on 09 Sep 2010
7 answers
1.0K+ views
Hello everybody.

I have a problem with rad drop downlist.
My drop down list is unbound and populated during runtime, every item having text and value.
A valid value to be displayed should be 'no selection' => SelectedValue = null
The selected item should change after the selected node in a tree view is changed

When I first select item which have null as value for the drop down list, everything's ok.
But after an entry from the DrowDownList was selected and the try to change the SelectedValue to null, I have the problem, that even though the SelectedValue seems to be null, the text of the last selected item is still displayed.

I tried setting the value to NULL by using:
  • SelectedValue = null;
  • SelectedIndex = -1;
  • SelectedItem = null;

All produced the same result: The SelectedValue is null when I check, but there is still text displayed.
So, my question is: how can I reset the DropDownList to a state where no item is selected by code.

Thanks for any help

Baldwin
Top achievements
Rank 1
 answered on 09 Sep 2010
3 answers
631 views
Hi,
I have a gridview with rows added at runtime. i have some 5 radcheckbox columns. I wish to detect changes made to checkbox columns. i.e checked state.
I am trying to use the cell_beginedit and cell_endedit events.
I am using 2010 Q1

Problems:
Begin event fires perfectly on first checkbox checked state change. After the event finishes the end event must fire. It only fires whence i change checked box state in another row. else on the same row same checked box cell it wont fire. If i change state of a checkbox cell continuosuly , the beginedit event only fires the first time, next time it doesn't fires because the editor hasn't ended. 

I tried to close the editor myself in the begin edit event but nothing happens.

void gvLiveCnns_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)
{
    // Do some work, cancel event if work not performed as expected
    this.gvLiveCnns.EndEdit();
    this.gvLiveCnns.ActiveEditor.EndEdit();
    this.gvLiveCnns.CloseEditor();
}

Any solution to this problem. Please provide a solution using this event only as i wish to cancel out editing event if worked not performed as expected.

Thank you.
Jack
Telerik team
 answered on 08 Sep 2010
1 answer
79 views
I'm evaluating your controls for use in my project and I have a question.

This is my case:
1. I use SQLite Db and I would like to display data from specific table in the Grid.
2.I wold like to access all attributes of the row(s) selected in the grid (when user invokes context menu).
    The context menu will depend on certain attributes of the Row. (some menu items will be enabled or disabled).


How can I accomplish this?
Svett
Telerik team
 answered on 08 Sep 2010
6 answers
297 views
Hi,

Is there a way to increase the resource header width and the font color.

Please see the attached image.

thanks
Dobry Zranchev
Telerik team
 answered on 08 Sep 2010
3 answers
205 views
I am using Linq to fill a gridview like so...

Private Sub findCustomer(Optional ByVal s As String = Nothing)
        Dim cs = From c In cA.Select(False) Where _
                 IIf(IsNothing(s), 1 = 1, c.cLastName Like s & "*") _
                 Select New With _
                   { _
                     .Name = c.cLastName & ", " & c.cFirstName, _
                     .Phone = c.cPhoneHome & " / " & c.cPhoneWork, _
                     .DOB = c.cDateOfBirth _
                   }
        _totalCount = cs.Count
        _currentCount = 0
        loadCustomers()
    End Sub

and now all the information loads correctly and it looks fine, but no matter what I tweek or set, or change, the font on the records is always at 8 pts. and I would like it to be larger like around 14 pts.  Everything else on the grid view shows at 14, but the records that are loaded into it, are still small. 

How would I set that to a larger font?
Svett
Telerik team
 answered on 08 Sep 2010
2 answers
161 views
Hi,

I have GridView 2010.2.10.713 WinControls,
Using the built in filtering in the GridView binding with a datatable. All other filter methods work but null/

Whenever I say is Null or is not null, nothing happens, then after trying different filters with values it sometimes works.

Thanks
-Eric

Svett
Telerik team
 answered on 08 Sep 2010
3 answers
186 views
Hi
Our company try to test your products especially your winform controls to make a decision to buy it. Your product is well designed
but we encoutered several problems. One of them (and perhaps the biggest) is that your radgridview doesn't work with Tahoma, Zar and other Arabic fonts. Please inform us or give a way to fix this.
Besh Regards
Ahmad
Svett
Telerik team
 answered on 08 Sep 2010
4 answers
343 views
Hello All

I am trying to use your sample database and i have binded your sample database with scheduler,whenever i tried to save the appointment this error come

Unable to cast object of type 'System.Guid' to type 'System.IConvertible'.Couldn't store <995f3481-b5a0-4435-82ec-137fb699b43b> in ID Column.  Expected type is Int32.

Please guide me to find the solution.

Thanks & regards
Pulkit
Dobry Zranchev
Telerik team
 answered on 08 Sep 2010
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
PdfViewer and PdfViewerNavigator
CommandBar
ListControl
Carousel
GanttView
Diagram, DiagramRibbonBar, DiagramToolBox
Panorama
New Product Suggestions
VirtualGrid
Toolstrip (obsolete as of Q3 2010)
Label
AutoCompleteBox
Spreadsheet
ContextMenu
Panel
Visual Studio Extensions
TitleBar
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
SyntaxEditor
Wizard
CollapsiblePanel
LayoutControl
ShapedForm
TextBoxControl
Conversational UI, Chat
DateTimePicker
TabbedForm
CAB Enabling Kit
WaitingBar
GroupBox
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
FileDialogs
ColorDialog
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
NavigationView
BindingNavigator
RibbonForm
Styling
Barcode
PopupEditor
TaskBoard
Callout
ColorBox
PictureBox
FilterView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
BreadCrumb
ButtonTextBox
FontDropDownList
BarcodeView
Overlay
Security
LocalizationProvider
Dictionary
TreeMap
StepProgressBar
SplashScreen
Flyout
Separator
SparkLine
ToolbarForm
NotifyIcon
DateOnlyPicker
AI Coding Assistant
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
SpeechToTextButton
SmartPasteButton
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?