Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
42 views
Hello,

I used RadWindow and I have a "common" issue with Internet Explorer when using "Animation='Fade'"... The font cleartype rendering is disabled.
I said "common" because this is a well known issue of Internet Explorer : the opacity is managed by CSS attribute "filter:alpha(opacity=xxxx);" that automatically disable the cleartype rendering... Even when "filter:alpha(opacity=100)";

I have the same issue when using jquery.fadeIn and the workarount is to remove the CSS attribute filter at the end of the animation.
$(".MyElem").fadeIn("fast", function () {
    try { this.style.removeAttribute("filter"); } catch (ex) { }
});

How can I proceed to correct the problem in RadWindow ?
May be have your a standard workarount (not found despide search in forums) ?

Thanks in advance

Svetlina Anati
Telerik team
 answered on 24 May 2011
1 answer
68 views
I load items in combobox at runtime but when i change the selecteditem, no value is present either via selectedvalue or selecteditem.value
Shinu
Top achievements
Rank 2
 answered on 24 May 2011
3 answers
98 views
I am new to telerik controls and can't figure out how to do something.  I am wanting to use multiple header rows for a grid.  I have 2 groupings of columns that are the same, and  need a header centered over them to give more detail.  If anyone could help with this, i would appreciate it.

Below is an example of how I would like the headers to appear.

                                       Closing                                  Funding
col1               30 Days  60 Days  90 Days          30 Days  60 Days   90 Days

Thanks!!!
Pavlina
Telerik team
 answered on 24 May 2011
1 answer
48 views
In radEditor I have a custon button to set teg at begin en end of my selection like this :

Telerik.Web.UI.Editor.CommandList[

 

"Schedule"] = function (commandName, editor, args) {

 

 

 

 

var selection = editor.getSelectionHtml();

 

 

 

 

//Remove all custom tags before insert new custom tags

 

 

 

var html = editor.get_html(true).replace("<ordredujour>", "");

 

 

html.replace(

 

"</ordredujour>", "");

 

 

 

 

var newhtml = html.replace(selection, '<ordredujour>' + selection + '</ordredujour>');

 

 

editor.set_html(newhtml);

 

 

 

}

I must remove old tag if old tag exist because i want only one <ordredujour> tag in all my html

My problem is that in HTML tab, I don't see my custom tag around selection. Do you know why ?

 

Rumen
Telerik team
 answered on 24 May 2011
1 answer
110 views
Hello

I have a grid that displays products and when a user filters data on grid and go to detail page, make neccessary changes, I want to go back to filtered data again. Because i moved to another page, i use response.redirect(product.aspx) where all filtering and paging is gone.If i use browsers back button twice i can see filtered data.

How can i handle this?

Tsvetoslav
Telerik team
 answered on 24 May 2011
1 answer
69 views
Dear Telerik,
From an ASP.NET application, I open an ASPX page in a maximized RadWindow. This page runs a Silverlight Application that at some point needs to change the title of the RadWindow.

I tried the following:
HtmlDocument document = HtmlPage.Document;
document.SetProperty("title", "My Title");

That did not work, then I tried:
string title = "My Title";
HtmlWindow top = HtmlPage.Window.GetProperty("top") as HtmlWindow;
HtmlDocument htmlDoc = top.GetProperty("document") as HtmlDocument;
htmlDoc.SetProperty("title", title);
And that did not work either.

How Do I do that?

Salah A. Malaeb
TeknoBuild
Georgi Tunev
Telerik team
 answered on 24 May 2011
1 answer
33 views
We tested a Playbook through BES on the intranet but the upload of a file just spins forever after picking a file from the Blackberry phone.
Ivan Zhekov
Telerik team
 answered on 24 May 2011
2 answers
125 views
I have a button in an updatepanel, with a RadProgressManager/Area thing going on. The Area is set with RegisterForSubmit="false" and the button has an onclientclicked="showProg", which is a function which calls getRadProgressManager().startProgressPolling();

First click shows the progress bar, but when it's finished the progress bar disappears and then reappears very quickly (it should stay gone).

Second click shows the completed progress bar from before, for the correct duration, then hides it (and it doesn't reappear). (it should show the correct progress sequence).

Subsequent clicks behave as the second.

Display.aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <asp:UpdatePanel runat="server">
    <ContentTemplate>
        <telerik:RadButton ID="btn1" runat="server" Text="Go!" OnClick="btn" OnClientClicked="showProg">
    </telerik:RadButton>
    <telerik:RadProgressManager ID="RadProgressManager1" Runat="server" RegisterForSubmit="false" />
    <telerik:RadProgressArea ID="RadProgressArea1" Runat="server">
    </telerik:RadProgressArea>
</ContentTemplate>
    </asp:UpdatePanel>
    </form>
    <script type="text/javascript">
        function showProg() {
            getRadProgressManager().startProgressPolling();
        }
    </script>
</body>
</html>

Display.aspx.cs:
using System;
using System.Threading;
using Telerik.Web.UI;
 
public partial class Default : System.Web.UI.Page
{
    protected void btn(object sender, EventArgs e)
    {
        var prog = RadProgressContext.Current;
        for (int i = 0; i < 10; i++)
        {
            prog.PrimaryPercent = (i+1) * 10;
            prog.CurrentOperationText = String.Format("Doing step {0} of 10", i + 1);
            Thread.Sleep(TimeSpan.FromSeconds(0.5));
        }
        prog.OperationComplete = true;
    }
}


(I would attach the zipped solution, but the attach file dialog only permits images)
Peter Filipov
Telerik team
 answered on 24 May 2011
4 answers
311 views
Hello Telerik Team,

I want to achieve a scenario wherein I want the header checkbox to be uncheck whenever I click an item from the Grid.

Any help would be appreciated.

Regards,

Anthony
Anthony
Top achievements
Rank 2
 answered on 24 May 2011
5 answers
288 views
How on earth do I find the DataKey when I'm doing an update?  I've tried everything...


Private Sub rtlAccounts_UpdateCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.TreeListCommandEventArgs) Handles rtlAccounts.UpdateCommand
    Dim txtAccountDescription As RadTextBox = TryCast(e.Item.FindControl("txtAccountDescription"), RadTextBox)
    Dim txtAdminName As RadTextBox = TryCast(e.Item.FindControl("txtAdminName"), RadTextBox)
    Dim txtAdminEmail As RadTextBox = TryCast(e.Item.FindControl("txtAdminEmail"), RadTextBox)
    Dim rcbStatus As RadComboBox = TryCast(e.Item.FindControl("rcbStatus"), RadComboBox)
    Dim rntDocRetention As RadNumericTextBox = TryCast(e.Item.FindControl("rntDocRetention"), RadNumericTextBox)

    Dim item As TreeListEditableItem = TryCast(e.Item, TreeListEditableItem)
    Dim MyDataKeyID As String =  'Now what???
End Sub

Also would like to know how to find the ParentDataKey from an InsertCommand and the UpdateCommand as well.
Tsvetina
Telerik team
 answered on 24 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?