Click here to Skip to main content
15,908,907 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Custom contol not working with asp.net 1.x (If i use dll working properly) Pin
minhpc_bk5-Jul-06 19:55
minhpc_bk5-Jul-06 19:55 
Questionsetting focus on treeview in a user control in asp.net1.1 Pin
Kapil Thakur5-Jul-06 2:57
Kapil Thakur5-Jul-06 2:57 
AnswerRe: setting focus on treeview in a user control in asp.net1.1 [modified] Pin
l0kke5-Jul-06 6:04
l0kke5-Jul-06 6:04 
GeneralRe: setting focus on treeview in a user control in asp.net1.1 Pin
amaneet5-Jul-06 20:46
amaneet5-Jul-06 20:46 
Answeramaneet Pin
Kapil Thakur6-Jul-06 18:44
Kapil Thakur6-Jul-06 18:44 
QuestionHow to Disable or Enable asp:button in javascript? Pin
Abubakarsb5-Jul-06 2:55
Abubakarsb5-Jul-06 2:55 
AnswerRe: How to Disable or Enable asp:button in javascript? Pin
mnaveed5-Jul-06 5:23
mnaveed5-Jul-06 5:23 
AnswerRe: How to Disable or Enable asp:button in javascript? Pin
Guffa5-Jul-06 9:02
Guffa5-Jul-06 9:02 
To answer your question:

It's not possible. You can't access a server control from Javascript. They only exist on the server, and are used to create the html code for the page. Consequently you can't access the Enabled property either.

You can however access the html element that is created from the html code that the server control created. You can use the disabled property of the element to achieve the same thing that changing the Enabled property of the server control would.

That is done the way mnaveed showed.


---
b { font-weight: normal; }

QuestionEdit in HTMLTABLE in PlaceHolder Pin
varun_khanna175-Jul-06 2:17
varun_khanna175-Jul-06 2:17 
AnswerRe: Edit in HTMLTABLE in PlaceHolder Pin
mnaveed5-Jul-06 2:22
mnaveed5-Jul-06 2:22 
QuestionWord Doc in asp.net Pin
NinaWilliam5-Jul-06 1:33
NinaWilliam5-Jul-06 1:33 
AnswerRe: Word Doc in asp.net Pin
ketankumar5-Jul-06 1:46
ketankumar5-Jul-06 1:46 
AnswerRe: Word Doc in asp.net Pin
mnaveed5-Jul-06 2:19
mnaveed5-Jul-06 2:19 
QuestionImagebutton control problem Pin
Nagraj Naik5-Jul-06 0:55
Nagraj Naik5-Jul-06 0:55 
AnswerRe: Imagebutton control problem Pin
l0kke5-Jul-06 6:07
l0kke5-Jul-06 6:07 
QuestionI m using Dot.NET 2.0 and want to connect to sql server 2000..................... Pin
Khawar Abbas15-Jul-06 0:42
Khawar Abbas15-Jul-06 0:42 
AnswerRe: I m using Dot.NET 2.0 and want to connect to sql server 2000..................... Pin
Nagraj Naik5-Jul-06 0:58
Nagraj Naik5-Jul-06 0:58 
AnswerRe: I m using Dot.NET 2.0 and want to connect to sql server 2000..................... Pin
RichardGrimmer6-Jul-06 1:29
RichardGrimmer6-Jul-06 1:29 
AnswerRe: I m using Dot.NET 2.0 and want to connect to sql server 2000..................... Pin
vishal7056-Jul-06 2:15
vishal7056-Jul-06 2:15 
QuestionCounting no of characters in MS Word file Pin
Tirthadip5-Jul-06 0:38
Tirthadip5-Jul-06 0:38 
AnswerRe: Counting no of characters in MS Word file Pin
Kapil Thakur5-Jul-06 2:50
Kapil Thakur5-Jul-06 2:50 
QuestionHow to include ocx control in WebPage? Pin
.NetRams5-Jul-06 0:33
.NetRams5-Jul-06 0:33 
AnswerRe: How to include ocx control in WebPage? Pin
minhpc_bk5-Jul-06 19:59
minhpc_bk5-Jul-06 19:59 
Questionhow to send sms from asp.net ? Pin
rohitgraycell5-Jul-06 0:15
rohitgraycell5-Jul-06 0:15 
AnswerRe: how to send sms from asp.net ? Pin
Tirthadip5-Jul-06 0:24
Tirthadip5-Jul-06 0:24 

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.