Thanks George now it works..
Now I have one more issue.
I have downloaded Ajax frame work and in the toolbox I am getting AJAX
Extention in which i find the Script manager.
Bit,in the design form I am not getting this part of the tag..
<ajaxToolkit:ToolkitScriptManager
I also added AjaxControlToolkit.dll in the bin directory.
"George Ter-Saakov" wrote:
What is the exact problem you having? Cause your question is to vague...
I suspect you ahving problem with control id? then do something like
<asp:textbox id="txtDateIssued"....>
<a href="javascript:OpenCal('<%=txtDateIssued.ClientI D%>'">blablalbla</a>
George.
"iHavAQuestion" <iH***********@discussions.microsoft.comwrote in message
news:FA**********************************@microsof t.com...
Sir,
I have a ASP cotrol text box and a image button, on click of which I call
a
javascript(pop up calender) and the below code works fine
What if i have to achive the same using ASP.NET control
<asp:Text box>.....</asp:Text box>
Can any one please help me out.
CODE
------
<input type="text" id="txtDateIssued" style="width: 95px; height: 16px"
value=" mm/dd/yyyy" onfocus="if(this.value=='mm/dd/yyyy') this.value='';"
onblur="if(this.value=='') this.value='mm/dd/yyyy';" />
<td style="width: 10px" align="justify">
<a href="javascript:OpenCal('txtDateIssued');">
<img alt="" src="Templates/Main/Images/pdate.gif" width="12"
height="12"></a>