473,379 Members | 1,317 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,379 software developers and data experts.

AutopostBack properties ??

Dear all,

I am newbie in asp.net, I am preparing it for my MCAD and MCSD exams.
I get my exam for VB.Net under Windows application word where events was
clear for me, and now start to be hard to follow the pylosophie of asp.net
events firing.

The first one I face to is to trap the event when I click on a check box.
For that I have set the Autopostback porperty to true in order to catch the
event_click routine. That works fine but only the first time.

Any reason for that or idea how to correct this ?

I do not have real application for the moment, just trying to understand
step by step. Does this behviour is use to avoid the round trip to server
side ?

Does catching click event should be used at minimum in order to avoid
traffic to server compare to windows application ?

thnaks for your clarification
Regards
serge
Nov 19 '05 #1
1 1157
If you set AutoPostback=true then it should always trigger the postback when
the check is changed. Do you programmatically change it?

-Brock
DevelopMentor
http://staff.develop.com/ballen
Dear all,

I am newbie in asp.net, I am preparing it for my MCAD and MCSD exams.
I get my exam for VB.Net under Windows application word where events
was
clear for me, and now start to be hard to follow the pylosophie of
asp.net
events firing.
The first one I face to is to trap the event when I click on a check
box. For that I have set the Autopostback porperty to true in order to
catch the event_click routine. That works fine but only the first
time.

Any reason for that or idea how to correct this ?

I do not have real application for the moment, just trying to
understand step by step. Does this behviour is use to avoid the round
trip to server side ?

Does catching click event should be used at minimum in order to avoid
traffic to server compare to windows application ?

thnaks for your clarification
Regards
serge


Nov 19 '05 #2

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

Similar topics

11
by: Corey | last post by:
I'm trying to finish off do an ASP.NET project where a DropDownList box is used to access a Table. Once you Make a selection on an item in the DropDownListBox, it updates a DataView, and text...
1
by: Tobe | last post by:
We want to change the autopostback properties (serverside) of all of the dropdownlistboxes on the page. I am trying to loop through the Request.Form.Items, but I can't seem to get more the 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...
0
by: G. Dean Blake | last post by:
I am writing a user control that has a combo box in it (3rd party). I want to pass thru properties from the control so I wrote the following: Public WriteOnly Property AutoPostBack(ByVal TF) As...
0
by: G. Dean Blake | last post by:
(I didn't get any response on the first post of this. Is this the right forum for ASCX user controls?) I am writing a user control that has a combo box in it (3rd party). I want to pass...
3
by: indigator | last post by:
I am using ASP.NET 2.0. I have 2 dropdownlists in my page. One holds the list of all the countries and other holds the list of all States. When the user selects the country as United States, I want...
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...
6
by: Peter | last post by:
ASP.NET 2.0 Visual Studio 2008 I have the following code and when the textbox displays and I press Enter while in the text box I get AutoPostBack, how do I stop AutoPostBack? TextBox txt =...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.