Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 19th, 2005, 01:40 PM
Jill Graham
Guest
 
Posts: n/a
Default <%=...%> problem

Hi,

Here is my .aspx page :

<%@ Page %>
<%@ Register TagPrefix="Module" Namespace="....." assembly="....." %>
<html>
<head></head>
<body>
<table>
<tr>
<td>
<%=dayId%>
</td>
<td>
<Module:calendar day="<%=dayId%>" runat="server" />
</td>
</tr>
</table>
</body>
</html>

The first occurence of dayId is replaced by its value as defined in the
myPage.aspx file. The second occurence of dayId (Module attribute) is NOT
replaced by its value. How come ?

Does anyone has any idea on how to use <%=...%> within the attributes of
custom controls ?

Jill




  #2  
Old July 19th, 2005, 01:40 PM
Aaron [SQL Server MVP]
Guest
 
Posts: n/a
Default Re: <%=...%> problem

http://www.aspfaq.com/5002

--
http://www.aspfaq.com/
(Reverse address to reply.)




"Jill Graham" <jills_graham@yahoo.com.au> wrote in message
news:ut28bpKTEHA.2372@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hi,
>
> Here is my .aspx page :
>
> <%@ Page %>
> <%@ Register TagPrefix="Module" Namespace="....." assembly="....." %>
> <html>
> <head></head>
> <body>
> <table>
> <tr>
> <td>
> <%=dayId%>
> </td>
> <td>
> <Module:calendar day="<%=dayId%>" runat="server" />
> </td>
> </tr>
> </table>
> </body>
> </html>
>
> The first occurence of dayId is replaced by its value as defined in the
> myPage.aspx file. The second occurence of dayId (Module attribute) is NOT
> replaced by its value. How come ?
>
> Does anyone has any idea on how to use <%=...%> within the attributes of
> custom controls ?
>
> Jill
>
>
>
>[/color]


 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles