Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
218 views
Hi,

I want to show timespan values in chart and datatable with format like hh:mm:ss. How can I do this?
Ves
Telerik team
 answered on 12 Nov 2008
1 answer
124 views
i have a grid that has autocolumn set to true. now after this i want to hide the very first column. could you please tell me the syntax for that? i don't want to display that because i have used that column as a groupbyfield .so now that i already have it on the group i don't need to display the column on the grid anymore. could you help please thank you.
Vlad
Telerik team
 answered on 12 Nov 2008
1 answer
190 views
Is there a property to automatically collapse the menu when an item has been selected? I'm using an item template, so I'm assuming this might not be built in... If not, what is the best way to go about this?

Thanks,
Levi
Princy
Top achievements
Rank 2
 answered on 12 Nov 2008
2 answers
129 views
Hi all,
In paging of radgrid i got a javascript error
"Error: Sys.InvalidOperationException: A Control is already associated with the element.
Code : 0
"
in IE but the paging works, but works with paging.
Why this error is occured
Any suggestions please!
John Yu
Top achievements
Rank 1
 answered on 12 Nov 2008
1 answer
106 views
I have many items in my rad menu. Is there any way i can optimize its performance?
Thank you.
Paul
Telerik team
 answered on 12 Nov 2008
1 answer
105 views
Hi.

I need to have a menu that expands sub-items inline as the left menu on  Telerik's own demo pages (http://demos.telerik.com/ASPNET/Prometheus/Menu/Examples/Overview/DefaultCS.aspx). How do I set the Meny parameters to achive this?

(I'm going to use it in SharePoint 2007 to replace the Quick Lauanch menu)

Best regards,
Frode

Shinu
Top achievements
Rank 2
 answered on 12 Nov 2008
3 answers
103 views
I wanted to know if there is a way to convert an existing instance of the RadProgressArea to a template as a starting point for a custom template.  I would like to use the default skin and customize it not to have the borders/box around the the progress area. 

Is there a way to convert an instance of the control to a template (similar to how Microsoft's Login control can be converted to a template) as a starting point?
Erjan Gavalji
Telerik team
 answered on 12 Nov 2008
2 answers
129 views

I have added an Expand / Collapse All button to my RadGrid, which uses a 3-level hierarchy. Each level uses load mode ServerOnDemand. But the problem is that only the first level gets expanded.

I have adapted the CodeLibrary example http://www.telerik.com/community/code-library/aspnet-ajax/grid/expand-collapse-hierarchy-client-side-on-external-control-click.aspx

See below my adapted page - can anyone see why only the first level gets expanded? Even if I hard code item.Expanded = True it still doesn't work. 

Steve

 

<%@ Page EnableViewState="True" Language="VB" %> 
<%@ 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"> 
 
<script runat="server">  
      
    Protected Sub ExpandCollapseButton_Click(ByVal sender As Object, ByVal e As EventArgs)  
        '-----------------------------------------------------------------------  
        ' Expand or Collapse all items in the grid  
        '-----------------------------------------------------------------------  
        For Each item As GridDataItem In RadGrid1.Items  
            item.Expanded = Not item.Expanded  
        Next  
    End Sub  
 
</script> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head id="Head1" runat="server">  
    <title>Untitled Page</title> 
</head> 
<body style="margin: 0px;">  
    <form id="form1" runat="server">  
        <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 
        <div> 
 
            <asp:Button ID="ExpandCollapseButton" runat="server"   
                Text="Expand/Collapse All"   
                OnClick="ExpandCollapseButton_Click" /> 
 
            <telerik:RadGrid ID="RadGrid1" DataSourceID="AccessDataSource1" runat="server" Skin="WebBlue" 
                Width="95%" AutoGenerateColumns="False" PageSize="5" AllowSorting="True" AllowPaging="True" 
                GridLines="None">  
                <PagerStyle Mode="NumericPages"></PagerStyle> 
                <MasterTableView DataSourceID="AccessDataSource1" DataKeyNames="CustomerID" Width="100%" 
                    HierarchyLoadMode="ServerOnDemand">  
                    <DetailTables> 
                        <telerik:GridTableView DataKeyNames="OrderID" DataSourceID="AccessDataSource2" Width="100%" 
                            runat="server" HierarchyLoadMode="ServerOnDemand">  
                            <ParentTableRelation> 
                                <telerik:GridRelationFields DetailKeyField="CustomerID" MasterKeyField="CustomerID" /> 
                            </ParentTableRelation> 
                            <DetailTables> 
                                <telerik:GridTableView DataKeyNames="OrderID" DataSourceID="AccessDataSource3" Width="100%" 
                                    runat="server" HierarchyLoadMode="ServerOnDemand">  
                                    <ParentTableRelation> 
                                        <telerik:GridRelationFields DetailKeyField="OrderID" MasterKeyField="OrderID" /> 
                                    </ParentTableRelation> 
                                    <Columns> 
                                        <telerik:GridBoundColumn SortExpression="UnitPrice" HeaderText="Unit Price" HeaderButtonType="TextButton" 
                                            DataField="UnitPrice" UniqueName="UnitPrice">  
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridBoundColumn SortExpression="Quantity" HeaderText="Quantity" HeaderButtonType="TextButton" 
                                            DataField="Quantity" UniqueName="Quantity">  
                                        </telerik:GridBoundColumn> 
                                        <telerik:GridBoundColumn SortExpression="Discount" HeaderText="Discount" HeaderButtonType="TextButton" 
                                            DataField="Discount" UniqueName="Discount">  
                                        </telerik:GridBoundColumn> 
                                    </Columns> 
                                </telerik:GridTableView> 
                            </DetailTables> 
                            <Columns> 
                                <telerik:GridBoundColumn SortExpression="OrderID" HeaderText="OrderID" HeaderButtonType="TextButton" 
                                    DataField="OrderID" UniqueName="OrderID">  
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn SortExpression="OrderDate" HeaderText="Date Ordered" HeaderButtonType="TextButton" 
                                    DataField="OrderDate" UniqueName="OrderDate">  
                                </telerik:GridBoundColumn> 
                                <telerik:GridBoundColumn SortExpression="EmployeeID" HeaderText="EmployeeID" HeaderButtonType="TextButton" 
                                    DataField="EmployeeID" UniqueName="EmployeeID">  
                                </telerik:GridBoundColumn> 
                            </Columns> 
                        </telerik:GridTableView> 
                    </DetailTables> 
                    <Columns> 
                        <telerik:GridBoundColumn SortExpression="CustomerID" HeaderText="CustomerID" HeaderButtonType="TextButton" 
                            DataField="CustomerID" UniqueName="CustomerID">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn SortExpression="ContactName" HeaderText="Contact Name" HeaderButtonType="TextButton" 
                            DataField="ContactName" UniqueName="ContactName">  
                        </telerik:GridBoundColumn> 
                        <telerik:GridBoundColumn SortExpression="CompanyName" HeaderText="Company" HeaderButtonType="TextButton" 
                            DataField="CompanyName" UniqueName="CompanyName">  
                        </telerik:GridBoundColumn> 
                    </Columns> 
                </MasterTableView> 
                <ClientSettings AllowExpandCollapse="true">  
                </ClientSettings> 
            </telerik:RadGrid> 
            <asp:AccessDataSource ID="AccessDataSource1" DataFile="~/Grid/Data/Access/Nwind.mdb" 
                SelectCommand="SELECT * FROM Customers" runat="server"></asp:AccessDataSource> 
            <asp:AccessDataSource ID="AccessDataSource2" DataFile="~/Grid/Data/Access/Nwind.mdb" 
                SelectCommand="SELECT * FROM Orders Where CustomerID = ?" runat="server">  
                <SelectParameters> 
                    <asp:SessionParameter Name="CustomerID" SessionField="CustomerID" Type="string" /> 
                </SelectParameters> 
            </asp:AccessDataSource> 
            <asp:AccessDataSource ID="AccessDataSource3" DataFile="~/Grid/Data/Access/Nwind.mdb" 
                SelectCommand="SELECT * FROM [Order Details] where OrderID = ?" runat="server">  
                <SelectParameters> 
                    <asp:SessionParameter Name="OrderID" SessionField="OrderID" Type="Int32" /> 
                </SelectParameters> 
            </asp:AccessDataSource> 
        </div> 
    </form> 
</body> 
</html> 
 
Yavor
Telerik team
 answered on 12 Nov 2008
3 answers
147 views
I have a tree that is dynamically built on page load along with context menus. Initially the context menus fires the ContextMenuItemClick(on server side) event successfully. I then clear the tree RadTreeView.Nodes.Clear() and then rebuild the tree including the root node and the context menus. The tree and the context menus load and display, however when I click on a context menu the ContextMenuItemClick event does not fire. Any suggestions? Thanks
Erjan Gavalji
Telerik team
 answered on 12 Nov 2008
1 answer
461 views

I am in a shared hosted environment (Discount ASP) that runs IIS 7.0 with an integrated application pool mode and I am having trouble getting the RadUpload control and progress area to work.  The host has said they they cannot perform the changes to the C:\Windows\System32\inetsrv\config\applicationHost.config file as indicated at the link below and as it is a shared hosting environment.

 

http://www.telerik.com/help/aspnet-ajax/configuration-radupload-httpmodule-registration-in-iis7.html

 

 

Host will not do the following:

Open the file C:\Windows\System32\inetsrv\config\applicationHost.config and find the line:

<section name="requestFiltering" overrideModeDefault="Deny" />

Set the overrideModeDefaultproperty to Allow. So now the line should look like:

<section name="requestFiltering" overrideModeDefault="Allow" />

 

When I try to use the RadProgressArea for a custom progress bar (no upload is involved, it only tracks a process). I receive an error.

 

RadUpload Ajax callback error. Source url was not found:

            Telerik.RadUploadProgressHandler.ashx?RadUrid=63d4f5ee-2777-4728-9467-bb7fbf5ca5e5

Did you register the RadUploadProgressHandler in web.config?

 

Please, see the help for more details: RadUpload for ASP.NET Ajax – Configuration – RadUploadProgressHandler.

 

 

Are the settings related to using the RadProgressArea (eventually I will also use the upload) in my Web.Config correct (you may need to copy and paste it as some of the commented out sections may render incorrectly in the post)?



<?xml version="1.0"?>  
<configuration> 
    <configSections> 
        <!-- .NET 3.5  
        <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
            <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
                <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">  
                    <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere"/>  
                    <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                    <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                    <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>  
                </sectionGroup> 
            </sectionGroup> 
        </sectionGroup> 
        --> 
        <!-- .NET 2.0 --> 
        <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> 
        <sectionGroup name="elmah">  
            <!-- NOTE! If you are using ASP.NET 1.x then remove the  
                 requirePermission="false" attribute from the section  
                 elements below as those are only needed for  
                 partially trusted applications in ASP.NET 2.0 --> 
            <section name="security" requirePermission="false" type="Elmah.SecuritySectionHandler, Elmah"/>  
            <section name="errorLog" requirePermission="false" type="Elmah.ErrorLogSectionHandler, Elmah"/>  
            <section name="errorMail" requirePermission="false" type="Elmah.ErrorMailSectionHandler, Elmah"/>  
            <section name="errorFilter" requirePermission="false" type="Elmah.ErrorFilterSectionHandler, Elmah"/>  
        </sectionGroup> 
        <section name="JonathanApp.Data" type="JonathanApp.Data.Bases.NetTiersServiceSection, JonathanApp.Data" allowDefinition="MachineToApplication" restartOnExternalChanges="true"/>  
        <section name="enterpriseLibrary.ConfigurationSource" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.ConfigurationSourceSection, Microsoft.Practices.EnterpriseLibrary.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>  
    </configSections> 
    <connectionStrings> 
        <add name="JonathanApp.Data.ConnectionString" connectionString="Data Source=sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;Persist Security Info=True;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced"/>  
        <remove name="connJonathanApp_PRD"/>  
        <add name="connJonathanApp_PRD" connectionString="Data Source=tcp:sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced;" providerName="System.Data.SqlClient"/>  
        <!--<add name="connJonathanApp_PRD" connectionString="Data Source=sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;Persist Security Info=True;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced" providerName="System.Data.SqlClient"/>--> 
        <remove name="LocalSqlServer"/>  
        <add name="LocalSqlServer" connectionString="Data Source=tcp:sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced;" providerName="System.Data.SqlClient"/>  
        <!--<add name="LocalSqlServer" connectionString="Data Source=sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;Persist Security Info=True;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced" providerName="System.Data.SqlClient"/>
        --> 
        <remove name="Elmah.Sql"/>  
        <add name="Elmah.Sql" connectionString="Data Source=sql2k503.discountasp.net;Initial Catalog=SQL2005_537304_JonathanAppdev;Persist Security Info=True;User ID=SQL2005_537304_JonathanAppdev_user;Password=secretpasswordhasbeenreplaced" providerName="System.Data.SqlClient"/>  
    </connectionStrings> 
    <JonathanApp.Data defaultProvider="SqlNetTiersProvider">  
        <providers> 
            <!--  
                *** SqlClient Provider ***  
                    connectionStringName: sqlclient connection string to the db  
                    useStoredProcedure: if true, indicates that we use the stored procedures, otherwise, we use parametrized queries that are embedded.  
            --> 
            <add name="SqlNetTiersProvider" type="JonathanApp.Data.SqlClient.SqlNetTiersProvider, JonathanApp.Data.SqlClient" connectionStringName="JonathanApp.Data.ConnectionString" providerInvariantName="System.Data.SqlClient" entityFactoryType="JonathanApp.Entities.EntityFactory" useEntityFactory="true" enableEntityTracking="true" enableMethodAuthorization="false" useStoredProcedure="false" defaultCommandTimeout="60"/>  
            <!--   
                *** WebserviceClient Provider ***  
                The url parameter indicates the webservices url (ex: http://localhost/JonathanApp/JonathanAppServices.aspx)  
                <add   
                    name="WsNetTiersProvider"   
                    type="JonathanApp.Data.WebServiceClient.WsNetTiersProvider, JonathanApp.Data.WebServiceClient" 
                    url="/JonathanAppServices.asmx" /> 
            --> 
        </providers> 
    </JonathanApp.Data> 
    <appSettings> 
        <add key="SiteStatus" value="On"/>  
        <add key="UserThreshold" value="1000"/>  
        <add key="CSSFriendly-JavaScript-Path" value="~/JavaScript"/>  
        <add key="buildingBlockPath" value="~/UserControls/"/>  
    </appSettings> 
    <elmah> 
        <security allowRemoteAccess="1"/>  
        <errorLog type="Elmah.SqlErrorLog, Elmah" connectionStringName="Elmah.Sql"/>  
        <!--  
            Use to log errors to Microsoft SQL Server 2000 or 2005  
            using ASP.NET 2.0. Set value of connectionStringName attribute  
            to the name of the connection string settings to use from  
            the <connectionStrings> section.  
          
        <errorLog type="Elmah.SqlErrorLog, Elmah"   
            connectionStringName="..." /> 
        --> 
        <!--  
            Use to log errors into separate XML files that are stored on   
            disk at the path specified in the logPath attribute.  
 
        <errorLog type="Elmah.XmlFileErrorLog, Elmah" logPath="..." /> 
        --> 
        <!--  
            Use to send error reports by e-mail and adjust the attributes  
            according to settings desired. Note that only the from and  
            to attributes are required. The rest are optional and may  
            be removed. If the SMTP server does not require authentication,  
            you MUST remove the userName and password attributes or  
            set them to empty values (resulting in zero-length strings).  
            If you are using ELMAH compiled for .NET Framework 1.x, then  
            the to attribute may contain multiple recipient addresses,  
            each of which must be delimited by a semi-colon(;). If you are   
            using ELMAH compiled for .NET Framework 2.0 or later, then the  
            to attribute may contain multiple recipient addresses,  
            each of which must be delimited by a comma (,).  
 
        <errorMail   
            from="elmah@example.com"   
            to="admin@example.com"   
            subject="..." 
            async="true|false" 
            smtpPort="25" 
            smtpServer="smtp.example.com"   
            userName="johndoe" 
            password="secret" /> 
        --> 
        <!--  
            Use to prevent errors from being mailed or logged based on  
            assertions/conditions provided under the <test> element.  
            The example below will filter errors of type HttpException  
            where the status code is 404 (in other words, where the  
            resource was not found).  
 
        <errorFilter> 
            <test> 
                <equal binding="HttpStatusCode" value="404" valueType="Int32" /> 
            </test> 
        </errorFilter> 
        --> 
        <!-- Don't log 404 --> 
        <errorFilter> 
            <test> 
                <equal binding="HttpStatusCode" value="404" valueType="Int32"/>  
            </test> 
        </errorFilter> 
    </elmah> 
    <system.web> 
        <pages validateRequest="false" enableEventValidation="false">  
            <controls> 
                <!-- .NET 2.0 --> 
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
                <!-- .NET 3.5  
                <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                --> 
                <add tagPrefix="data" namespace="JonathanApp.Web.Data" assembly="JonathanApp.Web"/>  
                <add tagPrefix="data" namespace="JonathanApp.Web.UI" assembly="JonathanApp.Web"/>  
            </controls> 
        </pages> 
        <!--  
          Set compilation debug="true" to insert debugging  
          symbols into the compiled page. Because this  
          affects performance, set this value to true only  
          during development.  
    --> 
        <compilation debug="true">  
            <assemblies> 
                <!-- .NET 2.0 --> 
                <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.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
                <add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Management, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
                <add assembly="System.Security, 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.Data.OracleClient, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Transactions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
                <add assembly="System.Messaging, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>  
                <!-- .NET 3.5  
                  
                <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>  
                <add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
                --> 
                <add assembly="System.Drawing.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/></assemblies> 
        </compilation> 
        <!--  CUSTOM ERROR MESSAGES  
          Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.   
          Add <error> tags for each of the errors you want to handle.  
 
          "On" Always display custom (friendly) messages.  
          "Off" Always display detailed ASP.NET error information.  
          "RemoteOnly" Display custom (friendly) messages only to users not running   
           on the local Web server. This setting is recommended for security purposes, so   
           that you do not display application detail information to remote clients.    --> 
        <!--
          Custom Friendly Error Pages.  Set to RemoteOnly so we see hard errors when debugging.
        --> 
        <!-- <customErrors mode="RemoteOnly" defaultRedirect="~/errors/Error.aspx">  
            <error statusCode="404" redirect="~/errors/PageNotFound.aspx"/>  
        </customErrors> --> 
        <customErrors mode="Off"/>  
        <httpHandlers> 
            <!-- .NET 2.0 --> 
            <remove verb="*" path="*.asmx"/>  
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>  
            <!-- .NET 3.5   
            <remove verb="*" path="*.asmx"/>  
            <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>  
            --> 
            <!--   
                This entry provides the UI for the error log at  
                /admin/elmah.axd below the application path. For example,  
                if your domain is www.example.com and your application  
                is at the root, then you can view the error log by  
                visiting the following URL:  
                  
                http://www.example.com//admin/elmah.axd  
                  
                IMPORTANT! To secure this location, consult the  
                following notes:  
                  
                http://code.google.com/p/elmah/wiki/SecuringErrorLogPages  
--> 
            <add verb="POST,GET,HEAD" path="elmah.aspx" type="Elmah.ErrorLogPageFactory, Elmah"/>  
             <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" 
       type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" /> 
 
        </httpHandlers> 
        <httpModules> 
            <!-- .NET 2.0 --> 
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>  
            <!-- .NET 3.5   
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            --> 
            <add name="EntityTransactionModule" type="JonathanApp.Web.Data.EntityTransactionModule"/>  
            <add name="ErrorLog" type="Elmah.ErrorLogModule, Elmah"/>  
            <!--   
                Uncomment the entries below if error mail reporting   
                and filtering is desired.  
            --> 
            <!--<add name="ErrorMail" type="Elmah.ErrorMailModule, Elmah" />--> 
            <!--<add name="ErrorFilter" type="Elmah.ErrorFilterModule, Elmah"/>--> 
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
        </httpModules> 
        <!--  AUTHENTICATION   
          This section sets the authentication policies of the application. Possible modes are "Windows",   
          "Forms", "Passport" and "None"  
 
          "None" No authentication is performed.   
          "Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to   
           its settings for the application. Anonymous access must be disabled in IIS.   
          "Forms" You provide a custom form (Web page) for users to enter their credentials, and then   
           you authenticate them in your application. A user credential token is stored in a cookie.  
          "Passport" Authentication is performed via a centralized authentication service provided  
           by Microsoft that offers a single logon and core profile services for member sites.    --> 
        <!--  
          Forms authentication and Session timeouts are set to the same value, e.g. 120 minutes.    
          Setting the timeout="525600" would mean the cookie/session would expire in 1 year.  
        --> 
        <authentication mode="Forms">  
            <forms name=".JonathanApp" loginUrl="~/Account/Login.aspx" defaultUrl="~/Default.aspx" 
             timeout="120" /> 
        </authentication> 
        <sessionState timeout="120"/>  
        <membership  defaultProvider="AspNetSqlProvider" userIsOnlineTimeWindow="120" > 
            <providers> 
                <clear/> 
                <!--<remove name="AspNetSqlProvider" /> --> 
                <add connectionStringName="LocalSqlServer" enablePasswordRetrieval="false" 
              enablePasswordReset="true" requiresQuestionAndAnswer="true" applicationName="JonathanApp" 
              requiresUniqueEmail="true" passwordFormat="Hashed" minRequiredPasswordLength="6" 
              minRequiredNonalphanumericCharacters="1" name="AspNetSqlProvider" 
              type="System.Web.Security.SqlMembershipProvider, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> 
            </providers> 
        </membership> 
 
        <roleManager enabled="true" defaultProvider="AspNetSqlProvider">  
 
            <providers> 
                <clear /> 
                <add connectionStringName="LocalSqlServer" applicationName="JonathanApp" 
                 name="AspNetSqlProvider" type="System.Web.Security.SqlRoleProvider" /> 
            </providers> 
        </roleManager> 
        <!--
      Declare profile fields
    --> 
        <profile defaultProvider="AspNetSqlProvider" enabled="true">  
            <providers> 
                <!--
      Add the application name so that users can be looked up correctly and to prevent duplicate user entries
    --> 
                <add name="AspNetSqlProvider" connectionStringName="LocalSqlServer" applicationName="JonathanApp" type="System.Web.Profile.SqlProfileProvider"/>  
            </providers> 
            <!--   
            <properties> 
                <add name="Gender" type="string"/>  
                <add name="Country" type="string"/>  
                <add name="Postalcode" type="string"/>  
                <add name="Birthdate" type="datetime"/>  
                <add name="TermsandConditions" type="System.Boolean"/>  
                <add name="CurrentWITR" type="string"/>  
            </properties> 
            --> 
        </profile> 
        <!--  GLOBALIZATION This section sets the globalization settings of the application. --> 
        <globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="auto" uiCulture="auto"/>  
        <!--  AUTHORIZATION   
          This section sets the authorization policies of the application. You can allow or deny access  
          to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous   
          (unauthenticated) users.  --> 
        <authorization> 
            <allow roles="Administrators" /> 
            <allow roles="Super Administrators" /> 
        </authorization> 
        <!--  APPLICATION-LEVEL TRACE LOGGING  
          Application-level tracing enables trace log output for every page within an application.   
          Set trace enabled="true" to enable application trace logging.  If pageOutput="true", the  
          trace information will be displayed at the bottom of each page.  Otherwise, you can view the   
          application trace log by browsing the "trace.axd" page from your web application  
          root. --> 
        <trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true"/>  
        <!--  MACHINE KEY FOR ENCRYPTION --> 
        <!-- DO NOT USE IN MULTPLE SERVER FARM/ENVIRONMENT - <machineKey validationKey="AutoGenerate" decryptionKey="AutoGenerate" validation="SHA1"/> --> 
        <machineKey validationKey='F646D04F03B774734D1620C545FA29C89BF9BD797B46E3FA857448040B08762F810850B74821BE0452ADC7ACFC91409FA1A42AE0DF10EFE5695C59E4792C21C7' decryptionKey='C8F27CB3213FFF18633955AF855CB1E64177E4D02078E198' validation='SHA1'/>  
        <!-- 
        <machineKey validationKey="30CC1E773F7D12E53A3C9F2346D682C33593DE77788CB7CF0154A9885D9F63A59219D5507D1C5C6AEAAA3EDC1D632C5EA86F2BB5BA476652F60F74A4394E2182" decryptionKey="1CC156C7B41308C8B09AF7FB8C08E7B548C722A3131547CAAB3189A268680B7D" validation="SHA1" decryption="AES" />
        --> 
        <xhtmlConformance mode="Legacy"/>  
    </system.web> 
    <!-- .NET 3.5   
    <system.codedom> 
        <compilers> 
            <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
                <providerOption name="CompilerVersion" value="v3.5"/>  
                <providerOption name="WarnAsError" value="false"/>  
            </compiler> 
            <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" warningLevel="4" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">  
                <providerOption name="CompilerVersion" value="v3.5"/>  
                <providerOption name="OptionInfer" value="true"/>  
                <providerOption name="WarnAsError" value="false"/>  
            </compiler> 
        </compilers> 
    </system.codedom> 
    --> 
    <enterpriseLibrary.ConfigurationSource selectedSource="File Configuration Source">  
        <sources> 
            <add name="File Configuration Source" type="Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource, Microsoft.Practices.EnterpriseLibrary.Common, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" filePath="entlib.config"/>  
        </sources> 
    </enterpriseLibrary.ConfigurationSource> 
    <!--
      Overall Mail Settings
    --> 
    <system.net> 
        <mailSettings> 
            <smtp from="no-reply@fakesite.info">  
                <network host="smtp.fakesiteinfo" port="25" userName="no-reply@fakesiteinfo" password="fakepassword"/>  
            </smtp> 
        </mailSettings> 
    </system.net> 
    <!-- .NET 3.5  
        The system.webServer section is required for running ASP.NET AJAX under Internet  
        Information Services 7.0.  It is not necessary for previous version of IIS.  
      
    <system.webServer> 
        <validation validateIntegratedModeConfiguration="false"/>  
        <modules> 
            <remove name="ScriptModule"/>  
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
        </modules> 
        <handlers> 
            <remove name="WebServiceHandlerFactory-Integrated"/>  
            <remove name="ScriptHandlerFactory"/>  
            <remove name="ScriptHandlerFactoryAppServices"/>  
            <remove name="ScriptResource"/>  
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.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=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>  
            <add name="Elmah" path="/admin/elmah.axd" verb="POST,GET,HEAD"type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode" /> 
        </handlers> 
 
 
    </system.webServer> 
    <runtime> 
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">  
            <dependentAssembly> 
                <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>  
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
            </dependentAssembly> 
            <dependentAssembly> 
                <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>  
                <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>  
            </dependentAssembly> 
        </assemblyBinding> 
    </runtime>--> 
    <location path="Telerik.RadUploadProgressHandler.ashx">  
        <system.web> 
            <authorization> 
                <allow users="*"/>  
            </authorization > 
        </system.web> 
    </location> 
      
    <!-- .NET 2.0 --> 
    <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"/>  
            <add name="Elmah.ErrorLog" type="Elmah.ErrorLogModule, Elmah" preCondition="managedHandler"/>  
            <add name="ProgressModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" /> 
            <!--<add name="Elmah.ErrorFilter"   
type="Elmah.ErrorFilterModule" preCondition="managedHandler" />--> 
            <!--<add name="Elmah.ErrorMail" type="Elmah.ErrorMailModule"   
preCondition="managedHandler" />--> 
        </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"/>  
            <add name="Elmah" path="/admin/elmah.axd" verb="POST,GET,HEAD" type="Elmah.ErrorLogPageFactory, Elmah" preCondition="integratedMode"/>  
        </handlers> 
    </system.webServer> 
</configuration> 
Erjan Gavalji
Telerik team
 answered on 12 Nov 2008
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?