Telerik Forums
UI for WinForms Forum
5 answers
196 views
Hi

            RadGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill
            or
            RadGridView1.MasterTemplate.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill

            is it possible to fit 100%?

Thank You
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 15 Oct 2014
1 answer
198 views
I am trying to provide a hide and show functionality with tabbed DocumentWindow instances.

The idea is to hide all DocumentWindow instances except one, and then later re-show all the hidden DocumentWindow instances.

The issue is that after hiding them, these windows are no more accessible through the Dock object.
Even when I add the following line when I create a new DocumentWindow instance.
 
documentWin.CloseAction = DockWindowCloseAction.Hide;<br>

It seems as if the Hide() method actually closed the DocumentWindow.

Appreciate any help on this issue.
Thanks
Meir
Dimitar
Telerik team
 answered on 15 Oct 2014
3 answers
146 views
I was wondering if there is a way to change all RadPanorama tile Backcolors at once instead of going through each tile individually.
Shahiran
Top achievements
Rank 1
 answered on 15 Oct 2014
2 answers
560 views
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<script type="text/javascript">  
    function ShowMessage(url) {  
        var win = GetRadWindowManager().GetWindowByName("Message");  
        win.SetUrl(url);  
        win.SetSize(600, 430);  
        win.Show();  
    }  
</script> 
 
<span style="font-size:medium; font-weight:bold"><asp:Label ID="lblTitle" runat="server" Visible="false"></asp:Label></span>  
<br /><br /> 
<asp:GridView ID="gvMessages" runat="server" AllowPaging="True" AllowSorting="False" AutoGenerateColumns="False" onpageindexchanging="gvMessages_PageIndexChanging">  
    <PagerSettings Mode="NextPreviousFirstLast"   
        FirstPageImageUrl="~/DesktopModules/Message/Images/first.gif"   
        FirstPageText="First"   
        LastPageImageUrl="~/DesktopModules/Message/Images/last.gif"   
        LastPageText="Last"   
        NextPageImageUrl="~/DesktopModules/Message/Images/next.gif"   
        NextPageText="Next"   
        PreviousPageImageUrl="~/DesktopModules/Message/Images/previous.gif"   
        PreviousPageText="Previous" /> 
    <Columns> 
        <asp:TemplateField> 
            <ItemTemplate> 
                <div id="divMessageTitle" style="overflow: hidden; width: 150px; text-overflow: ellipsis" Wrap> 
                    <asp:Literal ID="ltMessageTitle" runat="server" Text='<%# FormatTitle(Eval("MessageTitle"), Eval("MessageStyle")) %>'></asp:Literal> 
                </div> 
                <href='#' style="font-size:10px" onclick="ShowMessage('<%# Page.ResolveUrl("~/DesktopModules/Message/Message.aspx?msgid=" + Eval("MessageId")) %>');">[more]</a> 
                <br /> 
                <br /> 
            </ItemTemplate> 
        </asp:TemplateField> 
    </Columns> 
</asp:GridView> 
<asp:Literal ID="ltContent" runat="server"></asp:Literal> 
<br /><br /> 
<telerik:RadWindowManager ID="Singleton" runat="server" Skin="Outlook">  
    <Windows> 
        <telerik:RadWindow ID="Message" runat="server" Modal="True" Behavior="Close" /> 
    </Windows> 
</telerik:RadWindowManager>
 

This is the code which I am using to show a popup on radwindow through javascript but when I run the page the var win = GetRadWindowManager().GetWindowByName("Message"); returns null

please help me on this, the version I am using is 2009.2.826.35


Regards,

Roshin.K

niraj
Top achievements
Rank 1
 answered on 14 Oct 2014
1 answer
138 views
Note: SelectionMode is "FullRowSelect".

Example:
Let us assume the user has 3 rows selected and the "CurrentCell" is the second cell on the third row.

If the user holds Ctrl and clicks the second cell of the third row (still CurrentCell), then the third row will be deselected (highlight goes away).

However, mygrid.SelectedRows.Count is still 3 and SelectionChanging does not fire!

If the user had instead held Ctrl and clicked any other cell in the third row, the visual update is the same but the grid will additionally fire the SelectionChanging event and SelectedRows.Count will be 2, as expected.

This seems like a bug, how can I make this functionality be made more intuitive for the end user?
George
Telerik team
 answered on 14 Oct 2014
3 answers
304 views
Let's say I have a RadButton of width 200 px.  I want the button text to be automatically shortened with an ellipsis (...) at the end if the text is too long to fit in the button width.

How do I do that?
Stefan
Telerik team
 answered on 14 Oct 2014
1 answer
105 views
Hello,

Is it possible to take pre-made telerik theme and customize it?

We really like the "Office2010Black" theme but we want to change some of the colors
Is it possible to customize this theme? this will save us a lot of work

Thanks
Dimitar
Telerik team
 answered on 14 Oct 2014
2 answers
197 views
Hi, how to make panaroma tiles undraggable?
George
Telerik team
 answered on 14 Oct 2014
1 answer
101 views
I need to have a button appear in a cell depending on another column. How can I accomplish this?

For example in the Cascading Combobox Example I would like to see a button appear in Food for rows where Vegetables are selected and I would like the dropdown cell to appear when Fruits are selected.

FYI I am wanting this button to launch a complex dialog that will return data to the cell when closed.
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 14 Oct 2014
1 answer
124 views
Hi, 

We are using a RadDocument using the paged layout to show tabular content.
We create a table and inside each row we place some paragraphs. These paragraphs may have "SpaceAfter" property to zero, one or two lines. 

One requisite of our application is to know how many rows are in each of the pages, so we can insert an extra row at the bottom of each page summarising the page rows and save it as a word document.

We were using the method "GetAssociatedLayoutBoxes" to get the layout box associated with each row and its heigth. However it seems that the size of the box is different than the actual size when exported to word using the DocxExporter.

It seems that the layout engine works different in RadRichTextBox than MS Word. For example, if I open the same document using word it appears that 12 rows are shown on the first page, but if I open the same document using RadRichTextEditor there will be 16 rows shown on the first page. The page margins are the same in both cases.

After deeply looking at the differences I would think that difference is due mainly to two things:
- The "SpaceAfter" property is rendered diffently by MS Word than the richtextbox
- The table borders take some space in MS Word and push the content down, but they do not behave in the same way on Radrichtexteditor. Even more, if I increase the table border width, the table seems to "grow" towards inside the cell instead of increasing the table height and width.

Is there any suggested workaround for this?
 Will this be handled differently on Q3 2014 ?

Dimitar
Telerik team
 answered on 13 Oct 2014
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
Bronze
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
Bronze
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?