Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. Web Development
  3. ASP.NET
  4. How to dipsly a webform [modified]

How to dipsly a webform [modified]

Scheduled Pinned Locked Moved ASP.NET
csharphtmlhelptutorial
8 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    biswa47
    wrote on last edited by
    #1

    HOw to display a html web page with the help of image button control.like which event do we use.. can tell me in details...I am using visula studio-2005 with C# as backend

    modified on Thursday, April 3, 2008 2:30 AM

    P K 2 Replies Last reply
    0
    • B biswa47

      HOw to display a html web page with the help of image button control.like which event do we use.. can tell me in details...I am using visula studio-2005 with C# as backend

      modified on Thursday, April 3, 2008 2:30 AM

      P Offline
      P Offline
      pmarfleet
      wrote on last edited by
      #2

      The image button control has a Click event. Handle this and redirect to your HTML page.

      Paul Marfleet "No, his mind is not for rent To any God or government" Tom Sawyer - Rush

      1 Reply Last reply
      0
      • B biswa47

        HOw to display a html web page with the help of image button control.like which event do we use.. can tell me in details...I am using visula studio-2005 with C# as backend

        modified on Thursday, April 3, 2008 2:30 AM

        K Offline
        K Offline
        Krishnraj
        wrote on last edited by
        #3

        Hi, I m not getting but, exactly what u want to do?? Can u specify yr problem ? regards,

        Rana Krishnraj

        B 1 Reply Last reply
        0
        • K Krishnraj

          Hi, I m not getting but, exactly what u want to do?? Can u specify yr problem ? regards,

          Rana Krishnraj

          B Offline
          B Offline
          biswa47
          wrote on last edited by
          #4

          Thing is that i am developing an asp.net application. in which i have desiging with certain imagebutton control. like Objective.Aboout us. I want when i clicked on objective image button it shold display the obj.htm webpage in the browser. i have tried this with postbackurl property but it shows the error. "The HTTP verb POST used to access path '/rwssMIS/obj.htm' is not allowed." so how to display that htmlpage???

          E 1 Reply Last reply
          0
          • B biswa47

            Thing is that i am developing an asp.net application. in which i have desiging with certain imagebutton control. like Objective.Aboout us. I want when i clicked on objective image button it shold display the obj.htm webpage in the browser. i have tried this with postbackurl property but it shows the error. "The HTTP verb POST used to access path '/rwssMIS/obj.htm' is not allowed." so how to display that htmlpage???

            E Offline
            E Offline
            eyeseetee
            wrote on last edited by
            #5

            Can you post your code please to help us see what is happening

            B 1 Reply Last reply
            0
            • E eyeseetee

              Can you post your code please to help us see what is happening

              B Offline
              B Offline
              biswa47
              wrote on last edited by
              #6

              hai this is my code about whome ur atalking about.. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> <script type="text/javascript" language="JavaScript" src="news/news_eng.js"></script> <link rel="stylesheet" href="scripts/rwsstyle.css" type="text/css" /> <script type="text/javascript" language="javascript"> var swidth=323; var sheight=115; var sspeed=1; var wholemessage="<ul>"; for(i=0; i<theSummaries.length; i++) { if(i==theSummaries.length-1) { wholemessage=wholemessage+"<li><a class='ver10pxblack' href='outerwin.htm?id="+theSiteLinks[i] +"' target='_blank'>"+theSummaries[i]+"</a></li>"; } else { wholemessage=wholemessage+"<li><a class='ver10pxblack' href='outerwin.htm?id="+theSiteLinks[i] +"' target='_blank'>"+theSummaries[i]+"</a><br><br></li>"; } } wholemessage = wholemessage+"</ul>"; </script> <style type="text/css"> .ver10pxblack { FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana } A:link { TEXT-DECORATION: none } A:visited { TEXT-DECORATION: none } A:hover { TEXT-DECORATION: underline } A:active { TEXT-DECORATION: none } </style> </head> <body> <form id="form1" runat="server"> <div> <table style="width:720px;height:494px;" cellpadding="0" cellspacing="0" border="0" > <tr> <td style="height:494px;width:480px;" align="left" bgcolor="#d9dadc" valign="top"> <p class="left"><img src="images/e03.gif" alt="" width="14" height="16" border="0" align="absmiddle" />&nbsp;&nbsp; <strong>NEWS &amp; EVENTS</strong></p> &nbsp; <script type="text/javascript" language="JavaScript"> if (document.all) { document.writeln('<marquee id="ieslider" scrollAmount=1 width=100% height=60% direction=up style="border:0;">'); document.writeln(wholemessage);

              E K 2 Replies Last reply
              0
              • B biswa47

                hai this is my code about whome ur atalking about.. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> <script type="text/javascript" language="JavaScript" src="news/news_eng.js"></script> <link rel="stylesheet" href="scripts/rwsstyle.css" type="text/css" /> <script type="text/javascript" language="javascript"> var swidth=323; var sheight=115; var sspeed=1; var wholemessage="<ul>"; for(i=0; i<theSummaries.length; i++) { if(i==theSummaries.length-1) { wholemessage=wholemessage+"<li><a class='ver10pxblack' href='outerwin.htm?id="+theSiteLinks[i] +"' target='_blank'>"+theSummaries[i]+"</a></li>"; } else { wholemessage=wholemessage+"<li><a class='ver10pxblack' href='outerwin.htm?id="+theSiteLinks[i] +"' target='_blank'>"+theSummaries[i]+"</a><br><br></li>"; } } wholemessage = wholemessage+"</ul>"; </script> <style type="text/css"> .ver10pxblack { FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana } A:link { TEXT-DECORATION: none } A:visited { TEXT-DECORATION: none } A:hover { TEXT-DECORATION: underline } A:active { TEXT-DECORATION: none } </style> </head> <body> <form id="form1" runat="server"> <div> <table style="width:720px;height:494px;" cellpadding="0" cellspacing="0" border="0" > <tr> <td style="height:494px;width:480px;" align="left" bgcolor="#d9dadc" valign="top"> <p class="left"><img src="images/e03.gif" alt="" width="14" height="16" border="0" align="absmiddle" />&nbsp;&nbsp; <strong>NEWS &amp; EVENTS</strong></p> &nbsp; <script type="text/javascript" language="JavaScript"> if (document.all) { document.writeln('<marquee id="ieslider" scrollAmount=1 width=100% height=60% direction=up style="border:0;">'); document.writeln(wholemessage);

                E Offline
                E Offline
                eyeseetee
                wrote on last edited by
                #7

                Couldn't you just use onclick method for the button or am I missing the point?

                1 Reply Last reply
                0
                • B biswa47

                  hai this is my code about whome ur atalking about.. <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> <script type="text/javascript" language="JavaScript" src="news/news_eng.js"></script> <link rel="stylesheet" href="scripts/rwsstyle.css" type="text/css" /> <script type="text/javascript" language="javascript"> var swidth=323; var sheight=115; var sspeed=1; var wholemessage="<ul>"; for(i=0; i<theSummaries.length; i++) { if(i==theSummaries.length-1) { wholemessage=wholemessage+"<li><a class='ver10pxblack' href='outerwin.htm?id="+theSiteLinks[i] +"' target='_blank'>"+theSummaries[i]+"</a></li>"; } else { wholemessage=wholemessage+"<li><a class='ver10pxblack' href='outerwin.htm?id="+theSiteLinks[i] +"' target='_blank'>"+theSummaries[i]+"</a><br><br></li>"; } } wholemessage = wholemessage+"</ul>"; </script> <style type="text/css"> .ver10pxblack { FONT-SIZE: 10px; COLOR: #000000; FONT-FAMILY: Verdana } A:link { TEXT-DECORATION: none } A:visited { TEXT-DECORATION: none } A:hover { TEXT-DECORATION: underline } A:active { TEXT-DECORATION: none } </style> </head> <body> <form id="form1" runat="server"> <div> <table style="width:720px;height:494px;" cellpadding="0" cellspacing="0" border="0" > <tr> <td style="height:494px;width:480px;" align="left" bgcolor="#d9dadc" valign="top"> <p class="left"><img src="images/e03.gif" alt="" width="14" height="16" border="0" align="absmiddle" />&nbsp;&nbsp; <strong>NEWS &amp; EVENTS</strong></p> &nbsp; <script type="text/javascript" language="JavaScript"> if (document.all) { document.writeln('<marquee id="ieslider" scrollAmount=1 width=100% height=60% direction=up style="border:0;">'); document.writeln(wholemessage);

                  K Offline
                  K Offline
                  Krishnraj
                  wrote on last edited by
                  #8

                  Hi dear, i see yr code. in some image button u use onClick event and in other image button u use PostBackurl. I don't understand why it is so. but its better to use code-behind file and use click event of image button. Hope u understand what i want to say. regards,

                  Rana Krishnraj

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups