473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Autopostback = true without refresh screen in asp.net?

Wei
Hi,

I have a page written in ASP.net c# witch has a datalist with 200 records
(in Itemtemplate). Each record includes nine webcontrol radio buttons as a
group. The user will need to check through all 200 records and select the
choices by clicking on the radio button. Every time the radio button is
clicked, the selected choice needs to be sent to the database. I set the
radio button autopostback = "true", therefore each time user clicks on the
radio button the page will refresh. Because there are 200 records on the
page, it takes time to load up the page. Is it possible that every time user
clicks on the radio button, the selected choice is sent back to database in
the background without refreshing the screen? (like in ASP remote scripts)

Thank you very much for your help
Nov 18 '05 #1
3 11224
Hey Wei,

I'm saying this on the fly without research but I believe you can retrieve a
dataset, make changes, and then submit the changed dataset back to the
database.

The big question is why does the selection need to be posted back to the
database immediately? Does each selection effect the remaining possible
selections? This sounds more to me like a form with 200 questions basically.
"Wei" wrote:
Hi,

I have a page written in ASP.net c# witch has a datalist with 200 records
(in Itemtemplate). Each record includes nine webcontrol radio buttons as a
group. The user will need to check through all 200 records and select the
choices by clicking on the radio button. Every time the radio button is
clicked, the selected choice needs to be sent to the database. I set the
radio button autopostback = "true", therefore each time user clicks on the
radio button the page will refresh. Because there are 200 records on the
page, it takes time to load up the page. Is it possible that every time user
clicks on the radio button, the selected choice is sent back to database in
the background without refreshing the screen? (like in ASP remote scripts)

Thank you very much for your help

Nov 18 '05 #2
Hi Wei:

Take a look at:

Script Callbacks in ASP.NET
http://msdn.microsoft.com/msdnmag/is...e/default.aspx

Applicable to both 1.1 and 2.0.

--
Scott
http://www.OdeToCode.com/blogs/scott/

On Wed, 27 Oct 2004 10:53:59 -0400, "Wei" <wx***@case.edu> wrote:
Hi,

I have a page written in ASP.net c# witch has a datalist with 200 records
(in Itemtemplate). Each record includes nine webcontrol radio buttons as a
group. The user will need to check through all 200 records and select the
choices by clicking on the radio button. Every time the radio button is
clicked, the selected choice needs to be sent to the database. I set the
radio button autopostback = "true", therefore each time user clicks on the
radio button the page will refresh. Because there are 200 records on the
page, it takes time to load up the page. Is it possible that every time user
clicks on the radio button, the selected choice is sent back to database in
the background without refreshing the screen? (like in ASP remote scripts)

Thank you very much for your help


Nov 18 '05 #3
Wei
You are right. it is a set of 200 multiple choice questions with images. The
requirement is the selected coice need to be sent back every time the radio
button is clicked. The selections do not exist before the user start
working, so I can not retrieve them as a dataset.
Thank you

"Marty U." <Ma****@discussions.microsoft.com> wrote in message
news:00**********************************@microsof t.com...
Hey Wei,

I'm saying this on the fly without research but I believe you can retrieve a dataset, make changes, and then submit the changed dataset back to the
database.

The big question is why does the selection need to be posted back to the
database immediately? Does each selection effect the remaining possible
selections? This sounds more to me like a form with 200 questions basically.

"Wei" wrote:
Hi,

I have a page written in ASP.net c# witch has a datalist with 200 records (in Itemtemplate). Each record includes nine webcontrol radio buttons as a group. The user will need to check through all 200 records and select the choices by clicking on the radio button. Every time the radio button is
clicked, the selected choice needs to be sent to the database. I set the
radio button autopostback = "true", therefore each time user clicks on the radio button the page will refresh. Because there are 200 records on the
page, it takes time to load up the page. Is it possible that every time user clicks on the radio button, the selected choice is sent back to database in the background without refreshing the screen? (like in ASP remote scripts)
Thank you very much for your help

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: LRD | last post by:
Form not refreshing after autopostback unless keyboard or mouse move Hi, We created several new ASP.NET C# forms for our intranet. In each form we use panels for different sections of the...
3
by: Lloyd Sheen | last post by:
I have a page that works fine. I am trying to optimize the page by overriding some of the Information that is being saved in the hidden VIEWSTATE. If I make the properties of the dropdown False...
8
by: Matthew Louden | last post by:
why need to set autopostback property to be true?? I know autopostback event means to send the form to the server automatically. I tried checkbox, checkbox list, radio button, and radio button...
4
by: Scott M. | last post by:
If I put RequiredFiledValidators on a page and set them up with corresponding TextBoxes everything works just fine. If I add a DropDownList and set its AutoPostBack to True, I am able to post data...
1
by: Edward | last post by:
I am having a terrible time getting anything useful out of a listbox on my web form. I am populating it with the results from Postcode lookup software, and it is showing the results fine. What...
1
by: Matt | last post by:
When we set the AutoPostBack property=true in a web control, it means post the current form data to the IIS server, and open the current page (means refresh the page). Is that the correct logic?...
7
by: Ron | last post by:
Hello all, I don't understand why my pageis not posting back to the server when I change the selection on a radio list. I have a page that both accepts new personal info. or allows editing to...
3
by: Brad | last post by:
The first text on my form is a numeric field. I have a javascript that runs on this field for onkeyup (validate the key strokes and modifies fields on the screen) but when I do this and have the...
2
by: rn5a | last post by:
Assume that a user control has a TextBox (Page1.ascx) <asp:TextBox ID="txtName" runat="server"/> I am encapsulating the above user control in a ASPX page named Page1.aspx i.e. the ASPX page...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.