473,657 Members | 2,473 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1598
Post some code. We probably need to see what you're doing in order to help.

"Phread Barnz" <ph*********@ho tmail.com> wrote in message
news:08******** *************** ***********@mic rosoft.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.EventArg s) Handles MyBase.Load
If Request.QuerySt ring("iHow") <> "" Then
iHowX = Request.QuerySt ring("iHow")
End If
If Request.QuerySt ring("sCaseNumb er") <> "" Then
sCaseNumber = Request.QuerySt ring("sCaseNumb er")
End If
Call sbResetTextBoxe s(1) 'Reset to all white boxes
Me.cmdReturn.Te xt = "Cancel - Return to Main Page"
Select Case iHowX
Case 1 'Assign Number
Response.Write( "iHow = Case 1<br>")
Me.lblSerialNum ber.Visible = False
Me.txtNewSerial Number.Visible = False
Me.cmdUpdateDat a.Enabled = False
Me.cmdVoidNumbe r.Enabled = False
Case 2 'Update Data
Response.Write( "iHow = Case 2<br>")
Call fnFillInBoxes(s CaseNumber)
Me.lblSerialNum ber.Visible = True
Me.txtNewSerial Number.Visible = True
Me.cmdVoidNumbe r.Enabled = False
Me.cmdUpdateDat a.Enabled = True
Me.cmdAssignNum ber.Enabled = False
Case 3 'Void Number
Response.Write( "iHow = Case 3<br>")
Me.lblSerialNum ber.Visible = True
Me.txtNewSerial Number.Visible = True
Me.cmdVoidNumbe r.Enabled = True
Me.cmdUpdateDat a.Enabled = False
Me.cmdAssignNum ber.Enabled = False
Call fnFillInBoxes(s CaseNumber)
Call sbResetTextBoxe s(2)
Case Else
Me.cmdVoidNumbe r.Enabled = False
Me.cmdUpdateDat a.Enabled = False
Me.cmdAssignNum ber.Enabled = False
Me.cmdReturn.En abled = 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*********@ho tmail.com> wrote in message
news:08******** *************** ***********@mic rosoft.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
3475
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 keep to the antiquated notion of designing pages that load quickly. Toward that end I have always used text links. But I like the look of buttons as much as the next guy. I'm trying a "button bar" without images for the still-experimental version...
1
1712
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 JavaScript (in DreamweaverMX) to display "buttons" with which to select pages in a gallery. I'm trying to "grey out" (and disable) the button for the current page when it is displayed. (This isn't rocket science here, but it's something that I...
5
5049
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 form record. In each page of the tab control, there are three buttons: Add, Update, Delete. Any of these buttons will open another, smaller form to add, update or delete the related data record. Originally, I had placed the smaller form such...
3
2559
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: http://www.drpt.virginia.gov/temp1.gif All the fields on this form have validation controls on them so they can not submit the form unless all fields are completed and some fall within a specified numeric range. When the form first is loaded,...
3
1411
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 weird part is that some of my buttons work fine, with 1 click, and a bunch don't... usually when i'm using that button to open another page is when it won't work... Someone told me before to use HTML buttons, and i did that, with the run-at-server...
0
1033
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). The problem is that whilst the page is still loading, it is impossible to click on any of the links/buttons on the page. If you do click on a link/button, nothing happens. The site in question is http://www.shopandcrop.com.au However, once the...
2
251
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 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...
4
3690
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 student exam system. I don't want students to be able to copy from other windows. I have put a close button on the page in order to close the page. I have been searching though the website, all I can do now is to diable the maximize button, the...
11
2264
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 6.something I think and running as a service, Using NoteTab Pro as an IDE (works well). If you need more, just ask. In one functioning form:
0
8397
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8827
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8732
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7333
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5632
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4158
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4315
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2731
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.