Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
I'm working my through the AdvancedTemplate example in the docs (which is quite out of date, BTW) and have tried to add the Description and Reminder fields to the Template.

Adding the Description has worked OK, but I can't make Reminder work. If I add a line like this to my template ...
Reminder='<%# Bind("Reminder") %>'

and run the page it displays OK and double-clicking to open the advanced form works. But if I try and save the appointment I get this JS error.

Sys.WebForms.PageRequestManagerServerErrorException: Item has already been added. Key in dictionary: 'Reminder'  Key being added: 'Reminder'

-- 
Stuart
Veronica
Telerik team
 answered on 12 Oct 2010
4 answers
166 views
I have followed the example on how to change the End Date when the Start Date changes and it works great.

However, when the Start Time is changed, I would like to achieve the following:

  • I need the End Time to change, but I'd like it to change by a pre-defined amount of time (e.g. 1 hour 30 mins, from a TimeSpan in the code behind) added on to the Start Time. How can I do this?

Regards,
Anthony
Veronica
Telerik team
 answered on 12 Oct 2010
10 answers
289 views
I would like to add some text to the progress area in the colored box above the progress bars. Is this possible and if so how can I achieve this?
ATS
Top achievements
Rank 1
 answered on 12 Oct 2010
1 answer
124 views
I've got a multi-column radComboBox that is working great except for 1 issue: 

The web app uses forms authentication...and when the cookie authentication ticket expires and the user types something into the radcombobox nothing happens...no error is returned/displayed and the web page is not redirected to the login.aspx page (which is what normally happens). 

A couple other things to note:
  1. I've enabled EnableLoadOnDemand implementing OnItemsRequested at the page level.  When the user types into the radComboBox after the Auth Ticket has expired, I confirmed that Fiddler shows login.aspx being returned as the result...but radComboBox just shows "Loading..." and nothing happens.
  2. I'm using latest version - Q2 2010

My Question:

How do i catch this scenario and is there a recommended best practice on how to handle it?  Preferably I would like to just have the radComboBox redirect to the Login.aspx page versus eating the page and just showing "Loading....".  Currently as it is, the user has to force a postback to get the page to redirect to login.aspx. 

Any suggestions much appreciated.  Sample code below:

<telerik:RadComboBox ID="RadComboBox1" runat="server" MarkFirstMatch="True" HighlightTemplatedItems="true"
                            EnableLoadOnDemand="true" ShowMoreResultsBox="true" Width="200px" Skin="Default"
                            DropDownWidth="350px" OnItemsRequested="RadComboBox1_ItemsRequested" DataTextField="FullName"
                            DataValueField="DirID" OnClientItemsRequestFailed="OnClientItemsRequestFailedHandler">
                            <HeaderTemplate>
                                <ul>
                                    <li class="col1">File ID</li>
                                    <li class="col2">Client Name</li>
                                    <li class="col3">Birth Date</li>
                                </ul>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <ul>
                                    <li class="col1">
                                        <%# DataBinder.Eval(Container.DataItem, "DirID") %></li>
                                    <li class="col2">
                                        <%# DataBinder.Eval(Container.DataItem, "FullName") %></li>
                                    <li class="col3">
                                        <%# DataBinder.Eval(Container.DataItem, "Birthdate", "{0:d}") %></li>
                                </ul>
                            </ItemTemplate>
                        </telerik:RadComboBox>
Simon
Telerik team
 answered on 12 Oct 2010
4 answers
301 views
I have a basic grid that I want to allow InPlace editing of a few columns (I will later add an Edit Form to allow for full editing but, for now, this is it).  One of the columns of the grid I want to be a GridDropDownColumn and default it to display the current data and switch to a dropdownlist in Edit mode (again, using InPlace editing) and I want the default selected value to be the current value.

I've been through every demo and sample I could find in Telerik's document but I cannot get the GridDropDownColumn to do ANYTHING. No data shows up for it and no dropdown ever shows when I click the down arrow.  I finally at least got some data to display by falling back to a GridTemplateColumn and putting in an asp:DropDownList control in the EditItemTemplate.  Here is the ASPX:

<asp:ObjectDataSource ID="odsGetTaskStartTimes" runat="server" TypeName="DMCproWebApp.BALHelper" SelectMethod="GetTaskStartTimes" />
<asp:ObjectDataSource id="odsGetProgramServicesFast" runat="server" TypeName="DMCproWebApp.BALHelper" SelectMethod="GetProgramServicesFast">
    <SelectParameters>
        <asp:ControlParameter Name="ProgramNumber" ControlID="hiddenProgramListValue" PropertyName="Value" DbType="String" />
    </SelectParameters>
</asp:ObjectDataSource>
<asp:ObjectDataSource ID="odsGetProgramServiceTypes" runat="server" TypeName="DMCproWebApp.BALHelper" SelectMethod="GetProgramServiceTypes" />
   
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="radgrdProgramServicesFast">
            <UpdatedControls><telerik:AjaxUpdatedControl ControlID="radgrdProgramServicesFast" LoadingPanelID="RadAjaxLoadingPanel1"/></UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<div class="GridViewContainer" style="width:944px;">
    <telerik:RadGrid ID="radgrdProgramServicesFast" runat="server" Width="942px" DataSourceID="odsGetProgramServicesFast" EnableLinqExpressions="true"
        EnableEmbeddedSkins="false" Skin="DMCpro" ShowStatusBar="true"
        AutoGenerateColumns="false" AllowFilteringByColumn="false" AllowPaging="false" AllowSorting="true">
        <ClientSettings EnableRowHoverStyle="true" Selecting-AllowRowSelect="true" Scrolling-AllowScroll="true" Scrolling-ScrollHeight="280px" />
        <GroupingSettings CaseSensitive="false" />
        <MasterTableView TableLayout="Fixed" DataKeyNames="ProgramNumber,fldVenue,LineNumber,ItemNumber,OfficeLocation,ProgramLocation,ProgramStartDate,fldStatus,fldTruckLoadIn,AddToSchedule,fldAddtoContract,CustomerID,Description,RFPCount" EditMode="InPlace">
            <ItemStyle Font-Size="Small" Wrap="false" />
            <AlternatingItemStyle Font-Size="Small" Wrap="false" />
            <Columns>
                <telerik:GridEditCommandColumn ButtonType="ImageButton" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="46px" EditImageUrl="~/img/Edit16x16.png" UpdateImageUrl="../img/Save16x16.png" CancelImageUrl="../img/Cancel16x16.png" />
                <telerik:GridImageColumn UniqueName="RFP" ImageUrl="~/img/Check-16x16.png" HeaderText="RFP" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="22px"
                    HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" />
                <telerik:GridBoundColumn DataField="fldTruckLoadIn" HeaderText="Sort" SortExpression="fldTruckLoadIn" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="35px" HeaderStyle-HorizontalAlign="Left" AllowFiltering="false" />
                <telerik:GridCheckBoxColumn DataField="AddToSchedule" HeaderText="QS" SortExpression="AddToSchedule" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="25px" HeaderStyle-HorizontalAlign="Left" AllowFiltering="false" />
                <telerik:GridCheckBoxColumn DataField="fldAddToContract" HeaderText="Add" SortExpression="fldAddToContract" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="25px" HeaderStyle-HorizontalAlign="Left" AllowFiltering="false" />
                <telerik:GridBoundColumn DataField="Description" HeaderText="Title" SortExpression="Description" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="135px" HeaderStyle-HorizontalAlign="Left" AllowFiltering="false" />
                <telerik:GridTemplateColumn HeaderText="Service" UniqueName="ServiceType" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="175px" HeaderStyle-HorizontalAlign="Left" AllowFiltering="false">
                    <ItemTemplate>
                        <%#DataBinder.Eval(Container.DataItem, "ServiceType")%>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <asp:DropDownList ID="ddlProgramServiceTypes" runat="server" Width="175px"
                            DataSourceID="odsGetProgramServiceTypes" DataTextField="fldService" DataValueField="fldServiceID" /> 
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridDropDownColumn DataField="ServiceType" DataSourceID="odsGetProgramServiceType"
                    HeaderText="Service 2" ListTextField="fldservice" ListValueField="fldServiceID"
                    UniqueName="Service2" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="175px" >
                </telerik:GridDropDownColumn>  
                <telerik:GridBoundColumn DataField="StartDate" HeaderText="Start Date" SortExpression="StartDate" DataFormatString="{0:MM/dd/yyyy}" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="75px" HeaderStyle-HorizontalAlign="Left" AllowFiltering="false" ReadOnly="true" />
                <telerik:GridBoundColumn DataField="EndTime" HeaderText="Ends" SortExpression="EndTime" DataFormatString="{0:MM/dd/yyyy}" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="75px" HeaderStyle-HorizontalAlign="Left" AllowFiltering="false" ReadOnly="true" />
                <telerik:GridBoundColumn DataField="LineTotal" HeaderText="Service Total" SortExpression="LineTotal" UniqueName="LineTotal" DataFormatString="{0:c}" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="90px" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Right" ReadOnly="true" />
                <telerik:GridBoundColumn DataField="fldServiceVenue" HeaderText="Costing Sheet" SortExpression="fldServiceVenue" UniqueName="fldServiceVenue" HeaderStyle-CssClass="radGridViewHeader" HeaderStyle-Width="175px" HeaderStyle-HorizontalAlign="Left" ItemStyle-HorizontalAlign="Left" ReadOnly="true" />
                <telerik:GridBoundColumn DataField="Cost" Visible="false" ReadOnly="true" />
                <telerik:GridBoundColumn DataField="fldVenue" Visible="false" ReadOnly="true" />
                <telerik:GridBoundColumn DataField="LineNumber" Visible="false" ReadOnly="true" />
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
</div>


Codebehind:
Private Sub radgrdProgramServicesFast_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles radgrdProgramServicesFast.ItemDataBound
    If (TypeOf e.Item Is GridDataItem) Then
        Dim gdi As GridDataItem = DirectCast(e.Item, GridDataItem)
        Dim LineTotal As String = Replace(gdi.Item("LineTotal").Text, " ", "0")
        Dim Cost As String = Replace(gdi.Item("Cost").Text, " ", "0")
        Dim chkQS As CheckBox = DirectCast(gdi.Item("AddToSchedule").Controls(0), CheckBox)
        Dim chkAdd As CheckBox = DirectCast(gdi.Item("fldAddToContract").Controls(0), CheckBox)
        m_Proposed += CDec(IIf(LineTotal = String.Empty, 0, LineTotal)) + CDec(IIf(Cost = String.Empty, 0, Cost))
        m_QS += CDec(IIf(chkQS.Checked, LineTotal, 0))
        m_Total += CDec(IIf(chkAdd.Checked, LineTotal, 0))
        Dim RFPCount As Integer = CInt(radgrdProgramServicesFast.MasterTableView.DataKeyValues(e.Item.ItemIndex)("RFPCount"))
        If (RFPCount = 0) Then
            Dim img As Image = DirectCast(gdi.Item("RFP").Controls(0), Image)
            img.Visible = False
        End If
        Dim cp As ContentPlaceHolder = Page.Form.FindControl("MasterContentPlaceHolder")
        Dim status As Integer = DirectCast(cp.FindControl("ddlProgramStatus"), DropDownList).SelectedValue
        If (gdi.EditFormItem IsNot Nothing) Then
            If (status <> 22) Then
                gdi.Item("btnEditService").Visible = True
            ElseIf (status = 22) And Roles.IsUserInRole(Permissions.Programs_Change_Sold_Invoiced) Then
                gdi.Item("btnEditService").Visible = True
            Else
                gdi.Item("btnEditService").Visible = False
            End If
        End If
    End If
End Sub
Jerry T.
Top achievements
Rank 1
 answered on 12 Oct 2010
4 answers
212 views
Hello Telerik,

Whenever I load my page, I get this error message: Microsoft JScript runtime error: 'undefined' is null or not an object. Here is the HTML Source:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TelerikTest.aspx.cs" Inherits="FCReport_Website.TelerikTest" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<!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">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" EnableTheming="True">
        </telerik:RadScriptManager>
 
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="rgDriverLicenseRenewals">
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rgDriverLicenseExpired">
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rgPDPRenewals">
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rgPDPExpired">
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rgUnpaidFines">
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rgLicenseRenewals">
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rgVehicleLicenseExpired">
                </telerik:AjaxSetting>
                <telerik:AjaxSetting AjaxControlID="rgFuelTransactions">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="rgDriverLicenseRenewals" UpdatePanelHeight="" />
                        <telerik:AjaxUpdatedControl ControlID="rgDriverLicenseExpired" UpdatePanelHeight="" />
                        <telerik:AjaxUpdatedControl ControlID="rgPDPRenewals" UpdatePanelHeight="" />
                        <telerik:AjaxUpdatedControl ControlID="rgPDPExpired" UpdatePanelHeight="" />
                        <telerik:AjaxUpdatedControl ControlID="rgUnpaidFines" UpdatePanelHeight="" />
                        <telerik:AjaxUpdatedControl ControlID="rgLicenseRenewals" UpdatePanelHeight="" />
                        <telerik:AjaxUpdatedControl ControlID="rgVehicleLicenseExpired" UpdatePanelHeight="" />
                        <telerik:AjaxUpdatedControl ControlID="rgFuelTransactions" UpdatePanelHeight="" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
            </AjaxSettings>
        </telerik:RadAjaxManager>
 
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px" width="300px">
            <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Runat="server" Skin="Default">
            </telerik:RadAjaxLoadingPanel>
        </telerik:RadAjaxPanel>
 
        <telerik:RadGrid ID="rgDriverLicenseRenewals"
            runat="server"
            AutoEventWireup="True"
            AutoGenerateColumns="True"
            Visible="True"
            AllowFilteringByColumn="True"
            AllowPaging="True"
            AllowSorting="True"
            onneeddatasource="rgDriverLicenseRenewals_NeedDataSource">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
        </telerik:RadGrid>
 
        <br />
        <br />
 
        <telerik:RadGrid ID="rgDriverLicenseExpired"
            runat="server"
            AutoGenerateColumns="True"
            Visible="True"
            AllowFilteringByColumn="True"
            AllowPaging="True"
            AllowSorting="True"
            onneeddatasource="rgDriverLicenseExpired_NeedDataSource">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
        </telerik:RadGrid>
 
        <br />
        <br />
 
        <telerik:RadGrid ID="rgPDPRenewals"
            runat="server"
            AutoGenerateColumns="True"
            Visible="True"
            AllowFilteringByColumn="True"
            AllowPaging="True"
            AllowSorting="True"
            onneeddatasource="rgPDPRenewals_NeedDataSource">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
        </telerik:RadGrid>
 
        <br />
        <br />
 
        <telerik:RadGrid ID="rgPDPExpired"
            runat="server"
            AutoGenerateColumns="True"
            Visible="True"
            AllowFilteringByColumn="True"
            AllowPaging="True"
            AllowSorting="True"
            onneeddatasource="rgPDPExpired_NeedDataSource">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
        </telerik:RadGrid>
 
        <br />
        <br />
 
        <telerik:RadGrid ID="rgUnpaidFines"
            runat="server"
            AutoGenerateColumns="True"
            Visible="True"
            AllowFilteringByColumn="True"
            AllowPaging="True"
            AllowSorting="True"
            onneeddatasource="rgUnpaidFines_NeedDataSource">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
        </telerik:RadGrid>
 
        <br />
        <br />
 
        <telerik:RadGrid ID="rgLicenseRenewals"
            runat="server"
            AutoGenerateColumns="True"
            Visible="True"
            AllowFilteringByColumn="True"
            AllowPaging="True"
            AllowSorting="True"
            onneeddatasource="rgLicenseRenewals_NeedDataSource">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
        </telerik:RadGrid>
 
        <br />
        <br />
 
        <telerik:RadGrid ID="rgVehicleLicenseExpired"
            runat="server"
            AutoGenerateColumns="True"
            Visible="True"
            AllowFilteringByColumn="True"
            AllowPaging="True"
            AllowSorting="True"
            onneeddatasource="rgVehicleLicenseExpired_NeedDataSource">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
        </telerik:RadGrid>
 
        <br />
        <br />
 
        <telerik:RadGrid ID="rgFuelTransactions"
            runat="server"
            AutoGenerateColumns="True"
            Visible="True"
            AllowFilteringByColumn="True"
            AllowPaging="True"
            AllowSorting="True"
            onneeddatasource="rgFuelTransactions_NeedDataSource">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
        </telerik:RadGrid>
    </form>
</body>
</html>

And here's the C# source:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using FCReport_Library.Web;
using FCReport_Library.Data;
using System.Text;
using Telerik.Web.UI;
 
namespace FCReport_Website
{
    public partial class TelerikTest : System.Web.UI.Page
    {
        DataSet dsWorkQueue = new DataSet();
 
        protected void Page_Load(object sender, EventArgs e)
        {
             Session["UserID"] = 20;
             GetWorkQueue();
        }
 
        private void GetWorkQueue()
        {
            dsWorkQueue = DataAccess.GetDataSetByStoredProcedure("FCReport_GetWorkQueue", Session["UserID"]);
        }
 
        protected void rgDriverLicenseRenewals_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            rgDriverLicenseRenewals.DataSource = dsWorkQueue.Tables[0];
        }
 
        protected void rgDriverLicenseExpired_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            rgDriverLicenseExpired.DataSource = dsWorkQueue.Tables[1];
        }
 
        protected void rgPDPRenewals_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            rgPDPRenewals.DataSource = dsWorkQueue.Tables[2];
        }
 
        protected void rgPDPExpired_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            rgPDPExpired.DataSource = dsWorkQueue.Tables[3];
        }
 
        protected void rgUnpaidFines_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            rgUnpaidFines.DataSource = dsWorkQueue.Tables[4];
        }
 
        protected void rgLicenseRenewals_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            rgLicenseRenewals.DataSource = dsWorkQueue.Tables[5];
        }
 
        protected void rgVehicleLicenseExpired_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            rgVehicleLicenseExpired.DataSource = dsWorkQueue.Tables[6];
        }
 
        protected void rgFuelTransactions_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
        {
            rgFuelTransactions.DataSource = dsWorkQueue.Tables[7];
        }
    }
}

I really can't figure this out. Am I leaving out controls? Are they in the correct order? Is my C# code wrong?

Cheers,
G
Martin
Telerik team
 answered on 12 Oct 2010
3 answers
493 views
I am using the following method on RadAsyncUpload_FileUploaded:

protected void upAvatar_FileUploaded(object sender, FileUploadedEventArgs e)
{
byte[] imageData = new byte[e.File.InputStream.Length];

using (Stream stream = e.File.InputStream)
{
    stream.Read(imageData, 0, (int)e.File.InputStream.Length);
}

Thumbnail.DataValue = imageData;
}

This is from the Ajax Processing demo under Asynchronous Upload. The function works fine however the temp file is locked and cannot be deleted for approximately 5 minutes. If I comment out the contents of this function, the file can be deleted immediately. I am setting TemporaryFileExpiration = new TimeSpan(0, 0, 10) so when the file delete occurs an event is logged in the Event Viewer similar to this: 

Exception information: 
    Exception type: IOException 
    Exception message: The process cannot access the file 'h:\Websites\Project\App_Data\RadUploadTemp\1ng3c0wt.bdu' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.Delete(String path)
   at Telerik.Web.UI.AsyncUploadHandler.RemovedCallback(String key, Object value, CacheItemRemovedReason reason)
   at System.Web.Caching.CacheEntry.CallCacheItemRemovedCallback(CacheItemRemovedCallback callback, CacheItemRemovedReason reason)

I attempted to do a stream copy to work with the contents of the uploaded file separately but the temporary file still remains locked. It seems that a simple read of e.File.InputStream locks the file. Is there any way around this? The only way I have found so far is to set the TemporaryFileExpiration to a greater value (>10min). Thanks.

Jason Rosensweig
Top achievements
Rank 1
 answered on 12 Oct 2010
3 answers
128 views
Hello, I am using rad uploader and it works fine on my developer machine. When i try to upload files on the test server the files do not get uploaded. The icon in the left of the file name keeps circling forever and it never turns into a checkmark as it does on my machine. If i click the postback button while the icon keeps circling throws an exception as the file does not exists. I have granted permissions to the respective folders.
Genady Sergeev
Telerik team
 answered on 12 Oct 2010
2 answers
286 views
Hello everyone.

I put a window on a page for posting comments; it works great but when it opens, the title bar is semi-transparent as you can see from the attached image (the main window has a chart in it).

Also, even though the WindowManager has EnableShadow = true, there is no shadow on the background.

I read on another post that there could be an issue with <ul> definitions on the CSS file. I have no RadWindow settings on the CSS file.

Here is my code:

    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" 
        EnableShadow="True" Behavior="Default" InitialBehavior="None">
        <Windows>
            <telerik:RadWindow ID="RadWindow1" runat="server" Behaviors="Close, Move" 
                NavigateUrl="Comment.aspx" VisibleStatusbar="False" Behavior="Close, Move" 
                Overlay="True">
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
  
  
ul.nav
{
    padding:0px;
    margin:0px;
    height:37px;
}
ul li 
{
    height:37px;
}
ul li.first {
    margin-left: 0;
    border-left: none;
    list-style: none;
    display: inline;
    padding: 0px;
    font-family: Franklin Gothic Medium;
    padding: 0px 8px 0px 0px;
}
ul.nav img
{
    border:0;
}
ul li.selected 
{
    margin-left: 0;
    padding: 0px;
    list-style: none;
    display: block;
    float:left;
    font-family: Franklin Gothic Medium;
}
ul.nav li a
{
    display:block;
    height:37px;
    float:left;
    line-height:30px;
    padding: 0px 8px;
}
ul.nav li img
{
    float:left;
}
ul.nav li.selected a
{
    background:url("../Images/Top_Nav_Selected_Fill.gif");
    background-repeat:repeat-x;
    background-color:#5e5e60;
    border:none;
    padding:0px;
}
Ivan
Top achievements
Rank 1
 answered on 12 Oct 2010
1 answer
679 views

Hi

               I am working on RadGrid with user Control as Popup, once clicked on Save Button of user Control

   new row should be inserted without going to Code Behind(In javascript),how can i do that.

Marin
Telerik team
 answered on 12 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?