Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
108 views
Hi,

With the new release, a very strange problem occurs...

In your demo with ContentAreaMode='div':
http://demos.telerik.com/aspnet-ajax/editor/examples/contentareamodediv/defaultcs.aspx

When using Firefox:
1. Move the cursor above the dropdown "Choose Toolbar Mode", do NOT click it...
2. Try click in the Editor again and edit the content -> wont work

When looking in Firebug, I can see that when hovering the dropdown, the contenteditable property of the editor is set to false...

Regards
Caesar
Misho
Telerik team
 answered on 10 Apr 2013
1 answer
239 views
Hi,

How can I display a RadTab as in two rows ie one below the other?

Thanks,
Karl.
Princy
Top achievements
Rank 2
 answered on 10 Apr 2013
1 answer
134 views
Hi,

How to perform reordering of items in RadTab? I would like to have any sample solution.

Thanks,
Karl
Princy
Top achievements
Rank 2
 answered on 10 Apr 2013
1 answer
73 views
Hi

There is an Orgchart in my product page which contain a main tree like structure with few nodes. If I click on one of the nodes, it must display a new OrgChart that contains all the child nodes corresponding to the one I clicked and it should be able to go back to the main node as well. How to achieve this? Is it possible with RadOrgChart?

Thanks,
Lovella.
Princy
Top achievements
Rank 2
 answered on 10 Apr 2013
1 answer
93 views
Hi,

Can anyone help with a demo that demonstrate data binding the nodes of OrgChart with an entity datasource?

Thanks,
Lovella.
Princy
Top achievements
Rank 2
 answered on 10 Apr 2013
1 answer
143 views
Hi,
I have a RadTreeList control in a web page. I get the following error when i change to "Design" view.

There was an error rendering the control.
[A] Telerik.Web.UI.RadTreeList cannot be cast to [B] Telerik.Web.UI.RadTreeList. Type A originates from 'Telerik.Web.UI,Version=2012.1.215.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location  'C:\user\myuser\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\dnsandqz01\Telerik.Web.UI.dll'.
Type B originates from 'Telerik.Web.UI,Version=2012.1.215.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context  'LoadNeither' at location 'C:\user\myuser\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies\m27i_m801\Telerik.Web.UI.dll'.

Does anyone know how i can solve it?
Thank you.


Sonia
Top achievements
Rank 1
 answered on 10 Apr 2013
3 answers
312 views
I added a telerik:RadTabStrip with multipageview option. Then under a pageview I added a Telerik Rotator control.
If I set static value it works fine, but, if I create a datatable in server side and try to bind it to datasource of the rotator control it does not display any data. The code I used -


ASPX Code:
<telerik:RadRotator ID="RadRotator1" runat="server" Width="900px" Skin="Black" EnableEmbeddedSkins="false"
                    CssClass="rotatorStyle" RotatorType="Buttons" ScrollDuration="500" >
                    <Items>
                        <telerik:RadRotatorItem>
                            <ItemTemplate>
                                <div class="RotatorItem">
                                    <h2><asp:Label ID="lblTitle" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "title") %>'></asp:Label></h2>
                                    <div class="txt_placeholder">
                                        <asp:Label ID="lblShortDesc" Text='<%# DataBinder.Eval(Container.DataItem, "desc")%>' runat="server"></asp:Label>
                                    </div>
                                    <div class="clear"></div>
                                </div>
                            </ItemTemplate>
                        </telerik:RadRotatorItem>
                        
                    </Items>
                </telerik:RadRotator>


Server Code:

DataTable dt = new DataTable();
                    dt.Columns.Add("title", typeof(string));
                    dt.Columns.Add("desc", typeof(string));

                    dt.Rows.Add("T1", "AAA");
                    dt.Rows.Add("T2", "BBB");
                    dt.Rows.Add("T3", "CCC");

                    RadRotator1.DataSource = dt.DefaultView;
                    
                    RadRotator1.DataBind();

Can someone please help me with this?

Thanks in advance.
Slav
Telerik team
 answered on 10 Apr 2013
2 answers
143 views
Hi

I am new to RadControls & now facing an issue in the registration page. The Cancel RadButton is firing the RequiredFieldValidator. Dont know how it is happening, since we have excluded the cancel button from ValidationGroup. Please help.

Thank you,
Shahi
Danail Vasilev
Telerik team
 answered on 10 Apr 2013
4 answers
200 views
Hi,

What I'm trying to achieve sound pretty simple considering the features offered by ASP.NET AJAX.
I have an aspx page with a RadAjaxManager. This manager "ajaxifies" the loading of usercontrols within that page.
I'm loading a usercontrol embedding a RadGrid and everything works like a charm (as expected). Then I'm trying to export the grid to an Excel spreadsheet and nothing happens.
I tried many different options as described on this page  but it still doesn't work.

Here's a sample of my Default.aspx page with the RadAjaxManager
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest" >
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadRibbonBarAdminTools">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="PContent" LoadingPanelID="RadAjaxLoadingContextPanel">
                </telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingContextPanel" runat="server">
</telerik:RadAjaxLoadingPanel>
<asp:Panel ID="PContent" runat="server">
</asp:Panel>

Here's the code behind:

protected void Page_Load(object sender, EventArgs e)
{
        if (LatestLoadedControlName != null)
        {
            LoadUserControl(LatestLoadedControlName);
        }
}
 
protected void RadRibbonBar_ButtonClick(object sender, RibbonBarButtonClickEventArgs e)
{
        switch (e.Button.Text)
        {
            case "Summarized":
                LoadUserControl("usercontrols/data-Summaries.ascx");
                break;
            default:
                if (LatestLoadedControlName != null)
                {
                    Control previousControl = PContent.FindControl(LatestLoadedControlName.Replace("usercontrols/", "").Split('.')[0]);
                    if (!Object.Equals(previousControl, null))
                    {
                        this.PContent.Controls.Remove(previousControl);
                    }
                }
                break;
        }
}
 
public void LoadUserControl(string controlName)
{
    if (LatestLoadedControlName != null)
    {
        Control previousControl = PContent.FindControl(LatestLoadedControlName.Replace("usercontrols/", "").Split('.')[0]);
        if (!Object.Equals(previousControl, null))
        {
            this.PContent.Controls.Remove(previousControl);
            previousControl.Dispose();
        }
    }
    string userControlID = controlName.Replace("usercontrols/", "").Split('.')[0];
    Control targetControl = PContent.FindControl(userControlID);
    if (Object.Equals(targetControl, null))
    {
        UserControl userControl = (UserControl)this.LoadControl(controlName);
        userControl.ID = userControlID.Replace("/", "").Replace("~", "");
        this.PContent.Controls.Add(userControl);
        LatestLoadedControlName = controlName;
    }
}
 
protected void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)
{
 
}

I have a ribbon bar on top of my page to load the different usercontrols.

Here is my data-summaries.ascx:
<telerik:RadGrid ID="rgIGTSummaryGrid" runat="server" DataSourceID="dsIGTDataSummary"
    AllowSorting="true" AllowPaging="true" PageSize="20" AutoGenerateColumns="false">
    <PagerStyle Visible="false" />
    <MasterTableView TableLayout="Auto" CommandItemDisplay="Top">
        <CommandItemSettings ShowExportToExcelButton="true" ShowAddNewRecordButton="false"
            ShowRefreshButton="false" />
        <Columns>
            <telerik:GridBoundColumn DataField="Username" HeaderText="Participant ID">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Time" HeaderText="Date">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Sex" HeaderText="Gender">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Age" HeaderText="Age">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="YoE" HeaderText="Education">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Start" HeaderText="Start">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Gain" HeaderText="Overall Gain">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Currency" HeaderText="Currency">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="NbDeck" HeaderText="#Deck">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DeckOrder" HeaderText="Deck Display Order">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="A" HeaderText="#A Pick">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="B" HeaderText="#B Pick">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="C" HeaderText="#C Pick">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="D" HeaderText="#D Pick">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DeckA_Output" HeaderText="Deck A Overall output">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DeckB_Output" HeaderText="Deck B Overall output">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DeckC_Output" HeaderText="Deck C Overall output">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="DeckD_Output" HeaderText="Deck D Overall output">
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
    <ExportSettings HideStructureColumns="false" IgnorePaging="true" OpenInNewWindow="true">
        <Excel Format="Biff" />
    </ExportSettings>
    <ClientSettings>
        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
    </ClientSettings>
</telerik:RadGrid>
<telerik:RadAjaxLoadingPanel ID="ralpIGTSummaryGrid" runat="server">
</telerik:RadAjaxLoadingPanel>
<asp:SqlDataSource ID="dsIGTDataSummary" runat="server" ConnectionString="<%$ ConnectionStrings:NRPMonitorDB %>"
    SelectCommand="P_GetIGT_SummaryData" SelectCommandType="StoredProcedure">
    <SelectParameters>
        <asp:Parameter Name="sid" DefaultValue="1" />
    </SelectParameters>
</asp:SqlDataSource>

and there is nothing in the code behind as I don't need anything that is described in this WORKING example.

Don't know what to do now :(

Daniel
Telerik team
 answered on 10 Apr 2013
1 answer
174 views
Hi,

We have major problem with RAD controls in ASP.net with IE 10 compatibility mode ON. Please find attached Images with screenshots to explain the problem with scrollbars.

Please see below image where we can see scrollbar in IE 10. We try to scroll page right by taking our mouse to scrollbar but then
scrollbar disappears and will not allow us to scroll right.

<Page1.jpg>

Please see below screen with disappeared scrollbars.
<Page2.jpg>

If scrollbar appearing and if we use arrow key from keyword to scroll left or right then it works but through mouse cursor, we are unable to scroll.

Another related issue for IE 10 Compatibility mode ON. Please see below screen, we have grid with cut view having few columns are not visible and also header image which is not stretching to the full end when we Don’t have mouse over Grid 2.

<Page3.jpg>

If we take mouse over Grid 2, it expands grid and image to full width as displayed below and it shrink back to previous cut view if we take mouse out of Grid 2.

<Page4.jpg>

Regards,
Sunil
Eyup
Telerik team
 answered on 10 Apr 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?