Suppose in Resource you get test for the label is like
"Please click here to open file"
How about to try in lblID_PreRender event
lblID.Text = lblID.Text.Replace("here", "<a href='url'>here</a>");
Elton
"Christian Hofmann" wrote:
> Hello Elton,
>
> "Elton W" <> schrieb im Newsbeitrag
> news:93A1F199-9410-4306-A54A-...
> > Hi Christian,
> >
> > You can put a Label like
> >
> > <asp:Label id="lblID" runat="server">Please click <a href='url'
> > target='_blank'>here</a> to open file</asp:Label>
>
> But I am using localization:
> <asp:Label id="lblID" runat="server"
> meta:resourcekey="MyResourceKey></asp:Label>
>
> so this is not possible. Do you have an other idea?
>
> Thank you,
>
> Christian
>
>
>
>
|