What Dean is saying is you cannot put inline tags into the server tag. It
doens't matter if the ImagePath is set in codebehind. <%# %> is an inline
tag.
You will need to reference the control in your code behind using the
protected access modifier and then somewhere in your code set the property
imagetag to theImagePath.
i.e.
protected ActiveEdit theContent;
private void Page_Load(object sender, EventArgs e)
{
theContent.imagetag = theImagePath;
}
/ryan
On 11/3/05, Mike Appenzellar <[EMAIL PROTECTED]> wrote:
>
> Can you be a bit more specific? what I have shown below theImagePath
> is being set from the code behind.....Can you show a quick example?
>
> On 11/3/05, Dean Fiala <[EMAIL PROTECTED]> wrote:
> > You cannot put inline tags into server or web control tags.
> >
> > Need to set in the code behind or script.
> >
> >
> > On 11/3/05, Mike Appenzellar <[EMAIL PROTECTED]> wrote:
> > > I am using the activEdit control for content management which look as
> > follows:
> > >
> > > <ae:activedit id="theContent" runat="server" name="theContent"
> > > imageurl="/ae_images/" imagepath="<%# theImagePath %>"
> > > upload="true"
> > >
> >
> toolbar="quickformat,quickfontsize,|,cut,copy,paste,|,redo,undo,|,font,bold,italic,underline,|,justifyleft,justifycenter,justifyright,bullets,|,table,image,hyperlink,|,find,help,spellcheck,specialchars"
> > > baseurl="/" inc="/admin/activedit/inc/" Width="536px"
> > AllowEditSource="True"
> > > BreakOnEnter="True" Image="True"
> > TabView="True"></ae:activedit>
> > >
> > > my problem is that the imagepath="<%# theImagePath %>" is literlly
> > > putting in the value ="<%# theImagePath %>" instead of what
> > > theImagePath variable really is...any ideas how to get by this?
> > >
> > >
> > >
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Dean Fiala
> > Very Practical Software, Inc
> > http://www.vpsw.com
> >
> > ________________________________
> > YAHOO! GROUPS LINKS
> >
> > Visit your group "AspNetAnyQuestionIsOk" on the web.
> >
> > To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > To unsubscribe from this group, send an email to:
> > [EMAIL PROTECTED]
> >
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> > ________________________________
> >
>
> ------------------------------
> YAHOO! GROUPS LINKS
>
>
> - Visit your group
> "AspNetAnyQuestionIsOk<http://groups.yahoo.com/group/AspNetAnyQuestionIsOk>"
> on the web.
> - To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]<[EMAIL PROTECTED]>
> - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/>.
>
>
> ------------------------------
>
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/