Telerik Forums
UI for WinForms Forum
1 answer
76 views
Hi,

We use a gridview with a gridviewrelation.

The Case:

We have a list of projects, for each project we have employees working on a specified project.
For each week they have to put amount of hour(s), W1 -2014, etc... (see picture)
We have also a column W1Description2014 etc... we want to add this below the column of W1-2014, etc...

See picture for more information.

This is de code we use to add the grid relation:

Dim MyProjectRelation As New GridViewRelation(MyBase.SearchGrid.MasterTemplate, template)
MyProjectRelation.RelationName = "ProjectRelations"
MyProjectRelation.ParentColumnNames.Add("projectnr")
MyProjectRelation.ChildColumnNames.Add("projectnr")

In telerik screenshot we see difrent styles, but we can't find this issue in code.

Do you have any solution for this issue ?

With friendly regards.











Dess | Tech Support Engineer, Principal
Telerik team
 answered on 16 Oct 2014
5 answers
185 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
186 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
139 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
540 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
133 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
281 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
98 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
142 views
Hi, how to make panaroma tiles undraggable?
George
Telerik team
 answered on 14 Oct 2014
1 answer
92 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
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)
Chart (obsolete as of Q1 2013)
Form
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
Toolstrip (obsolete as of Q3 2010)
VirtualGrid
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
Conversational UI, Chat
DateTimePicker
CollapsiblePanel
TabbedForm
CAB Enabling Kit
GroupBox
WaitingBar
DataEntry
ScrollablePanel
ScrollBar
ImageEditor
Tools - VSB, Control Spy, Shape Editor
BrowseEditor
DataFilter
ColorDialog
FileDialogs
Gauges (RadialGauge, LinearGauge, BulletGraph)
ApplicationMenu
RangeSelector
CardView
WebCam
Styling
Barcode
BindingNavigator
PopupEditor
RibbonForm
TaskBoard
Callout
ColorBox
PictureBox
FilterView
NavigationView
Accessibility
VirtualKeyboard
DataLayout
Licensing
ToastNotificationManager
ValidationProvider
CalculatorDropDown
Localization
TimePicker
ButtonTextBox
FontDropDownList
BarcodeView
BreadCrumb
Security
LocalizationProvider
Dictionary
Overlay
Flyout
Separator
SparkLine
TreeMap
StepProgressBar
SplashScreen
ToolbarForm
NotifyIcon
DateOnlyPicker
Rating
TimeSpanPicker
Calculator
OfficeNavigationBar
TaskbarButton
HeatMap
SlideView
PipsPager
AIPrompt
TaskDialog
TimeOnlyPicker
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?