|
Rank: Member Groups: Member
Joined: 12/5/2008 Posts: 27
|
How do I access the text property directly of asp labels in the pageviews. I have multiple pageviews in tabs and need to populate fields from my database but cannot seem to get to the Control or actually find it. The labels are in html tables in the Pageview..
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
There is no difference when you have Label inside a PageView or not as to access it. You access it the same way with or without the PageView.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 12/5/2008 Posts: 27
|
I have base asp labels in a tables in pageviews and cannot directly access them as I normally do when they are outside the control. Simple like lblFirtstname.text = value, but lblFirstName is not available when the label is a control inside the page view. I am not a newbie to coding and just seemed puzzled at this point. I can take the labels off the page and I see them, but need the pageviews for my tab dialog.
Any Ideas? Thanks
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
I do not believe it has anything to do with the PageView. Try to take the PageView out and I expect you to see the same problem. Try to remove page contents block by block and locate the triggering point. Once you narrow it down, it should be something obvious.
|
|