Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
156 views
How can i set Scroll bars for Hierarchical grid
Pavlina
Telerik team
 answered on 28 Feb 2013
1 answer
144 views
Does anyone know how to add space between the chart and the datatable?
Kevin
Top achievements
Rank 2
 answered on 28 Feb 2013
1 answer
72 views
Hey All,

Yesterday I came across an issue with Radspell which I hope someone might be able to help me with. I am using the RadSpell but whenever I open and then close the checker multiply time the I get an error about a freed script. I pinpointed the error down to my theme which contains a theme for the Radwindow with ReloadOnShow sent to true, but if I set this to false the error doesn't appear.

Any ideas why this could be happening.

Thanks
Marin Bratanov
Telerik team
 answered on 28 Feb 2013
5 answers
110 views
1. It seems like this control is a much better replacement for the Asp.Net DropDownList than RadComboBox for lightweight use.  I was wondering if there will ever be methods on the items collection like FindByValue and FindByText like the standard asp.net control has?  I can easily find items using Linq on the Items collection, but thought it would be a built-in method.  RadComboBox has these methods, and although RadDropDown is lighter, these seem essential.

2.  Will there every be functionality that provides for auto-width on the drop down?  Since the asp.net listbox does this by default and the RadComboBox has this, it might be a nice addition.

I realize this is supposed to be a very lightweight control, but it seems to me these are pretty basic things...

Thanks,
Chris

 
Christopher Blickley
Top achievements
Rank 2
 answered on 28 Feb 2013
3 answers
221 views
We are using RadDatePicker v2012.3.1016.40 and running into sporadic issues in Internet Explorer 9 where the "SelectedDateChanged" event is not firing properly. So far I am unable to find steps to reliably reproduce the error. After a test launch in IIS Express it usually works fine for me, but sometimes not. Usually the issue seems to resolve itself after some prodding, but I have no idea why or how it suddenly starts to work.

Are there any logs or anything I can provide to help you help me with this problem? This is only happening in IE9, but many of our users are on IE9, so this needs to work. Below is the relevant portion of code to this particular issue.

Thanks,
Matthew

-- Markup --
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="NewTicket.aspx.vb" Inherits="Ticketer.NewTicket" smartNavigation="True"%>
<%@ Register Assembly="Telerik.Web.UI, Version=2012.3.1016.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TagPrefix="Telerik" %>
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
    <head>
    <meta http-equiv="X-UA-Compatible" content="IE=IE9" />
        <meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR" />
        <meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE" />
        <meta content="JavaScript" name="vs_defaultClientScript" />
        <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema" />
    </head>
    <body style="MARGIN: 5px; BACKGROUND-COLOR: white">
        <form id="Form1" method="post" runat="server">
            <asp:ScriptManager ID="sm" runat="server">
            </asp:ScriptManager>
      <table cellspacing="0" cellpadding="0" border="0" class="paddedControl">
        <tr>
          <td><Telerik:RadDatePicker ID="rdpStartDate" runat="server" DateInput-ReadOnly="True" Width="100" AutoPostBack="true" Calendar-AutoPostBack="True"></Telerik:RadDatePicker></td>
          <td><Telerik:RadDatePicker ID="rdpDueDate" runat="server" DateInput-ReadOnly="True" Width="100" AutoPostBack="true" Calendar-AutoPostBack="True"></Telerik:RadDatePicker></td>
        </tr>
      </table>
        </form>
    </body>
</html>

-- Codebehind --
Partial Class NewTicket
    Inherits System.Web.UI.Page
 
    Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        If Not Page.IsPostBack Then
            rdpStartDate.SelectedDate = Today
        End If
        If Me.rdpStartDate.SelectedDate.HasValue AndAlso Me.rdpDueDate.SelectedDate.HasValue Then
            Me.cmdMakeTicket.Visible = True
        Else
            Me.cmdMakeTicket.Visible = False
        End If
    End Sub
 
    Private Sub rdpStartDate_SelectedDateChanged(sender As Object, e As Telerik.Web.UI.Calendar.SelectedDateChangedEventArgs) Handles rdpStartDate.SelectedDateChanged, rdpDueDate.SelectedDateChanged
        If Me.rdpStartDate.SelectedDate.HasValue AndAlso Me.rdpDueDate.SelectedDate.HasValue Then
            Me.cmdMakeTicket.Visible = True
        Else
            Me.cmdMakeTicket.Visible = False
        End If
    End Sub
End Class
Vasil
Telerik team
 answered on 28 Feb 2013
1 answer
63 views
Good afternoon,

In several places in our custom SharePoint site we are using AutoCompleteBox in SharePoint modal forms. I'm encountering an issue where the Z-Index of the dropdown will NOT go over the SharePoint 2010 Modal form. I've gone ahead and set the Z-Index higher than the modal form (which is set at 1506) and still the dropdown gets cut off. See image attached. Any resolutions?

Plamen
Telerik team
 answered on 28 Feb 2013
1 answer
151 views
When an iFrame is used to load RadWindow content, the status bar shows a loading indicator until the content is displayed. Is there any way to manually show this GIF in the for custom operations... like an AJAX transaction? There are times I auto-load data at intervals and don't want to lock down the entire RadWindow, but I do want a nice common place to show some operation is going on (and the status bar seems like a great place to do this). Any help would be appreciated.
Marin Bratanov
Telerik team
 answered on 28 Feb 2013
10 answers
285 views
Hiya,

I'm using a RadListView bound to a ObjectDataSource and using a RadDataPager to allow paging (its a simple forum application). One of the features I'm trying to have is to automatically jump to a specific page depending on the url i.e

/forum.aspx?topic=1  would jump to the first page where as
/forum.aspx?topic=1&reply=997 might jump to the 10th page.

To accomplish this, I've setup a RadListView_DataBound component which quite simply tries to jump to the correct page which holds the post id :-

protected void RadListView1_DataBound(object sender, EventArgs e)
   {
       if (!IsPostBack && (Request.QueryString["post_id"] != null))
       {
           //First get the page size
           int pageSize = RadListView1.PageSize;
 
           //Then get the reply_id
           int replyID = int.Parse(Request.QueryString["post_id"]);
 
           int iPage = 1;
           int iPageElementCount = pageSize;
 
           foreach(forumPost oPost in odsForumPosts.Select())
           {
               if(oPost.ID == replyID)
               {
                   RadListView1.CurrentPageIndex = iPage;
                   return;
               }
               iPageElementCount--;
               if(iPageElementCount == 0)
               {
                   iPage++;
                   iPageElementCount = pageSize;
               }
           }
       }
   }

The problem I seem to have is that even after setting CurrentPageIndex, the page doesn't change.

Any ideas?

Thanks!
mitch
Pavlina
Telerik team
 answered on 28 Feb 2013
1 answer
115 views
Hi,

I am trying to create a Org Chart Webpart in Sharepoint 2010 using RadOrgchart, I am not getting errors but it doesnt display anything in teh page. I just see a bank Page. Can someone please help me with this?

Here is the code.

  protected override void CreateChildControls()
        {
            base.CreateChildControls();
        }

        protected override void OnInit(EventArgs e)
        {
            Page.Init += delegate(object sender, EventArgs e_Init)
            {
                if (ScriptManager.GetCurrent(Page) != null)
                {
                    Page.Items.Remove(typeof(ScriptManager));
                    scriptManager = new RadScriptManager();
                    scriptManager.ID = "ScriptManager";
                    this.Page.Items.Add(scriptManager.GetType(), scriptManager);
                    this.Page.Form.Controls.Add(scriptManager);
                }
            };

            CreateOrgChart();       
            base.OnInit(e);
        }


        private void CreateOrgChart()
        {
            DataTable oData = GetOrgData();
            RadOrgChart oOrgChart = new RadOrgChart();
            oOrgChart.DataSource = oData;
            oOrgChart.DataFieldID = "NetworkID";
            oOrgChart.DataFieldParentID = "ManagerID";
            oOrgChart.DataTextField = "FullName";
            oOrgChart.DataBind();
            this.Page.Items.Add(oOrgChart);
        }
Plamen
Telerik team
 answered on 28 Feb 2013
14 answers
338 views
Hi telerik team,

while exporting telerik grid to excel, i m getting internet explorer can't download Filename from the sitename alert box is coming if prefix contains https://.   but for  http:// it's exporting fine , hope i need to configure some setting in IE browser please give those steps.

Thanks for any help.
Pavlina
Telerik team
 answered on 28 Feb 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?