.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

alternative for inline frames

Posted By:      Posted Date: September 20, 2010    Points: 0   Category :ASP.Net

 Hello All,

I have a question. A friend of mine has asked me to rebuild his website in asp.net.

The template he gave me consist of a menu on top, on the left and on the bottom.

Furthermore the page uses inlineframes. I have rebuild the template to a masterpage, and use a contentplaceholder for the content.

now I notice that the design is getting out of proportions cause of the missing of the inlineframe. is there any clever way to keep the design intact without using inlineframes?







View Complete Post

More Related Resource Links

How Do I Enable Inline GridView Editing?

Now that you have created a site with Edit and Details views, how do you enable inline editing in a GridView control? This video shows you how, and also touches on routing.

GridView inline Master/Detail record display

This code drop is part of a smash and grab series. If you're in a rush, you can just grab this code and insert it into your application, no understanding is required. When you have some time (ya, right) you may want to review the source code.

how to set break point at inline code

I set the element height value by using inline code 
<%# Eval("s") %>
where "s" is the variable declared in page load event. when i run the application it don't set the height. 
Is there any way, i can set break point into .aspx file. i mean how i can check if my Eval("s") get the value.  

MVC + Frames in an enterprise web application


Hi people

I'm designing an enterprise web application interface based on an old system, and i planned to migrate the old frames layout to master page, but i noticed that if i use masterpages, the application users will be able to see the querystring or route path, and it could be a security issue.

What is the best way to avoid this? Using frames? Masterpages with iframes as content? Masterpages with all PartialViews loaded by jquery?




Inline conditional output


Is it possible to somehow output some content based upon some conditional check in Razor? If not, I hope this possibility will be added in the future. What I want to do is the following:

<option value="1" @if(ListMode == 1) { = "selected=\"true\"" }>Full list</option>

As I can't figure out a way to do this, I have to either make a helper that does it for me or write duplicate code.

Is master page a best alternative for Frame Sets ??


My webpage has one banner with a logo, a vertical menu bar on the left side of the page and a footer . I have 5 other pages which should get loaded when the user select them from the menu bar. what my concern is actually the banner,  menu bar  and the footer should not change when the requested page loads. This definitely can be handled by sets. But I want to know whether there are any other alternatives for frame sets or could master page be helpful for this purpose ????? 

Any help would be appreciative .

How to find incoming url of the page. ( alternative to Request.UrlReferrer)


 Request.UrlReferrer is not working. can any one  help me to find the previous page url ?

gap between inline-block divs


I have two divs, inline-block, width:50%.  When the width is 50% the two divs do not fit on the same line and the browser renders them one under the other.  Change the width to 49% and give them a background color. The divs render side by side, but with a small gap between them. I assume that gap is the reason the 50% width divs don't fit side by side. 

I am trying different combinations of margin:0; padding:0; line-height:0; border:0px;.

How can I make is so there is no gap, horizontal and vertical, between inline-block divs?


		<style type="text/css"> 




<body style="margin:0px; padding:0px;">

<div class="SideBySide" style="background-color:Green;">
<div class="SideBySide" style="background-color:Red;">


inline expression or binding expression in the server head section

Hello, I write inline expression and binding expression in the server head section:<head runat="server"> <link rel="stylesheet" type="text/css" href="<%= Request.ApplicationPath %>themes/style1.css" /> <link rel="stylesheet" type="text/css" href="<%# Request.ApplicationPath %>themes/style2.css" /> <link rel="stylesheet" type="text/css" href="<%= ResolveUrl("~") %>themes/style3.css" /> <script type="text/javascript" src="<%= Request.ApplicationPath %>js/jwork.js"></script> </head> protected void Page_Load(object sender, EventArgs e) { Page.Header.DataBind(); }  But both kinds of expression aren't parsed or executed except the  ResovleUrl menthod. The html renders like this: <head><link rel="stylesheet" type="text/css" href="&lt;%= Request.ApplicationPath  %>themes/style1.css" /><link rel="stylesheet" type="text/css" href="&lt;%# Request.ApplicationPath  %>themes/style2.css" />    <link rel="stylesheet" type="text/css" href="/themes/style3.css"  /> 

How to insert values into my table the data is coming from inline table valued function

Hi all,   i have table oi want insert values into my table the data is coming from inline table valued function how i can use the inline table valued function to insert datainto my table i have inline function which out puts 3 collumns of data how i can insert this data into my table i have the insert statment like below insert into tablename(c1,c2,c3,c4,c5) select ('abc',....................,'xyz') how i can use the out put put of my inline function to  to insert data into my columns c2,c3,c4. please help me out Thanks & Regards Sunil Yoganna

Alternative to deprecated xp_readmail in MSSQL

I have inherited an MSSQL2000 application that uses xp_findnextmsg & xp_readmail to extract stuff from emails & insert it into the db.   It will need to be upgraded sometime soon, either to 2005 or perhaps 2008:  However, I note that both xp_findnextmsg & xp_readmail are deprecated, & that Database Mail is apparently for sending only, not for reading.  Have I got this wrong?   This would not appear to be a unique need.  Any clues gratefully received.   regards, Ian

any alternative for join tables?

 Hi guys, is  there any alternative for joining tables in ado.net? The problem is i have 2 tables: Transaction pkTransactionID TransactionDate FKTransactionCategory : refers to PKCAtegoryID   Category PKCAtegoryID CategoryName   I need to show a joined information from 2 tables in a gridview and be able to update data in tables. I can join them using linq to entity and show them in gridview. But i need to handle update and insert by myself then. Is there any way to make mapping so i can handle the data in those 2 tables as one table and bind it to bindingsource? Thanks in advance.      

inline css within content page

Hello, I have a question for the group.  I have a master page with several content pages I a working with.  On the content pages, I would like to make a few changes, such as adding images inside the content area.  When adding images, there are a few properties, such as borders that I can add.  However, it appears that this has limitations.  When I try to add some CSS at the top of the content page, I get a few errors.  I would like to add things such as padding around the image to make the appearance more presentable.  Can someone recommend how to do this? thanks 

Question regarding inline expressions

using .net 4 and vs2010 I'd like to get the text value of a column of my datagrid and insert that text into the subject line of an email. The partial code I've tried is below in bold, however, it does not produce the correct result.<Columns> <asp:BoundField DataField="FullName" HeaderText="Full Name" /> <asp:BoundField DataField="University" HeaderText="University" /> <asp:BoundField DataField="LastKnownCity" HeaderText="Last Known City" /> <asp:BoundField DataField="LastKnownState" HeaderText="Last Known State" /> <asp:BoundField DataField="LastKnownCountry" HeaderText="Last Known Country" /> <asp:HyperLinkField NavigateUrl='mailto:someone@somewhere.com?Subject=Fullname={1}' Text="Select" /> </Columns> I've also tried various other inline expressions, including <%#DataBinder.Eval (Container.DataItem("FullName")) %> and <%# Eval("FullName") %> Any help is appreciated.  
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend