Welcome Guest Search | Active Topics | Sign In | Register

Labels in the PageView Options
medis
Posted: Thursday, February 26, 2009 10:35:18 AM
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.
eo_support
Posted: Thursday, February 26, 2009 11:37:51 AM
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!
medis
Posted: Thursday, February 26, 2009 11:52:20 AM
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
eo_support
Posted: Thursday, February 26, 2009 12:12:48 PM
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.


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.