|
I want to add one horizental line at the bottome of my master page:
... (some other controls)
</form>
<hr />
</body>
however, this line is always displayed at the top of the body.
anyone can give me one hint what is the possible reason?
|
|
|
|
|
Seraph_summer wrote:
however, this line is always displayed at the top of the body.
You have to put it inside Table .
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
thanks, I have tried as follows, unfortunately,it gives the same behaviour
<table style="width: 100%;">
<hr />
</table>
|
|
|
|
|
width: 100%;height: 100%">
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
modified on Saturday, September 12, 2009 6:46 AM
|
|
|
|
|
[Edit] Now it looks Good [/Edit]
[Edit2]Broken Again [/Edit2]
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
modified on Saturday, September 12, 2009 7:05 AM
|
|
|
|
|
Where is TR and TD ? This is very common mistake that we do. Please put HR inside TR > TD Then Check.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
modified on Saturday, September 12, 2009 6:47 AM
|
|
|
|
|
I tried as follows, but nothing is special, the line is always displayed on the top!
<table style="width: 100%;height:100%">
<tr>
<td>
<hr />
</td>
</tr>
</table>
modified on Saturday, September 12, 2009 11:15 AM
|
|
|
|
|
We are planning to do a twitter like social networking application.Is there any sample code that we can refer for creating micro blogging application like twitter?
|
|
|
|
|
How much have you done up to now? If you need to ask a question like this you are probably working on the wrong project.
|
|
|
|
|
Bithu wrote: twitter like social networking application
You better ask twitter to get your answer.
Anyway, it's upto you how you want to have your architecture. Try out with simple .NET application with multiple users. Then see how much you want to scale up...Anyway, best of luck...
|
|
|
|
|
Hi. Im generating half my page with normal html and half from the code behind.
<normalhtmlstuff>
<p id=<asp:label>>
</normallhtmlstuff>
Ok, you can get the idea of what i need. Problem is that when doing it like that and changing the labels to something it comes out like id=<pre>"myid"<pre> or something to that effect.
Thanks
Strive to be humble enough to take advice, and confident enough to do something about it.
|
|
|
|
|
You need to use a literal if you want to insert HTML and not have the code convert it into visible text.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thank you
Strive to be humble enough to take advice, and confident enough to do something about it.
|
|
|
|
|
any one know how handle this error in web.config
Error Message: Only one <configSections> element allowed per config file and if present must be the first child of the root <configuration> element.
Warning 2
The 'requirePermission' attribute is not declared.
|
|
|
|
|
m2a2011 wrote: Only one <configsections> element allowed per config file and if present must be the first child of the root <configuration> element.
This is plain english. It means what it says. Services like babel fish will translate it into whatever language you prefer, or, if you don't speak English well enough to understand this, then I'm sure there's a visual studio version in a language you would prefer.
I can't explain it any clearer than what the error message says. If you can't understand the error message, you won't understand my reply, as it will also be in English.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I created a web app in ASP.NET via Visual Studio 2008. I then uploaded it to my web hosting dir. But the app won't work as there is a config error trying to load System.Web.Extensions. OK, from what I can gather, there are 2 assemblies that need to be loaded, so I uploaded them to the web hosting dir, and instructed the web hoster to restart the server. But it still won't work, and the web hoster is saying that it is my fault.
Anyway, aside from fixing this error, doesn't it seem that a web hoster that claims to be able to host an ASP.NET application should be able to handle a "Hello World" web app produced by the latest Visual Studio? If there are any issues, shouldn't the web hoster be aware of them (especially after I have pointed it out)?
|
|
|
|
|
where did you put those dll ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Depends on the web host and their setup. Some may well be hosting 2.0 and not 3.5.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
System.Web.Extensions needs ASPNET Ajax installed. .NET 3.5 has it already. It is loaded in GAC with strong key. Check if you are using Public Token for it(I guess it is ) in your web.config.
I think you should install .NET 3.5 to the server before you could use it. If you are having Public token, you cant paste it to the bin directory and make it working.
|
|
|
|
|
Is the right version of the framework selected in the web application properties in IIS?
Rob
http://tagyurit.com
r
|
|
|
|
|
hi,
developing an ajax enabled site.
i am having a master page which has a asp:scriptmanager control. when i inherit the master page in my aspx page i am unable to get the asp:update panel control in the page aspx page.
Sandeep Kumbhar
|
|
|
|
|
Can U rephrase the Question. If u didnt see it in controls Try To Use Dll Again
If It Helps Click It as Answer
|
|
|
|
|
sanjubaba wrote: unable to get the asp:update panel control in the page
Clarify this.
only two letters away from being an asset
|
|
|
|
|
hi,
kindly view the following masterpage code
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<%@ Register Src="~/User_Controls/General/ctlHeader.ascx" TagName="ctlHeader" TagPrefix="uc1" %>
<!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>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager></asp:ScriptManager>
<div>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td style="height: 102px" valign="top">
<uc1:ctlHeader ID="uctlHeader" runat="server" />
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%" border="0">
<tr>
<td align="center">
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
<asp:UpdatePanel></asp:UpdatePanel>
</asp:contentplaceholder>
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
In the master page i am able to get the <asp:UpdatePanel>
But in the content page where i am inheriting the master page, i m unable to get <asp:UpdatePanel>
view the content page code aspx page:
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="testupdatepanel.aspx.cs" Inherits="Forms_testupdatepanel" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
Sandeep Kumbhar
|
|
|
|
|
sanjubaba wrote: i m unable to get <asp:updatepanel>
What do you mean? You can't type <asp:updatepanel>?
only two letters away from being an asset
|
|
|
|