Jump to content

avisekrishi

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by avisekrishi

  1. Hi Jesh , you are right the functionality can be implemented by adding an extra "Clear" button or retyping the URL again .But, i want the functionality to work on refreshing the page only.
  2. I am using ASP.Net Server controls in an .aspx file .The user enter input values and click button "Look Up" which then displays a message .Now the problem is that when i refresh the page, the user input values remain there and also the message.I want that when i refresh the page,the user input values and message doesnt remain there.The page should look as it is opened the very first time. Here is the code:the entire code is written in notepad using extension .aspx.<%@ Page language="c#" Codebehind="WebForm1.aspx.cs" AutoEventWireup="false" Inherits="TestState.WebForm1" enableViewState="False" enableViewStateMac="False"%><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" ><HTML> <HEAD> <script language="C#" runat="server">void SubmitBtn_Click(Object sender,EventArgs e ) { message.Text="Hi "+ Name.Text +",you selected:" + Category.SelectedItem; } </script> </HEAD> <body> <center> <form action="test2.aspx" method="post" runat="server" ID="Form1"> <h3>Name:<asp:textbox id="Name" runat="server" /> Category:<asp:dropdownlist id="Category" runat="server"> <asp:listitem>Psycology</asp:listitem> <asp:listitem>Business</asp:listitem> <asp:listitem>Computer</asp:listitem> </asp:dropdownlist> </h3> <p> <asp:button text="Lookup" OnClick="SubmitBtn_Click" runat="server" ID="Button1" /></p> <p> <asp:label id="message" runat="server" /></p> </form> </center> </body></HTML>
  3. Yes You got my point . I mean to say that if <b><u> some text is written on one page ,but the closing tag </b></u> is on other page .Then text written on other page will not be bpld and underline. Yes i can make them bold and underline by including those tag again on second page. but suppose if number of pages is too large to perform these operation manually on each page. Is there any technique so that information for First page can be maintained on secong Page, so that HTML tags dont loose their meaning if PAGEBREAK comes in between.
  4. Hi, Very thanks for your valuable timeBbut i have some issue i am talkin about page break tag such as PAGE-BREAK-BEFORE: always;Not talkin about Line break .<br> is used for line break.My point is Html tags loose their meaning after page break
  5. hello, i am talkin about page break tag such as PAGE-BREAK-BEFORE: always;Not talkin about Line break .<br> is used for line break.My point is Html tags loose their meaning after page break
  6. hi , is it possible to retain meaning of html formatting tags after user or system defined page break.Suppose you put <b> <u> some text <page break> remaining text</b></u>.Will the text "remaining text " will remain bold and underline .actually html tags lost its meaning if opening tag is before page break and closing tag after page break.Is it possibel to retain formatting even after page break
×
×
  • Create New...