Refersh asp.net page

Posted by Krishnasamy2008 under ASP.NET on 1/13/2011 | Points: 10 | Views : 3663 | Status : [Member] | Replies : 4
Hi Friends,
How to refresh particular part of webpage excluding of asp.net ajax like script manager & Updatepanel.

For example, I have a quotation page it contains general information and quotation product information(More than one products in that page).I have mentioned few fields below how the page looks like,

General Information
-------------------
Quot.No Textbox
Quot.Name Textbox
Quot.Type DDL

Quotation Product Information(Withpout page refresh in this potion of page)
------------------------------
SlNo ProductName Qty UnitPrice Total
1. A 10 5 50 Delete
2. B 20 10 200 Delete

PName:DDL Qty:Textbox UnitPrice:Textbox Add Button (You are able add product)

Save Button Cancel Button

Note:
- If I'm clicking save button it's storing the quotation information along with quotation product information.
- I have two table one is quoation and another one is quoation products(It's having relationship with quotation table)

Can anyone guide me how to do in asp.met with ajax(Prototype,Jquery or any other logic).If you have sample code please send me.

Thanks and Regards,
Krishna.K




Responses

Posted by: Karthikanbarasan on: 1/13/2011 [Member] [Moderator] [Microsoft_MVP] [MVP] Silver | Points: 25

Up
0
Down
Hi Krishna,

Check this site if its for coding with ajax...

http://www.asp.net/ajax/tutorials/understanding-partial-page-updates-with-asp-net-ajax

Thanks
Karthik
www.f5Debug.net

Krishnasamy2008, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: SheoNarayan on: 1/13/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Hi Krishna,

I think as you mentioned you need to do partial page refresh without using ASP.NET AJAX so I have written article especially for you that describes how to do partial page refresh using jQuery http://www.dotnetfunda.com/articles/article1123-partial-page-refresh-using-jquery-.aspx.

Hope this is what you were looking for and using this article, you would be able to solve your problem.

Thanks!

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Krishnasamy2008, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Suresh.mekkattil on: 1/13/2011 [Member] Bronze | Points: 25

Up
0
Down
Hi,
Simply up a update panel arround your UI.
OR
you need to use the JSON in order to send the information to server.

-----
Suresh M

Krishnasamy2008, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Prabhakar on: 1/14/2011 [Member] [MVP] Starter | Points: 25

Up
0
Down
hi,

Simply write u on button click event after code
response.redirect to same page when u coded Home.aspx.cs page

Response.redirect("~/home.aspx");

Best Regard's
Prabhakar

Krishnasamy2008, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response