Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
214 views
This is weird. 

For some reason the RadDateTimePicker is only showing the time selection, not the calendar popup.  Is there some style that get's rid of it? 

The funny thing is that I copied the markup from a simple project I have which does show it correctly.

In looking at the markup, I see the a tag for "open the calendar popup" being rendered; however, it's just not displaying.

UPDATE:
I just realized the time icon is actually rendering right on top of the calendar icon.  So, it is being displayed.. kind of.
chris lively
Top achievements
Rank 1
 answered on 14 Dec 2009
2 answers
108 views
Hi Telerik Team

I have just downloaded and installed Q3 2009 and I am experimenting with the custom tool strips to reduce the size of the tool bar in the editor, neat :-)

I tried adding Font Name and Real Font Size to one of my custom group tabs but neither of them seem to function. Are these two items not functional when added to a custoom tool strip group?
Paul Taylor
Top achievements
Rank 1
 answered on 14 Dec 2009
3 answers
251 views
Very simple:  I want to display an alert onError with a datepicker but, I don't want the alert to display when they leave the field.  Currently, the onError event fires for invalid dates when the user leaves the field.  I either need to supress that event during that case or make the onError method smart enough to know if it is called during a Blur of the field.

Thoughts?

- Adam
Pavlina
Telerik team
 answered on 14 Dec 2009
5 answers
111 views
Not sure how I should do this but I need to print schedule of current view Day/Week/Month

Peter
Telerik team
 answered on 14 Dec 2009
2 answers
105 views
Hello
i m using telerik version 2009.3.1210.35, i m using rad editor,
in my page --> radwindow-->Usercontrol-->rad editor
display only Bullet i m using sking sunset,in Firefox is display proper,but in IE8 not display proper,Here i attached screen shot




how can i solve this error
Amitkumar
Top achievements
Rank 1
 answered on 14 Dec 2009
1 answer
185 views
I have a problem with the visualising of my RadLoadingPanel which i add to the MasterPage. According to a thread i found earlier on this forum i found a perfect example how to get it working in a MasterPage. This worked out well and the RadLoadingPanel was working properly, however after i was finishing up the project i found out it didn't work anymore. Strangest thing was i didnt change anything on the MasterPage. I thought my code is implemented well but i may have made a mistake. I also have the following warning in visual studio 2008:

Warning    4    Error updating JScript IntelliSense: Telerik.Web.UI.Common.jQuery.js:Telerik.Web.UI: Deze eigenschap of methode wordt niet ondersteund door dit object @ 640:0    C:\Prj 2009_2\Vegas\VEGAS\App_Master\default\default_simple.Master    1    1    VEGAS

<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="default_simple.Master.cs" 
    Inherits="VEGAS.App_Master.def.defaultSimple" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<%@ Register Src="../../ucRoot/ucTitle.ascx" TagName="ucTitle" TagPrefix="uc1" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
<head id="Head1" runat="server"> 
    <title>VEGAS - Database Applikatie - sl</title> 
    <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
 
    <script language="javascript" type="text/javascript" src="JavaScripts/hide_and_slide.js"></script> 
 
    <script language="javascript" type="text/javascript" src="JavaScripts/functions.js"></script> 
 
    <script type="text/javascript"> 
 
        function conditionalPostback(e, sender) { 
 
            var re = new RegExp("\.btnUpload$", "ig"); 
 
            if (sender.EventTarget.match(re)) { 
                sender.EnableAjax = false; 
            } 
 
        } 
    </script> 
 
    <asp:ContentPlaceHolder ID="head" runat="server"> 
    </asp:ContentPlaceHolder> 
</head> 
 
<script type="text/javascript"> 
 
    function doBlink() { 
        // Blink, Blink, Blink... 
        var blink = document.all.tags("BLINK") 
        for (var i = 0; i < blink.length; i++) 
            blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : "" 
    } 
 
    function startBlink() { 
        // Make sure it is IE4 
        if (document.all) 
            setInterval("doBlink()", 1000) 
    } 
    window.onload = startBlink; 
 
    function onBlur() { 
        document.body.className = 'blurred'; 
        //document.body.focus(); 
    }; 
 
    function onFocus() { 
        document.body.className = 'focused'; 
    }; 
 
    if (/*@cc_on!@*/false) { // check for Internet Explorer 
        document.onfocusin = onFocus; 
        document.onfocusout = onBlur; 
    } else { 
        window.onfocus = onFocus; 
        window.onblur = onBlur; 
    } 
</script> 
 
<body id="MainBody_full"> 
    <form id="form1" runat="server"> 
    <asp:ScriptManager 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" /> 
            <asp:ScriptReference IgnoreScriptPath="True" Path="~\JScript.js" /> 
        </Scripts> 
    </asp:ScriptManager> 
 
    <script type="text/javascript"> 
        function requestStarted(sender, eventArgs) { 
            if (eventArgs.EventTarget.indexOf("btnUpload") != -1) { 
                eventArgs.set_enableAjax(false); 
            } 
            if (eventArgs.EventTarget.indexOf("btnTTT333TTT") != -1) { 
                eventArgs.set_enableAjax(false); 
            } 
        } 
        function adjustLoadingPanelHeight() { 
            $get("<%= RadAjaxLoadingPanel1.ClientID %>").style.height = document.documentElement.scrollHeight + "px"; 
        } 
     
    </script> 
 
    <div id="ParentDivElement" style="height: 100%;"> 
        <telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%" 
            Orientation="Horizontal" VisibleDuringInit="false"> 
            <telerik:RadPane ID="TopPane" runat="server" Height="81" Scrolling="none"> 
                <div id="nav"> 
                    <asp:ContentPlaceHolder ID="cphNav" runat="server"> 
                    </asp:ContentPlaceHolder> 
                </div> 
                <div class="header"> 
                    <div class="searchf"> 
                        <asp:ContentPlaceHolder ID="cphHeader" runat="server"> 
                        </asp:ContentPlaceHolder> 
                    </div> 
                    <div class="leftside"> 
                        <uc1:ucTitle ID="ucTitle1" runat="server" /> 
                        <asp:ContentPlaceHolder ID="cphPageTitle" runat="server"> 
                        </asp:ContentPlaceHolder> 
                    </div> 
                </div> 
            </telerik:RadPane> 
            <telerik:RadPane ID="MainPane" runat="server" Scrolling="none" MinWidth="500"> 
                <telerik:RadSplitter ID="NestedSplitter" runat="server" LiveResize="true" VisibleDuringInit="false"> 
                    <telerik:RadPane ID="LeftPane" Scrolling="none" runat="server" Width="225"> 
                        <!-- Left Pane --> 
                        <div id="leftpane_content" style="height: 100%;"> 
                            <asp:ContentPlaceHolder ID="cphLeft" runat="server"> 
                            </asp:ContentPlaceHolder> 
                        </div> 
                        <!-- Left Pane --> 
                    </telerik:RadPane> 
                    <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" /> 
                    <telerik:RadPane ID="MainContentPane" runat="server" Scrolling="None"> 
                        <telerik:RadSplitter ID="FooterSplitter" runat="server" Orientation="Horizontal"> 
                            <telerik:RadPane ID="ContentPane" Locked="false" runat="server" CssClass="ApplyPosition" 
                                Scrolling="both"> 
                                <!-- Content --> 
                                <div class="main_content"> 
                                    <div class="content"> 
                                        <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel1" ClientEvents-OnRequestStart="requestStarted"> 
                                            <asp:ContentPlaceHolder ID="cphMain" runat="server"> 
                                            </asp:ContentPlaceHolder> 
                                        </telerik:RadAjaxPanel> 
                                    </div> 
                                </div> 
                                <!-- Content --> 
                            </telerik:RadPane> 
                            <telerik:RadSplitBar ID="FooterSplitBar" runat="server" CollapseMode="Backward" /> 
                            <telerik:RadPane ID="FooterPane" Scrolling="none" MinHeight="150" MaxHeight="150" 
                                Locked="false" runat="server" Height="150" BackColor="#FFDEAB"> 
                                <div id="bottomb"> 
                                    <asp:ContentPlaceHolder ID="cphSiteMap" runat="server"> 
                                    </asp:ContentPlaceHolder> 
                                </div> 
                            </telerik:RadPane> 
                        </telerik:RadSplitter> 
                    </telerik:RadPane> 
                </telerik:RadSplitter> 
            </telerik:RadPane> 
             
        </telerik:RadSplitter> 
    </div> 
    <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="Sunset"> 
    </telerik:RadSkinManager> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1" 
        ClientEvents-OnRequestStart="adjustLoadingPanelHeight();" /> 
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> 
        <Windows> 
            <telerik:RadWindow ID="helpWindow" Title="Helppagina" Modal="false" runat="server" 
                VisibleStatusbar="false" ReloadOnShow="true" Width="750" Height="540" DestroyOnClose="false"> 
            </telerik:RadWindow> 
            <telerik:RadWindow ID="contactWindow" Title="Helppagina" Modal="false" runat="server" 
                VisibleStatusbar="false" ReloadOnShow="true" Width="750" Height="540" DestroyOnClose="false"> 
            </telerik:RadWindow> 
        </Windows> 
    </telerik:RadWindowManager> 
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server"> 
    </telerik:RadStyleSheetManager> 
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="70" 
        BackColor="Red" IsSticky="true"  
        Style="position: absolute; top: 0; left: 0" Width="100%" 
        Height="100%" /> 
    </form> 
</body> 
</html> 
 

Anyone who knows or sees what im doing wrong?


Iana Tsolova
Telerik team
 answered on 14 Dec 2009
1 answer
88 views
Dear Telerik,

I am using a read-only view of the timeline with dates across the top and resources down the left side.

I often have many resources on any given timeline view that don't have appointments associated with them. So, I'd like to hide those so the user only sees resources that have activity on them for the dates displayed.

I didn't see a built-in way to do this, and I'm struggling with how to dynamically add just the resources I need to the resource collection. Whenever I do that, no resources display at all.

Do you have a recommended way of accomplishing this?

Thanks...

Don
Peter
Telerik team
 answered on 14 Dec 2009
1 answer
129 views
Hi ,

I have a file upload control in my rad grid editformtemplate and the posted file has to be saved on the click of a button
inside the template . The code for this has been placed inside the ItemCommand . The ItemCommand fires when i upload files with filenames having no special character or spaces between them , but when i try for files having special character or spaces between them
the event is not fired and the IE displays page cannot be found . Any Idea on  why this happens. 

.ASPX CODE:
<EditFormSettings EditFormType="Template">
                                                            <EditColumn UniqueName="EditCommandColumn">
                                                            </EditColumn>
                                                            <FormTemplate>
                                                                <table id="tableSupportingFilesTemplate" cellspacing="2" cellpadding="1" width="100%"
                                                                    border="0" rules="none" style="border-collapse: collapse; background: white;">
                                                                    <tr>
                                                                        <td width="2%">
                                                                        </td>
                                                                        <td colspan="3">
                                                                            <asp:CheckBox ID="checkBoxVisibleFiles" Enabled="false" runat="server" Checked='<%# (DataBinder.Eval(Container.DataItem,"VisibleToCustomer") is DBNull ?false:Eval("VisibleToCustomer")) %>'
                                                                                Text="Visible to the Customer/Prospect?" />
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td width="2%">
                                                                        </td>
                                                                        <td colspan="3">
                                                                            <asp:Label ID="labelFileText" runat="server" Text="File Name : "> </asp:Label>
                                                                            <asp:Label ID="labelFileName" Text='<%# Bind("OriginalFileName") %>' runat="server"></asp:Label>
                                                                        </td>
                                                                    </tr>
                                                                    <tr>
                                                                        <td width="2%">
                                                                        </td>
                                                                        <td colspan="3">
                                                                            <asp:FileUpload ID="fileUploadControl" runat="server" Width="50%" />
                                                                        </td>
                                                                    </tr>
</table>
 <FormTemplate>
                                                                

.CS CODE
ITEMCOMMAND EVENT
if (e.CommandName == "Insert")
        {
            if (e.Item is GridEditFormInsertItem)
            { 

FileUpload fileUploadCtrl = (FileUpload)insertFormItem.FindControl("fileUploadControl");
 if (fileUploadCtrl.HasFile == true)
                {
                    try
                    {

                        string fileName = Path.GetFileName(fileUploadCtrl.FileName);
                        fileUploadCtrl.SaveAs(System.Configuration.ConfigurationSettings.AppSettings["FilePath"].ToString() + "/" + GenerateRandomFileName(fileUploadCtrl));
 }
 
catch (Exception ex)
                    {

                    }

regards
Ratheesh
Veli
Telerik team
 answered on 14 Dec 2009
3 answers
192 views
Hi There

I have a RadTextbox and RadiobuttonList. What I want is when there is a focus on textbox the radiobuttonlist should be visible.
Problem I am facing is that there is no server-side event for 'focus'. So I have to use javascript. I want the radiobutton to be invisible when the page loads. So when i use javascript I cannot find that radiobuttonlist control.
Is there a way i can achieve this through server side event or some other way. Please let me know its urgent.

Thanks
Nupur Yaduka
Shinu
Top achievements
Rank 2
 answered on 14 Dec 2009
2 answers
149 views
when we use skin manager on webform.we can see also telerik skin effect(like colour) on asp controls like button ,Radio button al.how can we apply telerik skin effect on asp textbox.
plz reply
Dimo
Telerik team
 answered on 14 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?