Solution for the QlikView, Biztalk, DotNet and MSBI real time development problems
Search This Blog
Wednesday, August 24, 2011
Passing a control.ClientID to a javascript function in asp.net
Use below code to pass control client id to javascript function:
<asp:TextBox ID="demo1" runat="server"></asp:TextBox>
<img src="images/cal.gif" onclick="javascript:NewCssCal('<%= demo1.ClientID %>')"
style="cursor: pointer" alt="sdf" />
Labels:
ASP.NET
Subscribe to:
Post Comments (Atom)
Popular Posts
-
BizTalk Developer Interview Questions and Answers : Schema 1. What is the purpose of a document schema? The schema is basically a contr...
-
· Include SET NOCOUNT ON statement. · Use schema name with object name. · Do not use the prefix “sp_” in t...
-
Qlikview developer, Designer and admin interview questions (Qlikview developer, Designer and admin FAQ’S) 1. Difference between Set ...
-
When building controls dynamically which compose of sub-controls you can sometimes run into an problem where windows throws a “Error creati...
-
Difference between Readonly and Const in C# with example Constant Constant fields are defined at the time of declaration in the code snip...
No comments:
Post a Comment