Click here to Skip to main content
15,915,791 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionValidation in TextBox controls in asp.net Pin
aaraaayen25-Feb-07 20:40
aaraaayen25-Feb-07 20:40 
AnswerRe: Validation in TextBox controls in asp.net Pin
Christian Graus25-Feb-07 20:45
protectorChristian Graus25-Feb-07 20:45 
GeneralRe: Validation in TextBox controls in asp.net Pin
aaraaayen25-Feb-07 20:49
aaraaayen25-Feb-07 20:49 
GeneralRe: Validation in TextBox controls in asp.net Pin
Christian Graus25-Feb-07 20:59
protectorChristian Graus25-Feb-07 20:59 
AnswerRe: Validation in TextBox controls in asp.net Pin
Laxmikant Lad25-Feb-07 22:04
Laxmikant Lad25-Feb-07 22:04 
GeneralRe: Validation in TextBox controls in asp.net Pin
aaraaayen25-Feb-07 22:37
aaraaayen25-Feb-07 22:37 
GeneralRe: Validation in TextBox controls in asp.net Pin
Vsree25-Feb-07 23:35
Vsree25-Feb-07 23:35 
QuestionUser control Pin
saravanan0525-Feb-07 20:39
saravanan0525-Feb-07 20:39 
User.acmx(Usercontrol page)
validation for user and pwd it will username but it does not check pwd so give the correct code


string strScript1 = " function CodeBehindButtonJs() {";
strScript1 += "if (document.forms[0]." + uCtrlId + "_txtname.text==null){alert('Validation:Please enter a name');return false;}";
strScript1 += "else if (document.forms[0]." + uCtrlId + "_txtpwd.text==null){alert('Validation:Please enter a Password');return false;}return true;}";
strScript1 += "<";
strScript1 += "/";
strScript1 += "script>";
string strScript2 = "<script language=JavaScript> function CodeBehindDDlJs(me) {";
strScript2 += "document.forms[0]." + uCtrlId + "_btnSubmit.focus();";
//strScript2 += "alert('You selected '+ this.value)}";
strScript2 += "<";
strScript2 += "/";
strScript2 += "script>";
if ((!(Page.IsStartupScriptRegistered("Startup1"))))
{
Page.RegisterStartupScript("Startup1", strScript1);
}
if ((!(Page.IsStartupScriptRegistered("Startup2"))))
{
Page.RegisterStartupScript("Startup2", strScript2);
}
//ddlItem.Attributes.Add("onchange", "return CodeBehindDDlJs(this);");
Login.Attributes.Add("onClick", "return CodeBehindButtonJs();");
AnswerRe: User control Pin
Christian Graus25-Feb-07 20:57
protectorChristian Graus25-Feb-07 20:57 
Questionfire client alert script from submit button Pin
playout25-Feb-07 20:28
playout25-Feb-07 20:28 
AnswerRe: fire client alert script from submit button Pin
MIHAI_MTZ25-Feb-07 20:42
MIHAI_MTZ25-Feb-07 20:42 
AnswerRe: fire client alert script from submit button Pin
Tuwing.Sabado25-Feb-07 21:38
Tuwing.Sabado25-Feb-07 21:38 
AnswerRe: fire client alert script from submit button Pin
www.Developerof.NET26-Feb-07 2:37
www.Developerof.NET26-Feb-07 2:37 
AnswerRe: fire client alert script from submit button Pin
wilf5726-Feb-07 2:56
wilf5726-Feb-07 2:56 
Questionhow to use postback url in .net2005 Pin
praveenanand25-Feb-07 20:24
praveenanand25-Feb-07 20:24 
AnswerRe: how to use postback url in .net2005 Pin
kubben26-Feb-07 6:16
kubben26-Feb-07 6:16 
Questioncalling a method in a usercontrol from another user control? Pin
Tridip Bhattacharjee25-Feb-07 20:23
professionalTridip Bhattacharjee25-Feb-07 20:23 
AnswerRe: calling a method in a usercontrol from another user control? Pin
shirish7825-Feb-07 23:29
shirish7825-Feb-07 23:29 
QuestionEventHandler in InitializeComponent() is missing Pin
Vsree25-Feb-07 20:17
Vsree25-Feb-07 20:17 
AnswerRe: EventHandler in InitializeComponent() is missing Pin
Sylvester george25-Feb-07 20:19
Sylvester george25-Feb-07 20:19 
GeneralRe: EventHandler in InitializeComponent() is missing Pin
Vsree25-Feb-07 20:26
Vsree25-Feb-07 20:26 
QuestionAsp.net 2.0 + c# Pin
ritu432125-Feb-07 19:47
ritu432125-Feb-07 19:47 
AnswerRe: Asp.net 2.0 + c# Pin
Sylvester george25-Feb-07 19:54
Sylvester george25-Feb-07 19:54 
GeneralRe: Asp.net 2.0 + c# Pin
ritu432125-Feb-07 20:27
ritu432125-Feb-07 20:27 
GeneralRe: Asp.net 2.0 + c# Pin
Sylvester george25-Feb-07 20:44
Sylvester george25-Feb-07 20:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.