Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
170 views
Dear Support,

I can send you a sample project that reproduces a bug related to RadTimePicker we haven't been able to solve so far. I wasn't able to issue a support ticket although we have licensed copy of RadControls for Ajax and Report. Please let me know how you'd like to get the sample project.
In that sample .NET 3.5 web application project, WebForm1.aspx is a start page. It has 2 panels. First panel is visible and second one is invisible.
Panel 1 has a "Show Time Picker" button that when clicked toggles both panel's visibility. I.e. it switches to panel 2.
Panel 2 has a RadTimePicker and a Back button.
Back button's OnClickClick opens a RadWindow which shows another page called ConfirmBox.aspx.
On confirming Yes, a JS function is called that calls WebForm1's (parent's) callback JS function.
The callback function does a __postback indicating that BackButton is clicked.
In the codebehind PageLoad method if BackButtonClicked flag is set then the Panel 1 is visible.

Once you get the sample project, you can reproduce the problem with these steps:
  • Click Show Time Picker in Panel 1.
  • Panel 2 is shown.
  • Click Back button on Panel 2.
  • Confirmation box appears.
  • Click Yes.
  • Panel 1 is shown again.
  • Click Show Time Picker button again.
  • Now the Panel would be displayed with RadTimePicker not rendered at all in IE, Firefox, Chrome, Safari.

See attached screen showing the problem with RadTimePicker. The problem happens only when RadAjaxManager or RadAjaxPanel are used. We want to show progress indicator so we want to use RadAjaxManager or RadAjaxPanel but we're now stuck.

Please help.

Thank you,
Parvinder Grover
Aldelo Systems
Dimo
Telerik team
 answered on 12 Oct 2010
1 answer
90 views
Hi I am trying to print a RadSlider, but it doesn't show up.

I can replicate this on a standard aspx page. Have attached a picture of normal view and print preview view, and also the code. Have tried two skins default and vista and it happens to both. The print preview picture is exactly what happens when printing to paper as well.

Can you help me get it to print?

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="bq_test" %>
  
<!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>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      
    <telerik:RadScriptManager ID="RSM1" runat="server" />
    <telerik:RadSlider ID="RadSlider1" runat="server" ShowDecreaseHandle="false" ShowIncreaseHandle="false" ItemType="Item" Height="55" Enabled="false" Width="400" Skin="Default">
        <Items>
            <telerik:RadSliderItem Value="1" Text="A" />
            <telerik:RadSliderItem Value="1" Text="B" />
            <telerik:RadSliderItem Value="1" Text="C" />
            <telerik:RadSliderItem Value="1" Text="D" />
            <telerik:RadSliderItem Value="1" Text="-" />
        </Items>
    </telerik:RadSlider>
          
  
    </div>
    </form>
</body>
</html>
Tsvetie
Telerik team
 answered on 12 Oct 2010
3 answers
79 views
hi,

i create radwindow1 and maximize it via javascript. After that theres a second radwindow2 which can be opened from radwindow1.

The problem is that radwindow1 is still on top of everything still showing itself maximized.
When i close radwindow1 it disappears correctly. Behind it then i can see radwindow2.
Radwinows aren't modal.

My current workaround is to

.hide() radwindow1 on opening radwindow2.
and .show() radwindow1 on closing radwindow2.

but this way radwindow1 seems to completely reload itself, as if its just created again. (but in the online help it says it just goes invisible.. and i dont have ReloadOnShow=true)

why hides the maximized win the following radwindows?
is there another possiblity to show radwindow2 in front of the maximized radwindow1 as normally intended?

cheers Mario
Georgi Tunev
Telerik team
 answered on 12 Oct 2010
1 answer
415 views
I am using the Office2007 skin. Is there an easy way to override the style so that the underline on the hyperlink is not displayed?

Thanks.
Princy
Top achievements
Rank 2
 answered on 12 Oct 2010
2 answers
130 views
Can you tell me how I would disable a RadComboBox on a RadGrid Popup Edit form ONLY when the Popup Edit form is in Update mode? I need the RadComboBox to be enabled when in Insert mode. Thanks =)
Philip Senechal
Top achievements
Rank 1
 answered on 12 Oct 2010
1 answer
117 views
Hello,

I'm trying to fill a RadInput that has an EmptyMessage with jquery but the field keeps the EmptyMessage formatting (gray)(see attachement). Is there a way to do this?

Input code
<asp:CheckBox ID="Copy" ClientIDMode="Static" runat="server" Text="Copy"  />
<telerik:RadTextBox ID="PHText" ClientIdMode="Static" EmptyMessage="optional" runat="server" MaxLength="10" />

JQuery code
$(function () {
        $('#Copy').click(function () {
            if ($(this).is(':checked')) {
                $telerik.$('#PHText_text').val('hello world');
            } else {
                $telerik.$('#PHText_text').val('');
            }
        });
    });
keymmachine
Top achievements
Rank 1
 answered on 11 Oct 2010
1 answer
80 views
I will need to do the following:

- Save the output of the PDF file to the server side directory;
- Specify a particular file name for it depending on data, i.e.   MY_USER_ID.PDF .

Please give a pointer on how to accomplish this.
Thanks.

Tony  
Daniel
Telerik team
 answered on 11 Oct 2010
7 answers
129 views
I have a line vertical and then horizontal showing in the left tab of my tab strip.  Help ?

Attached are images and the code lines are below:

<table cellpadding="2" cellspacing="0" class="TableNoBorder" width="100%">
  <tr>
    <td align="center">
    <telerik:RadAjaxLoadingPanel runat="server" ID="LoadingPanel1" IsSticky="true" />
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" LoadingPanelID="LoadingPanel1">
    <div style="width:500px">
    <telerik:RadTabStrip ID="radtabPayment" SelectedIndex="0" runat="server" MultiPageID="radmultipagePayment" Skin="Black" ontabclick="radtabPayment_TabClick" />
    <telerik:RadMultiPage ID="radmultipagePayment" runat="server" SelectedIndex="0" OnPageViewCreated="radmultipagePayment_PageViewCreated" style="border: solid 1px black;" />
    </div>
    </telerik:RadAjaxPanel>
    </td>
  </tr>
</table>
Jeff Reinhardt
Top achievements
Rank 1
 answered on 11 Oct 2010
12 answers
312 views

Hi,

 

I've run into a problem using standard server side code injecting javascript into a label to close a radwindow. The code works fine in IE and FF.

 

ASPX

 

        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz az well)
            return oWindow;
        }

        function CloseWindow() {
            GetRadWindow().Close();
        }


<body style="background-color: #EDF3FE; font-family: Arial; font-size: 12px; color: Navy;
    padding: 0px; margin: 4px; overflow: hidden">
    <form id="form1" runat="server">
    <asp:Label ID="lblJS" runat="server"></asp:Label>
etc...

aspx.cs

 

        protected void cmdCancel_Click(object sender, EventArgs e)
        {
            lblJS.Text = "<script language='javascript'>CloseWindow()</script>";
        }

When I execute the button click Chrome just displays "Aw Snap!"

Looking at Chrome's error console I see:

Failed To Load Resource http://localhost:50163/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.2.826.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a86f56c91-febb-4172-ae71-6c2ba2372421%3a16e4e7cd%3aed16cbdc%3af7645509%3a24ee1bba%3a1e771326%3aaa288e2d%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1

Any idea what's going on please?

Regards

Alan

 

 

alan
Top achievements
Rank 1
 answered on 11 Oct 2010
4 answers
315 views
I have a grid with a nested grid and some buttons in the nestedItemTemplate.
The button opens up a radgrid modal window, The user can make some changes on that page and save them to database.
When the user closes the window I want my nested grid to refresh so that it can pull the updates made to the database without refreshing the page.

Could you help?
Anumeha
Top achievements
Rank 1
 answered on 11 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?