![]() |
Problem with showing error
:
<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="proj1.WebForm1" %>Ok, i put here all of the code , so maybe someone will try it out. The problem is that when i don't select anything from the book list, it doesn't show the error message. But works fine for the others. Oh, and the button submit has this code_behind attached to it : :
protected void btnSubmit_Click(object sender, System.EventArgs e)The weird thing is that in Firefox if not all of the fields are valid it says: "Some of the required fields are empty". In IE it doesn't(why?). But they both show "Page is Valid! " if all the fields are correct . So, any ideea about y that error message isn't showing ? for the book list? |
I would guess that in one you are writing: "--Please Pick A Book--"
and in the other -- Please Pick A Book -- notice in the second the spaces between -- and the text |
Damn, that was it. Thanks :) . But now there still is something weird :
In IE , if i choose the first book from the list, it's all fine when i press submit. But in Firefox, it only works if i pick the last book :eek: Also, there still is the thing when i press the button and if there are any more fields left unfilled , it should say : "Some of the required fields are empty" .. in firefox it works , in IE it doesn't :mad: |
Maybe you have another error that we can't find. Since IE is Microsoft, it tends to display microsoft made things a lot better than Netscape and FireFox etc. (For example: FrontPage built websites).
|
No errors that i can find, just weird that one thing is displayed just in firefox an another just in IE .. oh well , that's it.
|
| All times are GMT -5. The time now is 4:58 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC