Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
63 views
Hi, I have a radmenu with 2 level child items, when <DefaultGroupSettings ExpandDirection="Down" /> I see the menu as attached menu-dwn1.jpg with expanders for the child items however, if <DefaultGroupSettings ExpandDirection="Up" /> I see the menu as per attached menu-up1.jpg where there are no child expander arrows so consequently selecting a child item covers the remaining children (as per attached menu-up2.jpg).

I would've expected the structure (with arrowed expanders) to be the same as up and down which your help example picture in "Controlling the Layout of Child Items"  ExpandDirection Up seems to suggest.

Could you please advise.

Cheers
Martin
Yana
Telerik team
 answered on 08 Jul 2010
4 answers
297 views
I'm searching for collapsible panels like <asp:panel> in combination with AjaxControlToolkit-CollapsiblePanelExtender. I´ve tried RadPanelBar, but accessing controls inside <RadPanelItem>-Controls is not that easy. I have to reach the asp-controls from within several methods in the codebehind-file. Does anyone have a clue?
flyin´sven
Top achievements
Rank 2
 answered on 08 Jul 2010
1 answer
331 views
Hi there,

I'm using new Rad Controls.

I want to find a button in the footer template on Button Click event, which is outside the grid.

If anybody is aware of the solution ?
Princy
Top achievements
Rank 2
 answered on 08 Jul 2010
1 answer
310 views
When I try and enable the 'MakeUrlsAbsoulte' filter I get an error if I have a <body> tag in the html. I get the error "error while executing filter xhtml - Typeerror: cannot read property 'lastchild'" when switching back and forth between design and preview tabs.

I'm working with full html files and I'd like the URLs to all be absolute. If I disable the XHTML filter it works but removes they body and head tags of my html. 

Below is a link to a sample project that shows the described behaviour.
http://dl.dropbox.com/u/814466/TelerikURLIssues.zip
Rumen
Telerik team
 answered on 08 Jul 2010
1 answer
68 views
Hi,

I'm learning RadWindow from Online Help.
At "Using RadWindowManager with multiple windows" , the sample work fine in "Web Form" but doesn't work in "Web Form Using Master Page".
Doesn't RadWindowManager work in "Web Form Using Master Page" or Do I have left to modify some properties?

Please advice me.


Fiko
Telerik team
 answered on 08 Jul 2010
3 answers
149 views
I have followed the online demo, save gird settings and I have encountered a few issues.

If I change the column order, so I have columns a, b, c, d, e and I change them to b, a, c, d, e  The change is not recorded.  However the column widths are saved, along with any other grid changes.

If I select to display just columns a, d and save the settings, this works.  However If I then select to show columns b by using the context menu, a third column is shown, however not necessarily b.  However if after I save the settings then refresh the page, the correct columns are shown.

So the main issue is that column orders are not saved and when selecting what columns to show, they are not the correct columns (untill page re-load)

My code below,

 
Partial Class ucGridRowClick 
    Inherits System.Web.UI.UserControl 
 
    Private _Datasource As DataTable 
    Private dataGrid As DataRadGrid 
 
    Public Property Datasource() As DataTable 
        Get 
            Return _Datasource 
        End Get 
        Set(ByVal value As DataTable) 
            _Datasource = value 
        End Set 
    End Property 
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load 
 
        standardGrid() 
 
        If Not IsPostBack Then 
 
            Dim hdn_field As HiddenField = TryCast(Page.Master.FindControl("hdn_pageId"), HiddenField) 
 
            dataGrid = New DataRadGrid 
            dataGrid.pageId = New Guid(hdn_field.Value.ToString()) 
            dataGrid.coreEntityId = Session.Item("RealId") 
            Dim gridSettings As String = dataGrid.LoadSettings() 
 
            If gridSettings <> "" Then 
                Dim LoadPersister As New GridSettingsPersister(RadGrid1) 
                LoadPersister.LoadSettings(gridSettings) 
            End If 
 
        End If 
 
    End Sub 
 
    Protected Sub standardGrid() 
 
        Dim boundColumn As GridBoundColumn 
 
        If Not IsPostBack Then 
 
            For Each column As DataColumn In Datasource.Columns 
                If column.ColumnName.ToString() <> "ROWCLICK" Then 
                    boundColumn = New GridBoundColumn 
                    RadGrid1.MasterTableView.Columns.Add(boundColumn) 
 
                    boundColumn.DataField = column.ColumnName 
                    boundColumn.HeaderText = column.ColumnName.Replace("_", " ") 
                    boundColumn.DataFormatString = "<nobr>{0}</nobr>" 
 
                Else 
                    boundColumn = New GridBoundColumn 
                    RadGrid1.MasterTableView.Columns.Add(boundColumn) 
 
                    boundColumn.DataField = column.ColumnName 
                    boundColumn.HeaderText = column.ColumnName 
 
                    boundColumn.Visible = False 
                End If 
            Next 
 
        End If 
        RadGrid1.MasterTableView.VirtualItemCount = Datasource.Rows.Count() 
        RadGrid1.DataSource = Datasource 
        RadGrid1.DataBind() 
    End Sub 
 
    Protected Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand 
         
        If e.CommandName = "saveGrid" Then 
            saveGridSettings() 
        ElseIf e.CommandName = "excel" Then 
            buildExport("excel") 
        ElseIf e.CommandName = "pdf" Then 
            buildExport("pdf") 
        End If 
 
    End Sub 
 
    Protected Sub RadGrid1_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid1.NeedDataSource 
        RadGrid1.DataSource = Datasource 
    End Sub 
 
    Sub saveGridSettings() 
        Dim hdn_field As HiddenField = TryCast(Page.Master.FindControl("hdn_pageId"), HiddenField) 
 
        Dim SavePersister As New GridSettingsPersister(RadGrid1) 
 
        dataGrid = New DataRadGrid 
        dataGrid.pageId = New Guid(hdn_field.Value.ToString()) 
        dataGrid.coreEntityId = Session.Item("RealId") 
        dataGrid.gridSettings = SavePersister.SaveSettings.ToString() 
        dataGrid.SaveSettings() 
 
    End Sub 

<telerik:RadGrid ID="RadGrid1"   
                         runat="server"  
                         GridLines="Vertical" 
                         ShowGroupPanel="True"                           
                         AllowSorting="true"  
                         AllowPaging="true"  
                         AllowCustomPaging="false" 
                         AutoGenerateColumns="false"  
                         EnableHeaderContextMenu="true"                         
                         Skin="Default"  
                         PageSize="15" 
                         OnNeedDataSource="RadGrid1_NeedDataSource" >             
            <ExportSettings> 
                <Pdf FontType="Subset" PaperSize="A4" /> 
                <Excel Format="Html" /> 
                <Csv ColumnDelimiter="Comma" RowDelimiter="NewLine" /> 
            </ExportSettings> 
            <MasterTableView DataKeyNames="ROWCLICK"  CommandItemDisplay="Top"  PagerStyle-AlwaysVisible="true" ClientDataKeyNames="ROWCLICK" >   
                <PagerStyle Mode="Advanced"></PagerStyle>           
               <CommandItemTemplate> 
 
                      <asp:LinkButton ID="btn_save" runat="server" CommandName="saveGrid" ><asp:Image runat="server" ID="img_save" ImageUrl="~/_resources/images/icons/tick.png"/></asp:LinkButton> 
                      <asp:LinkButton ID="btn_excel" runat="server" CommandName="excel" ><asp:Image runat="server" ID="Image1" ImageUrl="~/_resources/images/icons/xls_grey.gif"/></asp:LinkButton>                         
                     
                </CommandItemTemplate> 
            </MasterTableView> 
            <ClientSettings ReorderColumnsOnClient="True"  
                            AllowDragToGroup="True"  
                            AllowColumnsReorder="True"  
                            EnablePostBackOnRowClick="False"  
                            AllowGroupExpandCollapse="True" > 
                            <Selecting AllowRowSelect="true" /> 
                <ClientEvents OnRowClick="RowClick" /> 
                <Resizing AllowRowResize="True"  
                          AllowColumnResize="True"  
                          EnableRealTimeResize="True" 
                          ResizeGridOnColumnResize="False"> 
                </Resizing> 
            </ClientSettings> 
        </telerik:RadGrid> 

I call the function GridSettingsPersister.vb that is provided with the demo.  Any help with this would be much appreciated.
Veli
Telerik team
 answered on 08 Jul 2010
2 answers
223 views
Hi


RadGrid Gridlines Not Showing when the Cell is empty or Null..I need the lines Always.....
Any one ...

Below I added the Grid Image ....
Pls See that.....
ARUN RAJA
Top achievements
Rank 1
 answered on 08 Jul 2010
1 answer
63 views

Dear Support Team

I made a ASP.Net rad menu (image based) which goes till level 3. Till level 2 it dont give any problem but when I add further childs then a strange problem occurs .i.e menu disappears and then come back when I hover on menu. There is not any particular position I could find where this happens. It happens randomly but frequently. It works fine in Firefox and all other browsers even works fine in IE8 also. I am facing this problem in IE6 and 7 only.

 

The menu headers strips overlaps each other when open for the first time on any machine on internet explorer. 

 


Thanks in advance

Peter
Telerik team
 answered on 08 Jul 2010
1 answer
90 views
Hi,

   I am working on RadScheduler..When i try to use ' timeslotcontextmenusettings' and 'appointmentcontextmenusettings', i receive the issue as such shown below..

  • 'Telerik.Web.UI.RadScheduler' does not have a public property named 'timeslotcontextmenusettings'.
  • 'Telerik.Web.UI.RadScheduler' does not have a public property named 'appointmentcontextmenusettings'.
  
and i have given the property as,

<timeslotcontextmenusettings enabledefault="true" /> 
<appointmentcontextmenusettings enabledefault="true" /> 

Do i miss anything?? Please do help me..I need urgent solution for this to proceed further..

Thanks in advance,
Hema.
Peter
Telerik team
 answered on 08 Jul 2010
1 answer
68 views
Good morning
I get an error when I set the ToolFiles to a file on remote site

The remote certificate is invalid according to the validation procedure.


Any Idea how to solve ?
thanks
Giovanni
delgio@gmail.com
Dobromir
Telerik team
 answered on 08 Jul 2010
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?