Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
157 views
Is there something special I have to do in order to have a RadFormDecorator on my aspx page?

I am having issues with a web app and the RadFormDecorator so I created a new blank asp.net C# web application.

In both, my working app and the new blank app, any page that has a RadFormDecorator will give me a message on the browser status bar about a picture downloading from a webresource.

On the new blank app, I went through the Configure Project wizard and did not enable ScriptManager CDN or StyleSheetManager CDN. Left the Telerik skin as Default and all other settings as default.

No clue how to proceed.



Bozhidar
Telerik team
 answered on 15 Sep 2011
2 answers
419 views
hello
i'm trying to change showinterval and autoclosedelay interval from clide-side
i'm found method set_autoCloseDelay() and set_showInterval()

setting value exists in textbox control and i wish to change the interval value from textbox's values.

here is my code. i just added timer for watching count . but it was not work well when i changed textbox value and clicked the button

please look at the my code, and help me. thank you.

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp4._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>
    <link href="./Styles/TempTemplate.css" rel="Stylesheet" type="text/css" />
    <script type="text/javascript" language="javascript" src="./Scripts/RadNotification.js"></script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <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>
    </div>
        <script type="text/javascript">
            var firstNotificationShowTime = 0;
            var firstNotificationHideTime = 0;
            var timerFirstShow;
            var timerFirstHide;
 
 
            $(document).ready(function () {
                var firstNotification = $find("<%=RadNotificationFirst.ClientID %>");
                 
                $("#TextBoxFirstNotificationShowInterval").val(firstNotification.get_showInterval());
                $("#TextBoxFirstNotificationHideInterval").val(firstNotification.get_autoCloseDelay());
 
            });
 
            function ChangeNotificationTimer() {
                var firstNotification = $find("<%=RadNotificationFirst.ClientID %>");
             
 
 
                var firstNotificationShowInterval = $("#TextBoxFirstNotificationShowInterval").val();
                var firstNotificationHideInterval = $("#TextBoxFirstNotificationHideInterval").val();
 
                firstNotification.set_autoCloseDelay(parseInt(firstNotificationHideInterval));
                firstNotification.set_showInterval(firstNotificationShowInterval);
 
                return false;
            }
 
            function CountTimerHide() {
 
                firstNotificationHideTime -= 1000;
 
                $("#tdOutputFirst").html("hiding after" + parseInt(firstNotificationHideTime / 1000) + " Second");
            }
 
            function CountTimerShow() {
                firstNotificationShowTime -= 1000;
                $("#tdOutputFirst").html("showing after" + parseInt(firstNotificationShowTime / 1000) + " Second");
            }
 
            function OnClientShowing(sender, args) {
                 
                    clearInterval(timerFirstShow);
                    $("#print").html($("#print").html() +" "+sender.get_id()+ "showing call<br>");
                    firstNotificationHideTime = sender.get_autoCloseDelay();
                    timerFirstHide = setInterval("CountTimerHide()", 1000);    
            }
 
            function OnClientHiding(sender, args) {
 
                    clearInterval(timerFirstHide);
 
                    $("#print").html($("#print").html() + " " + sender.get_id() + "Hiding call<br>");
                    firstNotificationShowTime = sender.get_showInterval();
                    timerFirstShow = setInterval("CountTimerShow()", 1000);
            }
    </script>
    <div>
        <table cellpadding="0" cellspacing="0" style="">
            <tr>
                <td class="tdLeftContent">First Notification Show Interval</td>
                <td class="tdRightContent">
 
                    <asp:TextBox ID="TextBoxFirstNotificationShowInterval" runat="server"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="tdLeftContent">First Notification Hide Interval</td>
                <td class="tdRightContent">
                    <asp:TextBox ID="TextBoxFirstNotificationHideInterval" runat="server"></asp:TextBox>
                </td>
 
            </tr>
            <tr>
                <td style="text-align:center;" colspan="2">
                    <asp:Button ID="Button1" runat="server" Text="Change" OnClientClick="return ChangeNotificationTimer();"/>
                </td>
            </tr>
            <tr>
                <td id="tdOutputFirst" style="text-align:center;" colspan="2">
                     
                </td>
 
            </tr>
        </table>
    </div>
    <div id="print">
    </div>
        <telerik:RadNotification ID="RadNotificationFirst" runat="server" Position="Center" ShowInterval="7000" AutoCloseDelay="6000"
            Width="300" Height="200" Title="First Notification"  OffsetX="-180" OffsetY="-65" OnClientShowing="OnClientShowing" OnClientHiding="OnClientHiding"
            TitleIcon="" EnableRoundedCorners="true">
        </telerik:RadNotification>
 
    </form>
</body>
</html>
Marin Bratanov
Telerik team
 answered on 15 Sep 2011
2 answers
874 views
Hi,

I want  my radtextbox to be with input mask to enter phone numbers something like +91-80-12345678.

Is there any property to specify this?


Thanks
Princy
Top achievements
Rank 2
 answered on 15 Sep 2011
0 answers
97 views
Is there a way of disabling the use of a templated filter programatically? I have a couple of columns which have, by default, templated filters. I want to be able to give the option of reverting back to the standard RadGrid filters.

Edit: Never mind. Figured it out - I just have to null it out.

RadGrid1.MasterTableView.Columns[3].FilterTemplate = null;
David
Top achievements
Rank 1
 asked on 15 Sep 2011
3 answers
268 views
I have a grid that are being generated from supplied data source with AutoGenerateColumns = true. The first column has  edit button and the rest of the columns are being generated from the data source which works fine.

However, for one of the column in the data source, if the column name is certain name, it needs to be changed to hyperlink and provide link information. It looks like those generated columns are not available in ItemDataBound or I am not doing this right.

Can you help?


Iana Tsolova
Telerik team
 answered on 15 Sep 2011
4 answers
185 views
Hi,

I've an issue with column widths. I'll discribe the scenario: we've a grid with width of 100% to fit the browser screen. Normally the users will work with screen resolution of 1280 x1024 but with resolutions smaller than 1000 pixels width, one column will be hidden. The grid have 5 columns which 4 columns have fixed widths in pixels and one column have the width of remaining pixels. This is a known issue but i can't find a solution.

I've tried with min-width (css) but this will not fix it. I've also checked the OnColumnRezising event, this will be fired on the first load but not on resizing of the browserwindow itself. While reszing, i can't request the current width of one column because the width is not set.

I hope you have a solution for this.

Kind Regards,

Jelle
Erick
Top achievements
Rank 2
 answered on 15 Sep 2011
3 answers
108 views
Ah, the joys of coding on a weekend...
So often needing the help of telerik wizards.

Must be missing something totally obvious. Setup a little test with radgrid, button outside of grid, click on button with CommandName="ExportToPdf" and CommandArgument="radgridName". On button click do a radgridName.MasterTableView.ExportToPdf(). All works well. IE pops up a window asking if I want to open or download the pdf. Great.

Back to my project with a large grid, lots of events, Ajax, etc. Same commands. Export command executes. Instead of creating the pdf, it rewrites the webpage with formatting adjusted like for the pdf. IE never responds. No pdf anywhere. Any guess as to what I might be doing wrong?

Thanks.
Chris
Mira
Telerik team
 answered on 15 Sep 2011
1 answer
107 views
Hello Telerik,

In the demo project called helpdesk/webmail on this location:
http://demos.telerik.com/aspnet-ajax/webmail/

When i select the skin Office2010Black, Office2010Silver and Office2010Blue the skin is applied, but the skin selector disappears. Also the highlighted rows on hoovering (mouse move over the grid lines) goes wrong in the first two rows.

this happens in both IE7 and IE8. unfortunately I have to be compatible for IE7 & 8 also... can you figure out why?

Thanks

Erik
Ivan Zhekov
Telerik team
 answered on 15 Sep 2011
6 answers
242 views

Hi,

Now i am able to print RadGrid selected row with the help of following article:
http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-print-selected-radgrid-row-and-add-new-link-button-in-command-item-template.aspx

I need to print Header Row along with selected row.

How can i achieve above requirement.

Thanks in advance...

Tsvetoslav
Telerik team
 answered on 15 Sep 2011
3 answers
129 views
Our NoRecordsTemplate looks great in IE8 (see attachment) however in IE9 the ExpandRow becomes huge and ruins the look.  Depending on the number of columns, sometimes the ExpandRow can even take 100% of the visible width!  How do we fix it so that the ExpandRow stays constant?

<NoRecordsTemplate>
    <div style="background: url(/Images/noresults-background.jpg) no-repeat 50% 80%; height: 159px">
        <img src="/Images/noresults-magnifying-glass.png" alt="Search icon" align="left"
            style="vertical-align: middle" />
        <div style="padding: 15px">
            <h2 style="margin-left: 142px">
                Sorry, no matching records found.
            </h2>
            <ul style="margin: 15px 10px 0px 145px" class="green-bullets">
                <li>Are you in the correct time range? Double check the Start and End dates below.</li>
                <li>Have you verified that the client is still active? Check the Status dropdown.</li>
                <li>Do you have an assignment to the client still? Ask your System Administrator.</li>
            </ul>
        </div>
    </div>
</NoRecordsTemplate>
Radoslav
Telerik team
 answered on 15 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?