Click here to Skip to main content
15,905,614 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: How no to direct to a page aftr logging out ? Pin
rakeshs31215-Feb-09 23:50
rakeshs31215-Feb-09 23:50 
GeneralRe: How no to direct to a page aftr logging out ? Pin
Karthick_gc16-Feb-09 0:36
Karthick_gc16-Feb-09 0:36 
GeneralRe: How no to direct to a page aftr logging out ? Pin
rakeshs31216-Feb-09 1:18
rakeshs31216-Feb-09 1:18 
GeneralRe: How no to direct to a page aftr logging out ? Pin
Karthick_gc16-Feb-09 1:23
Karthick_gc16-Feb-09 1:23 
GeneralRe: How no to direct to a page aftr logging out ? Pin
rakeshs31216-Feb-09 1:35
rakeshs31216-Feb-09 1:35 
GeneralRe: How no to direct to a page aftr logging out ? Pin
Karthick_gc16-Feb-09 1:41
Karthick_gc16-Feb-09 1:41 
QuestionFrame? Pin
Karthick_gc15-Feb-09 23:28
Karthick_gc15-Feb-09 23:28 
AnswerRe: Frame? Pin
Gaurav K Singh16-Feb-09 0:48
Gaurav K Singh16-Feb-09 0:48 
Because frames are not fully supported by the w3c, it is not implemented in Asp.net 2.0. You can implement it only throw editing in the source view.
you can also create the HtmlGenericControl object that will eventually render as an iframe and specify whatever attributes this iframe will have:

// Create new iframe control
HtmlGenericControl searchFrame = new HtmlGenericControl("iframe");
searchFrame.ID = "searchFrame";
searchFrame.Attributes.Add("class", "searchFrame");
searchFrame.Attributes.Add("frameborder", "0");

Then, I can add it to the PlaceHolder’s controls collection:

// Add it to the Controls collection of the PlaceHolder control
searchHolder.Controls.Add(searchFrame);

Finally, I add the PlaceHolder control into my ascx document where I’d like the iframe to eventually be:

<div class="searchContainer">
<asp:PlaceHolder id="searchHolder" runat="server" />
</div>

Now, an iframe will appear in the outputted HTML code where the placeholder once was.

The similar type of things can be implemented ASP.NET2.0 by "Master Page"

The miracle is this--the more we share, the more we have.

QuestionXML navigation Pin
Member 398136615-Feb-09 23:15
Member 398136615-Feb-09 23:15 
AnswerRe: XML navigation Pin
SeMartens16-Feb-09 2:42
SeMartens16-Feb-09 2:42 
Questionscroll posititon for div but different problem (timer is there) Pin
rahul_miche15-Feb-09 23:01
rahul_miche15-Feb-09 23:01 
AnswerRe: scroll posititon for div but different problem (timer is there) Pin
Gaurav K Singh16-Feb-09 3:28
Gaurav K Singh16-Feb-09 3:28 
GeneralRe: scroll posititon for div but different problem (timer is there) Pin
rahul_miche16-Feb-09 23:18
rahul_miche16-Feb-09 23:18 
GeneralRe: scroll posititon for div but different problem (timer is there) Pin
Gaurav K Singh16-Feb-09 23:23
Gaurav K Singh16-Feb-09 23:23 
GeneralRe: scroll posititon for div but different problem (timer is there) Pin
rahul_miche16-Feb-09 23:42
rahul_miche16-Feb-09 23:42 
GeneralRe: scroll posititon for div but different problem (timer is there) Pin
rahul_miche17-Feb-09 0:10
rahul_miche17-Feb-09 0:10 
QuestionUpdate the table based on selected gridview row Pin
Shanthi Diana15-Feb-09 22:40
Shanthi Diana15-Feb-09 22:40 
AnswerRe: Update the table based on selected gridview row Pin
keyur satyadev15-Feb-09 23:16
keyur satyadev15-Feb-09 23:16 
QuestionHow to access the contain of master page in our cs file? Pin
keyur satyadev15-Feb-09 22:29
keyur satyadev15-Feb-09 22:29 
AnswerRe: How to access the contain of master page in our cs file? Pin
butchzn15-Feb-09 22:51
butchzn15-Feb-09 22:51 
GeneralRe: How to access the contain of master page in our cs file? Pin
keyur satyadev15-Feb-09 23:17
keyur satyadev15-Feb-09 23:17 
GeneralRe: How to access the contain of master page in our cs file? Pin
raju melveetilpurayil16-Feb-09 0:32
professionalraju melveetilpurayil16-Feb-09 0:32 
Questionms outlook 2003 + address list + windows application Pin
bhavna432115-Feb-09 21:43
bhavna432115-Feb-09 21:43 
QuestionNullReferenceException in UserControl in GridView Pin
sdas00715-Feb-09 21:42
sdas00715-Feb-09 21:42 
AnswerRe: NullReferenceException in UserControl in GridView Pin
Calin Tatar15-Feb-09 23:55
Calin Tatar15-Feb-09 23:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.