How to validate a decimal value with 2 digits after decimal point (de decimal point is a comma)
I am a newbee, I have a Textbox where de user must write the price of an object.
How can I validate de data entry in the Textbox (it must be a valid decimal with 2 digits after decimal point), and my pages are in Portuguese so the decimal point to be accepted must be a comma
well you can do something like followig:
suppose TextBox1.Text = 123456,789
then you can say
int index1 = TextBox1.Text.IndexOf(",") +1;
int index2 = TextBox1.Text.IndexOf(...DataWindow.NET and Web Forms #2
is it possible to develop web forms and use DataWindow.NET
If not in this version, when will it be possible? In what
version ? And when will it be released ?
A beta for Web Form capability is schedule for the middle to end of
On 6 Oct 2004 02:42:05 -0700, Nuno Costa wrote:
>is it possible to develop web forms and use DataWindow.NET
>If not in this version, when will it be possible? In what
>version ? And when will it be released ?
Version 1.0 only supports Windows Forms applications. Version 1.5 will
add suppo...2 Button web form and validation
Ok. Heres the basic scenario, I have a search at the top of the page and a sumbit at the bottom. If the search is clicked the validation controls should fire for the search textbox only and if the submit clicked it should validate for everything but the search textbox. Any Idea how this can happen?
PS. Sorry if this a repost I've been getting forum errors.
Use all custom validators to perform this logic; ValidationGroups will be a feature in .NET 2.0 that will allow this; but for now, you would need to use custom val...Implementing .Net Form into an APS.net web form, can this be done
I am new here, but have been searching for a while, and may not have the correct lingo to find what I am looking for.
I am tasked with implementing a .exe application that was writen vb6 then converted to .net into a new website my team is developing. The idea is to put each of the 3 different forms in this .exe application of 3 different .aspx pages. I have attempted multiple things to get this into the page and even started to just rewrite it as an ASP.net web form, but even then I can't reuse any of the code since the System.Web.UI.Page doesn't inherit the sa....Net 2.0 Web application using Vb.net is unable to create object of another dll writen in C# .net 2.0
I habe created one ASP.net web application using Vb.net which is adding reference of dlls written in C# and .net 2.0. But whenever trying to create object of referencing dll, it is throwing error :Object reference does not set to an object. But, locally it is working fine,. In the server i have deployed the .aspx files and dll files in the bin. There were already an web.config in the server which is of .net 1.1. But checked it is retrieving value for that web.config correctly.
Should i have to deply any other files and if not what can be the solution for this? Please help.
So...Web Forms ( Having 2 forms )
Hey programmers. I would like to know how do I handle if a page has 2 forms? It does not allow 2 forms. So how do I overcome this problem ? Because in that page itself, I will have Login and Register together. So there are 2 forms. And if validation occurs. It will not work because it suppose to validate Login and not Registration fields. Thank You.
Create a login user control or custom control that handles logging into the application.
BrianBrian"Trust in the Lord and do what is good; dwell in the land and live securely. Take delight in the Lord, and He will give you your...Access .Net 2.0 Application from .Net 2.0 Web Site
I need to populate a specific form in a .Net desktop application from a .net web application. Is there an easy way to go about this?
Based on my understanding, you want to start an executable application from your ASP.NET websit, right?
We can invoke Process.Start method (http://msdn.microsoft.com/en-us/library/system.diagnostics.process.start.aspx) to launch an executable application from ASP.NET application.
Note: Please keep in mind, the ASP.NET application is running on the server, so it will start the executable application that exists in the server.
I look...Web form SaveAs XML decimal point
This is a multipart message in MIME format.
Content-Type: text/plain; charset="US-ASCII"
If I perform SaveAs in XML format and column is not displayed in
datawindow decimal point is "," and
ImportFile corrupts this number because it supposes probably ".". If
column is displayed in dw it is ok (I put this
column to report and erase option visible). Is there some other trick ?
Content-Type: text/html; charset="US-ASCII"
<br><font size=2 face="sans-serif&q...Form validation problems in .NET 2.0
I am creating my first .NET 2.0 form, and I need to do form validation. I have several required field validators and some required expression validators for various form fields.
What I'm having trouble with is that I have 3 fields....First Name, Last Name and Institution Name. Essentially, I want to require the user to either enter the Company Name or his/her First AND Last Name. I couldn't figure out how to get 1 Validator to work for 3 different string fields.
I've tried several different ways to perform this validation and while the ...web.config problems when upgrading from .NET 2.0 Beta to .NET 2.0 release version
We uninstalled .NET 2.0 Beta and replaced it with .NET 2.0 release version. And it messed everything up. All applications now give weird errors indicating the lack of web.config files, despite the fact that they already have web.config files in place. For example, the following error occurs even though the web.config file has <customErrors="Off">:
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for securit...How to validate controls on a .NET 2.0 Web user Control
(ASP.NET 2.0 / C#)
I've looked thorugh every post on validating web user controls (and know about Pter Blum's Professional Validation and More package) - but can't seem to get my head around whre to start.
I have a web user control, called wucICL.ascx on a we page called AddEditInvestment.aspx. I would like to validate a couple of DropDownLists (ddlAccounts and ddlContacts) when the Insert and Update buttons are clicked on the AddEdit Investment page.
The other controls on the AddEditInvestments page belong to a validation group called All Validators and the DropDownL...Web Matrix and .NET 2 #2
Last evening I modified the three config files in the Web Matrix folder (WM, Web Server and Class Browser) to target the .NET Framework beta 2. And it works, the WM app launches correctly and everything is cool !
So I tested some job done with .NET 1 and .NET 1.1, and it works too !
Web Matrix seems to be ready for the future !
Interesting! (Honestly, I did something like that when I was playing with WM and .NET Fx v1.2 some times ago..)
WM is nifty and foundamental to VS (and the Express family) 2005, while I'd prefer VWD now, as it have IntelliSense an...form validation working intermitently .NET Framework Version:2.0.50727.3053
I have created a web form that validates all textbox controls to prohibit the user from submitting a single quote (and other special characters). I have recently been told by our marketing department that some users have experienced an error when submitting the form. The error is below:
Server Error in '/' Application.
Syntax error (missing operator) in query expression ''Rarely for manual turbine moves in the field. We usually run the models though instead of using the hard maps. I guess what I'm trying to say is it's not the map we want but the...windows forms in vb .net into web forms
we are creating a database driven website as part of our project. currently we have forms connecting to the database created in visual basic. these windows forms we need to convert into web forms which are asp .net compatible. can u give me an answer or show me a way.
because of the difference in nature between web and win applications you'll need to reimplement at least the UI part. If you have a multitiered application in which the busines logic and data access are in different parts/assemblies you can reuse them.
Grz, Kris.Read my blog. Handy Firefox plugins for web developers.Wor...