Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Nov 23, 2012 01:58 PM by Alsaady
0 Points
6 Posts
Nov 23, 2012 01:20 PM|LINK
hi
I have a menu bar with 3 item suppose A,B,C
if i select A means display some content
selecr B means display other content in same page
same for c
(I know masterpage tell another way)
Star
9337 Points
1447 Posts
Nov 23, 2012 01:55 PM|LINK
radha123 f i select A means display some content selecr B means display other content in same page same for c
f i select A means display some content
Where are you getting that content from? If it is from DB(most likely html) then you can detect which menu is clicked and fetch data accordingly from DB and display it.
You can use HtmlEncode (http://msdn.microsoft.com/en-us/library/w3te6wfz%28v=vs.100%29.aspx) to store html to DB
and HtmlDecode(http://msdn.microsoft.com/en-us/library/hwzhtkke%28v=vs.100%29.aspx) to fetch it from DB.
Another method is to use iframe - http://forums.asp.net/t/1225536.aspx
Participant
1792 Points
370 Posts
Nov 23, 2012 01:58 PM|LINK
or you can use Multiview contain 3 view inside it
radha123
0 Points
6 Posts
Different contents with in a single layout
Nov 23, 2012 01:20 PM|LINK
hi
I have a menu bar with 3 item suppose A,B,C
if i select A means display some content
selecr B means display other content in same page
same for c
(I know masterpage tell another way)
me_ritz
Star
9337 Points
1447 Posts
Re: Different contents with in a single layout
Nov 23, 2012 01:55 PM|LINK
Where are you getting that content from? If it is from DB(most likely html) then you can detect which menu is clicked and fetch data accordingly from DB and display it.
You can use HtmlEncode (http://msdn.microsoft.com/en-us/library/w3te6wfz%28v=vs.100%29.aspx) to store html to DB
and HtmlDecode(http://msdn.microsoft.com/en-us/library/hwzhtkke%28v=vs.100%29.aspx) to fetch it from DB.
Another method is to use iframe - http://forums.asp.net/t/1225536.aspx
Alsaady
Participant
1792 Points
370 Posts
Re: Different contents with in a single layout
Nov 23, 2012 01:58 PM|LINK
or you can use Multiview contain 3 view inside it
www.rtoosh.net