|
-
August 23rd, 2007, 01:03 PM
#1
Trouble with FormView
Hi,
I am learning ASP.Net.
I have a project with a FormView.
In the ItemTemplate there is a label called lblFY
In the Page_PreRender event there is a call to...
frmBudgetSummary.FindControl("lblFY")
However, this does not find the control.
What am I doing wrong?
Is there a way to directly reference the label control without resorting to FindControl?
What is the best way to reference a control in a FormView in code?
Thanks,
Scott
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|