Telerik Forums
UI for WinForms Forum
0 answers
52 views
Dear Ivan Petrov

thanks a lot for your answer it was very useful, now I have an other problem, I want to change alignment to right, I searched and found a suggest, but it wasn't any useful for me, and I want to get color to get rectangle, but argb color's property is read only and I can't to do this and totally I want to change properties in the print for example : get page border, get alignment, get color, etc. but I can't do it.
would you can help me.
best regard.
Maryam
Maryam
Top achievements
Rank 1
 asked on 11 Jun 2012
2 answers
416 views
Hi
I used PropertyGrid . I defined item that is type of boolean and want to get value change and store this value in datatable 
i can't find property value in this event and don't know how to use GetValue(radProperty) .
How can do this ?
Atefeh
Top achievements
Rank 1
 answered on 11 Jun 2012
2 answers
100 views
Hi,
Using a radtreeview with an access db with my data in a recursiv datatable, I would like to go through each element of the radtreeview to retrieve the displaymember and do some additional processes. Something like:
foreach(.... )
{
Parent -> go through each child of it -> if there are grandchildren-> go through each grandchild of child...
get_the_displayname_and_print_it()
.... do whatever...
}
and so on.
Can someone give me some support in this issue?
Thanks
Karl

Karl
Top achievements
Rank 1
 answered on 10 Jun 2012
3 answers
420 views

 

 

Hi.
I used RadDropDownListEditor  in my gridview.when press tab Key and enter it,and start write with keyboard
i have a problem.but when enter this cell with Mouse I don't have any problem.
I used RadDropDownListEditor  in ver2011 and don't have any problem.
but now Use ver2012.this problem is exist.


private
void GrdCheck_CellBeginEdit(object sender, GridViewCellCancelEventArgs e)

 

{

 

 

    if (GrdCheck.CurrentColumn is GridViewComboBoxColumn)

 

    {

 

 

        if (GrdCheck.CurrentColumn.Name.ToString() == "BankRef")

 

            {

 

 

            RadDropDownListEditor comboBoxEditor = this.GrdCheck.ActiveEditor as RadDropDownListEditor;

 

 

 

            if (comboBoxEditor != null)

 

            {

                comboBoxEditor.EditorElement.StretchVertically =

 

false;

 

                comboBoxEditor.DropDownStyle = Telerik.WinControls.

 

RadDropDownStyle.DropDownList;

 

                comboBoxEditor.DropDownSizingMode =

 

SizingMode.UpDownAndRightBottom;

 

            }
            }
    

 

}

 

}

 

 

 

private void GrdCheck_CellEditorInitialized(object sender, GridViewCellEventArgs e)

 

{

 

 

    if (GrdCheck.CurrentColumn.Name.ToString() == "BankRef")

 

    {

 

 

        RadDropDownListEditor cmb = GrdCheck.ActiveEditor as RadDropDownListEditor;

 

 

 

        if (cmb != null)

 

        {

            ((

 

RadDropDownListEditorElement)(cmb).EditorElement).DisplayMember = "Descr";

 

            ((

 

RadDropDownListEditorElement)(cmb).EditorElement).ValueMember = "Id";

 

 

            ((

 

RadDropDownListEditorElement)(cmb).EditorElement).DataSource =DtBankCheck;

 

            ((

 

RadDropDownListEditorElement)(cmb).EditorElement).SelectedIndex = -1;

 

            ((

 

RadDropDownListEditorElement)(cmb).EditorElement).ShowPopup();

 

        }

    }
}

Peter
Telerik team
 answered on 08 Jun 2012
4 answers
1.1K+ views
Hi:

I found a way to disable wimform's close button on codeproject

http://www.codeproject.com/KB/cs/DisableClose.aspx

but it's not working  on R.A.D form (Q1 2009 SP1)  with vista theme.

can you provide a way to disable close button of R.A.D form?

thanks.
Ivan Petrov
Telerik team
 answered on 08 Jun 2012
1 answer
161 views
I am using a Web Method to fill a telerik combobox that is in a user control. (see http://demos.telerik.com/aspnet-ajax/combobox/examples/populatingwithdata/autocompletesql/defaultcs.aspx ).  I would like to put the Web Method code in the code behind for the user control rather than the mainpage code.   

<telerik:RadComboBox ID="RadComboBox4" runat="server" Width="250px" Height="150px"
                EmptyMessage="Select a Company" EnableLoadOnDemand="true" ShowMoreResultsBox="true"
                EnableVirtualScrolling="true"
>
                
<WebServiceSettings Method="GetCompanyNames" Path="defaultcs.aspx" />
</telerik:RadComboBox>


So for the path, I would like to put: Path = "usercontrol1.ascx" rather than Path = "defaultcs.aspx", but it cannot find the web method.  Is it possible for a user control to call a web method that is in the code behind for the user control?

Ivana
Telerik team
 answered on 08 Jun 2012
2 answers
125 views
I am working on creating automated tests with CodedUI and I am having problems with the RadDropDownList. I can't verify the values that the RadDropDownList is set to. Whenever i try to verify the values CodedUI points to the a generic text box on the page. I am using version 2011.2.11.831. Even if I get a hold of the list the selected string value == null even when a value is selected.

I see that RadDropDownList is supports CodedUI so I wonder if I am doing something wrong or if there is a bug. Any help would be greatly appreciated. 
Peter
Telerik team
 answered on 08 Jun 2012
1 answer
356 views
Sorry for the stupid question, I can not understand what is the control to use for make the navigation bar in the main form of your examples... see the link

http://imageshack.us/photo/my-images/51/navigationbar.jpg/
Nikolay
Telerik team
 answered on 07 Jun 2012
1 answer
188 views
Good morning, I need to reload the radscheduler from the database, how I can do it? basically I need to reload as when you open for first time the form that contain the RadScheduler but without closing the form.
Thanks.
Ivan Todorov
Telerik team
 answered on 07 Jun 2012
1 answer
227 views
Hello,
i want to use two finger at same time over a panel with multitouch pad device. for example if i drag my both fingers to right, show text toRight, or if i drag my two fingers upside, another event. how can i recognize my fingers move which direction? i want to use panGesture, but it doesnt work:). 


        private void radPanel1_PanGesture(object sender, PanGestureEventArgs e)
        {
           if (e.IsEnd)
           
                if (mouseUP.X > mouseDown.X)
                    MessageBox.Show("toright");
                else if (mouseUp.X < mouseDown.X)
               MessageBox.Show("toleft");
        }


I'm appreciate if you help me
Gary
Ivan Todorov
Telerik team
 answered on 07 Jun 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?