Click here to Skip to main content
15,892,059 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How to find out number of hits by a user on a specific page? Pin
K03069-Jul-09 21:05
K03069-Jul-09 21:05 
AnswerRe: How to find out number of hits by a user on a specific page? Pin
Blue_Boy9-Jul-09 21:09
Blue_Boy9-Jul-09 21:09 
QuestionHello every one,i have a problem with Authentication. Pin
rinku soni 239-Jul-09 20:58
rinku soni 239-Jul-09 20:58 
AnswerRe: Hello every one,i have a problem with Authentication. Pin
K03069-Jul-09 21:02
K03069-Jul-09 21:02 
QuestionGridView DataBind, Adds an extra row to the gridview. Pin
AB77719-Jul-09 20:31
AB77719-Jul-09 20:31 
AnswerRe: GridView DataBind, Adds an extra row to the gridview. Pin
N a v a n e e t h9-Jul-09 20:33
N a v a n e e t h9-Jul-09 20:33 
GeneralRe: GridView DataBind, Adds an extra row to the gridview. Pin
AB77719-Jul-09 21:03
AB77719-Jul-09 21:03 
QuestionJavascript not firing in checkbox change Pin
meeram3959-Jul-09 19:51
meeram3959-Jul-09 19:51 
I have a checkbox in my form. When the checkbox is checked , i want to fire a javascript which makes some controls as visible or not visible. I have writtent the code,but the javascript is not firing. Can anybody please help me on that? Am I doing something wrong here?

Following is my code:
<script type="text/javascript">
function SetCopyPermissionsControlState(panelControlId, checkBox) {
alert("hai");
var enabled = checkBox.checked;
var panelControl = document.getElementById(panelControl);

if (panelControl)
{
if (enabled)
{
panelControl.style.display = 'block';

}
else
{
panelControl.style.display = 'none';

}
}


<tr><td class="labeltext"><asp:CheckBox ID="chkCopyPermissions" runat="server" Text = "CopyPermissions;"
OnClick="SetCopyPermissionsControlState(CopyPermissionsPanel,this)" /></td>
<td><asp:Label ID="lblCopyPermissionMessage" runat="server" ></asp:Label></td>
</tr>
<tr>
<asp:Panel ID = "CopyPermissionsPanel" runat = "server" Visible="false">
<td class="labeltext"><asp:Label ID = "lblCopyPermissions" runat = "server" Text = "Existing UserName" ></asp:Label></td>
<td><asp:TextBox id = "ExistingLoginTextBox" runat="server" TextMode="SingleLine" MaxLength="50"></asp:TextBox>
<asp:Button ID = "CopyPermissionsButton" runat="server" Text="Copy" OnClick="CopyPermissionsButton_Click" />
</td>
</asp:Panel>
</tr>

Please help.

Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.

AnswerRe: Javascript not firing in checkbox change Pin
AB77719-Jul-09 20:33
AB77719-Jul-09 20:33 
AnswerRe: Javascript not firing in checkbox change Pin
N a v a n e e t h9-Jul-09 20:48
N a v a n e e t h9-Jul-09 20:48 
GeneralRe: Javascript not firing in checkbox change Pin
meeram3959-Jul-09 21:15
meeram3959-Jul-09 21:15 
GeneralRe: Javascript not firing in checkbox change Pin
N a v a n e e t h9-Jul-09 21:24
N a v a n e e t h9-Jul-09 21:24 
GeneralRe: Javascript not firing in checkbox change Pin
meeram3959-Jul-09 21:57
meeram3959-Jul-09 21:57 
AnswerRe: Javascript not firing in checkbox change Pin
Amit Patel19859-Jul-09 21:44
Amit Patel19859-Jul-09 21:44 
GeneralRe: Javascript not firing in checkbox change Pin
meeram3959-Jul-09 22:23
meeram3959-Jul-09 22:23 
QuestionHyperlink Pin
the_smiths9-Jul-09 19:36
the_smiths9-Jul-09 19:36 
AnswerRe: Hyperlink Pin
syaiful_869-Jul-09 20:39
syaiful_869-Jul-09 20:39 
GeneralRe: Hyperlink Pin
the_smiths9-Jul-09 20:45
the_smiths9-Jul-09 20:45 
GeneralRe: Hyperlink Pin
syaiful_869-Jul-09 20:46
syaiful_869-Jul-09 20:46 
QuestionProblem of AJAX Timer with UpdatePanel Pin
slSoftware9-Jul-09 18:32
slSoftware9-Jul-09 18:32 
AnswerRe: Problem of AJAX Timer with UpdatePanel Pin
N a v a n e e t h9-Jul-09 20:56
N a v a n e e t h9-Jul-09 20:56 
QuestionResource.resx Need Helpp :( [modified] Pin
syaiful_869-Jul-09 16:03
syaiful_869-Jul-09 16:03 
AnswerRe: Resource.resx Need Helpp :( Pin
N a v a n e e t h9-Jul-09 21:03
N a v a n e e t h9-Jul-09 21:03 
GeneralRe: Resource.resx Need Helpp :( [modified] Pin
syaiful_869-Jul-09 21:46
syaiful_869-Jul-09 21:46 
GeneralRe: Resource.resx Need Helpp :( Pin
N a v a n e e t h9-Jul-09 23:06
N a v a n e e t h9-Jul-09 23:06 

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.