Click here to Skip to main content
12,502,346 members (54,373 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET Javascript
haiii.....

I have static dropdown ,I need to change the value of drop down on text change event .The textbox(textPaid) and the drop down(ddlPaymentStatus) are placed inside a grid. So please give a javascript solution to handle this..

plz ..its urgent..

here is my souce code of grid... plz refer the source code ..and give a javascript ..



<asp:GridView ID="gvCollect" runat="server" AutoGenerateColumns="False" CssClass="gridview"
                            OnRowCancelingEdit="gvCollect_RowCancelingEdit" OnRowDataBound="gvCollect_RowDataBound"
                            OnRowEditing="gvCollect_RowEditing" OnRowUpdating="gvCollect_RowUpdating">
                            <Columns>
                                <asp:TemplateField HeaderText="Apartment No.">
                                    <ItemTemplate>
                                        <asp:Label ID="lblAprtmnt" runat="server" Text='<%# Bind("ApartmentCode") %>' />
                                    </ItemTemplate>
                                    <HeaderStyle CssClass="edit" />
                                    <ItemStyle CssClass="edit" />
                                    <HeaderStyle Font-Bold="True" />
                                </asp:TemplateField>
                                <asp:TemplateField HeaderText="Payment Amount (<b>&#2352</b>)">
                                    <ItemTemplate>
                                        <asp:Label ID="LblAmt" runat="server" Text='<%# Bind("TotalAmount")  %>' attr-identity="TotalAmount" />
Posted 28-Nov-12 19:10pm

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160919.1 | Last Updated 29 Nov 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100