Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
188 views
Hi there,

We're currently experiencing problems with our RadGrid when grouping a column it is causing us issue with the opening of the right click context menu.

The problem occurs if we have for example 3 "Groups" in our grid, we have all our groups collapsed by default, we expand the third, and then right click, it causes a javascript error, if we expand the very first group and right click, it works fine, but then the right clicks on the third group are "offset" ...

see the attached video for more info

http://www.youtube.com/watch?v=fQ1vjApgekU&feature=youtu.be
Pavlina
Telerik team
 answered on 25 Nov 2011
11 answers
553 views
Hi,

I want open file window (which is open on the click of raduploader's select button) on link button.

Basically i want to upload a file on link button click.

Please help me its very urgent.


Thanks
Manish
Peter Filipov
Telerik team
 answered on 25 Nov 2011
1 answer
163 views
Hi,

I am using RadAsyncUpload Control to select multiple files. I am getting an exclamatory mark on first Item and the Progress bar and upload hangs.. and will getting below error

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.0.30618; .NET CLR 3.5.30729; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Wed, 23 Nov 2011 09:39:59 UTC

Message: Exception thrown and not caught
Line: 181
Char: 1
Code: 0
URI: http://inddev05:1003/ScriptResource.axd?d=ei_Gw_z0rZfSQzUuEsegiN9-cEJ388TU5aVfZWpJ63iR7oJ1qaQo05naumcYvJWhUxZpmL7MNZMwiz3CX1DE1T_-aFyBvRXlvtQ-dMQsVAIId9XvWVGFBLaTRz7JLo6H0m3qTmiLte10YkQV0TcumA6KZY385WJDZfVm9VX2dqvcvhlRDG5X0j5qfThrBdEQIPbj9A2&t=634333738072708768

How can i resolve this issue?
Bozhidar
Telerik team
 answered on 25 Nov 2011
1 answer
110 views
Hi all,

Is there any way to implement a ButtonClick event so that the button keeps down in mutual exclusion with another button?

Thanks,
Bruno
Slav
Telerik team
 answered on 25 Nov 2011
7 answers
168 views
I did a update of my trial version to v.2011.3.1115.40 from Visual Studio after which my project now refuses to load the project themes. What has this upgrade changed to cause this? Does it mess with folder permissions?

Duncan
Erjan Gavalji
Telerik team
 answered on 25 Nov 2011
1 answer
87 views
I'm using RadChart's Bar type and have two series. How can I increase the thickness of each bar in the series?
Petar Marchev
Telerik team
 answered on 25 Nov 2011
3 answers
164 views
I am dynamically creating docks when a user clicks a button, inside the dock will be various controls depending on what "page widget" the user has selected from the dropdown list.

I have started off with the simplest "page widget", a RadEditor and a Textbox.

I can persist any data entered into the controls by saving it to a session and re-populate the various controls, however I need to be able to move the docks around so that the order of the "page widgets" can be changed easily but I've lost this functionality, I cannot move, collapse or remove them.

I have simplified the code down to the basics to make it easier to read.

Any ideas? Thanks




(I don't care about the docks open/close state, collapsing will be removed)


ASPX
<asp:Button ID="btnAdd" runat="server" Text="Add a widget" />
<br />
<br />
<telerik:RadDockLayout ID="rdDockLayout" runat="server">
    <telerik:RadDockZone ID="rdDockZone" runat="server" Width="700px">
 
    </telerik:RadDockZone>
</telerik:RadDockLayout>

VB
Imports Telerik.Web.UI
 
Partial Class Admin_DockTest2
    Inherits System.Web.UI.Page
 
    Dim DockStore As New List(Of DockSaved)
 
    ''' <summary>
    ''' Container to hold a saved dock so it can be brought back in to dock zone on postback etc.
    ''' </summary>
    Private Structure DockSaved
        Property Key As Integer
        Property WidgetObject As PageWidgets
        Property dID As String
 
        Public Sub New(WidgetTypeID As Integer, Widget As PageWidgets, dockID As String)
            Key = WidgetTypeID
            WidgetObject = Widget
            dID = dockID
        End Sub
    End Structure
 
    Protected Sub Page_Init(sender As Object, e As System.EventArgs) Handles Me.Init
        If Not Session("Widgets") Is Nothing Then
            DockStore = CType(Session("Widgets"), List(Of DockSaved))
        End If
    End Sub
 
    Protected Sub btnAdd_Click(sender As Object, e As System.EventArgs) Handles btnAdd.Click
        AddWidget()
    End Sub
 
    Private Sub AddWidget()
        CreateDock(1) 'type 1
    End Sub
 
    Private Sub CreateDock(WidgetType As Integer)
        Dim randID As String = Guid.NewGuid().ToString.Replace("-", "a")
 
        Dim dock As New RadDock
        dock.ID = "dk" + WidgetType.ToString() + "-" + randID
        dock.Title = "dk" + WidgetType.ToString() + DateTime.Now.ToShortTimeString
        dock.ClientIDMode = UI.ClientIDMode.Static
        dock.Commands.Add(New DockExpandCollapseCommand())
        dock.Commands.Add(New DockCloseCommand())
 
        dock.AutoPostBack = True
        dock.EnableDrag = True
 
        Dim rdTextboxID = "tb" + randID
        Dim rdTextbox As RadTextBox = GetRadTextbox(rdTextboxID)
        rdTextbox.Text = "help!"
 
        Dim rdEditorID As String = "rdEditor" + randID
        Dim rdEditor As RadEditor = GetRadEditor(rdEditorID)
 
        dock.ContentContainer.Controls.Add(rdTextbox)
        dock.ContentContainer.Controls.Add(rdEditor)
 
        rdDockLayout.Controls.Add(dock)
        dock.Dock(rdDockZone)
    End Sub
 
    Protected Sub rdDockLayout_SaveDockLayout(sender As Object, e As Telerik.Web.UI.DockLayoutEventArgs) Handles rdDockLayout.SaveDockLayout
        If rdDockZone.Docks.Count > 0 Then
 
            'Clear current entries to avoid saving duplicates
            DockStore.Clear()
 
            For Each d In rdDockZone.Docks
                Dim dID As String = d.ID
                Dim randID As String = d.ID.Substring(4)
                Dim WidgetTypeID As Integer = 1
 
                Select Case WidgetTypeID
                    Case 1  '>>>>> Widget Type: WidgetHTML
                        Dim tbID As String = "tb" + randID
                        Dim rdTextbox As RadTextBox = CType(d.ContentContainer.FindControl(tbID), RadTextBox)
 
                        Dim rdEditorID As String = "rdEditor" + randID
                        Dim rdEditor As RadEditor = CType(d.ContentContainer.FindControl(rdEditorID), RadEditor)
 
                        Dim widget As New WidgetHTML
 
                        'Populate a widget
                        widget.SchemeID = 2
                        widget.Title = rdTextbox.Text
                        widget.HTML = rdEditor.Content
                        widget.Visible = True
 
                        'save widget
                        Dim ds As New DockSaved(1, widget, dID)
                        DockStore.Add(ds)
 
                    Case 2 '>>>>> Widget Type: .......
 
                End Select
            Next
        End If
 
        Session("Widgets") = DockStore
    End Sub
 
    Protected Sub rdDockLayout_LoadDockLayout(sender As Object, e As Telerik.Web.UI.DockLayoutEventArgs) Handles rdDockLayout.LoadDockLayout
        If DockStore.Count > 0 Then
            For Each w In DockStore
                Dim widgy As WidgetHTML = CType(w.WidgetObject, WidgetHTML)
 
                Dim dock As New RadDock
                dock.ID = w.dID
                dock.Title = "dk - returned"
                dock.ClientIDMode = UI.ClientIDMode.Static
                dock.Commands.Add(New DockExpandCollapseCommand())
                dock.Commands.Add(New DockCloseCommand())
 
                dock.AutoPostBack = True
                dock.EnableDrag = True
 
                Dim randID As String = w.dID.Substring(4)
 
                'if type 1
                Dim rdEditorID As String = "rdEditor" + randID
 
                Dim rdTextboxID = "tb" + randID
                Dim rdTextbox As RadTextBox = GetRadTextbox(rdTextboxID)
                rdTextbox.Text = widgy.Title
 
                Dim rdEditor As RadEditor = GetRadEditor(rdEditorID)
                rdEditor.Content = widgy.HTML
 
                dock.ContentContainer.Controls.Add(rdTextbox)
                dock.ContentContainer.Controls.Add(rdEditor)
 
                rdDockLayout.Controls.Add(dock)
                dock.Dock(rdDockZone)
            Next
        End If
    End Sub
 
    ''' <summary>
    ''' HTML components to build WebWidgets.
    ''' </summary>
    ''' <param name="WidgetName">Desired ID of the control.</param>
    ''' <returns>Returns the control requested with the correct ID.</returns>
#Region "Widgets"
 
    Private Function GetRadTextbox(WidgetName As String) As RadTextBox
        Dim rdTextbox As New RadTextBox
        rdTextbox.ID = WidgetName
        rdTextbox.ClientIDMode = UI.ClientIDMode.Static
        rdTextbox.Skin = "Windows7"
 
        Return rdTextbox
    End Function
 
    Private Function GetRadEditor(WidgetName As String) As RadEditor
        Dim rdEditor As New RadEditor
        rdEditor.ID = WidgetName
        rdEditor.ClientIDMode = UI.ClientIDMode.Static
        rdEditor.Skin = "Windows7"
 
        Return rdEditor
    End Function
 
#End Region
 
End Class









Slav
Telerik team
 answered on 25 Nov 2011
2 answers
133 views
I've a telerik chart created in .xaml file and trying to set the Pointshape property to Diamond. But I don't see this property available for chart control. Am I missing something?
Attached picture shows the available properties
Petar Marchev
Telerik team
 answered on 25 Nov 2011
3 answers
197 views
Dear support,

When i select 2 or more button controls, in design mode, and try to change Skin from the Properties window, the Visual Studio crashes.

I use:
Telerik Web UI 2011.2.915
Visual Studio 2008 (ASP.VB) 9.0.30729.4462

Thank you in advance for your time.

George
Navarino Technology Dept.


Error message:
Problem signature:
  Problem Event Name:    CLR20r3
  Problem Signature 01:    devenv.exe
  Problem Signature 02:    9.0.30729.1
  Problem Signature 03:    488f2b50
  Problem Signature 04:    Telerik.Web.Design
  Problem Signature 05:    2011.2.915.35
  Problem Signature 06:    4e71e666
  Problem Signature 07:    32c
  Problem Signature 08:    b
  Problem Signature 09:    System.InvalidCastException
  OS Version:    6.1.7601.2.1.0.256.48
  Locale ID:    1032

Additional information about the problem:
  LCID:    1033

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt
Slav
Telerik team
 answered on 25 Nov 2011
1 answer
75 views
In

http://demos.telerik.com/aspnet-ajax/tabstrip/examples/serverside/serverevents/defaultvb.aspx

It says

Protected Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As UI.RadTabStripEventArgs)

Instead of

Protected Sub RadTabStrip1_TabClick(ByVal sender As Object, ByVal e As RadTabStripEventArgs)

Marc
Kate
Telerik team
 answered on 25 Nov 2011
Narrow your results
Selected tags
Tags
+? 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?