Click here to Skip to main content
15,887,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: ASP Panel Pin
meeram3953-Dec-09 23:41
meeram3953-Dec-09 23:41 
GeneralRe: ASP Panel Pin
Petr Pechovic4-Dec-09 0:08
professionalPetr Pechovic4-Dec-09 0:08 
QuestionQuestion about the URL string? Can a website be aware of what the user enters by hand in the URL string... Pin
basilmir3-Dec-09 22:15
basilmir3-Dec-09 22:15 
AnswerRe: Question about the URL string? Can a website be aware of what the user enters by hand in the URL string... Pin
sashidhar3-Dec-09 23:15
sashidhar3-Dec-09 23:15 
AnswerRe: Question about the URL string? Can a website be aware of what the user enters by hand in the URL string... Pin
OriginalGriff4-Dec-09 2:13
mveOriginalGriff4-Dec-09 2:13 
AnswerRe: Question about the URL string? Can a website be aware of what the user enters by hand in the URL string... Pin
basilmir11-Mar-10 23:34
basilmir11-Mar-10 23:34 
QuestionDisable a hyperlink Pin
MacIntyre3-Dec-09 21:45
MacIntyre3-Dec-09 21:45 
AnswerRe: Disable a hyperlink Pin
Abhishek Sur3-Dec-09 22:04
professionalAbhishek Sur3-Dec-09 22:04 
It could be done easily using this :

.disabledLink
{
color: #333;
text-decoration : none;
cursor: default;
}


Use this Javascript to do this in client side.
function disablelink(linkID)
{
var hlink = document.getElementById(linkID);
if(!hlink)
return;

hlink.href = "#";
hlink.className = "disableLink";
}


or in ItemDataBound use :
ctrl.CssClass = "disabledLink";
ctrl.Href = "#";



It will be disabled. Cool | :cool:

Why do you require to create ID. If you place the server side ID, you might use ClientId to get what id is generated in the client. Wink | ;)

Abhishek Sur
Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->

Simplify Code Using NDepend
Basics of Bing Search API using .NET
Microsoft Bing MAP using Javascript

AnswerRe: Disable a hyperlink Pin
bhavnvyas3-Dec-09 22:06
bhavnvyas3-Dec-09 22:06 
GeneralRe: Disable a hyperlink Pin
MacIntyre3-Dec-09 22:19
MacIntyre3-Dec-09 22:19 
GeneralRe: Disable a hyperlink Pin
bhavnvyas3-Dec-09 22:35
bhavnvyas3-Dec-09 22:35 
GeneralRe: Disable a hyperlink Pin
MacIntyre3-Dec-09 22:49
MacIntyre3-Dec-09 22:49 
GeneralRe: Disable a hyperlink Pin
bhavnvyas3-Dec-09 23:17
bhavnvyas3-Dec-09 23:17 
GeneralRe: Disable a hyperlink Pin
MacIntyre3-Dec-09 22:52
MacIntyre3-Dec-09 22:52 
GeneralRe: Disable a hyperlink Pin
MacIntyre3-Dec-09 23:03
MacIntyre3-Dec-09 23:03 
GeneralRe: Disable a hyperlink Pin
bhavnvyas3-Dec-09 23:19
bhavnvyas3-Dec-09 23:19 
QuestionJavascript Errors Pin
Johndas3-Dec-09 19:37
Johndas3-Dec-09 19:37 
AnswerRe: Javascript Errors Pin
keyur satyadev3-Dec-09 19:44
keyur satyadev3-Dec-09 19:44 
AnswerRe: Javascript Errors Pin
nainakarri3-Dec-09 19:47
nainakarri3-Dec-09 19:47 
AnswerRe: Javascript Errors Pin
rakeshs3123-Dec-09 20:03
rakeshs3123-Dec-09 20:03 
AnswerRe: Javascript Errors Pin
Abhijit Jana3-Dec-09 21:20
professionalAbhijit Jana3-Dec-09 21:20 
QuestionAjax Update Panel Pin
Amit Patel19853-Dec-09 19:36
Amit Patel19853-Dec-09 19:36 
AnswerRe: Ajax Update Panel Pin
keyur satyadev3-Dec-09 19:41
keyur satyadev3-Dec-09 19:41 
AnswerRe: Ajax Update Panel Pin
Jagz W3-Dec-09 19:42
professionalJagz W3-Dec-09 19:42 
QuestionChange a web appl. from Visual Studio 2005 to Visual Studio 2008 Pin
Ravindra Bisen3-Dec-09 19:33
Ravindra Bisen3-Dec-09 19:33 

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.