CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 7/30/2004 5:49:39 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 48 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
Imight
Asp.Net User
Help Find Control on UserControl7/30/2004 5:49:39 PM

0/0

I have created a user control
popupcalendar = PopUpcalendar.ascx
that the user clicks on and the date they choose gets put into a textbox.

I am using this usercontrol(popupcontrol.ascx) within another
usercontrol = ClientCalendar.ascx
Then I have that user control within a "clientexample.aspx" page.

When I run the enclosed code it cannot seem to find the control on ClientCalendar.ascx:::::
Dim txtDate As TextBox
'get the textbox that the date should be written to
txtDate = Page.FindControl(Calendar1.Attributes.Item("SelectedField"))
'Write value to appropriate textbox
txtDate.Text = Calendar1.SelectedDate

When I paste
?Page
It returns back asp.clientexample_aspx as the page so I am trying to access the user control
clientcalendar.ascx on the page to expose the text box to put the date in from my popupcalendar. How do I do that?????????



thanx for the help in advance.


master4eva
Asp.Net User
Re: Help Find Control on UserControl8/5/2004 5:57:15 PM

0/0

:: Page.FindControl(Calendar1.Attributes.Item("SelectedField"))

Test the ID that the Page.FindControl method will find. Ensure that the control ID exists.
-- Justin Lovell
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Consuming Public Services Authors: Nicholas Deakin, Anthony Wright, Pages: 222, Published: 1990
Professional ASP.NET 3.5: In C# and VB Authors: Bill Evjen, Scott Hanselman, Devin Rader, Pages: 1673, Published: 2008
RadControls for ASP.NET: A Step By Step Learning Guide Authors: unknown, Pages: 0, Published: -1
Visual Studio 2008 All-In-One Desk Reference For Dummies Authors: Rick Leinecker, Vanessa L. Williams, Pages: 816, Published: 2008
ASP.NET in a Nutshell: In a Nutshell Authors: G. Andrew Duthie, Matthew MacDonald, Pages: 979, Published: 2003
Beginning ASP.NET 2.0 in VB 2005: From Novice to Professional Authors: Matthew MacDonald, Pages: 1063, Published: 2006
Online Help Systems: Design and Implementation Authors: Greg Kearsley, Pages: 115, Published: 1988
Building E-commerce Sites in the .NET Framework Authors: Jason Bentrum, James Whatley, Pages: 538, Published: 2001
Developing Microsoft ASP.NET Server Controls and Components Authors: Nikhil Kothari, Vandana Datye, Pages: 689, Published: 2002

Web:
Find Control in user control - .NET ASP Find Control in user control. Get answers to your questions in our .NET ASP forum. ... 191127 Experts ready to help you find a solution. ...
Find Control - MasterPage, UserControl, UpdatePanel, FormView ... Any help is appreciated. ... FindControl("PH_Controls"); UserControl Uc = ( UserControl)phControls.Controls[0]; UpdatePanel up ...
FindControl not returning control with ascx - telerik Forum So can you please help, not sure why when I embed the control into a user control that it is unable to find the control? ...
CodeProject: Date Picker User Control. Free source code and ... FindControl("txtDOB"); but get possibly assembly reference missing. I have referenced the user control in the front page with ...
find control in user control in master page - .NET ASP find control in user control in master page. ... Any help will appreciated kindly. ... 190938 Experts ready to help you find a solution. ...
Can some help me finding a specific method and user control please ... Forum · General DotNetN... Chat About It! Can some help me finding a specific method and user control please ...
FindControl issue in dynamically added UserControl FindControl issue in dynamically added UserControl ... FindControl(control_id)). Value; Can't figure out why. Any help is greatly apreciated! ...
Setting User Control Properties in Code Behind I'm trying to pass a value to a user control by setting a property. ... //You could also create an instance of the control using FindControl ...
User Control Panel? - Parenting Message Boards - Parenting.com ... Hi Please help me to find the user control panel - I would like to change my avatar pic and have read from previous posts that you do this in the user ...
MSDN Visual C++ General uanble to find control on web page inside ... If that is correct, then I think one reason you are not gettting help is that you are .... I am having trouble finding out how to "findcontrol" usercontrol. ...

Videos:
Secret User Control Panel this is how to find the secret user control panel in windows xp
Be the Dinosaur - How do I find food? (scavenging) A compilation of all of the video in the "How do I stay healthy?" topic found in the Rock Formation stations within the Be the Dinosaur exhibit. I...
How to make "Start Menu" menus to open real fast!!! Glitch (Please click "More Info" on top of this to see clear instructions) How to make "Start Menu" menus to open real fast!!! It is a Windows XP glitch tha...
Dan Lok's Turnkey Affiliate Program - How To Promote Using Forums Part 2 A step-by-step tutorial showing you how to promote products for Dan Lok's Turnkey Affiliate Program.
Be the Dinosaur - Do I hunt Alone or in packs? A compilation of all of the video in the "Do I hunt Alone or in Packs" topic found in the Rock Formation stations within the Be the Dinosaur exhibit....
Be the Dinosaur - Do I defend myself? A compilation of all of the video in the "Do I defend Myself?" topic found in the Rock Formation stations within the Be the Dinosaur exhibit. In t...
Eaglesoft Citation X Virtual Cabin A quiet quick vid of some of the 'user control' I'm working on in the (work in progress), cabin of the new Eaglesoft Citation X v. 2.0 for Flight Sim...
Mass Download from Galbadia Hotel Here's how it works: you register an account, go to your user control panel, and get our special tracking links. You can use these links anywhere-- o...
A Googly MySQL Cluster Talk Google TechTalks April 28, 2006 Stewart Smith Stewart Smith works for MySQL AB as a software engineer working on MySQL Cluster. He is an active memb...
Be the Dinosaur - How do I use my senses? A compilation of all of the video in the "How do I use my senses?" topic found in the Rock Formation stations within the Be the Dinosaur exhibit. In...




Search This Site:










solpart menu problems!

inventua paypal module v3.1 - beta testers wanted

driving me mad but must be so simple.....

why no bin and why port number in the url??

page_load happens before button_click: help

fit to page printing

bug: passwork is not correctly converted in c# version

c# version

mail send problem

class question

text edit?

customizing registration module

why web.config for connection strings?

multiview + timer. cant get it working

dynamically change auto generated column header names

webstone.shadow 2.0 (with accessprovider support) - when?

css for theme works in iis but not asp.net development server

create a good word index..

tree view state

testing dotnetnuke

on session end, redirect user to login.aspx page

formauthentication.signout() not work

speed issues

implementing a profile provider

how to change the formatting of system.datetime.now without convert to string type

runat error

windows authentication doesn't always work

i’m trying to grant the asp.net identity read access to the default rsa key container i get the message: the rsa key container was not found. failed!

textbox.

cannot install dnn 3.1 on win2003

 
All Times Are GMT