Click here to Skip to main content
15,889,992 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionChat Client Programming Pin
MD_AS2-May-16 5:25
MD_AS2-May-16 5:25 
AnswerRe: Chat Client Programming Pin
Nathan Minier3-May-16 1:51
professionalNathan Minier3-May-16 1:51 
AnswerRe: Chat Client Programming Pin
aarif moh shaikh4-May-16 2:16
professionalaarif moh shaikh4-May-16 2:16 
QuestionDelete the Custom Control on Submit Button in ASP.Net Pin
Amit Kumar (India)2-May-16 2:05
Amit Kumar (India)2-May-16 2:05 
AnswerRe: Delete the Custom Control on Submit Button in ASP.Net Pin
F-ES Sitecore2-May-16 22:48
professionalF-ES Sitecore2-May-16 22:48 
GeneralRe: Delete the Custom Control on Submit Button in ASP.Net Pin
Amit Kumar (India)2-May-16 23:32
Amit Kumar (India)2-May-16 23:32 
GeneralRe: Delete the Custom Control on Submit Button in ASP.Net Pin
F-ES Sitecore3-May-16 0:07
professionalF-ES Sitecore3-May-16 0:07 
QuestionWhy is the Repeater Control Uploads... Pin
Vimalsoft(Pty) Ltd29-Apr-16 6:12
professionalVimalsoft(Pty) Ltd29-Apr-16 6:12 
Good Day All

i have a repeater control that i bind with 10 000 records and it handles it nicely and its defined like this

ASP.NET
<table id="example" class="table table-striped table-bordered" cellspacing="0" width="100%">

                <thead>
                    <tr>
                        <th>ID</th>
                        <th>Recipient</th>
                        <th>Possible Bank</th>
                        <th>Amount</th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <asp:Repeater ID="rptDonationList" runat="server" OnItemCommand="rptDonationList_ItemCommand">
                        <ItemTemplate>
                            <tr>
                                <td style="width: 10%">
                                    <%# Eval("DONATIONS_ID") %>
                                </td>
                                <td style="width: 30%">
                                    <%# Eval("Name") %>
                                </td>
                                <td style="width: 30%">
                                    <%# Eval("LU_BANKS_NAME") %>
                                </td>
                                <td style="width: 20%">R <%#string.Format("{0:n}",Eval("AMOUNT")).Replace(".00","") %>  
                                </td>
                                <td style="width: 10%">
                                    <asp:Button ID="btnDonate" Width="70" Height="29" CommandArgument='<%# Eval("AMOUNT") +"|"+Eval("RECEPIENT_USER_ID")+"|"+Eval("DONATIONS_ID")+"|"+Eval("RemainingDonationAmount") %>' CommandName="Donate" CausesValidation="false" runat="server" CssClass="btnred  btn-danger" Text="Donate" /></td>
                            </tr>
                        </ItemTemplate>
                    </asp:Repeater>

                </tbody>
            </table> 

When the Button Donate is clicked it fires the OnItemCommand event that is defined like this

C#
<br />
 protected void rptDonationList_ItemCommand(object source, RepeaterCommandEventArgs e)
        {
            if (e.CommandName == "Donate")
            {
                 string[] data = e.CommandArgument.ToString().Split('|');
                Session["PaymentAmount"] = data[0];
                Session["PaymentforUserId"] = data[1];
                Session["DonationId"] = data[2];
                Session["RemainingDonationAmount"] = data[3]; 
                Response.Redirect("/MakePayment.aspx",false); 
            }
        } 

The problem is when this above event is fired , the page at the bottom left corner shows a message on the status bar "Uploading 10%.." which makes the page to wait until 100% before it moves to another page. What exactly is it uploading as the code above just redirects to the next page.

Thanks
Vuyiswa Maseko,

Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.

C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vimalsoft.com
vuyiswa[at]vimalsoft.com

AnswerRe: Why is the Repeater Control Uploads... Pin
Richard Deeming29-Apr-16 7:03
mveRichard Deeming29-Apr-16 7:03 
GeneralRe: Why is the Repeater Control Uploads... Pin
Vimalsoft(Pty) Ltd29-Apr-16 9:49
professionalVimalsoft(Pty) Ltd29-Apr-16 9:49 
GeneralRe: Why is the Repeater Control Uploads... Pin
Kornfeld Eliyahu Peter30-Apr-16 23:50
professionalKornfeld Eliyahu Peter30-Apr-16 23:50 
GeneralRe: Why is the Repeater Control Uploads... Pin
Vimalsoft(Pty) Ltd2-May-16 5:52
professionalVimalsoft(Pty) Ltd2-May-16 5:52 
GeneralRe: Why is the Repeater Control Uploads... Pin
Kornfeld Eliyahu Peter2-May-16 6:53
professionalKornfeld Eliyahu Peter2-May-16 6:53 
GeneralRe: Why is the Repeater Control Uploads... Pin
Vimalsoft(Pty) Ltd2-May-16 8:58
professionalVimalsoft(Pty) Ltd2-May-16 8:58 
Questionhi experts.. How to use store procedure with Entity Framework Pin
sunil329-Apr-16 0:49
sunil329-Apr-16 0:49 
AnswerRe: hi experts.. How to use store procedure with Entity Framework Pin
Richard Deeming29-Apr-16 2:22
mveRichard Deeming29-Apr-16 2:22 
GeneralRe: hi experts.. How to use store procedure with Entity Framework Pin
sunil329-Apr-16 19:06
sunil329-Apr-16 19:06 
PraiseRe: hi experts.. How to use store procedure with Entity Framework Pin
John C Rayan2-May-16 23:49
professionalJohn C Rayan2-May-16 23:49 
GeneralRe: hi experts.. How to use store procedure with Entity Framework Pin
aarif moh shaikh4-May-16 2:18
professionalaarif moh shaikh4-May-16 2:18 
AnswerRe: hi experts.. How to use store procedure with Entity Framework Pin
John C Rayan2-May-16 23:48
professionalJohn C Rayan2-May-16 23:48 
GeneralRe: hi experts.. How to use store procedure with Entity Framework Pin
sunil34-May-16 20:58
sunil34-May-16 20:58 
GeneralRe: hi experts.. How to use store procedure with Entity Framework Pin
John C Rayan4-May-16 22:17
professionalJohn C Rayan4-May-16 22:17 
QuestionMapArea Coordinates not persisted Pin
Mark Falleroni27-Apr-16 5:06
Mark Falleroni27-Apr-16 5:06 
QuestionHow to control routing too many url's Pin
VBDeveloper201524-Apr-16 4:48
VBDeveloper201524-Apr-16 4:48 
AnswerRe: How to control routing too many url's Pin
Wombaticus24-Apr-16 5:18
Wombaticus24-Apr-16 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.