Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
98 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
175 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
83 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
124 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
187 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
143 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
5 answers
167 views
How can i get the database value ID

aspx:
<telerik:RadContextMenu ID="RadContextMenu1" runat="server" OnItemClick="RadMenu1_ItemClick">  
   <Items> 
       <telerik:RadMenuItem runat="server" Text="Pagina Toevoegen">  
       </telerik:RadMenuItem> 
       <telerik:RadMenuItem runat="server" Text="Pagina Wijzigen">  
       </telerik:RadMenuItem> 
       <telerik:RadMenuItem runat="server" Text="Pagina Verwijderen">  
       </telerik:RadMenuItem> 
   </Items> 
   <Targets> 
       <telerik:ContextMenuControlTarget ControlID="panelmenu1" /> 
   </Targets> 
</telerik:RadContextMenu>   
 
 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">  
 
<telerik:RadPanelBar runat="server" ID="panelmenu1" Width="100%" PersistStateInCookie="True" OnPreRender="panelmenu1_PreRender" OnItemClick="RadPanelBar1_ItemClick" /> 
<asp:label Runat="server" ID="Label1" Text="Standard"></asp:label> 
</telerik:RadAjaxPanel> 

vb:
    Protected Sub RadMenu1_ItemClick(ByVal sender As ObjectByVal e As RadMenuEventArgs)  
 
        Select Case e.Item.Text  
            Case "Pagina Toevoegen" 
 
                ' NEED ID FROM SELECTED ITEM HERE  
 
                Exit Select 
        End Select 
    End Sub 
 

The idea is to get the right database ID and send that ID to the radwindow.

So i anyone has a code for it, it would be very helpfull
David Blok
Top achievements
Rank 1
 answered on 14 Dec 2009
2 answers
86 views
Hello Telerik - Team,

how can I set the size of textboxes weh I update a row in the EditMode="InPlace"

Now all textboxes have the same size.

thanks
Christian
Princy
Top achievements
Rank 2
 answered on 14 Dec 2009
2 answers
263 views

I have a RadGrid with a GridCheckBoxColumn.  When exporting to Excel the values for this column do not make it to the Excel file.  The column in the spreadsheet is there but no data.

 

Sphengle
Top achievements
Rank 1
 answered on 14 Dec 2009
1 answer
69 views
Hi Telerik Team

I'm using
Telerik Controls for Asp.net Ajax 2008 Q3
and just I Upgrade to
Telerik Controls for Asp.net Ajax 2009 Q3

I faced  many design Issues that I can not detect the causes for this

I attached  design issues samples for referencing
 
How can I overcome these issues ?

plz provide me with tips to overcome it??

Notes:
I'm using the following
  • Rad controls for asp.net ajax 2009 Q3
  • windows 7 as an operating system
  • IE8 as web browser
  • asp.net 3.5



Daniel
Telerik team
 answered on 14 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?