Hi Everyone.
I've got a problem with an updatepanel.
There are number of child triggers for the updatepanel so ChildrenAsTriggers is set to true.
The async postback controls are a gridview, several linkbuttons and a normal button. All controls work fine apart from the normal button which doesn't post back at all, neither synchronousl...
I have a treeview in a user control. I need to run a javascript function with every asynch postback to scroll the div it's in to the right position. I've got it working, but I think there has to be a "cleaner" way to do it. In the Page_Load function of the control, I have the following code. Is there a better way to do it?
ScriptMan...
Basically all pages on this site I am building cannot be accessed when the user clicks on "Back" (or with key control) in the browser, and the page should expire if one is trying to navigate back in history.
I put into Global.asax::Application_BeginRequest
Response.Cache.SetCacheability(HttpCacheability.NoCache)
Response.Cache....
I had a requirement to pass data between pages in my application.
I have a Page A where user will input some data and on submit User will be redirected to Page B where again user will enter some more data and on submitting user will be show a confirmation in Page C after doing some calculations and data saving.
Following is the idea I ...
hi
I have a treeview, and already the javascript code to postback the page. Because when i select the father , auto-select the children.
this is my html code
<script>
function postBackCheckBox()
{
var o = window.event.srcElement;
...
We are having a problem that seems to only be a problem when accessing our websites from internal intranet machines. When logged into the domain, and accessing our websites, postbacks are not working. Basically the page behaves as if it were refreshed and nothing was changed. When logging the GETs and POSTs with an HTTP analyzer, the ...
Hello,
I would like to ask how can i make an html anchor (a element) or even any object to do a postback or to execute an server side method?
I want to create a custom button (a wrapped with some divs to do some custom them) and i want to implement OnClick to be look like the ASP.NET LinkButton?
Like
<a href="#" onclick="RunServerSideM...
I have a page request with a QueryString, say http://www.xyz.net/Orders.aspx?OrderID=1. The page is displayed in a browser. Now there is an asp:LinkButton on the page which should enable the user to open the page without the QueryString (as if he had entered http://www.xyz.net/Orders.aspx directly in the browser's address bar).
I had tw...
I have a gridview that includes dynamically created dropdownlist. When changing the dropdown values and doing a mass update on the grid (btnUpdate.click), I have to create the controls in the page init so they will be available to the viewstate. However, I have several other buttons that also cause a postback and I don't want to create t...
I'm using classic asp, I have a drop down list that the user selects and then presses submit. After they press submit the drop down list is going back to the default value instead of what they selected. Is there anyway to keep the state of the drop down between post backs instead of it going back to the default? Can post code sample if n...
I have a web form that will dynamically create a number of checkboxlist filled with data based on the number of row in database. Then this is added to a placeholder to be displayed.
theres a button when clicked, will add the selected check boxes value into database but right now when the button is clicked and after the postback, the pa...
To prevent duplicate requests (i.e. pressing F5 right after clicking a command button), I've setup my page base class to ignore the request if it's detected as a duplicate.
When I say 'ignore' I mean Response.End()
Now I thought I've seen this work before, where there's an issue, I just Response.End() and the users page just does not...
I have a GridView, inside a UserControl, inside an UpdatePanel on a page.
There's a button in the GridView which needs to fire a postback. What happens is:
User clicks button -> RowCommand Fires -> Custom event is raised on UserControl -> Page detects this and changes the active view index for a multiview and also the page title and som...
We have an ASP.Net page that uses a checkbox to toggle between a list view and a tree view.
The problem is that this triggers a post. When we then click on one of the documents in the list, then press back in the browser, we get a page expired error.
Is it possible to change the action of the check box to trigger a get with a parameter...
I'm working on a website with a login form. To log in, a postback is used to an OnClick handler in the codebehind.
Somehow, the value returned from the Text-property of the username and password textboxes is ten times the value I entered, separated by commas. I checked my entire code for double ID's (which seems to be the most common pro...
I'm using the jQuery UI Dialog() function on an ASP.NET webform, on a particular panel.
After Dialog() is applied, the buttons become useless and will not post back at all; I'm not even getting a Page_Load event firing, let alone any button events.
Is the Dialog function messing with my button events? If so, is there a way to fix this?...
I am using an asp:upload control to upload an image and am using the postedfile property to insert the path to the database. In my form I have a dropdown with autopostback=true where the user can select a topic to populate a checkbox list of categories. During that postback, the postedfile value is being lost and after a little resear...
Hi, Can someone let me know the technique used to 'hide' postback when pressing a button?
...
hi,
I have a page and on that page i have a button and a user control.
I want to refresh the user control without refreshing the page.
I know i cannot do it otherwise so i did is...
(wrapped my user control inside the Update Panel.)
<asp:TextBox ID="txtName" runat="server"></asp:TextBox><br />
<asp:Button ID="btnAdd" runat="server" T...
I'm looking for a reliable mechanism to generate a server side postback handler for an HTMLGenericControl such as an li element.
I have some markup that I do not wish to change and would prefer to treat this in the same fashion as a standard .Net server control.
Also, I know I can use a template based control to place some .Net contr...