Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.1
|
ASP.NET 1.1 As of 10/6/2005, this forum is locked as part of the reorganization described here: http://p2p.wrox.com/topic.asp?TOPIC_ID=35394. No posts have been deleted. Open ongoing discussions from the last week have been moved to either ASP.NET 1.0 and 1.1 Beginners http://p2p.wrox.com/asp-net-1-0-1-1-basics-60/ or ASP.NET 1.0 and 1.1 Professional. http://p2p.wrox.com/forum.asp?FORUM_ID=50. See my sticky post inside for more.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.1 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 7th, 2005, 02:16 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default Getting data without refreshing page

I have a page of asp.net on which there is a data grid. I want to update that grid without refreshing page. Mean I have three feilds in grid Amount, Debit and Balance. And I want to use it as the amount feild is dynamicaly fill and when user insert debit the it shows the balance without refreshing the page and insert new balance as a amount in database.
Thanks in advance.




(*_*)

Numan
--------------------------------------------------
It is not important what you get But important is how you got it
__________________
(*_*)

Numan
--------------------------------------------------
It is not important what you get But important is  how you got it
 
Old March 8th, 2005, 03:59 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

I doubt you can achieve this Nomi.You can't update the database without submitting the page.

 
Old March 8th, 2005, 10:57 AM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 1,348
Thanks: 0
Thanked 5 Times in 5 Posts
Default

You can use client side script to change the balance column with out refreshing the page. As for the database change, you need to make a trip to the server.
 
Old March 9th, 2005, 12:57 AM
Friend of Wrox
 
Join Date: Jun 2004
Posts: 331
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to qazi_nomi
Default

Thanks dears for your comments I have found a code which get data without refreshing the page. But it is in ASP and I need it in ASP.net using datagrid

http://codeproject.com/asp/getdata.asp




(*_*)

Numan
--------------------------------------------------
It is not important what you get But important is how you got it
 
Old March 10th, 2005, 10:04 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Nomi i have seen that article they are submitting the page by opening an new window.
    As per jbenson001 suggestion,use client script to set the balance.In OnChange event of that field use window.open as they suggested in CodeProject.







Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with refreshing the page fozia_izhar .NET Framework 1.x 1 March 24th, 2007 02:18 PM
page not refreshing Bill Crawley ASP.NET 2.0 Basics 8 February 28th, 2007 11:39 AM
Auto refreshing data on asp page x_ray Classic ASP Basics 2 December 7th, 2005 07:00 AM
refreshing XML withour refreshing the page sasidhar79 XML 1 January 12th, 2005 05:16 AM
Problem In refreshing a page. zaeem Classic ASP Components 2 November 4th, 2003 12:42 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.