• Register
0 votes
61 views

Problem :

I came across a problem as follows
if you set the autopostback property of a control to true, the page is posted back to the server
Any solution on this ?
6.9k points

Please log in or register to answer this question.

1 Answer

0 votes

Solution :

The AutoPostBack = true permits control to post back to server. It is closely associated with an Event.

e.g.

<asp:DropDownList id="id" runat="server" AutoPostBack="true" OnSelectIndexChanged="..."/>

This aspx page with the above mentioned drop down list does not need an asp:button to do the post back. When you change an option in the drop down list then the page gets posted back to the server.

Note : Default value of AutoPostBack on control is false.

38.6k points

Related questions

0 votes
1 answer 10 views
10 views
Problem: Is there some way to solve this problem: If you set the autopostback property of a control to true, the page is posted back to the server?
asked Jun 10 akhi 125k points
0 votes
1 answer 25 views
25 views
Problem: Any solution to this issue > The length of the string exceeds the value set on the maxjsonlength property
asked Apr 30 ummeshani 10.8k points
0 votes
1 answer 12 views
12 views
Problem: Which of the following can you not do from the fields dialog box for a gridview control?
asked Apr 24 ummeshani 10.8k points
0 votes
1 answer 15 views
15 views
Problem: Can someone please help fix this > What happens when you click the edit button for a row in a gridview control?
asked May 1 ummeshani 10.8k points
0 votes
1 answer 110 views
110 views
Problem : I am facing below error if I try to export datagrid to the excel. &ldquo;Control 'gridview1' of type 'gridview' must be placed inside a form tag with runat=server.&rdquo; Please find below my code : <form runat="server" id="form1"> <div runat="server" id=" ... TextBox> </form> My GridView is within the from tag with the runat="server", but still I am facing above error. How to fix this?
asked Feb 17, 2020 mphil 2.3k points
0 votes
1 answer 26 views
26 views
Problem: As I previously stated in my question, I am having difficulty learning. Could someone help assist me in completing my project?
asked Apr 1 rakib1 51.5k points
0 votes
1 answer 9 views
9 views
Problem : Is there any way to rectify this problem: You are not authorized to view this page due to invalid authentication headers?
asked Jun 14 Siam55 110k points
0 votes
1 answer 49 views
49 views
Problem: Please offer me an answer to the problem : Cybersource you are not authorized to view this page.
asked May 19 Danyal Sjoerd 19.2k points
0 votes
1 answer 29 views
29 views
Problem: When I navigate to my deployed azure website, I get an error,You do not have permission to view this directory or page.What to do?
asked May 3 sumaiya simi 43.9k points
0 votes
0 answers 17 views
17 views
Problem: i need some help about this problem you are not authorized to view this page due to invalid authentication headers.
asked Mar 17 Rohit kr 17.5k points