Telerik Forums
UI for WinForms Forum
3 answers
93 views
Hi,

I need to impelment the Y axis in center position of radchart programatically in C# winform.

Could you please advice the solution.
George
Telerik team
 answered on 17 Oct 2014
1 answer
113 views
Hi,

I have a project VS 20110 , with Telerik  . In my application , have radgrid. This Radgrid having some data. When I mouse out the data in the radgrid, it wiil disappear and if the the mouse over , the data  is diaplaying.The problem only in IE11 , But its working fine on Mozilla and IE8. How can I resolve this.?

Regards,
Dileep
Eyup
Telerik team
 answered on 17 Oct 2014
1 answer
272 views
Hello,

How can i add a rectangle (or a button) in the PDF viewer, only on the first page?

Thank you
Dess | Tech Support Engineer, Principal
Telerik team
 answered on 17 Oct 2014
2 answers
1.4K+ views
I have a RadListView, with a ViewType of Listview, and VerticalScrollBar set to AutoHide.  I simply want to get the width of the control including the scrollbar if visible.

I have tried ClientRectangle.Width - it did not take into account the scrollbar.width

So I tried checking the visibility of the scrollbar, if visible then subtract the scrollbar width.  Even when the scrollbar is visible, it always comes back as Visible=False.

Is this a bug or am I doing wrong something wrong? 
Dim iScroll As Integer = 0
 
'get scrollbar width if needed
If Me.lvwLoadForms.VerticalScroll.Visible = True Then iScroll = SystemInformation.VerticalScrollBarWidth
 
'resize items and group widths
With Me.RadListView1
    .GroupItemSize = New Size(.Width - iScroll, .GroupItemSize.Height)
    .ItemSize = New Size(.Width - .GroupIndent - iScroll, .ItemSize.Height)
End With

Brendan
Top achievements
Rank 1
 answered on 16 Oct 2014
5 answers
818 views
Hi,

I've already performed a search here, and I think I'm doing this right, but the fact is that my RadGridView does not show the image.
The only thing that the field shows is "System.Drawing.Bitmap"

'Loading image from file ( path in database )
     Dim img As Image = Image.FromFile(Reader("Imagem"))
 
'Attempt 1
     r.Cells(2).Value = img
 
'Attempt 2
'Writing to a memory stream
     Dim ms As New MemoryStream
     img.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg)
'passing the bytes to the value field
     r.Cells(2).Value = ms.ToArray
 
'Attempt 3
'Simply loading an image from resources to the value field
     r.Cells(2).Value = My.Resources.icon_fantasma_05


I know I'm doing something wrong, I just don't know what. These 3 attempts , are based / copy from examples given on the intermet..
I've attached a image, which shows what I'm getting at the GridView.

Could somebody please help?

Thank you very much !
Stefan
Telerik team
 answered on 16 Oct 2014
1 answer
94 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
211 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
221 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
160 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
594 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
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
SplitContainer
Documentation
Map
DesktopAlert
CheckedDropDownList
ProgressBar
MessageBox
TrackBar
Rotator
SpinEditor
CheckedListBox
StatusStrip
CollapsiblePanel
LayoutControl
ShapedForm
SyntaxEditor
Wizard
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?