|
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
|
|
|
|
|
I'm trying to use Response.TransmitFile in ASP.NET 2.0 instead of reading and writing chunks to a buffer for large files.
The questions I want to ask are:
1. Does anyone know how efficient Response.TransmitFile is? I can see that it doesn't add up the memory usage to IIS at all, but I'm not sure the impact on the server itself compared with reading and writing to a buffer in chunks.
2. What about security? by using Response.TransmitFile
Thanks,
|
|
|
|
|
Read this[^]
"Need Help" is not very good subject line and is probably the reason your question has been ignored.
only two letters away from being an asset
|
|
|
|
|
amarnath n.n wrote: 1. Does anyone know how efficient Response.TransmitFile is? I can see that it doesn't add up the memory usage to IIS at all, but I'm not sure the impact on the server itself compared with reading and writing to a buffer in chunks.
AFAIK, Response.TransmitFile directly writes the file in the Response stream, which is similar to reading and writing chunks to a buffer. It flushes the buffer once the file is written to the output stream.
amarnath n.n wrote: 2. What about security? by using Response.TransmitFile
There is no relation of Security with this. Its actually reading the file from a specified physical location of the server and writes the file directly to the stream. If asp.net user has permission to that folder, it can transmit the file properly.
|
|
|
|
|
I never had to use Response.TransmitFile . IMO, simple method to transmit files is to redirect to the file name. Rest all will be automatically taken care.
|
|
|
|
|
You are assuming that the file is in the folder structure. Many, store files out of the folder structure of the website so they can be properly secured on a user to user basis.
|
|
|
|
|
Hello,
I have created a web user control and that contain a javascript method that check for required field. if there is a required filed not filled it return an alert. the problem is that the page post back not in the control pageload but the page that contain that control. how can i prevent from post back when a special field is required.
regards.
dghdfghdfghdfghdgh
|
|
|
|