Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
88 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
61 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
100 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
251 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
275 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
2 answers
164 views
Hi all,

I am trying to add RadDock to my page dynamically. Inside the dock I have a RadAjaxPanel. While expanding the dock using the dock expand collapse button I am loading the user control inside the RadAjaxPanel. If I perform any postback inside the usercontrol the control disappears

If suppose if I have a RadGrid as a usercontrol with reordering columns on client property set true It doesnot work when the control is loaded inside the RadDock.

What should I do to solves these problems ?

Thanks in Advance
Karthik
Top achievements
Rank 1
 answered on 11 Oct 2010
0 answers
97 views

Hi!

How to hide drop-down list when there are no rows in it? Now it is showing as 1px-height line (in IE6, font-size-height line).

max m
Top achievements
Rank 1
 asked on 11 Oct 2010
5 answers
168 views
Losing the last 6 columns on a grid that has 42 columns (I know it's a lot but what can I do the user wants it like that) when I use scrolling with the 1st column frozen and static headers.

The scrolling works but I can't scroll all the way to the right so we can't see the last 6 columns, this is really a simple grid.

The 42 columns are TemplateColumns and all have a textbox in them.

At the moment I have a workaround by adding 7 bogus columns that have nothing in them. What this does is I can't see the last 6 columns but because they are fake columns I don't care.

I am using 2010.2 929 of the controls.

Please note that I currently have ticket open dated May 2008 for this issue (with a test project). Just hoping that someone has found out why this is happening when the number of columns is large (note I do not have this issue if the number of columns is like 10 or so).

Thanks as always.

Alex
Top achievements
Rank 2
 answered on 11 Oct 2010
2 answers
53 views
On getting started page find "Using the Scheduler to manage Appointments" then scroll down to "Customizing the Scheduler". Item 2 refers to the "StartInFullTime" property. This doesn't exist anymore; it is now "ShowFullTime".

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 11 Oct 2010
1 answer
111 views
I need to render the Y axis on a horizontal bar chart like so...

                  |
                  |
   My Label |XXXXXXXXXXXXXXXXXXXXX
                  |
                  |
Next Label |XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                  |
                  |___________________________________
                  0             1            2              3          4....

Any ideas how this could be done?

Thanks.
Evgenia
Telerik team
 answered on 11 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?