Wrox Programmer Forums
|
Classic ASP Components Discussions specific to components in ASP 3.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Components 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 March 18th, 2005, 02:00 AM
Registered User
 
Join Date: Mar 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Javascript in UserControls

Hello,

I am creating a usercontrol which contains two DropDownList boxes, I want to access these controls in the javascript (i.e in ascx file) because I wrote two validation function for those two DropDownList boxes. I am able to do this in aspx file.Please suggest me how to do this.

Regards,
Chakravarthy.
 
Old March 30th, 2005, 06:35 AM
Registered User
 
Join Date: Mar 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi Mr. Chakravarthy,


I am having the same kind of problem as you are having,
I want to validate the controls of a UserControl(.ascx file)
and i have to write the whole hierarchy from the actual form(.aspx file) to the Control name (i.e. document.Form1.UcUserControl1_txtUserName.value) for accessing the text from a text box. So, if you get the answer for a better alternative please let me know.

Regards,
Nilesh Patel






Similar Threads
Thread Thread Starter Forum Replies Last Post
Usercontrols yveerabhadrarao ADO.NET 1 August 3rd, 2007 06:57 AM
Linking UserControls dhanyavnair Pro VB 6 2 December 1st, 2004 02:41 PM
Postback for usercontrols anuradha80 General .NET 4 September 27th, 2004 11:35 PM
UserControls in DataLists shmacgregor ASP.NET 1.0 and 1.1 Basics 12 April 5th, 2004 04:11 PM
Reusability of UserControls jara VS.NET 2002/2003 0 August 14th, 2003 05:52 PM





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