Click here to Skip to main content
15,883,978 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i have 4 image button through which i pass querystring and one datalist in update pannel which show data according to those image button selection..my problem is that i want to show data in datalist without refreshing page..
my page is xyz.aspx
C#
onload()
{
if(Request.QueryString["var"] != null)
{

.....}
else
(
show data according to var;
}
}
imageclick(){
string abc;
response.redirect("xyz.aspx?var=" + abc)
}


i know becuse of this response.redirect my page load..but i don't know other option as i am new in asp.net..please help..

thank you in advance
Posted
Updated 15-Sep-13 23:43pm
v3
Comments
Dholakiya Ankit 16-Sep-13 4:41am    
use server.transfer method if you dont want to show this string in browser
Rajivdablu 16-Sep-13 5:04am    
actually main problem is that i don't want to refresh this page..i just want to update my datlist according to these image button values..
thank you for reply
Dholakiya Ankit 16-Sep-13 5:08am    
ya hemchandra is right use ajax jquery
Hemant Singh Rautela 16-Sep-13 4:42am    
you can use JSON ... study about it...

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