Author: supriya_karagave | Posted on: 6/9/2009 4:32:56 AM | Views : 439

Hi All...
I have a yet new problem here...
I have couple of rows on my page.  Now for these rows I want there displaying tobe conditional depending upon the value set in the Web.config
I have found out few solutions over the internet, but they all dont seem to work for me or I am missing something again....
I have a Web page as follows  on which I have a Captcha control...Now I want the Captcha related all two rows only tobe dispalyed if the particular flag value in Web.config is true.
I have got this JS which I think should be able to do my task ;-

<script language="javascript" runat="server">

function LoadCaptchaDetails()
{
var IsCaptchaEnabled = ConfigurationSettings.AppSettings["CaptchaEnabled"];
if (IsCaptchaEnabled == "false")
{
document.getElementById(&q ...

Go to the complete details ...