Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
559 views
I am implementing http://demos.telerik.com/aspnet-ajax/input/examples/common/datagrid/defaultcs.aspx in my Radgrid. But after edit/delete, the radgrid doesnot refresh.
After Edit and Delete I tried a couple of things like:
this.Page.RegisterRequiresPostBack(this._RadGrid1) and this._RadGrid1.MasterTableView.Rebind(); and e.Item.OwnerTableView.Rebind but none works.
Interestingly after delete, the number of records in the pager section is updated. For instance from  204 items in 3 pages, it refreshes to  203 items in 3 pages. But the deleted record doesnot go until I reload or click on refresh.
The OnPrerender is as follows:
 protected override void OnPreRender(EventArgs e)
        {
            base.OnPreRender(e);
            RadAjaxManager ajaxManager = RadAjaxManager.GetCurrent(Page);
            ajaxManager.AjaxSettings.AddAjaxSetting(this._UpdatePanel, this._RadGrid1, this._RadLoadingPanel);          
        } 

Please let me know how to refresh it.
Viktor Tachev
Telerik team
 answered on 18 Jun 2014
1 answer
68 views
In my radeditor I have one field

<acronym unselectable="on" contenteditable="false" style="display: inline-block; background-color: yellow;" expid="100" explabel="First Name">First Name</acronym>

If I select only this field & apply css then It applies perfectly.

But if I select this text with other html tags e.g.

<br>
<acronym unselectable="on" contenteditable="false" style="display: inline-block; background-color: yellow;" expid="100" explabel="First Name">First Name</acronym>

& then if I try to apply css on it then only
tag gets css & not field tag.

I know this is due to "contenteditable='false'" attribute but I need this attribute.

note: This strange thing happens only in google chrome (my version : 35.0.1916.153 m)

Do any one know any solution to it ?

Ianko
Telerik team
 answered on 18 Jun 2014
1 answer
185 views
Hi,

I want to remove the built in table classes in the RadEditor.

The classes are named: 
telerik-reTable-1
telerik-reTable-2
telerik-reTable-3
telerik-reTable-4
telerik-reTable-5

If this is not possible, I would like to hide them, but to no avail.

Can somebody please help.

Thanks
Ianko
Telerik team
 answered on 18 Jun 2014
1 answer
112 views
Hello Team,

I am having issue with new Paragraph button as it  adding &nbsp; between the <p></p> tag.
How can i remove  &nbsp; from the <p></p> tag on clicking of Paragraph button
Ianko
Telerik team
 answered on 18 Jun 2014
1 answer
167 views
URL : http://demos.telerik.com/aspnet-ajax/editor/examples/trackchanges/defaultcs.aspx

Browser : IE8

While trackchanges is enabled for radeditor, the backspace and delete key are not functioning properly, This is working in firefox and chrome. But my weeb application will be running on IE. So please suggest a solution or work around for this.

Thanks
Ianko
Telerik team
 answered on 18 Jun 2014
1 answer
306 views
In our RadHtmlChart BarSeries we are providing custom series labels as you can see highlighted in green in the attached picture.

We are doing this by simply setting the series LabelAppearance DataField property to a different database field which has the series data formatted the way we want to display it:
 
<Series>        
    <telerik:BarSeries Name="CategoryText"  DataFieldY="SeriesValue" >
        <LabelsAppearance Visible="true" DataField="SeriesValueFormatted"  />                            
    </telerik:BarSeries>
</Series>

Basically the SeriesValueFormatted field is taking numbers in the thousands, dividing them by 1000, and showing a "K" on the end.  Numbers in the millions are divided by a million and displayed with an "M" on the end, and so on. (See green highlighted values on the attached picture).

We need to do the same thing for the y-axis labels (See the yellow highlighted area on the attached picture).  In this example, our y-axis labels would be "0.00M", "4.00M", "8.00M", "12.00M", and "16.00M".  

 I do not see a DataField property in the y-axis LablesAppearance tag (as exists in the BarSeries) nor do I see a way of providing a custom template OR a way to call a method as the y-axis is being built/bound.

How can we go about doing this? 

Courtney

p.s.  I THINKsomeone was trying to ask the same question 2 years ago:
YAxis DataLabelsField?
But it seems there was no resolution at the time but the support rep did same this would be added in the future.  2 years later is this now possible?



















Danail Vasilev
Telerik team
 answered on 18 Jun 2014
1 answer
248 views
Hi,

I have a RadButton in the master page of my web application and I want to access it directly from JavaScript inside one of the content pages.

I tried with $('#<%=Master.FindControl("RadButton1").ClientID %>') as well as $find('<%=Master.FindControl("RadButton1").ClientID %>'); but both returned an error where as the first statement works well for asp.net controls.

Thanks,
Vishnu.
Danail Vasilev
Telerik team
 answered on 18 Jun 2014
2 answers
122 views
Yesterday I update my telerik controls to Telerik_UI_for_ASP.NET_AJAX_2014_1_403_Dev, I wonder all of the radtabstrip have a layout issue
I can generate this issue in the below demo

http://demos.telerik.com/aspnet-ajax/tabstrip/examples/functionality/server-templates/defaultcs.aspx

In the attach screen note how the tab width change after we change the selected tab if we change the tab align to left this issue will not happened
ADAWi
Top achievements
Rank 1
 answered on 18 Jun 2014
6 answers
232 views

I would like to display real-time message from database on top of main page in my project so that I can view it anytime when I navigate other webpages. I manage to bind the updated message in dataset but the RadTicker is missing from the page. Below is the workaround that I have done in my project.

 

Currently, I'm using RadAjaxTimer to trigger RadTicker to update the message when there is any new message added into database. I created these 2 controls and script manager in ascx page as global user controls in my project. Then, I'll call these reference controls in a RadAjaxPanel on the main page and bind the updated message in RadTicker on ascx page Page_Load event and RadAjaxTimer_Tick event. I only see AjaxLoadingPanel displays during data binding and the RadTicker is missing from the main page after it is done. What happens to the RadTicker? Does it cause by System.Threading.Thread.Sleep(5000) that I configured in RadAjaxTimer_Tick event? Is it used to control the AjaxLoadingPanel display time?

 

 

Below is the ascx page that I created in my project.

 

<%

@ register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %>

 

<%

@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>

 

<%

@ Control Language="C#" AutoEventWireup="true" CodeBehind="Ticker.ascx.cs" Inherits="ACE.ACETM.GlobalWebUI.Ticker" %>

 

<%

@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

 

 

Namespace="System.Web.UI" TagPrefix="asp" %>

 

 

 

 

<

 

div style="COLOR: crimson; BACKGROUND-COLOR: black">

 

 

    <asp:ScriptManager ID="ScriptManager1" runat="server">

 

 

    </asp:ScriptManager>    

 

 

    <telerik:RadTicker id="RadTicker1" runat="server" AutoStart="true" loop="true" AutoAdvance="true" AutoPostBack="true">

 

 

    </telerik:RadTicker>

 

 

 

    <radA:RadAjaxTimer ID="RadAjaxTimer1" runat="server" Interval="10000" OnTick="RadAjaxTimer1_Tick" />

 

</

 

div>

 

public

 

partial class Ticker : System.Web.UI.UserControl

 

 

 

 

{

 

    public MessageCenterDS msgCenterDS;

 

 

    protected void Page_Load(object sender, EventArgs e)

 

    {

 

        if (!IsPostBack)

 

        {

 

            MessageCenterBR BF = new MessageCenterBR();

 

            msgCenterDS = BF.GetTestMessages(

"ABC");

 

            RadTicker1.DataSource = msgCenterDS.MC_MESSAGES;

            RadTicker1.DataTextField =

"MC_MESSAGE";

 

            RadTicker1.DataBind();

        }
    }

 

    protected void RadAjaxTimer1_Tick(object sender, Telerik.WebControls.TickEventArgs e)

 

    {

        System.Threading.

Thread.Sleep(5000);

 

 

        MessageCenterBR BF = new MessageCenterBR();

 

        msgCenterDS = BF.GetTestMessages(

"ABC");

 

        RadTicker1.DataSource = msgCenterDS.MC_MESSAGES;

        RadTicker1.DataTextField =

"MC_MESSAGE";

 

        RadTicker1.DataBind();

    }

}

 

Below is the main page that I created in my project.

 

 

 

 

<%

@ register tagprefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" %>

 

<%

@ Register Assembly="RadAjax.Net2" Namespace="Telerik.WebControls" TagPrefix="radA" %>

 

<%

@ Register TagPrefix="uc2" TagName="Ticker" Src="~/common/usercontrols/Ticker.ascx" %>

 

 

 

<

 

table border="0" cellpadding="0" cellspacing="0" width="100%" style="height:100%" class="tblBackground">

 

    <

 

tr>

 

 

        <td colspan="3" align="center"> 

 

 

            <div>

 

 

                <radA:RadAjaxPanel ID="RadAjaxPanel1" Visible="true" runat="server" LoadingPanelID="AjaxLoadingPanel1" EnableAJAX="true">

 

 

                        <uc2:Ticker id="Ticker1" runat="server" OnLoad="Timer1_Load" />
                 </radA:RadAjaxPanel>
                 <
radA:AjaxLoadingPanel ID="AjaxLoadingPanel1" runat="server" Height="75px" Width="75px">

 

 

                     <img alt="loading..." src="RadControls/AjaxTimer/Skins/Default/loading.gif" />

 

 

 

                 </radA:AjaxLoadingPanel>

 

 

             </div>
        
</td>
    
</tr>

 

 

</

 

table>

 

protected

 

void Timer1_Load(object sender, EventArgs e)

 

{

}

Please advice if I have done anything wrong in the coding. I need a solution urgently. I appreciate if you may provide a sample project for me. Thank you.

Regards,
Emily.

Slav
Telerik team
 answered on 18 Jun 2014
1 answer
409 views
I am trying to change change axis, chart title and points from client side but i can't able to  find any properties for this from client side. Is this possible to change these values from client side?
Danail Vasilev
Telerik team
 answered on 18 Jun 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?