postback

GridView1.SelectedRow returning nothing

Hi there, My problem is that in the below code, the SelectedRow property returns nothing. I manually bind items to GridView at runtime and autogeneratecolumns and autogenerateselectbutton properties are true. I think the problem is about having a PostBack when the Select command is clicked. Thanks a lot. Protected Sub GridView1_RowCo...

client-side values of dynamic control on postback

My custom control contains a repeater that adds a dynamic control into a placeholder on ItemDatabound. I'm having an issue accessing the updated value of the dynamic control, I am already taking care of rebuilding the dynamic controls on Load but I first need to get to the changes made by the user. I'm just having some trouble understan...

HiddenField value modified by javascript is not posted back

Hello Everyone, This is weird, but I've been using this method all over my code: I have dropdown lists that I populate client-side, using callbacks and because of this I'm unable to access their selected values from code behind and using a hidden field to store selected value in it. I had no problem retrieving the hidden field's value o...

on postback op asp.net coded website @import-ed cssfile is not loaded

We are working on an asp website using frames. In the inner frame, default.css is linked. In default.css, a few css-files are imported. On a postback, the css files are not executed. On a 'normal' load, css is executed. In the source of the webpage we do see the reference to default.css. The path is correct. When using in the head o...

Staying on current jQuery tab across post back?

I am using jQuery tabs and an ASP.NET listview to display and edit some information. My problem is that when a user inserts a new record in one of the listview items my jQuery tabs go back to the first tab. Is there a way to keep track of which tab I am on or keep it from resting on post back? ...

How do you replace a control's postback processing in ASP.NET MVC?

I’ve developed a Web User Control with ASP.NET Web Foms that uses client side binding and allows to the user to enter a series of items. During a post, the JavaScript code of my control serializes the items in JSON and put them in a hidden field so the server code of the control can take this JSON string, deserialize it and expose the en...

How do you replace control's postback processing in ASP.NET MVC?

I’ve developed a Web User Control with ASP.NET Web Foms that uses client side binding and allows to the user to enter a series of items. During a post, the JavaScript code of my control serializes the items in JSON and put them in a hidden field so the server code of the control can take this JSON string, deserialize it and expose the en...

With 'AutoPostBack=false', how do I trigger the postback that would have executed after running some JavaScript?

With AutoPostBack=false, how do I trigger the postback that would have executed after running some JavaScript? ...

dynamic hiddenfield after a postback

hi. suppose you save data into a dynamic hidden field ,which is created dynamically during the handling of some postback event. what is the best way to retrieve it from this field upon a postback, (besides searching the request for the key of this hidden field and then retrieving the corresponding value as in the code below)? protecte...

Display jquery dialog on postback in ASP.NET after saving a new record.

What I would like to do is have the user add a new record to the database and popup a JQuery dialog confirming that the new record was saved. I thought this would be a simple exercise. I have a gridview bound to a LINQDataSource to allow the user to view and edit existing records and a textbox and a button to add new codes. In the h...

Custom ascx control in modal pop up panel disappears after it triggers a postback

I have an ascx control loaded inside a panel tied to a modal pop up panel extender. The problem is that an action triggered by the ascx control causes a postback; when the postback completes, the panel controlled by the modal popup extender which contains the custom ascx control disappears. It is merely hidden though with it's default...

Double Postback from Firefox in asp.net application

Firefox is causing double PostBacks in my asp.net application. IE and Safari do not cause the problem. I have a form for users to fill out that is inside the second View shown in a MultiView. The MultiView is inside an UpdatePanel so the Views are updated via partial page postbacks. Once they are presented the form they hit submit and t...

ASP.NET MVC without javascript

We're developing a site initially without javascript for maximum support with the intention of layering js functionality over the top. The problem we have is where a single page has 2 or more pieces of functionality (as an example a screen to capture personal details that includes a postcode lookup for address). With no ability to cha...

IE Postbacks Fail After a Few Seconds When Connecting to ASP.Net 4.0 in Localhost.

I noticed an odd problem when developing a web site project on localhost using ASP.Net 4.0, IIS 7.0, and IE8. Postbacks do not work after the page has been idle for a few seconds, like 30 seconds or less. If I load the page, enter some data, and click the submit button immediately, the postback works perfectly, but if I let the page si...

Need debugging hints: Visibility change on Postback works on one page but not another

I have a webform containing a user control. On that user control is a set of radio buttons. When the radio button is changed, a panel and a text box is shown or hidden depending on which radio button was selected. I can give you an example that works correctly: testcontrol.aspx: <asp:RadioButtonList ID="ChoicesRadioButtonList" AutoPos...

Handling Postback within a Webpart in Sharepoint

I am initializing a GridView, text box and a button via code to a Webpart in CreateChildControls() The above controls are declared as class variables but initialized only later. Next, I've given the handler for button click. The handler function is supposed to work as a search - perform some operations on the content entered in the tex...

Urlrewriting.net IsPostBack always false

I am working on rewriting URLs Urlrewriting.net, and have run into what seems to be a common problem but I can seem to fix it. I'll present a simplified case. The URL rewriting is working perfectly with the rule: <urlrewritingnet rewriteOnlyVirtualUrls="true" defaultPage="default.aspx" defaultProvider="RegEx" xmlns="http://www.urlrewri...

How can i disable all setTimeout events

hello. i am using ajax and asp.net . i have a javascript function which creates many setTimeouted other javascript functions . after asynchronous postback happened i want to disable all of this setTimeouted events. thank you. ...

maintain postback with WebForm_DoCallback

Hi, Does anyone know how to maintain postback while calling WebForm_DoCallback? it always set the vertical scrollbar of the page to the very top. thanks ...

How to increase ajax asynchronous postback speed - asp.net

Hello dear programmers. I am developing a web based mmorpg. so speed is very vital for me since people don't like slow games :) i have a map system which uses ajax and asynchronous postbacks for walking. so i want to make it faster as much as possible. if anybody can spend some time at my page and make suggestion for me i appreciate t...