|
demetter wrote: i have developed project in vb6.0,reporting tool crystal report 8,database ms access 2007.when executed program report was correct but converting report to .txt file inbetween line space is there.how can i remove that space
Then why the question comes into ASP.Net Forum ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
I am using following code to remove the IE Cache.
Response.Cache.SetCacheability(HttpCacheability.NoCache);
But i am not able to remove the Mozila Browser Cache Using this Code.
Mahendra Bisht.
|
|
|
|
|
Response.Expires = 0;
Response.ExpiresAbsolute = Now;
Response.AddHeader("pragma","no-cache");
Response.AddHeader("cache-control","private");
I think you can add all of them in addition to Response.Cache.SetCacheability... Hope this will clears..
|
|
|
|
|
this work fine with IE but not for Mozila
Mahendra Bisht.
|
|
|
|
|
Hello Everyone,
I Want to follow MVC Pattern in Asp.Net
i want to put class files for model and controller in separete folder...
Anybody know pls help me...
Thank you,
R RajaGuru
|
|
|
|
|
I have a solution containing about 5 projects. One of these is "CommonClass" witch contains a class User with a public property ReportName. In my web site i check this property on an user object (if (usr.ReportName) ...) Intellisens works on the property, and when i right click and "go to definition" i go to the correct file and definiton. However when i build i get the following error:
'Project.CommonClass.User' does not contain a definition for 'ReportName'
How can i fix this error?
Thanks
modified on Thursday, April 9, 2009 1:45 AM
|
|
|
|
|
nilam2477 wrote: 'Project.CommonClass.User' does not contain a definition for 'ReportName'
In which project are you getting the error? or in every project ?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
In one project Web Site project where i'm calling the ReportName property
|
|
|
|
|
All,
<pre>
<li id="img2">
<a class="current">
<img src="Images/about_pic.jpg" id="MapHead" alt="Around the world"
/>
</a>
</li></pre>
As shown in the code snippet above, I'm trying to populate a list item (Li) which is part of an Unordered list (UL). As you can see the image I'm trying to display underneath the first couple of items which happens to be hyperlink does not fill the entire space (i.e the class current that is applied to the anchor tag sort of create a border within which the image needs to be displayed, the problem is that in its original resolution (i can't simply change the width adn height of the image as it distorts the resolution) the image does not appear to fill the entire space that is it is sort of in the center of that border created using the class = current as shown above.
The question is this, is there any attribute that I can apply to the image either inline or using a class in a css which will enable it to fill the entire area created by the border.
Thanks
Tina
|
|
|
|
|
Does anybody know of a good chat application written in ASP.NET
modified on Wednesday, April 8, 2009 10:11 PM
|
|
|
|
|
...at all levels
[edit] the original question was "Does anybody know of a good chat application" [/edit]
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
modified on Thursday, April 9, 2009 12:57 AM
|
|
|
|
|
i m not understanding...what is wrong in this question...
|
|
|
|
|
I see, the OP modified the post.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
ha ha ha
|
|
|
|
|
I don't think ASP.NET is the right was to write a chat app, personally, although google chat is OK, MSN is much better for a variety of reasons, most of which have to do with it not being a web app.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
there are more chat applications available in google...
and.. if u want u can create your own chat control..with application variable...
i m using my own chat application in my asp.net application.
http://cutesoft.net/asp.net+chat/Default.aspx
this is one version...from CUTE soft
Regards
Rajeesh MP
|
|
|
|
|
Hi Rajesh, while posting in forum please make sure to whom you are replying. In this thread you have replied to CG message, but I believe you should reply it to the original tread rather than CG. Your post may help to the 'dotnetmember', but not CG . So this is my suggestion to you, that while posting make sure you are replying to the right post.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
thank you Abhijith..
now i checked yesterday posts....i did same like this for u also...sorry
Regards
Rajeesh MP
|
|
|
|
|
|
(I'm from germany but I try my best speaking english)
Hello everybody,
We are currently developing a webpage where people can upload pictures. Therefor we created an asp.net webservice to be able to upload pictures from various clients and operating systems via soap. This webservice has an "upload(byte[] b)" method. I'm currently working on a C# client. When uploading small files with a size of about 5kb, everything works perfect, but when I try to upload pictures in full size (which is 800x600 at about 40kb) upload sometimes fails due to timeout, although I set the time to 60 seconds, which is definitly enough. The maxRequestLength and requestLengthDiskThreshold are big enough. I wonder if there's another limitation which I have to edit (web.config, IIS, firewall) or if the problem is something different.
The webservice runs on win 2003 server and the client on win xp
Thanks in advance
|
|
|
|
|
circle-driver wrote: although I set the time to 60 seconds,
Where did you set your timeout?
Look Here[^] and here[^] ( see the timeouts section )
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
<pre><system.web>
<httpruntime executiontimeout="12136" maxrequestlength="12204" requestlengthdiskthreshold="12512" /></system.web></pre>
if u r increasing this values in web config....your session will not timeout
Regards
Rajeesh MP
modified on Thursday, April 9, 2009 1:05 AM
|
|
|
|
|
How do you know it does not time out? I don't know how the request is handled inside of the framework, but when we were making a java client and writing the soap-handler-class on our own with sockets and streams, the requests timed out, because we did some miscalculation on "Content-Length" and the Server waited for more, thus a bigger waiting-time wouldn't help.
Nevertheless I will give it a try and use extreme large values to make sure it doesn't help (No offence!).
|
|
|
|
|
Client:
UploadService.Service myService = new UploadService.Service();
myService.Timeout = 60000; Webservice(web.config):
<httpRuntime maxRequestLength="2048" executionTimeout="120" requestLengthDiskThreshold="tried different numbers" /> Since some pictures upload within a few seconds and others timeout after 60 seconds although they only have a slightly different size I guess there has to be another reason.
To make sure I give you all information you might need, here's how I created the proxy class in case it's important.
Wsdl /language:cs /protocol:soap /namespace:UploadService /out:UploadService.cs http:
|
|
|
|
|
maxRequestLength=".........." executionTimeout="....."
you give a big number
|
|
|
|