Instructions how to isolate this demo as a stand-alone application (removing the Quick Start Framework dependencies)

  1. Remove the irrelevant Register directives at the top of the page which are used for common QSF header/footer, SessionDataSource, configurators, etc. registration, namely:
        <%@ Register TagPrefix="telerik" Namespace="Telerik.QuickStart" %>
        <%@ Register TagPrefix="telerik" TagName="Header" Src="~/Common/Header.ascx" %>
        <%@ Register TagPrefix="telerik" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
        <%@ Register TagPrefix="telerik" TagName="Footer" Src="~/Common/Footer.ascx" %>
        <%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>
    
  2. Strip the corresponding tags (listed below) from the markup of the page:
        <telerik:Header …. />
        <telerik:HeadTag  …. />
        <telerik:Footer …. />
        <qsf:XXXXX   …./>
    
    along with the controls that reside inside those tags. Detach the event handlers of these controls and erase the client or server logic which is executed for them. The tag
    <qsf:ConfiguratorPanel … />
    
    is an exception and should be stripped by leaving its content on the page.
  3. This tag:
    <sds:SessionDataSource … />
    
    can be modified by replacing sds:SessionDataSource with asp:SqlDataSource and updating the signature of the data source’s commands and parameters accordingly. For example: Old definition
    <sds:SessionDataSource ID="SessionDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"            
    ProviderName="System.Data.SqlClient" SelectCommand="SELECT ProductID, ProductName, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, Discontinued FROM [Products]"
    DeleteCommand="DELETE FROM [Products] WHERE [ProductID] = ?" InsertCommand="INSERT INTO Products(ProductName, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, Discontinued) VALUES (?, ?, ?, ?, ?, ?)"
    UpdateCommand="UPDATE [Products] SET [ProductName] = ?, [CategoryID] = ?, [QuantityPerUnit] = ?, [UnitPrice] = ?, [UnitsInStock] = ?, [Discontinued] = ? WHERE [ProductID] = ? AND [ProductName] = ? AND [CategoryID] = ? AND [QuantityPerUnit] = ? AND [UnitPrice] = ? AND [UnitsInStock] = ? AND [Discontinued] = ?"            
    PrimaryKeyFields="ProductID" OldValuesParameterFormatString="original_{0}" ConflictDetection="CompareAllValues">
    <DeleteParameters>
           <asp:Parameter Name="original_ProductID" Type="Int32" />
             </DeleteParameters>
                <UpdateParameters>
                    <asp:Parameter Name="ProductName" Type="String" />
                    <asp:Parameter Name="QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="Discontinued" Type="Boolean" />
                    <asp:Parameter Name="original_ProductID" Type="Int32" />
                    <asp:Parameter Name="original_ProductName" Type="String" />
                    <asp:Parameter Name="original_QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="original_UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="original_UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="original_Discontinued" Type="Boolean" />
                </UpdateParameters>
                <InsertParameters>
                    <asp:Parameter Name="ProductName" Type="String" />
                    <asp:Parameter Name="QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="Discontinued" Type="Boolean" />
                </InsertParameters>
    </sds:SessionDataSource>
    
    New definition
    <asp:SqlDataSource ID="SessionDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>"
    ProviderName="System.Data.SqlClient" SelectCommand="SELECT ProductID, ProductName, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, Discontinued FROM [Products]"
    DeleteCommand="DELETE FROM [Products] WHERE [ProductID] = @original_ProductID" InsertCommand="INSERT INTO Products(ProductName, CategoryID, QuantityPerUnit, UnitPrice, UnitsInStock, Discontinued) VALUES (@ProductName, @CategoryID, @QuantityPerUnit, @UnitPrice, @UnitsInStock, @Discontinued)"
    UpdateCommand="UPDATE [Products] SET [ProductName] = @ProductName, [CategoryID] = @CategoryID, [QuantityPerUnit] = @QuantityPerUnit, [UnitPrice] = @UnitPrice, [UnitsInStock] = @UnitsInStock, [Discontinued] = @Discontinued WHERE [ProductID] = @original_ProductID AND [ProductName] = @original_ProductName AND [CategoryID] = @original_CategoryID AND [QuantityPerUnit] = @original_QuantityPerUnit AND [UnitPrice] = @original_UnitPrice AND [UnitsInStock] = @original_UnitsInStock AND [Discontinued] = @original_Discontinued"
                OldValuesParameterFormatString="original_{0}" ConflictDetection="CompareAllValues">
                <DeleteParameters>
                    <asp:Parameter Name="original_ProductID" Type="Int32" />
                </DeleteParameters>
                <UpdateParameters>
                    <asp:Parameter Name="ProductName" Type="String" />
                    <asp:Parameter Name="QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="Discontinued" Type="Boolean" />
                    <asp:Parameter Name="original_ProductID" Type="Int32" />
                    <asp:Parameter Name="original_ProductName" Type="String" />
                    <asp:Parameter Name="original_QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="original_UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="original_UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="original_Discontinued" Type="Boolean" />
                </UpdateParameters>
                <InsertParameters>
                    <asp:Parameter Name="ProductName" Type="String" />
                    <asp:Parameter Name="QuantityPerUnit" Type="String" />
                    <asp:Parameter Name="UnitPrice" Type="Decimal" />
                    <asp:Parameter Name="UnitsInStock" Type="Int16" />
                    <asp:Parameter Name="Discontinued" Type="Boolean" />
                </InsertParameters>
    </asp:SqlDataSource>
    
    Note that basically the SessionDataSource is a Telerik home-grown SqlDataSource which stores the data in ASP.NETSession instead of directly in the database (as the regular asp SqlDataSource does). The code of the SessionDataSource is available at this default installation location (the path may vary if you choose other target installation folder):
    C:\Program Files\telerik\Telerik UI for ASP.NET AJAX QX 20XX\Live Demos\App_Code\SessionDataSource.cs
    
  4. In case you installed Telerik UI for ASP.NET AJAX trial or dev version, you can find their source code at this default installation location (the path may vary if you choose other target installation folder):
    C:\Program Files\telerik\Telerik UI for ASP.NET AJAX QX 20XX\Live Demos
    
    and run them from Start menu -> Programs -> Telerik -> Telerik UI for ASP.NET AJAX QX 20XX/Telerik UI for ASP.NET AJAX QX 20XX Live Examples shortcut.
  5. If you have an informational module with nested div tags and cssclasses named bigModule/bigModuleBottom, strip those nested divs as well because you do not need them.
  6. If the demo uses WebServices, LINQ to XXXX models, Entity Framework models, custom classes, etc., you can find those either under the respective example’s code viewer or at this default installation location (the path may vary if you choose other target installation folder):
    C:\Program Files\telerik\Telerik UI for ASP.NET AJAX QX 20XX\Live Demos\App_Code 
    
    Provided that you build your own sample web site, you need to copy the abovementioned WebServices, models, custom classes, etc. as is in the App_Code folder of that sample web site.
  7. The data sources used on the examples are placed either in the root demo folder or at this default installation location (the path may vary if you choose other target installation folder):
    C:\Program Files\telerik\Telerik UI for ASP.NET AJAX QX 20XX\Live Demos\App_Data
    
    Provided that you build your own sample web site, you need to copy the abovementioned data sources either in the root or in the App_Data folder of you sample web site and attach the SQL databases to your SQL server if you plan to use them.