How to use DIV to include an aspx file?

hi all,
 i am new to web application. in my default.aspx, i include a user control as the left menu. and i want to use DIV to include an existing aspx file. how to do that?
<div><%@include file="ClientDetails.aspx"%></div> ??
it does not work.

thanks a lot
viola
LVL 6
viola123Asked:
Who is Participating?
 
DreamMasterConnect With a Mentor Commented:
Hi Viola,

Have you tried:

<div><!--#include file="ClientDetails.aspx"--></div>

Regards,
Max.
0
 
viola123Author Commented:
hi,
i solve this problem by drag the file into the div in design mode.

max, i tried your solution but it does not work.

thanks a lot
0
 
DreamMasterCommented:
Well...you're welcome :) Sorry I wasn't more helpfull...

Regards,
Max.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.