cURL post data to asp.net page
I am trying to call the __doPostback javascript function in a asp.net page from php using curl.
I am trying to call the __doPostback javascript function in a asp.net page from php using curl.
I have a problem whereby the viewstate of a repeater i.e. the controls within the repeater are not maintaing their viewstate.
I use ‘n’ number of server controls in my page. Now I am into performance tuning and I’ve noticed that my ViewState is too large and it makes my page slow.
I have a list box control:
I am trying to make a strongly typed viewstate object.
I have stumbled upon the issue when I need to retract html controls I’ve added client-side using JavaScript after the postback (due to server-side validation – this is not optional).
<asp:TextBox ID="TextBox1" runat="server" EnableViewState="false" /> <asp:Button ID="Button1" runat="server" Text="Button" /> I have set the EnableViewState property to false, but when I click on the button the value in the textbox persists after the postback. Why does the value persist? Answers: Thank you for visiting the Q&A section on Magenaut. Please note that all the answers … Read more
Is there any way I can simulate a proxy server truncating a viewstate?
I have a page that contains some dynamically created controls (TextBox and DropDownList). When a postback occurs, the TextBoxes keep their values, but the DropDownLists lose their ListItems.
This is quite confusing, since the page level DropDownList also keeps its ListItems. Can anyone see what’s wrong with the code below?
I have a user control nested in a repeater.
Inside my user control I have another repeater and in that I have a panel.