473,402 Members | 2,061 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

cross page postback: two postbackurl

Pao
Hi all

I have two buttons that perform a crosspagepostback to two pages:

<body>
<form>
<div>
<table>
<tr>
<td>
<atlas:UpdatePanel>
<ContentTemplate>
<table>
<tr>
<td style="width:5%">
<asp:Button ID="bttRepSchedaCliente" runat="server"
Text="Scheda cliente" PostBackUrl="~/
reports.aspx" />
<asp:Button ID="bttRepElencoClienti" runat="server"
OnClick="bttRepElencoClienti_click"
Text="Elenco" Width="55px" PostBackUrl="~/
repEleCli.aspx" />
<asp:TextBox ID="txtPr" runat="server"
Width="20px"></asp:TextBox>
</td>
The first button works fine, but the second not. The
bttRepElencoClienti_click event is never fired, and the repEleCli.aspx
is never displayed.

Feb 18 '07 #1
2 1214
Pao
I saw that the second button always performs post on the first page
(Reports.aspx) and NOT on the correct page (repEleCli.aspx)

Feb 19 '07 #2
Pao
On Feb 19, 12:35 pm, "Pao" <paoloca...@gmail.comwrote:
I saw that the second button always performs post on the first page
(Reports.aspx) and NOT on the correct page (repEleCli.aspx)

my fault...
I forgot to update "codefile" and "Inherits" declaration in the target
page (I copied that from reports.aspx)...

Feb 20 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: webserverpete | last post by:
What code do I need to get the value of my Datalist using Cross Page PostBack? Below is my DataList: <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" RepeatColumns="4"...
6
by: bill | last post by:
Is there a way to retrieve values from the viewstate in the previouspage using cross page postback? Thanks! Bill
3
by: Lupakkiotto | last post by:
HI! Is it possible for a select command in a gridview to cross-page postback? How to do it? I don't find a postbarckURL property... Thank you in advance. Marco
1
by: Jason Wilson | last post by:
I have a page that has two seperate buttons that have the same PostbackUrl. How can I tell which button cause the cross-page postback? I posted this before and got the anser sender. ...
2
by: noneya22 | last post by:
I'm using asp.net 2.0. I have a page that has a save button and a cancel button along with a text field. All controls are asp.net server controls. I have JavaScript that prompts the user if he...
2
by: J055 | last post by:
Hi I'd like to post a page to another page using LinkButton.PostBackUrl. Then using another LinkButton on the target page post back to the source page and restore the controls to the state they...
2
by: Vu Truong | last post by:
Hello, I try to use PostBackUrl to cross post between 2 pages on difference application. At the first time, I press the button on source page. Check on target page, I see Request.Form is...
1
by: David C | last post by:
I have a simple aspx web page that displays numbers obtained by a SQL database lookup (sales and costs entered). The database access occurs at the top of the page and I want it to run every time...
2
by: deshg | last post by:
Hey everyone, I am a php programmer originally and am just helping a friend of mine update their website that they paid a designer (well that's what he called himself!) to do ages ago. I have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.