Click here to Skip to main content
15,885,811 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Expert ,

In my asp.net website(on Update_Category.aspx page),i am updating Category.

I am selecting category to update from dropdownlist.After selecting category then it display category in textbox(txtCategory).

This is working for me.But it refresh entire page.How i can use ajax for this.

Thanks in advance............
Posted

Use Update Panel[^].

See this [^]also.
 
Share this answer
 
Comments
udusat13 18-Oct-11 3:16am    
Thankssss fro replying for me...........
XML
<asp:UpdatePanel ID="updgrid" runat="server">
<ContentTemplate>

<asp:dropdownlist id="ddlCategory" runat="server" autopostback="True" onselectedindexchanged="ddlCategory_SelectedIndexChanged" xmlns:asp="#unknown">
                                                                        </asp:dropdownlist>







<asp:textbox id="txtCategory" runat="server" xmlns:asp="#unknown"></asp:textbox>


//in selected index changed fill the textbox
 
Share this answer
 
Comments
udusat13 18-Oct-11 3:15am    
Thankss.................

Its Working for me...............

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900