Click here to Skip to main content
15,891,841 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: RegisterStartupScript not working PinPopular
Brij12-Apr-10 21:45
mentorBrij12-Apr-10 21:45 
GeneralRe: RegisterStartupScript not working Pin
AKSharma8312-Apr-10 21:54
AKSharma8312-Apr-10 21:54 
AnswerRe: RegisterStartupScript not working Pin
farogh haider13-Apr-10 3:16
farogh haider13-Apr-10 3:16 
QuestionWriting contents of tab delimited text file into excel file using asp.net Pin
Swati_g198512-Apr-10 21:06
Swati_g198512-Apr-10 21:06 
AnswerRe: Writing contents of tab delimited text file into excel file using asp.net Pin
Suresh Suthar13-Apr-10 1:27
professionalSuresh Suthar13-Apr-10 1:27 
QuestionHow to find the Link button control in Datalist control usibng Javscript Code Pin
ChandrakanthGaddam12-Apr-10 20:20
ChandrakanthGaddam12-Apr-10 20:20 
AnswerRe: How to find the Link button control in Datalist control usibng Javscript Code Pin
Brij12-Apr-10 21:05
mentorBrij12-Apr-10 21:05 
AnswerRe: How to find the Link button control in Datalist control usibng Javscript Code Pin
Arindam Tewary12-Apr-10 21:11
professionalArindam Tewary12-Apr-10 21:11 
chandragaddam wrote:
"obj.substring(0, 60);"


As per your query , you have problem in the above line.

What you have written is bound to get an error like that. Because, "obj" is a reference to a control. And as control does not have substring method in javascript you get this error. You should call obj.innerText or obj.value which ever is applicable in your case( depending upon what the control is rendered in your browser for your code) then call the substring method.
Thanks,
Arindam D Tewary

Questionajax modal popup Pin
m@dhu12-Apr-10 18:49
m@dhu12-Apr-10 18:49 
AnswerRe: ajax modal popup Pin
Brij12-Apr-10 19:58
mentorBrij12-Apr-10 19:58 
GeneralRe: ajax modal popup Pin
m@dhu12-Apr-10 20:15
m@dhu12-Apr-10 20:15 
GeneralRe: ajax modal popup Pin
Brij12-Apr-10 20:58
mentorBrij12-Apr-10 20:58 
GeneralRe: ajax modal popup Pin
michaelschmitt13-Apr-10 2:44
michaelschmitt13-Apr-10 2:44 
QuestionAccessing ASP.net control in [Ajax.JavascriptMethod()] Pin
raghu.g12-Apr-10 8:00
raghu.g12-Apr-10 8:00 
AnswerRe: Accessing ASP.net control in [Ajax.JavascriptMethod()] Pin
Not Active12-Apr-10 9:02
mentorNot Active12-Apr-10 9:02 
GeneralRe: Accessing ASP.net control in [Ajax.JavascriptMethod()] Pin
raghu.g12-Apr-10 9:19
raghu.g12-Apr-10 9:19 
GeneralRe: Accessing ASP.net control in [Ajax.JavascriptMethod()] Pin
Not Active12-Apr-10 10:13
mentorNot Active12-Apr-10 10:13 
Questionprevent page reload Pin
Enobong Adahada12-Apr-10 4:45
Enobong Adahada12-Apr-10 4:45 
AnswerRe: prevent page reload Pin
Abhijit Jana12-Apr-10 5:17
professionalAbhijit Jana12-Apr-10 5:17 
AnswerRe: prevent page reload Pin
itsravie12-Apr-10 5:45
itsravie12-Apr-10 5:45 
AnswerRe: prevent page reload Pin
jaypatel51212-Apr-10 14:55
jaypatel51212-Apr-10 14:55 
AnswerRe: prevent page reload Pin
farogh haider13-Apr-10 3:18
farogh haider13-Apr-10 3:18 
QuestionHow to get TextBox value from one class to another Pin
Sr...Frank12-Apr-10 4:12
Sr...Frank12-Apr-10 4:12 
AnswerRe: How to get TextBox value from one class to another Pin
Abhijit Jana12-Apr-10 4:39
professionalAbhijit Jana12-Apr-10 4:39 
AnswerRe: How to get TextBox value from one class to another Pin
Enobong Adahada12-Apr-10 4:48
Enobong Adahada12-Apr-10 4:48 

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.