Question : Setup a wenpage in Windows Server 2008

Hi!

I compiled a setup's web page using the Web Setup Project in Visual Studio, but when i try to run the setup.exe in the server with windows server 2008 the installer just warn me that the appication cant be installed and ask me to try again! (obviosly dont work if i try again).

Somebody can help me with this? the error message doesn't tell me nothing useful

Answer : Setup a wenpage in Windows Server 2008

Hi mandi224, 

You could achieve the same functionality via using AJAX but lets try with JavaScript for now.

at the end of the page add this script

<script language="JavaScript">

function ValidateUI(sourceCheckBox, targetTextBox)

{
document.getElementById(targetTextBox).focus();

if(sourceCheckBox == "radCityState")

{
document.getElementById("txtOrgName").disabled=true;

document.getElementById("txtZip").disabled=true;

}

}

</script>

Now to call this function

<asp:RadioButton ID="radOrgName" Text="Search by Organization Name:" Checked="true" GroupName="radOrgSearchType" runat="server" onClick="ValidateUI(this.id, "txtCity");" />                        
       

Repeat the if loop as per your requirements.

Let me know if you need help with it.

Regards,
Chinmay



Random Solutions  
 
programming4us programming4us