IT Community - Software Programming, Web Development and Technical Support

How do I submit a form or a part of a form without a page refresh in ASP.Net using C#

This is a discussion on How do I submit a form or a part of a form without a page refresh in ASP.Net using C# within the ASP and ASP.NET Programming forums, part of the Web Development category; How do I submit a form or a part of a form without a page refresh in ASP.Net using ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > ASP and ASP.NET Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-23-2007, 10:35 PM
mobilegeek mobilegeek is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 205
mobilegeek is on a distinguished road
Question How do I submit a form or a part of a form without a page refresh in ASP.Net using C#

How do I submit a form or a part of a form without a page refresh in ASP.Net using C#
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-23-2007, 10:38 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Default Re: How do I submit a form or a part of a form without a page refresh in ASP.Net usin

When creating a form make sure that the "form" element "onSubmit" attribute is set to a JavaScript function that returns false.

<form onSubmit="doAJAXSubmit(); return false;" >
<input type="text" id="tf1" />
<input type="submit" id="submit1" value="Update"/>
</>

You can also submit data by associating a function with a form button in a similar way.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can we submit a form without a submit button? sundarraja PHP Programming 4 02-29-2008 09:37 PM
Submit a Form using Javascript velhari HTML, CSS and Javascript Coding Techniques 3 11-14-2007 03:33 AM
How can I have a dropdown form redirect to other pages, without a submit button? itbarota HTML, CSS and Javascript Coding Techniques 2 11-01-2007 10:20 PM
How can I pass a hidden value to a form and submit that form when a text link is clic itbarota HTML, CSS and Javascript Coding Techniques 1 10-17-2007 08:07 AM
Submit without form Anand PHP Programming 1 07-19-2007 03:36 AM


All times are GMT -7. The time now is 01:49 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0