You need to use properties and pass them in the page load events for
example.....
Doug Stevens, another MVP has this very useful example whih explains the
approach
http://www.dotnetjunkies.com/Article...66F720AB013.dc
ik
--
Regards
John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
----------------------------------------------
"Hermit Dave" <he************@CAPS.AND.DOTS.hotmail.com> wrote in message
news:uV*************@TK2MSFTNGP11.phx.gbl...
Hi,
Trying to pass a value to user control within a page.
1. Couldnt find a way to pass it from code behind file.
2. Trying to pass it from aspx page... using EditURL='<%
"mypage.aspx?myvar=" + myvalue %>' assigns value of EditURL=''
I have tried using a local variable... directly trying to read it off
Request object and even tried using session variable...
could be glad if someone could tell me how to get it right... thanks,
regards,
Hermit Dave