Questions tagged [postbackurl]

56 questions
2
votes
0 answers

previousPage.buffer throws httpException

I have an asp.net 4 app with 2 forms. in first form I have . In second page I have protected void Page_Load(object sender, EventArgs e) …
P3k1
  • 90
  • 9
1
vote
0 answers

IButtonControl And PostBackUrl

I'm trying to implement IButtonControl on a custom button control that does not derive from the normal ASP.NET button. I've got the events and properties all implemented and going from server to client. The problem is that PostBackUrl only works…
AgentD5
  • 148
  • 13
1
vote
3 answers

Whats the difference between the following page transfer methods

What is the difference between the following: Server.transfer? Response.Redirect? Postbackurl? When should I decide to use which?
Dmitry Makovetskiyd
  • 6,942
  • 32
  • 100
  • 160
1
vote
0 answers

Different postback URL being generated

I have got two machines and one of them when I navigate to a page, the postback URL looks something like this:
Ambuj
  • 445
  • 1
  • 4
  • 16
1
vote
1 answer

How to destroy query string after redirecting from one page to another page on page load event?

I am having 2 pages name as : Abc.aspx pqr.aspx Now on page load of Abc.aspx i am doing this: protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { if…
I Love Stackoverflow
  • 6,738
  • 20
  • 97
  • 216
1
vote
1 answer

CrossPost access to data

I have a search form on a page that posts back to itself and shows the results, all works fine. I now have a requirement to put the same search form on the site home page. This needs to post back to the search form and run the findResults code. …
Craig
  • 1,704
  • 1
  • 18
  • 36
1
vote
0 answers

Jquery $.get call and $.ajax is not working for calling ASHX handler

I have a Asp Button as follow: In my JS, in the middle of ValidateForm() function I need…
amir moradifard
  • 353
  • 1
  • 8
  • 26
1
vote
0 answers

Treeview node going to same postbackurl previously clicked by other adjacent node

I have a treeview asp.net control. And I have the following SelectedNodeChanged Event ofr Treeview1. Private Sub TreeView1_SelectedNodeChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TreeView1.SelectedNodeChanged …
shradha
  • 147
  • 2
  • 16
1
vote
2 answers

Is there a performance difference between postbackurl and response.redirect?

i've just created a page that needs to update that contains multiple documents. Each document can be selected from a menu on the page. I would normally wrap this up in a multiview + update panel, however I needed to update the url as well to reflect…
dotnetnoob
  • 10,783
  • 20
  • 57
  • 103
1
vote
1 answer

PostbackUrl and Query String Parameter

Scratching my head about this. In the rendered HTML for the code below, the btnEdit (in the GridView) has the correct Javascript in the onclick parameter (onclick="javascript:WebForm_DoPostBack..."). The btnAddNew has no onclick handler at all.…
cdonner
  • 37,019
  • 22
  • 105
  • 153
1
vote
5 answers

Dyanmic change button postback url asp.net

is it possible to dynamic changing a button post back url property? For example I got 3 page which is salesListing.aspx, orderlisting.aspx and createDetail.aspx. The salesListing and orderlisting allow user to navigate to createDetail page. However…
user998405
  • 1,329
  • 5
  • 41
  • 84
1
vote
0 answers

Url rewrite querstring getting appended after postback event in iis 7

i have a problem with URL rewrite module with iis 7.5. I have made friendly urls which formats the querstrings in the friendly url formats like http:domain.com/Blog/Category-2/Welcome-to-your-Blog Everything is working fine. but on asp.net…
0
votes
2 answers

pass value containing ampersand to a different page

I want to go to a different URL and pass a parameter as a query string. This value contains an ampersand. I can use Response.Redirect to do this. Response.Redirect("http://www.mysite.com/?Value=" + Server.UrlEncode("This & That")) However, I prefer…
0
votes
1 answer

Cross Postback from Masterpage

I have a textbox used to search for products. This textbox is placed in the site's masterpage. However, I'm getting a null error for the frmSearch value once posted back. masterpage search:
ComfortablyNumb
  • 1,448
  • 10
  • 37
  • 64