user control property not passed to page
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngcontrolsvb' list.


Asim Ahmed
-- Moved from [aspngvb] to [aspngcontrolsvb] by Marcie Jones <Click here to reveal e-mail address> --

Hello all
I created a user control based on a button and calendar control.
When the date is selected from the calendar control, I want it to persist
and passed to a text box on the page.
However the page where the control is loaded cannot get the selected date. I
know the control works because response.write from the control returns the
date on the page. But any control on the page is not able to get the date.
What am I missing here.

Asim.

Reply to this message...
 
    
James Avery
Can you show us your code?? Are they on the same page? You should be
able to use .SelectedDate to get the value after the postback.

-----Original Message-----
From: Asim Ahmed [mailto:Click here to reveal e-mail address]
Sent: Friday, February 15, 2002 1:22 PM
To: aspngcontrolsvb
Subject: [aspngcontrolsvb] user control property not passed to page

-- Moved from [aspngvb] to [aspngcontrolsvb] by Marcie Jones
<Click here to reveal e-mail address> --

Hello all
I created a user control based on a button and calendar control.
When the date is selected from the calendar control, I want it to
persist and passed to a text box on the page.
However the page where the control is loaded cannot get the selected
date. I know the control works because response.write from the control
returns the date on the page. But any control on the page is not able to
get the date.
What am I missing here.

Asim.
| [aspngcontrolsvb] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngcontrolsvb.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

Reply to this message...
 
 




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com