0

Hi,

I have very simple project in vs2010 and mssql 2008. with only single page for example.

when i run project its take too much time for loading..
when i change the value of radio button it will take some process.
i use updatepanel also and autopostback=true

radio button takes time for process. between changing the value.
i use dropdown in another Project same like this. it also take time for process.

how can i reduce this process. any suggestion acceptable.

thanks in advance

jack

<%@ Page Title="" Language="C#" MasterPageFile="~/NewFolder1/MasterPage.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="NewFolder1_Default" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="Panel1" runat="server">
                <table>
                    <tr>
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                    <tr>
                        <td> 
                            <asp:RadioButtonList ID="rdbStatus" runat="server" RepeatDirection="Horizontal" AutoPostBack="True"
                                CssClass="txttextlable" TabIndex="1" Style="background: none;">
                                <asp:ListItem>New</asp:ListItem>
                                <asp:ListItem>Contract</asp:ListItem>
                                <asp:ListItem>Inquiry</asp:ListItem>
                            </asp:RadioButtonList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <asp:TextBox ID="TextBox4" runat="server" AutoPostBack="True"></asp:TextBox>
                        </td>
                    </tr>
                </table>
                <asp:Button ID="Button1" runat="server" Text="Button" /> 
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
3
Contributors
2
Replies
4
Views
5 Years
Discussion Span
Last Post by carrieathomer
0

Update panel are sweet in some scenarios, you don't have to do too much to add that ajax feeling to your website, but the problem is that Update Panel send the whole html back and forth, which can slow down the web page.

I will try to take out the update panel and see if you have any differences also check if you can use de cache system.

0

Ya update panel is a headache. google lazy loading of update panel you may find something intresting

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.