From: Dave on
Is it possible to disable the something like below? I dont see an
enabled property...

////////////////////////////////////////////////

<a id="FurtherActionHyperlink" href="#"
onclick="window.open('SORFollup.aspx?SORID=<%# Eval("SORID") %>', '',
'toolbar=0, height=320,width=375,resizable=0,scrollbars=0');return
false">
Further Action</a>


//////////////////////////////////////////////

if not, any suggestions on how to try launching a popup in the same
manner?

Thanks
From: Cubaman on
On Sep 15, 2:07 am, Dave <Dave.Burk...(a)Jacobs.com> wrote:
> Is it possible to disable the something like below?  I dont see an
> enabled property...
>
> ////////////////////////////////////////////////
>
> <a id="FurtherActionHyperlink" href="#"
> onclick="window.open('SORFollup.aspx?SORID=<%# Eval("SORID") %>', '',
> 'toolbar=0, height=320,width=375,resizable=0,scrollbars=0');return
> false">
> Further Action</a>
>
> //////////////////////////////////////////////
>
> if not, any suggestions on how to try launching a popup in the same
> manner?
>
> Thanks

Try with javascript.
document.getElementById('<%FurtherActionHyperlink.ClientId
%>').disabled = true;

Best regards.
From: Dave on

Sorry, please be a little more specific. I don't know Java. I did
neglect to say that I need to be able to disable it in C#;conditional
on checkbox control.









On Sep 15, 3:00 am, Cubaman <oscar.acostamonte...(a)googlemail.com>
wrote:
> On Sep 15, 2:07 am, Dave <Dave.Burk...(a)Jacobs.com> wrote:
>
>
>
>
>
> > Is it possible to disable the something like below?  I dont see an
> > enabled property...
>
> > ////////////////////////////////////////////////
>
> > <a id="FurtherActionHyperlink" href="#"
> > onclick="window.open('SORFollup.aspx?SORID=<%# Eval("SORID") %>', '',
> > 'toolbar=0, height=320,width=375,resizable=0,scrollbars=0');return
> > false">
> > Further Action</a>
>
> > //////////////////////////////////////////////
>
> > if not, any suggestions on how to try launching a popup in the same
> > manner?
>
> > Thanks
>
> Try with javascript.
> document.getElementById('<%FurtherActionHyperlink.ClientId
> %>').disabled = true;
>
> Best regards.- Hide quoted text -
>
> - Show quoted text -

From: Cubaman on
On Sep 15, 12:15 pm, Dave <Dave.Burk...(a)Jacobs.com> wrote:
> Sorry, please be a little more specific.  I don't know Java.  I did
> neglect to say that I need to be able to disable it in C#;conditional
> on checkbox control.
>
> On Sep 15, 3:00 am, Cubaman <oscar.acostamonte...(a)googlemail.com>
> wrote:
>
> > On Sep 15, 2:07 am, Dave <Dave.Burk...(a)Jacobs.com> wrote:
>
> > > Is it possible to disable the something like below?  I dont see an
> > > enabled property...
>
> > > ////////////////////////////////////////////////
>
> > > <a id="FurtherActionHyperlink" href="#"
> > > onclick="window.open('SORFollup.aspx?SORID=<%# Eval("SORID") %>', '',
> > > 'toolbar=0, height=320,width=375,resizable=0,scrollbars=0');return
> > > false">
> > > Further Action</a>
>
> > > //////////////////////////////////////////////
>
> > > if not, any suggestions on how to try launching a popup in the same
> > > manner?
>
> > > Thanks
>
> > Try with javascript.
> > document.getElementById('<%FurtherActionHyperlink.ClientId
> > %>').disabled = true;
>
> > Best regards.- Hide quoted text -
>
> > - Show quoted text -

Hello:
Java is no javascript ;)
Ok, I haven't try this code, but should be something like this. In
your code behind:

protected void Page_Load(object sender, EventArgs e){
if(myCheckBox.Cheked){
ClientScript.RegisterStartupScript(GetType(), "DisableLink",
"document.getElementById('" + FurtherActionHyperlink.ClientId +
"').disabled = true;", true);
}
}

By the way:
http://en.wikipedia.org/wiki/Java_%28programming_language%29
http://en.wikipedia.org/wiki/JavaScript
Best regards.