i am using below code to print my content of webpage in asp.net using javascript
window.print(document.getElementById('dvPrint'));
when i do print, it automatically adds date time on page.. (i think because of page setup) in firefox. please tell me how can i remove this setting. i mean i dont want datetime to be printed automatically on my print page (even if its set in pagesetup).
This question (http://stackoverflow.com/questions/245566/net-compact-framework-4-0) asked this back before the release of VS 2010. The answer basically said to wait for the release.
Now that the release is here, does anyone know? Is there an upgrade/update to the .NETCF? something past .NETCF 3.5?
In unmanaged code you can create a thread in suspended state. In .NET Framework I can't find this option. Is it because the Thread constructor puts the thread in a suspended state? Is there other reasons why this is not supported?
I'm curious if anyone has done any performance comparisons with any or all of the main players in the .NET ORM space. Specifically I'm interested in comparisons between the following:
Linq to SQL
NHibernate
LLBL Gen
Entity Framework
Though it seems people don't really consider Linq to SQL a true ORM, I am still including it in this list. Some performance metrics would be nice to see.
We have message framing working by using a lengh prefix but using .NET 2.0 beginSend/BeginReceive.
Is message framing any different in 3.5, if so how should we implement it using the new framework?
Are there any useable examples out there which focus purely on message framing using 3.5?
Many thanks
I am trying to build a website consist of three pages but with a contact form using ASP.NET. Now that I have build the layout and all xhtml/css and some javascript and next I wan to convert it so that it's dynamic and can send email.
Do I need to convert it using Visual Studio or just rename files from .html to .aspx? and then create a form in Visual studio?...
Confused :(
Hi all,
I am looking for informations about the security model of Microsoft .NET
If you could explain me how it is design, or give me links to understand it, it would be very kind of you !
Thanks.
What is the best way to interop with NHibernate 2.0 and ASP.NET 3.5? How can I easily develop a CRUD application?
Is the ObjectDataSource the way to go?
Thank you.
I have a procedure in asp.net web site that gives strange result sometimes, I’m thinking to add some code to track it. My question is, in the production environment, is there any way that I can get the calling stacks like the one in the exceptions?
thanks.
How do I cache an individual user control with ASP.NET MVC? I also need the VaryByParam etc support that usually comes with ASPX Output Caching. I don't want to cache the entire action though, only one of my user controls in the view.
An example would be nice :) Thank you!
hi .. im want to learn how to build a web service using vb.net.
unfortunately i could find any websites that provides good tutorial..
can any one suggest a web site? thank u in advance ..
Hello how can I have like a catalog for a property in .net VB .. I mean if i have
Property funcion(ByVal _funcion As Int16) As Int16
Get
Return _funcion
End Get
Set(ByVal value As Int16)
_funcion = value
End Set
End Property
I want to be able to assign to this property a limited number of options.
Example ..
Dim a as trick (the class )
a.funcion = (and get a list of possible attributes) ...
Thanks !!!
What happen if web.config gets updated while ASP (ASP.NET 2.0) server still process client request?
- Will the process be killed?
- If not, will the process read the updates in web.config.
thanks for any input
.NET 4 includes new concurrent data structures. The Bag and Dictionary collections have obvious applications but I cannot see any use for the Queue and Stack data structures. What are people using these for?
Also, I've noticed that the design based upon linked lists incurs a lot of allocation and that destroys scalability. This is surprising given that the sole purpose of these collections is multicore programming. Is this an inherent limitation or are they just badly implemented?
Hi, i was wondering.. if i have a static method on an asp.net web site (plain vanilla), is that accessible by all users of all sessions?
I guess what i am saying is the single instance of a method available to each client? or is there 1 instance for all clients for the site..
Can someone please direct me on how to do this type of setup, i.e. I have a Windows Server with ASP.NET pages and would like to pass those credentials using Integrated Windows Authentication to a Linux-based Oracle DB.
I would like to execute a stored proc that simply updates a record. At this point I would like to keep it parameter less. But in future, I will be adding parameters to the stored proc. Can I simply do it via SQLDataSource? It will save me writing few lines of code to execute stored proc in a traditional ado.net. If its possible, could you please supply me with a sample code?
Thanks
I start learning ASP.NET few days. I don't know why my computer hangs when I debug my very simple application? My computer hangs, not only IDE hangs? Please help me!
As far as I know, for installation of an assmebly for .NET is as follows.
'gacutil /i nunit.framework.dll'
And for the mono, set the directory to MONO_PATH is doing the job.
Is this correct?
Hello,
I'm on an asp.net page and I want to redirect to another page and then come back to the original page in the same spot to finish executing the original page. I heard that Server.Execute might work. My question is how can I accomplish this or can I accomplish this?
I need a way of generating a word document (from a template or something) and inserting an image at a specific place. Does anyone have any pointers on the best way to do this?
I worked on a project that used Office Automation in .NET 1.1 a few years ago, and it was really unspeakably poor. I'm assuming OA has either been improved or been superceeded by a better solution, but I'm not finding much advice on google.
Pure Chat looked great but it was discontinued. Damn.
Any other great chat programs for ASP.NET? Looking for one that can be used in Operator Help mode.
I want to be able to find the old value of a asp.net control (textbox, checkbox etc) without relying on events (e.g. OnTextChange event). Something like "someTextboxControl.OldText" would be perfect! I imagine that it is stored in the viewstate and need to somehow get at it via a custom control. Any ideas?
I recently read this Phil Haack post (The Most Useful .NET Utility Classes Developers Tend To Reinvent Rather Than Reuse) from last year, and thought I'd see if anyone has any additions to the list.