Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
141 views
Hi,

To keep things simple I have stripped my problem down to the bare minimum. I have a basic TabStrip with 1 tab linking to a single PageView containing a single Grid.

I have followed the various threads on getting the height of the Grid to fill up the window. This works absolutely fine on its own. However as soon as I wrap it in the above TabStrip-MultiPage structure, the Paging section on the Grid overflows the window causing a scrollbar to display. Using IE8 developer tools, if I display:none the main RadTabStrip div the Grid fits fine in the window so I believe this is the culprit.

However my question is, how can I use the two controls together and keep the height 100% functionality on the Grid?

Regards,
Brett
Top achievements
Rank 1
 answered on 17 Jun 2009
7 answers
221 views
Is there a way to have the menu node on 2 lines, I've tried adding a <br/> between the words, it puts them on 2 lines but applies the styles to each line not as a whole.

Andy
Andy Green
Top achievements
Rank 2
 answered on 17 Jun 2009
2 answers
126 views
Hi All,

The asp.net ajax controls documentation has a great example of how to show a loading panel on initial page load. What would we have to do to have some text under the animated gif changing based on some server side work?

So it would look like.
[Loading.gif]
Loading frames...

then...
[Loading.gif]
Adding Layers...

then....
and finally showing the page.

Something like
 protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
        {
            if (e.Argument == "InitialPageLoad")
            {
  //simulate longer page load
                System.Threading.Thread.Sleep(2000);
                Label lbl = (Label)RadAjaxLoadingPanel1.FindControl("labelLoading");
                lbl.Text = "Adding Layers...";
                System.Threading.Thread.Sleep(2000);
                Panel2.Visible = true;

Is there a way to have the server send the new label text back to the client and have it refreshed? It looks like one can either poll from the client, or push from the server (reverse ajax) what's the Telerik way to accomplishing this?

Thanks!
JDT
Top achievements
Rank 1
 answered on 17 Jun 2009
3 answers
156 views
i have looked thru a number of posts, tried a lot of different things, and cannot get this to work. When I click on a menu item (say from the home page), it navigates to the selected screen. From that page, I want to change the background color of the menu item. I cannot do it from the .aspx using the cssclass, as one screen contains 2 menu items (for example, one screen on my website contains both 'Forms' and 'Links'). When 'Forms' is click, I want to highlight it in the menu and same for 'Links'. They both go to the same page.
I have tried both the following, but neither work. They are in my Page_Load.

 

<style type="text/css">

 

 

.selectedItem {

 

 

background-color: #FFD92F !important;

 

 

color: #000000 !important;

 

}

 

.rmItem { border-right: 1px solid white; }

 

 

.rmItem { border-top: 1px solid #7F8ECB; }

 

 

 

</style>

 




radmenu1.items(11).cssclass='SelectedItem'

AND 

 

Dim currentItem as Telerik.Web.UI.RadMenuItem

 

currentItem = radMenu1.FindItemByText(

"Forms")

 

currentItem.CssClass=

"SelectedItem"

Thanks,
Susan Pelzel

 

Atanas Korchev
Telerik team
 answered on 17 Jun 2009
0 answers
181 views
When attempting to save an appointment I get the following a NullReferenceException.

Call Stack

[NullReferenceException: Object reference not set to an instance of an object.]Telerik.Web.UI.AdvancedTemplate.get_Range() +1509Telerik.Web.UI.AdvancedTemplate.<CreateBasicControlsValidators>b__1(Object source, ServerValidateEventArgs args) +40System.Web.UI.WebControls.CustomValidator.OnServerValidate(String value) +140System.Web.UI.WebControls.CustomValidator.EvaluateIsValid() +113System.Web.UI.WebControls.BaseValidator.Validate() +72System.Web.UI.Page.Validate(String validationGroup) +8742012System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +8737174System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565


Example Code.

    public class QuoteRateProvider : Telerik.Web.UI.SchedulerProviderBase
    {




        /// <summary>
        /// Converts the quote day to appt data.
        /// </summary>
        /// <param name="rate">The rate.</param>
        /// <returns></returns>
        Appointment ConvertQuoteDayToApptData(QuoteRateDay rate)
        {
            Appointment data = new Appointment();
            data.Subject = rate.Description;
            data.Visible = true;
            data.Start = rate.StartDate;
            data.End = rate.EndDate;
            data.Attributes.Add("ManualRatePercentage", rate.ManualQuotePercentage.ToString());
            foreach (string cls in rate.AircraftClasses)
            {
                Resource r = new Resource("AircraftClass", cls, cls);
                data.Resources.Add(r);
            }
            data.ID = rate.ID;
            data.DataItem = rate;
            return data;
        }


        /// <summary>
        /// Converts the quote day to appt data.
        /// </summary>
        /// <param name="rates">The rates.</param>
        /// <returns></returns>
        List<Appointment> ConvertQuoteDayToApptData(IEnumerable<QuoteRateDay> rates)
        {
            List<Appointment> returnList = new List<Appointment>();
            foreach (QuoteRateDay rate in rates)
            {
                returnList.Add(ConvertQuoteDayToApptData(rate));
            }
            return returnList;

        }

        /// <summary>
        /// Converts the appt data to quote day rate.
        /// </summary>
        /// <param name="data">The data.</param>
        /// <returns></returns>
        QuoteRateDay ConvertApptDataToQuoteDay(Appointment data)
        {
            QuoteRateDay rate = new QuoteRateDay();
            rate.Description = data.Subject;
            rate.StartDate = data.Start;
            rate.EndDate = data.End;
            rate.ManualQuotePercentage = Convert.ToDecimal(data.Attributes["ManualRatePercentage"]);
            rate.ID = Convert.ToInt32(data.ID);
            foreach (Resource r in data.Resources)
            {
                rate.AircraftClasses.Add(r.Text);
            }
            return rate;
        }



        /// <summary>
        /// Converts the quote days to appt data.
        /// </summary>
        /// <param name="rates">The rates.</param>
        /// <returns></returns>
        IEnumerable<Appointment> ConvertApptDataToQuoteDay(IEnumerable<QuoteRateDay> rates)
        {
            List<Appointment> data = new List<Appointment>();
            foreach (QuoteRateDay rate in rates)
            {
                data.Add(ConvertQuoteDayToApptData(rate));
            }
            return data;
        }



        public override void Delete(Telerik.Web.UI.RadScheduler owner, Telerik.Web.UI.Appointment appointmentToDelete)
        {
            QuoteRateDayDataAccess.DeleteDailyQuoteRate(Convert.ToInt32(appointmentToDelete.ID));
        }


        public override IEnumerable<Telerik.Web.UI.Appointment> GetAppointments(Telerik.Web.UI.RadScheduler owner)
        {
            return ConvertQuoteDayToApptData(QuoteRateDayDataAccess.GetQuoteRateDays(owner.VisibleRangeStart, owner.VisibleRangeEnd));
        }


        public override IEnumerable<Telerik.Web.UI.ResourceType> GetResourceTypes(Telerik.Web.UI.RadScheduler owner)
        {
            ResourceType t = new ResourceType("AircraftClass", true);
            
            List<ResourceType> rt = new List<ResourceType>();
            rt.Add(t);
            return rt;
        }

        public override IEnumerable<Telerik.Web.UI.Resource> GetResourcesByType(Telerik.Web.UI.RadScheduler owner, string resourceType)
        {
            List<Resource> rt = new List<Resource>();
            rt.Add(new Resource("AircraftClass", "HVY", "HVY"));
            rt.Add(new Resource("AircraftClass", "MID", "MID"));
            rt.Add(new Resource("AircraftClass", "LGT", "LGT"));

            return rt;
        }

        public override void Insert(Telerik.Web.UI.RadScheduler owner, Telerik.Web.UI.Appointment appointmentToInsert)
        {
            QuoteRateDayDataAccess.InsertDailyQuoteRate(ConvertApptDataToQuoteDay(appointmentToInsert));
        }

        public override void Update(Telerik.Web.UI.RadScheduler owner, Telerik.Web.UI.Appointment appointmentToUpdate)
        {
            QuoteRateDayDataAccess.UpdateDailyQuoteRate(ConvertApptDataToQuoteDay(appointmentToUpdate));
        }
    }
Ricky Jones
Top achievements
Rank 1
 asked on 17 Jun 2009
0 answers
124 views
I have a fixed and scrollable menu.  I want on page load (or on client side) scroll to specified item.
Help please how can I do it??? ....

Vakhtang.
Ron
Top achievements
Rank 1
 asked on 17 Jun 2009
2 answers
117 views
Hello,

I have a question regarding placing the Update Panel on a Treeview control when a button is clicked. I want to load the treeview when a button is clicked. As of now when I click the button, the update panel is working on the button instead of the treeview control. Can you guide me to get this?
Sri
Top achievements
Rank 1
 answered on 17 Jun 2009
4 answers
208 views
Hi,

I am trying to create a button where I can delete something from a table in my database.
I need to know the contentID of the item that was clicked so that I can use it as a parameter (@idconteudo) in my delete statement.
The column in question in called "Remover".

Here is my grid:

            <telerik:RadGrid ID="MeusFavoritos" runat="server" AllowPaging="True" AllowSorting="True" DataSourceID="GET_MEUS_FAVORITOS" GridLines="None" AutoGenerateColumns="False" PageSize="5"  ClientSettings-EnableRowHoverStyle="True" PagerStyle-Mode="NumericPages" PagerStyle-ShowPagerText="false" >
                <MasterTableView CellSpacing="-1" DataSourceID="GET_MEUS_FAVORITOS">
                    <Columns>
                        <telerik:GridHyperLinkColumn DataNavigateUrlFormatString="/lms_bd/FichaConteudo.aspx?conteudo={0}" DataTextField="Titulo" Target="_self" DataNavigateUrlFields="IDConteudo" UniqueName="Titulo" HeaderText="T&#237;tulo" SortExpression="Titulo" />
                        <telerik:GridHyperLinkColumn DataNavigateUrlFormatString="/lms_bd/conteudosTema.aspx?tema={0}" DataTextField="Tema" Target="_self" DataNavigateUrlFields="IDTema" UniqueName="Tema" HeaderText="Tema" SortExpression="Tema" />
                        <telerik:GridButtonColumn ConfirmText="Tem a certeza que quer remover este conteúdo dos seus favoritos?" ConfirmDialogType="RadWindow"
                        ConfirmTitle="Remover" ButtonType="ImageButton" CommandName="Delete" Text="Remover"
                        UniqueName="RemoverFav" ImageUrl="~/imagens/bt_apagar.gif" HeaderText="Remover" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"  />
                    </Columns>
                </MasterTableView>
                <PagerStyle Mode="NumericPages" ShowPagerText="False" />
                <ClientSettings EnableRowHoverStyle="True" />
            </telerik:RadGrid>

My radgrid is populated by this datasource, and the problem I am having is with the delete part. I don't understand how to use the id of the content clicked for my where clause in the delete. The datasource is:

<asp:SqlDataSource ID="GET_MEUS_FAVORITOS" runat="server" ConnectionString="<%$ ConnectionStrings:lms_bibliotecaConnectionString1 %>"
                      SelectCommand="SELECT * FROM ([NL_LMS_BIB_conteudos] INNER JOIN NL_LMS_BIB_temas ON NL_LMS_BIB_conteudos.IDTema = NL_LMS_BIB_temas.IDTema)
                      INNER JOIN NL_LMS_BIB_favoritos on NL_LMS_BIB_conteudos.IDConteudo = NL_LMS_BIB_favoritos.IDConteudo
                      WHERE NL_LMS_BIB_favoritos.IDUser = @UserID" DeleteCommand="DELETE FROM [NL_LMS_BIB_favoritos] WHERE IDUser = @UserID AND IDConteudo = @idconteudo" >
    <SelectParameters>
        <asp:SessionParameter Name="UserID" SessionField="UserID" />
    </SelectParameters>
    <DeleteParameters>
        <asp:SessionParameter Name="UserID" SessionField="UserID" />
        <asp:Parameter Name="idconteudo" />
    </DeleteParameters>

</asp:SqlDataSource>

Can anyone please help?
Thank you.

Pavlina
Telerik team
 answered on 17 Jun 2009
2 answers
140 views
Hi,

I'm trying to incorporate RadUpload into our application but am coming across an infuriating issue when trying to upload using a BlackBerry. The BlackBerry client has been written by me and uses its internal HTTP connection objects to achieve this.

If I post the request to an application that doesn't have the RadUpload handlers and just uses Request.Files, the upload is successful.

The error occurs before the request has reached my code. The error I am getting (viewed in event viewer) is:

Event code: 3005
Event message: An unhandled exception has occurred.
Exception information:
    Exception type: NullReferenceException
    Exception message: Object reference not set to an instance of an object.

Stack trace:    at Telerik.Web.UI.Upload.ProgressWorkerRequest..ctor(HttpWorkerRequest wr, HttpRequest request)
   at Telerik.Web.UI.RadUploadHttpModule.CaptureWorkerRequest(Object sender, EventArgs e)
   at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
 
I've examined the packets and compared it to a successful request from our Windows Mobile device and the only potential issue I can see is that BlackBerry doesn't support keep-alive. Is this a show stopper as far as implementing RadUpload goes?

Is there a way of bypassing the RadUpload HTTP handlers without putting the BlackBerry uploader in a separate application with its own web.config?

Thanks for any assistance.
Phil
Top achievements
Rank 1
 answered on 17 Jun 2009
3 answers
406 views
I am trying to edit an existing site and I am getting this error

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:

Line 1:  <%@ Master Language="VB" AutoEventWireup="false" Codebehind="MasterPage.master.vb"
Line 2:      Inherits="devOrthman.MasterPage" %>
Line 3:  <%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

Source File: /MasterPage.Master    Line: 1

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI, Version=2008.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' could not be loaded.


This site already existed and I am just trying to open it in visual studio to fix some problems. I have posted my master page and web.config file

<%@ Master Language="VB" AutoEventWireup="false" Codebehind="MasterPage.master.vb"
    Inherits="devOrthman.MasterPage" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
<html style="height: 100%">
<head id="Head1" runat="server">
    <link href="App_Themes/MainTheme/MySkin/TreeView.MySkin.css" rel="stylesheet" type="text/css" />
    <link href="App_Themes/MainTheme/MainStyles.css" rel="stylesheet" type="text/css" />
</head>

<telerik:radscriptmanager runat="server"></telerik:radscriptmanager>
<body style="margin: 0px; height: 100%; overflow: hidden;" scroll="no">
    <form id="Form1" method="post" runat="server" style="height: 100%">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:radgrid runat="server"></telerik:radgrid>
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Orientation="Vertical" Width="100%"
            Height="100%">
            <telerik:RadPane ID="LeftRadPane1" runat="server" Width="180px" MinWidth="180" Scrolling="Both"
                BackColor="#004416" CssClass="MainMenuRepeater">
                <div class="TopMenu">
                    &nbsp;&nbsp;<br />
                    &nbsp; &nbsp;
                    <br />
                    &nbsp;&nbsp; Select a Product
                </div>
                <div>
                    <asp:Image ID="LeftBarTopImage" runat="server" ImageUrl="~/App_Themes/Images/MasterMenuImage.jpg" />
                </div>
                <div>
                    <telerik:RadTreeView ID="RadTreeView1" runat="server" EnableEmbeddedSkins="False"
                         Skin="MySkin" ShowLineImages="False"
                        LoadingStatusPosition="BelowNodeText" DataSourceID ="SqlDataSource1" DataFieldID ="NodeId" DataFieldParentID = "NodeParentId"  DataTextField ="NodeText" DataValueField = "NodeId">
                        <CollapseAnimation Duration="100" Type="OutQuint" />
                        <ExpandAnimation Duration="100" />
                    </telerik:RadTreeView>
                    <asp:SqlDataSource ID="SqlDataSource1" runat="server"  ConnectionString="<%$ ConnectionStrings:orthmanConnectionString %>"
                     SelectCommandType = "StoredProcedure"  SelectCommand ="getAllItems">
                    </asp:SqlDataSource>
                </div>
            </telerik:RadPane>
            <telerik:RadSplitBar runat="server" ID="RadSplitBar2" CollapseMode="Forward" />
            <telerik:RadPane ID="RightRadPane1" runat="server" BackColor="#b1caba" CssClass="RightPanelPadding"
                Scrolling="Both">
                <div id="MasterPageHeading">
                    <table width="817" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="223" valign="top" align="right">
                         <a href="http://orthman.com/" target="_blank">  <asp:Image ID="Orthman" runat="server" ImageUrl="~/App_Themes/Images/OrthmanHomeLink.png" /></a>
</td>
                            <td valign="bottom" align="right">
                                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<br />
                                &nbsp; &nbsp;
                                <asp:HyperLink ID="HyperLink1" runat="server" CssClass="MaterPageHeadingLinks" NavigateUrl="~/Cart/viewCart.aspx" >View Cart</asp:HyperLink><asp:HyperLink
                                    ID="HyperLink3" runat="server" CssClass="MaterPageHeadingLinks" NavigateUrl ="~/admin/editProfile.aspx">Edit Profile</asp:HyperLink>&nbsp;
                                <asp:LoginStatus ID="LoginStatus1" runat="server" CssClass="MaterPageHeadingLinks"
                                   />
                                <asp:HyperLink ID="HyperLink4" runat="server" CssClass="MaterPageHeadingLinks" NavigateUrl="~/default.aspx">Home</asp:HyperLink>
                                &nbsp;&nbsp; &nbsp;</td>
                            <td align="right" valign="bottom">
                            </td>
                        </tr>
                    </table>
                </div>
                <table width="806" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <div id="ContentTop">
                                <table width="800" border="0" cellspacing="0" cellpadding="10">
                                    <tr>
                                        <td width="349" valign="middle">
                                            <asp:Label ID="TitleLabel" runat="server" CssClass="H2"></asp:Label></td>
                                        <td width="431" valign="middle" align="right">
                                            <span class="H2">Search by Part Number:</span>&nbsp;&nbsp;&nbsp;
                                            <telerik:RadComboBox ID="RadSearchComboBox" runat="server" Width="200px" Height="150px"
                                                AllowCustomText="True" ShowToggleImage="False" ShowMoreResultsBox="true"
                                                EnableLoadOnDemand="True" Skin ="Telerik"
                                                MarkFirstMatch="False" OnItemsRequested="loadSearch"
                                                EnableVirtualScrolling="true" EmptyMessage="Enter Part Number"  >
                                                <CollapseAnimation Duration="200" Type="OutQuint" />
                                            </telerik:RadComboBox>
                                            
                                        <td>
                                        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server">
                                            <asp:Button ID="GoButton" runat="server" Text="Go" CssClass="GoBtn" OnClick ="goSearchClick" UseSubmitBehavior = "false" CausesValidation ="false"  />
                                            </telerik:RadAjaxPanel>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="ContentRepeat">
                            <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                            </asp:ContentPlaceHolder>
                            <asp:Label ID="msgLabel" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:Image ID="FooterImage" runat="server" ImageUrl="~/App_Themes/Images/ContentHolderBottom.jpg" />
                        </td>
                    </tr>
                </table>
                <table width="90%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td>
                            <div class="Footer" align="center">
                                &#65533; 2008 Orthman Manufacturing Incorporated</div>
                        </td>
                    </tr>
                </table>
            </telerik:RadPane>
        </telerik:RadSplitter>
    </form>
</body>
</html>

<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
    <configSections>
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35">
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="Everywhere"/>
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" requirePermission="false" allowDefinition="MachineToApplication"/>
                </sectionGroup>
            </sectionGroup>
        </sectionGroup>
    </configSections>
    <appSettings>
        <add key="connectOrthman" value="Data Source=connectioninput/>
    <add key="sendfrom" value="orders@orthman.com"/>
    <add key="sendfromname" value="Orthman"/>
    <add key="replyto" value="orders@orthman.com"/>
    <add key="sentToAdmin" value="bhoulden@orthman.com"/>
  </appSettings>
    <connectionStrings>
        <add name="connectOrthman" connectionString="Data Source=connectioninput;" providerName="System.Data.SqlClient"/>
        <add name="orthmanConnectionString" connectionString="Data Source=connectioninput;" providerName="System.Data.SqlClient"/>
    </connectionStrings>
    <system.net>
        <mailSettings>
            <smtp>
                <network host="smtpserver" port="25"/>
            </smtp>
        </mailSettings>
    </system.net>
    <system.web>
        <httpHandlers>
            <remove path="*.asmx" verb="*"/>
            <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
            <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
            <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
            <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
            <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>
            <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"/>
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.1.415.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
        </httpModules>
        <customErrors mode="Off"/>
        <compilation debug="true">
   <assemblies>
    <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Configuration, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Web.Services, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.DirectoryServices.Protocols, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.ServiceProcess, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="System.Web.RegularExpressions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
    <add assembly="Telerik.Charting, Version=2.0.0.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763" />
   </assemblies>
  </compilation>
        <pages>
            <namespaces>
                <clear/>
                <add namespace="System"/>
                <add namespace="System.Collections"/>
                <add namespace="System.Collections.Specialized"/>
                <add namespace="System.Configuration"/>
                <add namespace="System.Text"/>
                <add namespace="System.Text.RegularExpressions"/>
                <add namespace="System.Web"/>
                <add namespace="System.Web.Caching"/>
                <add namespace="System.Web.SessionState"/>
                <add namespace="System.Web.Security"/>
                <add namespace="System.Web.Profile"/>
                <add namespace="System.Web.UI"/>
                <add namespace="System.Web.UI.WebControls"/>
                <add namespace="System.Web.UI.WebControls.WebParts"/>
                <add namespace="System.Web.UI.HtmlControls"/>
            </namespaces>
            <controls>
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" tagPrefix="ajaxToolkit"/>
            </controls>
        </pages>
        <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
        <authentication mode="Forms">
            <forms name="appNameAuth" path="/" loginUrl="login.aspx" protection="All" timeout="1000">
            </forms>
        </authentication>
        <roleManager enabled="true" defaultProvider="CustomizedRoleProvider">
            <providers>
                <remove name="AspNetSqlRoleProvider"/>
                <add name="CustomizedRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="orthmanConnectionString" applicationName="orthman"/>
            </providers>
        </roleManager>
        <httpRuntime maxRequestLength="8192" executionTimeout="180"/>
        <membership defaultProvider="CustomizedMembershipProvider">
            <providers>
                <remove name="AspNetSqlMembershipProvider"/>
                <add name="CustomizedMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="orthmanConnectionString" applicationName="orthman" commandTimeout="30" enablePasswordRetrieval="false" enablePasswordReset="True" requiresQuestionAndAnswer="true" requiresUniqueEmail="true" passwordFormat="Hashed" maxInvalidPasswordAttempts="5" passwordAttemptWindow="10" minRequiredPasswordLength="5" minRequiredNonalphanumericCharacters="1"/>
            </providers>
        </membership>
        <profile defaultProvider="CustomProfileProvider" enabled="true">
            <providers>
                <remove name="AspNetSqlProfileProvider"/>
                <add name="CustomProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="orthmanConnectionString" applicationName="ORTHMAN"/>
            </providers>
            <properties>
                <add name="FirstName" type="String" defaultValue="[null]" customProviderData="FirstName;nvarchar"/>
                <add name="LastName" type="String" defaultValue="[null]" customProviderData="LastName;nvarchar"/>
                <add name="Phone" type="String" defaultValue="[null]" customProviderData="Phone;nvarchar"/>
                <add name="Fax" type="String" defaultValue="[null]" customProviderData="Fax;nvarchar"/>
            </properties>
        </profile>
    </system.web>
    <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
            <add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        </modules>
        <handlers>
            <remove name="WebServiceHandlerFactory-Integrated"/>
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        </handlers>
    </system.webServer>
    <location path="Telerik.RadUploadProgressHandler.aspx">
        <system.web>
            <authorization>
                <allow users="*"/>
            </authorization>
        </system.web>
    </location>
</configuration>
Any help is appriciated
Atanas Korchev
Telerik team
 answered on 17 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?