Questions tagged [postbackurl]

56 questions
11
votes
12 answers

Is there a way to clear query string parameters when posting back?

I have a form that sometimes gets linked to with some query string parameters. The problem is that when I post back the form, the query string parameter is still there. It's not really an issue the way I have it setup, but I just don't like it…
John B
  • 20,062
  • 35
  • 120
  • 170
6
votes
3 answers

Tracking purchase of particular product on different sites

I have a website on which other websites owner can list their products. For listing the product they need to manually create the product by providing title, description, image and link of products. When any user will visit my website he will be able…
Anshul Mishra
  • 1,706
  • 2
  • 15
  • 38
6
votes
3 answers

PostbackUrl vs NavigateUrl

Can someone tell me the different between LinkButton.PostBackUrl and HyperLink.NavigateUrl? I've got a asp.net 2.0 application that uses both methods throughout the application and everything works fine. However if I connect to the application…
Jeremy Coenen
  • 1,085
  • 1
  • 12
  • 19
4
votes
2 answers

ASP.net 4.0 Webforms Routing Postback Issue

We are using asp.net 4.0 and routing with web forms to create friendly urls. The routing is working fine except that the correct "action" value is not being assigned to the form element in the master page for any route that has multiple levels. …
Raj
  • 2,642
  • 3
  • 22
  • 20
3
votes
4 answers

Action PostBackUrl Programmatically using C#

Can you get the action of PostBackUrl in a page's code behind? I want to call an onclick function that does some database updates and then posts back to a different URL with values as hidden fields.
ComfortablyNumb
  • 1,448
  • 10
  • 37
  • 64
3
votes
3 answers

What is the best way to have a page read values posted to it from another page?

What is the best way to have a page read values posted from another page? I have something that works, but it seems rather sloppy. I'm working on a multi-page form with the first page using PostBackUrl to go to the second. Within page 1 is content…
someguy
  • 41
  • 3
3
votes
1 answer

C# LinkButton.PostBackUrl - New window without JS

Is it possible to use asp:LinkButton without JavaScript to open new windows? Currently i have workable next code, but with JS.
Juri Bogdanov
  • 295
  • 1
  • 11
  • 19
2
votes
0 answers

Asp button with PostBackUrl validated by javascript click handler breaks other buttons

I have a master page that contains a button with a PostBackUrl. I add validation to the button using jquery and return false if the form is not valid. The button:
Atzoya
  • 1,377
  • 13
  • 31
2
votes
2 answers

postbackurl using get rather than post

I am developing a website using asp.net c# and I want to put a form inside the page. Now as aspx pages have the form tag I do not want to nest another form inside this as it will invalidate my html. But I need this form to use GET rather than POST.…
Luke Wilkinson
  • 439
  • 8
  • 17
2
votes
1 answer

Problem with sql statement and PostBackUrl

I have an sql statement that I posted on this site, and I applied in my website that works and inserts users name and information into the database soon after the user presses the submit button. This however doesnt happen when I set the the submit's…
Matrix001
  • 1,272
  • 6
  • 30
  • 51
2
votes
0 answers

PostBackUrl being overwritten in my jquery .load panel

In my C# web application, I have one page with a panel control: ViewTask.aspx This panel gets filled using jQuery .load with page ThumbnailPanel.aspx
Kari
  • 43
  • 4
2
votes
0 answers

PostBackUrl and javascript submit form

I have little strange situation. I want to submit form with java script on click with submit button or with form1.submit(); it is the same.
2
votes
0 answers

iOS app install: Postback URL form Google Analytics to AdWords or AdMob

I was reading the whole process flow (by @Eduardo) on this thread Google Analytics iOS Campaign Tracking and URL Builder If I understood correctly: a) we can only track iOS installations (+ source / medium etc. ) in GA, and no installation /…
Vibhor Jain
  • 1,396
  • 1
  • 11
  • 32
2
votes
2 answers

How to stop a page from loading with JavaScript

I have a Button with PostBackUrl. Also I have assigned a function to its onclientclick method in which some page logic were written including a couple of validation rules. if whole page were not valid this method returns False but I can not stop…
amir moradifard
  • 353
  • 1
  • 8
  • 26
2
votes
3 answers

TextBox value used in url parameter

I have an ASP.NET site and I have a page which uses a url query string: routeToScene.aspx?RunNumber=3253665 This loads fine when I pass the parameter RunNumber=XXXXXXX in the URL. What I want to do is load this page by passing the…
JimP
  • 37
  • 2
  • 6
1
2 3 4