I have installed visual studio 2010 and i have developed web application with using some controls but when i run that page is empty in run time,what can i do solve this.
Thanks in Advance..!!
Don't forget to click "Mark as Answer" on the post that helped you.
mmsuci
Member
43 Points
90 Posts
My web application page is empty when i run my application
Apr 22, 2012 09:58 AM|LINK
I have installed visual studio 2010 and i have developed web application with using some controls but when i run that page is empty in run time,what can i do solve this.
Thanks in Advance..!!
sriramabi
Contributor
4351 Points
1277 Posts
Re: My web application page is empty when i run my application
Apr 22, 2012 10:02 AM|LINK
Can u post u r code here..
thank u
AmalO.Abdull...
Contributor
3116 Points
764 Posts
Re: My web application page is empty when i run my application
Apr 22, 2012 02:24 PM|LINK
please provide us with code so we can help you
ZeeshanAnsar...
Participant
878 Points
264 Posts
Re: My web application page is empty when i run my application
Apr 22, 2012 02:35 PM|LINK
jsut check which page is set as startup page and let me know that .aspx and .cs contents of that page
hurry.
Please 'Mark as Answer' if this post helps you.
mmsuci
Member
43 Points
90 Posts
Re: My web application page is empty when i run my application
Apr 30, 2012 04:31 AM|LINK
My .aspx page code is
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="God.aspx.cs" Inherits="WebApplication4.God" %> <!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 runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" /> </div> </form> </body> </html>My .aspx.cs page code is
using System; namespace WebApplication4 { public partial class God : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Button1_Click(object sender, EventArgs e) { TextBox1.Text = "Welcome"; } } }And also i set my page to Set As Start Page...
Thanks
sriramabi
Contributor
4351 Points
1277 Posts
Re: My web application page is empty when i run my application
May 02, 2012 10:04 AM|LINK
Hai
try this
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="God.aspx.cs" Inherits="God" %> <!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 runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <table style="width: 100%"> <tr> <td align="center"> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" /> </td> </tr> </table> </form> </body> </html>thank u