Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
126 views
I have a need to set the value of the DateTimePicker control via javascript.
After a bit of research I came up with this:

function setDate() {
    var picker = $find('<%= dtStart.ClientID %>');
    var picker2 = $find('<%= dtEnd.ClientID %>');
    picker2.set_selectedDate = picker.get_selectedDate;
}

But this does not work. I think I need some help, could someoen point me in the right direction please?
Jaymie
Top achievements
Rank 1
 answered on 06 Jan 2011
3 answers
172 views
i have created dockable DIV inside raddock with controls inside DIV, after doing that i have noticed the extra space in radContent, i tried applying css but not got the result as i expected, for your reference i am attaching the output modified image.

my problem is i want radDock to fit the width with the DIV no extra space required outside the div.
check the image[i have specified background for content to silver color] its appearing right side and bottom side of the DIV
CSS applied for DOCK.
.profileBlue
        {
            width: 126px;
        }
        .profileBlue .top
        {
            width: 126px;
            height: 8px;
            background: url(/images/profileBlueTop.jpg) no-repeat top left;
        }
        .profileBlue .middle
        {
            width: 106px;
            background-color: #cde6ec;
            height: auto;
            padding: 0 10px 0 10px;
            word-wrap: break-word;
            color: #323232;
            line-height: 20px;
        }
.RadDock .rdLeft, .RadDock .rdRight, .RadDock .rdBottom, .RadDock .rdTop
        {
            display: none !important;
        }
        .RadDock .rdContent
        {
            background-color: Silver;
        }
        .RadDockZone
        {
            width: 140px;
        }
    </style>
 
    <script type="text/javascript">
        function SetHandleDock(dock, args) {
            dock.set_handle(document.getElementById("Handle_" + dock.get_id()));
        }
    </script>

aspx code
<telerik:RadDockZone ID="RadDockZone1" runat="server">
      <telerik:RadDock ID="RadDock1" runat="server" DockHandle="None" OnClientInitialize="SetHandleDock" Index="0" EnableRoundedCorners="True" DockMode="Docked"> <ContentTemplate>
 <div class="profileBlue">
    <div id="Handle_RadDock1" style="cursor: move;" class="top">
    </div>
    <div class="middle">
      - - - - - - - my code ---
    </div>
 </div>
</ContentTemplate>
</telerik:RadDock>
Dobromir
Telerik team
 answered on 06 Jan 2011
1 answer
188 views

Dear Sir,

We brought "Telerik Premium Collection for .NET" and for one of our Web Project we have used
"RadEditor for ASP.NET AJAX" and "RadUpload for ASP.NET AJAX", and we want to give source
code of our web Project to our customer

1. Can we give the source code of our web project with the Telerik DLL's (as we have used
"RadEditor for ASP.NET AJAX" and "RadUpload for ASP.NET AJAX" ) in that project.

2. If not what the minimum components we can buy to embedded in to that project.

Thanks,
Regards,

Sebastian
Telerik team
 answered on 06 Jan 2011
1 answer
90 views
Hi,
I have an radcombobox  in my aspx page or also have radcaptcha.
After select the combobox item the image of rad captcha refresing.
There is any solution of the problem so that radcaptcha image remain intact afetr select the item from combo box.
plz help me asps.
Thanks
Lini
Telerik team
 answered on 06 Jan 2011
3 answers
188 views
Hello,

I have a problem.
I recieve the following error message (View the attached screen shot):

Error: Sys.WebForms.PageRequestManagerServerErrorException: Script control '' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl

I tried the following script manager in my page:

1)
<

 

 

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

 

 

 

 

</asp:ScriptManager>

 

2)

<

 

 

telerik:RadScriptManager runat="server" ID="RadScriptManager1">

 

 

 

 

</telerik:RadScriptManager>

 

But the result is the same (the above error)

Can you please explain to me what is the meaning of the above error message.
It is apprecited if you give me the required code which fix the above error.

Regards,
Bader
Lini
Telerik team
 answered on 06 Jan 2011
8 answers
231 views
I was looking at the ClientSide API function "insertAppointment" and had some questions.  I dropped it into a test app and am trying to manually insert an appointment "on the fly" using only JavaScript.  There are no errors being thrown but the appointment doesn't show up on the Scheduler.  Here is the function, just wondering if I'm missing something:

function AddAppointment() {  
            var scheduler = document.getElementById('RadScheduler1');  
 
            var newAppt = new Telerik.Web.UI.SchedulerAppointment();  
            var start = new Date();  
            var end = new Date();  
            start.setFullYear(2008, 11, 4);  
            start.setHours(10, 30, 0, 0);  
            end.setFullYear(2008, 11, 4);  
            end.setHours(11, 0, 0, 0);  
 
            newAppt.set_start(start);  
            newAppt.set_end(end);  
            newAppt.set_subject("Testing Appointment");  
 
            scheduler.insertAppointment(newAppt);  
        } 


Jose Granja
Top achievements
Rank 1
 answered on 06 Jan 2011
3 answers
71 views
Hi, I have a radeditor with a few buttons; media, document manager, images, link manager etc.

To add a link to my document I fire up the linkmanager and then I want to browse the server for a file. This is not necessarily a document, can be anything; images, media files, documents, html files etc. However, given that the button on the link manager is the document manager and it is also shared with the document manager button in the main editor itself, it only shows me documents that I specified should be shown with the document manager (word, excel, pdf etc). So, how can I make sure that the link manager shows me all files, yet the editor itself only shows me documents when I click the document manager button in the editor itslef?

Thanks,
Rick
Rumen
Telerik team
 answered on 06 Jan 2011
2 answers
122 views
Dear all,

       RadEditor1.Html properties not coming. which version need for that

regards
vinoth
Rumen
Telerik team
 answered on 06 Jan 2011
1 answer
74 views
I have inserted a video, using the media manager in RadEditor. The media player displays just fine on the page, but the video does not play when hitting the play button. I've tried inserting .flv, .mov and .wma, but it makes no difference which filetype I use.

Anyone know the reason for this?
Rumen
Telerik team
 answered on 06 Jan 2011
1 answer
81 views
Hello,

I'm trying to dynamically control the ControlsToCheck property to spell check multiple text boxes on a page contained in a multipage with pageview.  I want to spell check certain fields at certain times and I need the ability to chcek only those controls that area active - these are dynamically controled by my users. In the example below I have 10 user Text Boxes in 10 panels, any of which can be active (Visible) or inactive (not visible) at any time based on some user controls on another page. I control the text boxes using panels so I can hide and show titles and the text boxes with one line of code. Thanks in advance, Dan

 

<table width="750" align="center">
                             <tr>
                                 <td align="center">
                                     <asp:Panel ID="PanelUserField10" Runat="server" visible="false">
                                         <p />
                                         <asp:Label ID="LabelUserField10" Runat="server" CssClass="APR_INFO_TEXT"></asp:Label>
                                         <asp:Panel ID="PanelUserFieldText10" Runat="server">
                                             <br />
                                             <asp:TextBox id="TextUserField10" runat="server" TextMode="MultiLine" CssClass="APR_COMMENT_TEXT" Wrap="true" Rows= "10" Columns = "150"></asp:TextBox>
                                         </asp:Panel>
                                     </asp:Panel>
                                 </td>
                             </tr>
                         </table>
                         <br />
                 </asp:Panel>
                 <DIV style="MARGIN-RIGHT: 20px" align="center">
                                                 <telerik:RadSpell ID="RadSpell2" Runat="server" 
                                                     ControlsToCheck="TextUserField1" 
                                                     SupportedLanguages="en-US,English" 
                                                         DictionaryPath="~/Common/RadSpell" 
                                                     ButtonText="Click here for Spell Check" 
                                                     ToolTip="Click here to check Spelling." Skin="Telerik" />
                                                  </DIV>
             </iewc:PageView>
             <iewc:PageView>
                 <asp:Label ID="LabelGeneralActivities_NotYetSubmitted" Runat="server">
                     <br>
                     <br>

Rumen
Telerik team
 answered on 06 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?