Is there any asp.net flash control which will work on client side without installing flash plugin.Actually i was using flashcontrol in my project and thereby displayed swf movie in my project . It was working right on server because flash player and flash plugin were installed on it. But when i tried to access that page on client side it doesnot showany movie or image
i'm a new developer...i have been given a project to generate a user name of 6 chars. the user name has 1st 2 char the 1st 2 letters of the name and remaining 4 char as any random numbers. alone with that i have to send a random password with it..
Iam new to asp.net.in my web page iam validating user information such as fname,lname,sex,add and also login (to register to website)information emailid and password.here iwant to check email adrress (availblity) and tht iam doing it fine. but when iam validating all the textbox,which are there before emailid something like this
fname:
lname:
sex:
login details
emailid: check (buttonto check email availiblity)
password:
retype password:
submit(button)
iam using validation controls for all the text boxes , when iam using my tab to enter the values it w,l give me alll error messege until i fill it.and when i reach email textbox and check availblity then i cant check untill i fill the password and retype password texboxes..i can only check the email availblity only when al the fields are valid.but i want to valid the emailid before i could enter password and retype password?
I have been able to import an excel file sql bulkcopy locally. But when I publish the code to the server I get the following error messages:
Exception Message: 'C:MyTest.xls' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.
I have two text boxes on the webform , first textbox contains balloon popup control it was appearing when ever it gets focus,after pressing tab focus is going to next control it doesn't have balloon pop up,but balloon popup is not disappearing after loosing the focus ? how can i hide balloon pop up when its losses focus
we have created web application project and on local computer everyting works fine. after doing deployment on our production server we get a error below
Specified cast is not valid.
Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidCastException: Specified cast is not valid.
I've tried to override error message when input incorrect data type in input field on HTML form.For example I have the model like this.
public class Person { public string FirstName {get;set;} public int Age {get;set;} }
For view, I put text input for Age to get it value.When type some string in Age text box like 'test' and press submit button. I got this error message ,The value 'xxx' is not valid for AgeHowever, I want to change this message and try many way. There 's nothing effect this message value.
I would like to know how to format a string date so it can be inserted in a DataTime field in MS SQL 2005 using ASP.NET 3.5 with C#.
I have a form with 3 Dropdownlists; 1 for selecting days(1 to 31), 1 for month (1 to 12) and 1 for years (say 1980 to 2010).
When the form is submitted, I want to join the selected values from the dropdownlist as a string ( say dd/mm/yyyy) and insert that into a datetime field in a database table.
I am using the following code, but I get the error message "String was not recognized as a valid DateTime." when i submit my form.
I am trying to display an image from database, and I keep ending up with an error Parameter is not valid. Bitmap bm2 = new Bitmap(targetW, targetH);
I have tried different ways but I can't get it to work (as you can see in my commented code). I am having trouble on the saving it to the database process, displaying it isn't a problem (when I had valid images)
I've posted this in the 'Datasource Controls' thread and didn't get the answers I was looking for. So I thought I'd try here; I recieved some good answers in this thread. I have a page where a user inserts new data in a table. The page consists of a series of textboxes and a button. My sqldatasource code is below. I don't have a SELECT statement, just an INSERT statement. I want to be able to have an error message (response.redirect, label, msgbox, etc.) when the user tries to enter an ID ( the PK) that already exists (instead of the usual "unique constraint violated" message)
i am creating a web from, i am a fresher, how can i create a water mark, i mean if we are going to enter our first name means, if our customer place the mouse cursor in that field means, it will automaticaly shows in the otherhand side like enter your first name and it should be with in 15 letters like a watermark or content box, can you people understand my question.
I have a text box with a custom validator, compare field validator. I have a problem with the error message display.
my compare field validator works normally....ie; when I enter a wrong value it gives me the error message and when I correct it the error message disappears.but this does not happen with my custom validator......I do not undersatnd the reason..I tried to run an example downloaded from some site and that example works as required..I tried to implement a similar logic but still the error message does not disappear..
using vs2005 I have a formview control I added from the data section and within the formview, I aded a table from the Standard section. How can I add a text box to the formview so I can enter a number like 7 to display seven rows with a text box. the data will be saved to the sql table when I click on the Insert link at the bottom of the page.
i have a asp.net application. i want to add a message box to display an error message. i want to do it without using alert() in javascripts.can i add System.Windows.Forms.MessageBox control to my asp.net page