-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: s_hashim
Message 1 in Discussion
> I have a footer template with Textbox id="txtQ_StartDate_ft" in the data
> grid
>
> i have one javascript for calendar popup which accepts textbox id to
> return the date.
>
> but at run time the text box id will be changed for the datagrid
>
> at server side i can acces the text box like
> e.Item.FindControl("txtQ_StartDate_ft")
>
> at run tine when i saw the view source for the page the id for Textbox was
> id="dgSubPeriods__ctl3_txtQ_StartDate_ft"
>
> how to get this ("dgSubPeriods__ctl3_txtQ_StartDate_ft") at client so
> that i can pass that to javascript below
>
> <FooterTemplate>
> <asp:TextBox ID="txtQ_StartDate_ft" Width="75px" CssClass="txtBox"
> Runat="Server" MaxLength="10" />
> <a href="javascript:Q1cal1.popup();"><img src="../images/cal.gif"
> width="16" height="16" border="0" alt="Click Here to Pick up the
> date"></a>
> </FooterTemplate>
>
>
> <script language="javascript">
> var Q1cal1 = new calendar1(document.frmAdmin.txtQ_StartDate_ft);
> Q1cal1.year_scroll = true;
> Q1cal1.time_comp = false;
> </Script>
>
> **********
> Keep Smiling,
> Regards.
>
> Sayad Hashim Ali Kazi
> Microsoft India Community Star.
>
> SQL Star International Ltd.
> SQL House, #13,Infocity,Madhapur,
> Hyderabad 500 081.
> Tel: +91-40-2310 1625(Off) +91-98491-29500(Cell)
> www.mugh.net
>
>
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you received
this message by mistake, please click the "Remove" link below. On the pre-addressed
e-mail message that opens, simply click "Send". Your e-mail address will be deleted
from this group's mailing list.
mailto:[EMAIL PROTECTED]