Put the content in a div and use javascript to center it. works for all screen resolutions. check this link [^]
P Tagore Srinivas Dhanunjay
Posts
-
Centre Align Contents of a Webpage in ASP.NET? -
loop for textboxesThis code is working ;)
-
connectivityIf you searching for provider name that is to be given in Connection string its System.Data.OracleClient
-
How to stop PostBack for Treeview controlHi Kuricheti, There is no AutoPostBack event in Treeview control. To get the selected text you can use OnSelectedNodeChanged property in .aspx file and point it to some function. eg. OnSelectedNodeChanged="SelectCategory"> to get the selected value write a function in C# and use TREEVIEWID.SelectedNode.Text eg. tbCategory.Text = tvCategories.SelectedNode.Text; Try it out.
-
how to validate check box?tooltip="Check if you input for billing" AutoPostBack="true" />
-
Log Outtry this in Page Load if(Session["UserName"] == null && Page.IsPostBack) Response.Redirect("../Admin/HomePage.aspx");
-
declaring connnectionString need helpData Source= Server Name on which Database is stored. I think u are not using a remote server...the value will be Data Source= localhost or localhost\(name of SQL server) Initial Catalog=DATABASE_NAME; User ID=*** password=***" providerName="System.Data.SqlClient" (for MS SQL SERVER)
-
Log OutHi buddy, You can use sessions, cookies or application to handle that problem. Google on it ;) Regards, Tagore
modified on Monday, March 3, 2008 8:28 AM