Click here to Skip to main content
15,888,984 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Jscript in content pages Pin
Not Active8-Nov-11 11:30
mentorNot Active8-Nov-11 11:30 
GeneralRe: Jscript in content pages Pin
MalarGayu8-Nov-11 12:09
MalarGayu8-Nov-11 12:09 
GeneralRe: Jscript in content pages Pin
Not Active8-Nov-11 12:31
mentorNot Active8-Nov-11 12:31 
GeneralRe: Jscript in content pages Pin
MalarGayu8-Nov-11 12:33
MalarGayu8-Nov-11 12:33 
GeneralRe: Jscript in content pages Pin
Dennis E White8-Nov-11 17:45
professionalDennis E White8-Nov-11 17:45 
AnswerRe: Jscript in content pages Pin
Dennis E White8-Nov-11 15:20
professionalDennis E White8-Nov-11 15:20 
GeneralRe: Jscript in content pages Pin
MalarGayu8-Nov-11 15:24
MalarGayu8-Nov-11 15:24 
AnswerRe: Jscript in content pages Pin
Brij8-Nov-11 22:42
mentorBrij8-Nov-11 22:42 
According latest post in the thread, You actually need to pass the ClientId of your textbox into the validate method. And your method should be like
function Validate(txtClientId)
          {
                if (doucment.getElementById(txtClientId).value == "") {

                      alert("you must enter the List name");
                      return false;

                }


       }

and you can call the method on aspx page
Validate("<%=txtListname.ClientID %>")

Cheers!!
Brij
Microsoft MVP ASP.NET/IIS
Visit my Blog: http://brijbhushan.net

GeneralRe: Jscript in content pages Pin
MalarGayu9-Nov-11 11:57
MalarGayu9-Nov-11 11:57 
GeneralRe: Jscript in content pages Pin
MalarGayu9-Nov-11 14:37
MalarGayu9-Nov-11 14:37 
GeneralRe: Jscript in content pages Pin
Brij9-Nov-11 17:03
mentorBrij9-Nov-11 17:03 
Questionquestion on gridview logic Pin
classy_dog8-Nov-11 6:24
classy_dog8-Nov-11 6:24 
AnswerRe: question on gridview logic Pin
Dennis E White8-Nov-11 8:17
professionalDennis E White8-Nov-11 8:17 
GeneralRe: question on gridview logic Pin
classy_dog8-Nov-11 9:03
classy_dog8-Nov-11 9:03 
GeneralRe: question on gridview logic Pin
Dennis E White8-Nov-11 9:17
professionalDennis E White8-Nov-11 9:17 
GeneralRe: question on gridview logic Pin
classy_dog8-Nov-11 9:50
classy_dog8-Nov-11 9:50 
GeneralRe: question on gridview logic Pin
Dennis E White8-Nov-11 15:26
professionalDennis E White8-Nov-11 15:26 
GeneralRe: question on gridview logic Pin
classy_dog8-Nov-11 17:59
classy_dog8-Nov-11 17:59 
GeneralRe: question on gridview logic Pin
Dennis E White8-Nov-11 18:13
professionalDennis E White8-Nov-11 18:13 
GeneralRe: question on gridview logic Pin
classy_dog9-Nov-11 5:37
classy_dog9-Nov-11 5:37 
SuggestionRe: question on gridview logic Pin
RaviRanjanKr19-Nov-11 9:56
professionalRaviRanjanKr19-Nov-11 9:56 
QuestionI want to catch event when user close page. Pin
buffering837-Nov-11 20:51
buffering837-Nov-11 20:51 
AnswerRe: I want to catch event when user close page. Pin
Anuj Banka8-Nov-11 0:53
Anuj Banka8-Nov-11 0:53 
GeneralRe: I want to catch event when user close page. Pin
buffering838-Nov-11 12:40
buffering838-Nov-11 12:40 
GeneralRe: I want to catch event when user close page. Pin
Anuj Banka8-Nov-11 19:16
Anuj Banka8-Nov-11 19:16 

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.