|
hi,
I have gone thru diff sites but no site gives u apt code or explanation .
hope u have some idea on it.
regards,
jeeva
|
|
|
|
|
i m using two javascript functions in my asp.net project. these are the functions
function valEnb(){
ValidatorEnable(document.getElementById("vldUserID"),true);
ValidatorEnable(document.getElementById("vldPassword"),true);
ValidatorEnable(document.getElementById("vldConfirmPwd"),true);
ValidatorEnable(document.getElementById("vldConfirmPwd1"),true);
ValidatorEnable(document.getElementById("vldFirstName"),true);
ValidatorEnable(document.getElementById("vldFLName"),true);
ValidatorEnable(document.getElementById("vldEmail"),true);
ValidatorEnable(document.getElementById("vldEmail1"),true);
ValidatorEnable(document.getElementById("vldCountry"),true);
ValidatorEnable(document.getElementById("vldCity"),true);
}
function valDis(){
ValidatorEnable(document.getElementById("vldUserID"),true);
ValidatorEnable(document.getElementById("vldPassword"),false);
ValidatorEnable(document.getElementById("vldConfirmPwd"),false);
ValidatorEnable(document.getElementById("vldConfirmPwd1"),false);
ValidatorEnable(document.getElementById("vldFirstName"),false);
ValidatorEnable(document.getElementById("vldFLName"),false);
ValidatorEnable(document.getElementById("vldEmail"),false);
ValidatorEnable(document.getElementById("vldEmail1"),false);
ValidatorEnable(document.getElementById("vldCountry"),false);
ValidatorEnable(document.getElementById("vldCity"),false);
}
these functions are used to enable or disable the validations. i call this functions on page_Load event.
btnCheckID.Attributes.Add("onclick", "valDis();")
btnSubmit.Attributes.Add("onclick", "valEnb();")
but Internet explorer shows an error message - Error : object expected
in FF java console shows like this - Error : ValidatorEnable is not declared
please help me
Thomas joy
|
|
|
|
|
have you included this ValidatorEnable in your page.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi Apurva,
i can't understand your question. i declare those functions(valEnb(),valDis())
in the same aspx file where i call it.
Thanks for your reply
Thomas joy
|
|
|
|
|
No what i was asking is have you included ValidatorEnable (what i suppose is, this is a user defined function and needs to be included in the page in order to use them.) funtion in your page.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi apurva,
I think ValidatorEnable is a system defined function and there is no need for declare it. this code will works fine in local mechine, but when i uploaded it into the sever it shows those errors
Thanks
Thomas joy
|
|
|
|
|
Sorry to misunderstood your problem. Is this "aspnet_client" folder available in the root of the website.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Hi apurva,
No need for sorry i always thanks for your reply. yes the aspnet_client folder is there.
Thomsas joy
|
|
|
|
|
Hi Thomas,
As far as I know,"ValidatorEnable" is a function defined in the "WebUIValidation.js" file which is present in the C:\Inetpub\wwwroot\aspnet_client\system_web\1_1_4322 folder...
Try copying aspnet_client folder to the root of your website...Your application is probably not able to find the required file.
--Dimple
|
|
|
|
|
Hi friends,
Thanks for your great help. Now it works fine.
Thomas joy
|
|
|
|
|
Hi all,
Can any body please give me the answer for my Question?
My Question is How to Work with sending and Recieving mails in Asp.Net?
Please it is very urgent For me. Thanks A crore in Advance.
Thanks and Regards
Venkat
|
|
|
|
|
You will need to use classes of System.Web.Mail namespace.
Code sample is available on
http://www.stardeveloper.com/articles/display.html?article=2001082601&page=1
Maybe u should have a look at it..
Hope it helps
|
|
|
|
|
|
Thanks for your reply man. But it is giving information for sending only. How to do recieving mails in Asp.Net. Thanks a crore in Advance
Thanks and Regards
Venkat
|
|
|
|
|
See if this helps
http://www.a1vbcode.com/snippet-3383.asp
|
|
|
|
|
Thanks alot yar. i will try with this and get back to you with the result. Thanks a crore once again
Thanks and Regards
Venkat
|
|
|
|
|
Once we declare in ASP.NET Page Tag - EnableViewState="false" but, it will just work like EnableViewState="true".
So the Question is what is its working? and what is the difference between EnableViewState true or false.
|
|
|
|
|
Hi,
To understand the difference..I suggest you read the foll. article
http://www.extremeexperts.com/Net/Articles/ViewState.aspx
especially the example mentioned in the "Decision on ViewState Usage" section
--Dimple
|
|
|
|
|
|
Does anyone know the code which enables you to send messages in MSN without being signed in?
Any help would be greatly appreciated;)
|
|
|
|
|
Please send me the code to create feedback form in ASP.Net which sends the feedback to user's email id as well as my email id.
Somya
|
|
|
|
|
hi
as much as i get ur problem u want to send mail from ur id.
if its is like that then i will send u the code.
or anything else then Explain it
thnx
aavesh
|
|
|
|
|
Hi,
I want to display feedback message and date time display in C# .net.so plese help me
|
|
|
|
|
Asp.Net 2.0 provide a Wizard Control for this. Try to use MSDN.
|
|
|
|
|
hello
can anybody tell me how to convert the information of site into the Xml Format in Asp.net. i m not able to do that pls. tell me.
thanks
Aavesh
|
|
|
|