Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Works in testing but not on DNN 4.9 portalWorks in testing but not on DNN 4.9 portal
Previous
 
Next
New Post
12/17/2008 1:38 PM
 

I have an application I have built and when I debug/test it on my local machine it works great but when I put it on my development DNN portal the one part I need to work doesn't.  Specifically, I have a page where a user enters serial numbers based on part, lot and quantity.  What my page does on my local machine is a user enters the part, lot and quanty to scan then they scan a serial number.  If the quantity scanned is larger than the quantity to scan then it will not let them continue. 

txtQtyToScan.Text = 1 and txtQtyScanned.Text = 2 equals TRUE

txtQtyToScan.Text = 2 and txtQtyScanned.Text = 2 equals FALSE and will not let them continue. 

Here is a simple block of text which checks those textboxes values.  As I mentioned, it works fine in my local environment (which is not a DNN project but just a regular ASP.NET 3.5 web app) but when I copy my DLL and test it on my DNN install all the other areas work just fine except for this validation.

 

If txtQtyToScan.Text.Length < 1 Then

 

lblMessage.Text += "enter qty to scan"

txtQtyToScan.BackColor = Drawing.Color.Red

lblMessage.BackColor = Drawing.Color.Red

chk_err = 1

 

ElseIf (Convert.ToInt32(txtQtyScanned.Text) >= Convert.ToInt32(txtQtyToScan.Text)) Then

 

lblMessage.Text += " reached scanned qty"

lblMessage.BackColor = Drawing.Color.Red

txtQtyToScan.BackColor = Drawing.Color.Red

txtQtyScanned.BackColor = Drawing.Color.Red

chk_err = 1

 

End If


View Brenden Kehren's profile on LinkedIn
 
New Post
12/17/2008 4:40 PM
 

So after stepping away for a while and looking at the code again, it was strictly procedural.  I was missing a step earlier on in my code.


View Brenden Kehren's profile on LinkedIn
 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Works in testing but not on DNN 4.9 portalWorks in testing but not on DNN 4.9 portal


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out