473,387 Members | 1,904 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,387 software developers and data experts.

Buttons won't work in ASP.NET page

I have an ASP.NET application that I am developing in VS 7.1.3088 (vb code
behind).
The application has 4 pages.
4 buttons and a header control on default.aspx
4 text boxes , 4 buttons, and a header control on next page (called from
Default.aspx - based on which button was clicked)
Next page has a datagrid and a header control based on data from previous
page.
Selected item can then be opened in 'main' page and edited/made void/ or add
a new record to database.
All of it works execept the last page. It is opened the same way as the
rest. It works fine in the development/local mode.
I have searched this (and other google.groups) looking for an answer, and
have come up empty.
In my (limited) debugging, I can determine that the page_load event executes
completely.
Also, in the [add new record] mode, a button click will cause validation,
but nothing else (appears to) happen.
This has really stumped me and probably is something simple... if I only knew.
Thanks

Jul 21 '05 #1
2 1589
Post some code. We probably need to see what you're doing in order to help.

"Phread Barnz" <ph*********@hotmail.com> wrote in message
news:08**********************************@microsof t.com...
I have an ASP.NET application that I am developing in VS 7.1.3088 (vb code
behind).
The application has 4 pages.
4 buttons and a header control on default.aspx
4 text boxes , 4 buttons, and a header control on next page (called from
Default.aspx - based on which button was clicked)
Next page has a datagrid and a header control based on data from previous
page.
Selected item can then be opened in 'main' page and edited/made void/ or
add
a new record to database.
All of it works execept the last page. It is opened the same way as the
rest. It works fine in the development/local mode.
I have searched this (and other google.groups) looking for an answer, and
have come up empty.
In my (limited) debugging, I can determine that the page_load event
executes
completely.
Also, in the [add new record] mode, a button click will cause validation,
but nothing else (appears to) happen.
This has really stumped me and probably is something simple... if I only
knew.
Thanks

Jul 21 '05 #2
Here is the Page_Load event:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
If Request.QueryString("iHow") <> "" Then
iHowX = Request.QueryString("iHow")
End If
If Request.QueryString("sCaseNumber") <> "" Then
sCaseNumber = Request.QueryString("sCaseNumber")
End If
Call sbResetTextBoxes(1) 'Reset to all white boxes
Me.cmdReturn.Text = "Cancel - Return to Main Page"
Select Case iHowX
Case 1 'Assign Number
Response.Write("iHow = Case 1<br>")
Me.lblSerialNumber.Visible = False
Me.txtNewSerialNumber.Visible = False
Me.cmdUpdateData.Enabled = False
Me.cmdVoidNumber.Enabled = False
Case 2 'Update Data
Response.Write("iHow = Case 2<br>")
Call fnFillInBoxes(sCaseNumber)
Me.lblSerialNumber.Visible = True
Me.txtNewSerialNumber.Visible = True
Me.cmdVoidNumber.Enabled = False
Me.cmdUpdateData.Enabled = True
Me.cmdAssignNumber.Enabled = False
Case 3 'Void Number
Response.Write("iHow = Case 3<br>")
Me.lblSerialNumber.Visible = True
Me.txtNewSerialNumber.Visible = True
Me.cmdVoidNumber.Enabled = True
Me.cmdUpdateData.Enabled = False
Me.cmdAssignNumber.Enabled = False
Call fnFillInBoxes(sCaseNumber)
Call sbResetTextBoxes(2)
Case Else
Me.cmdVoidNumber.Enabled = False
Me.cmdUpdateData.Enabled = False
Me.cmdAssignNumber.Enabled = False
Me.cmdReturn.Enabled = True
End Select
End Sub

===========
Nothing responds after the page load event finishes. Validation
occurs, but that is it. No button responds to click events.
Thanks
Brendan Green wrote:
Post some code. We probably need to see what you're doing in order to help.
"Phread Barnz" <ph*********@hotmail.com> wrote in message
news:08**********************************@microsof t.com...
I have an ASP.NET application that I am developing in VS 7.1.3088 (vb code behind).
The application has 4 pages.
4 buttons and a header control on default.aspx
4 text boxes , 4 buttons, and a header control on next page (called from Default.aspx - based on which button was clicked)
Next page has a datagrid and a header control based on data from previous page.
Selected item can then be opened in 'main' page and edited/made void/ or add
a new record to database.
All of it works execept the last page. It is opened the same way as the rest. It works fine in the development/local mode.
I have searched this (and other google.groups) looking for an answer, and have come up empty.
In my (limited) debugging, I can determine that the page_load event executes
completely.
Also, in the [add new record] mode, a button click will cause validation, but nothing else (appears to) happen.
This has really stumped me and probably is something simple... if I only knew.
Thanks


Jul 21 '05 #3

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

Similar topics

40
by: Greg G | last post by:
http://risky-biz.com/new/risky.html I finally got DSL service recently, but I haven't forgotten the agony of waiting for the 64th image to load before I can see ANYTHING on a page. So I will...
1
by: Anna K. | last post by:
Hi Experts, I'm new to JavaScript and web-based apps development, so I'll tell you right off that I don't really know my way around it as of yet. I'm trying to create a code library set with...
5
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
3
by: D. Shane Fowlkes | last post by:
Sorry for the length of this post. I have created a rather complex form which has a header/line item (parent and child records) structure. It's for an intranet. A screenshot can be seen here: ...
3
by: ACaunter | last post by:
Hi all, i was wondering why my buttons need 2 clicks to work. first time it just refreshes the window, and then the second time it will work... I am using ASP.NET and webforms buttons.... The...
0
by: Fenno | last post by:
I have an ASP.NET web application that contains some pictures that sometimes take several seconds to load. These pictures are contained in user controls on the page (if that makes any difference)....
2
by: Phread Barnz | last post by:
I have an ASP.NET application that I am developing in VS 7.1.3088 (vb code behind). The application has 4 pages. 4 buttons and a header control on default.aspx 4 text boxes , 4 buttons, and a...
4
by: Linda | last post by:
My environment is Windows Server 2003, .NET Visual Studio Academic 2003, ASP.NET. I need to create a page with no top title bar, no mimize button, no maximize button, no close button. It is for a...
11
by: Twayne | last post by:
Hi, Newbie to PHP here, no C or other relevant background, so pretty niave w/r to the nuances etc. but I think this is pretty basic. XP Pro, SP2+, PHP 4.4.7, XAMPP Local Apache Server...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.