Wrox Programmer Forums
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 11th, 2006, 08:50 AM
Registered User
 
Join Date: Jul 2006
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default TemplateField control access

I want to setup a details view that has a text field to hold dates. I want to use a pop-up calendar to populate the text field. I have the pop-up calendar working in a form but I am not sure how to access the text field since it is inside a templatefield.

Here is the code for how I use the pop-up calendar in a normal form:

<td style="width: 250px">
                    <strong>From:</strong>
                        <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox><a href="javascript:;" onclick="window.open('popup.aspx?textbox=TextBox9' ,'cal','width=250,height=225,left=270,top=180')">< img src="../cal.gif" border="0"></a>
                        </td>

I am nut sure what to use for the ID to reference with a field with in a template field.

Thanks for any suggestions.






Similar Threads
Thread Thread Starter Forum Replies Last Post
401.3 Access denied due to Access Control List cforsyth .NET Framework 2.0 8 May 28th, 2009 01:56 PM
[Resolved] GridView TemplateField - get value snufse ASP.NET 2.0 Basics 25 July 29th, 2008 07:25 AM
Can not Edit gridview having TemplateField coolcoder2007 .NET Framework 2.0 4 March 6th, 2008 06:36 AM
Dynamic Radiobutton inside Templatefield carthic143 ASP.NET 1.0 and 1.1 Basics 0 January 5th, 2008 07:33 AM
Dynamically creating TemplateField.... aekta ASP.NET 2.0 Professional 1 March 19th, 2007 02:26 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.