In .NET there are 8 bytes of overheard for each object. 4 bytes are a pointer to the object's type. What are the other 4 bytes, known as the object header, used for?
I'm performing some custom js validation on my forms, triggered by submitting the form
$("form").submit(function (e) {
var validates = true;
// validation code goes in here
if (!validates) {
e.preventDefault();
e.stopImmediatePropagation();
return false;
}
})
None of the lines I've included to stop the submit event prevent the .NET control posting back. Is there some way (using js or setting a property in the updatepanel control) of stopping post back?
i have rename the table name of asp.net administration tool's website now its not working when i click on security it gives an error(invalid server name or credentials, or by insufficient permissions) so please let me know if any one have solution.
I am trying to build a web site using asp.net, so since i an not very good on the design
part.
I am wondering where is the best site to get a good template for my web site.
how can i check if a user is logged in in user control with asp.net mvc
usually on a view page i use this
<% if (User.Identity.IsAuthenticated) {%>
//Do something
<% } %>
but i can't get this done on a user control
i have a vb.net form with red background and white text on it now i want to change the opacity of only red background to 50% not actual text how can i do that
I am using ASP.NET Callbacks (that implements the ICallbackEventHandler) and in the handler, I try to set a value of the text box:
txtName.text = "Test";
but this value is not set. Is this a limitation with callback? It appears I cannot do much in a callback handler other than sending back a string to the client side (ofcourse I can access the Session etc)
Hi I want to know how to use the command close or would like some more info on
because if you use this method
Form2.Show
frmMain.close ()
the program is terminated and does not load the form2.
Then when I close the program appears the message "hello world"
vb6 enough to exploit the function Form_Unload, but in vb.net??
Thanks
HI everyone,
Just looking for a website or pdf reference which has a color palette of the .NET (Visual Studio 2008) foreground colors? (E.g. like AliceBlue, AntiqueWhite, Cyan....)
I have a .net application which needs to expose a service consumed by a java client. The service can't be public. There should be some authentication mechanism for the client. What is the best way to do this? I'm new to web services and am confused by all the soap, wsdl etc. and have also heard a lot that it'll be a pain to get the two to communicate. Your thoughts?
Hi,
what test data approach/framework is recommended for .net unit testing? I'm in VS2010, C#, doing business logic layer testing.
By approaches I mean like: creating database snapshots, programmatically creating each time, etc etc. Like what approach to use to ensure at the start of each test the database is in a known state.
I have learned quite a bit browsing through Hidden Features
of C# and was surprised when I couldn't find something
similar for VB.NET.
So what are some of its hidden or lesser known features?
Hi i am trying to build a website usign ASP.NET what is the best resource or way to learn it?
Also do i need DotNetNuke or something similar to manage my project?
Thanks in advance.
i want to play multiple swf files in a single shockwaveflash object instance one after other as a playlist..
so how can i create a playlist for shockwaveobject...in vb.net
hey all,
i was wondering if any one can advise me on how i can go about implementing a email and account validation feature in my ASP.net website. so when a user creates an account, an email is sent to the email address used, and the user needs to verify that email address to be able to logon.
thanks
I have an old redhat 8 box that I need to pragmatically send files to my webserver from. Disregarding the security issues with this, I've come up with the following way.
curl -F file=@<filename> http://webhost/reciever.aspx
The problem is, no matter what I try, the ASP.NET page is not accepting the file. What am I doing wrong?
Hi Friends,
There are several resources available on net to upload multiple files,
but using multiple FileUpload controls.
What I need to have multiple file selection dialog box so that user can select multiple files at one shot and then all files should be uploaded on one click.
Anyone of you have any idea?
Thanks in advance.
Hi
I am trying to do the following
I am building asp.net website with c# language
I want to read a text file from my project(the file is inside the project)
I tried to get the file Path by this way :
string path=Request.PhysicalApplicationPath+"filename.txt";
but I can't use The "Request" object from separated C# file ??
note: separated C3 file,I mean it's not related with aspx file
can you help me with my way or do you have another way ??
thx
I am looking for a finger print sdk that can run on .net compact frame work and can make use of the in built finger scanning hardware of pda's like hp ipaq etc .thanks
I'm writing a web page in ASP.NET. I have some Javascript, and I have a submit button with an onClick event.
Is it possible to call a method I created in ASP with Javascript's onClick event?
I wondering if I'm going to make a twitter app, but not sure which one of these libraries I should use. Any suggestions?
C#/.NET Libs
The app should be able to post new tweets, read tweets(from "All Friends"), read "Mentions" and Direct Messages. Possibly also a search function...
Hi at all.
I've the following problem: asp.net TextBox server side control, fire onTextChanged only when it loose focus.
I would like to fire my server side event each time user press a key.
How can i do ?
Thanks
I was wondering if anyone has come up with an ASP.net server tag for the HTML5 canvas? I was thinking of something where I could declaritively define paths, curves; etc in the aspx markup, and the control would deliver the js to do this (perhaps with support for browser detection, and delivery of an emulation script for IE browsers.)
Maybe a good idea for a Codeplex project for me to start up?
I want to create asp.net 4.0 dynamic pages loaded from my MS SQL server. Basically, its a list of locations with informations. For example:
Location1 would have the page www.site.com/location/location1.aspx
Location44 would have the page www.site.com/location/location44.aspx
I dont even know where to start with this, url writting maybe?