Hi All,
I am using asp.net 3.5 and C#.
I want to change my mouse cursor similar to this site
http://dummyblogtrix.blogspot.com/
How can I do the same ?
Please help.
Thanks in advance
What error handling should be used in VB.NET?
Should you use the "On Error Goto ErrorHandler ... Exit Sub ErrHandler ... End Sub" pattern or should you use the "try { ... } catch { ... } finally { ...}" pattern?
I have a problem with a custom built ASP.NET MVC2. The strongly-typed views break as the viewdata is treated as 'Object' instead of the corresponding type.
The same views work perfectly with the default MVC2 from Microsoft.
I recently moved to Visual Studio 2010 and upgraded my website to work with .NET Framework 4. (From VS 2008 - Framework 3.5)
What are things I need to know to improve site speed, readability or memory use?
For example, I found out that when I use AJAX ScriptManager, one of it's new properties is EnableCDN which enables me to load AJAX .js files from Microsoft CDN.
I want to put an unique image (1x1) on an e-mail marketing (not spam) of my client. Just like www.spypig.com, I'd like to use it to know how many people have actually read the e-mail. I guess I'll have to check how many times this unique image has been accessed, but I can't figure out how to do it.
So my question is: Is there a way to check how many times an image file was accessed using ASP.NET/C#?
Thank you
Hello frineds,
I need to retrieve the current date in asp.net and then compare that with the date given by the user in textbox1.text(mm/dd/yyyy format), if date date given is greater than current date then error else add 4months2days with that date and display it in textbox2.text.
help me please,
thanking you guys,
Indranil
Hi all,
I'm looking for a .net library that will enable me to extract block attributes out of a autocad file. I don't mind paying for a developers licence but I should be able to freely redistribute the library itself without additional costs.
Is there a lib that suits my needs?
greetings,
Coen
I am getting an asp.net site developed and need a program which will generate barcode's.
So far all I have found is http://www.barcodelib.com/purchase/main.html#pricebarcodenetweb
Does anyone know of an open source alternative? or a cheaper alternative.
There are many Logging frameworks for .NET, from simple Debug.WriteLine and Trace to Log4Net, Logging application block, NLOg and others.
Which one do you use or recommend, and why?
Also, which one would you recommend to NOT use, and why?
With plain old sdl in C i would copy the dlls i need into the exe directory and was able to run without install.
Now i am using sdl.net. I tried doing that but had no luck. Not even a clue to what dlls are missing as i did in the old C way. How can i have users run my sdl app without installation?
I just installed a number of updates to my machine, and am now encountering the following error when I run an asp.net MVC application on my local machine:
Compiler Error Message: CS0006: Metadata file 'C:\WINNT\assembly\GAC_32\System.EnterpriseServices\2.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll' could not be found
I have removed the reference to this from the project (not really sure why it was there in the first place) but still get the error.
Any idea on how to resolve this?
I need to use the RGBRast software renderer for a DirectX application I'm developing. Currently I'm just including the DLL with my install.
I have read a few places that it is also included with .NET 3.5 SP1. Is this true? If so, where is the DLL located?
This redistributable component can be downloaded from:
http://www.microsoft.com/downloads/details.aspx?familyid=57d03491-6c49-4429-bff7-130408b5f410
I need to compare tables with the same names in different databases ( Sql Server 2008 ). How using C# code and ADO.Net to identify additions, deletions, updates. Is DataReader going to work in this scenario without stored procedures ? DataReader seems to be suitable for single database connection, or am I missing something ?
Inherited properties and MetadataType does not seem to work with client side validation in ASP.NET MVC 2.
The validation of our MetadataTypes work as expected on the server but for some reason it does not generate the appropriate client scripts for it. Client side validation kicks in as expected for properties with the DataAnnotations attributes set on the PersonView so I know that client side validation is active and that it works. Does anyone know if or how it can be fixed?
Here's what we have:
public abstract class PersonView
{
public string FirstName { get; set; }
public string LastName { get; set; }
public string Email { get; set; }
[Required] public string PhoneNumber { get; set; }
public string AddressLine1 { get; set; }
public string AddressLine2 { get; set; }
public string AddressZipCode { get; set; }
public string AddressCity { get; set; }
public string AddressCountry { get; set; }
}
[MetadataType(typeof(CustomerViewMetaData))]
public class CustomerView : PersonView {}
[MetadataType(typeof(GuestViewMetaData))]
public class GuestView : PersonView {}
public class GuestViewMetaData
{
[Required(ErrorMessage = "The guests firstname is required")] public string FirstName { get; set; }
[Required(ErrorMessage = "The guests lastname is required")] public string LastName { get; set; }
}
public class CustomerViewMetaData
{
[Required(ErrorMessage = "The customers firstname is required")] public string FirstName { get; set; }
[Required(ErrorMessage = "The customers lastname is required")] public string LastName { get; set; }
[Required(ErrorMessage = "The customers emails is required")] public string Email { get; set; }
}
As you can see, it's nothing fancy or strange in there... Can it be fixed? Is it a bug in ASP.NET MVC 2?
I migrated an asp.net app to 4.0. Now I am getting an error "The type or namespace name 'IQueryable' could not be found". The reference to System.Linq is invalid and I can't find it in the reference list. Where did System.Linq go?
Hi there I have a situation where I need to make to call to a normal .aspx page from asp.net mvc web application. How can I make this request and get data back from the page. the data will be returned on on the page_load event of the .aspx page
I need to calculate averages, standard deviations, medians etc for a bunch of numerical data. Is there a good open source .NET library I can use? I have found NMath but it is not free and may be overkill for my needs.
Let us say I have a url of subdomain.domain.com. Is there a way in ASP.NET MVC to have a url of say otherdomain.com/gotothesubdomain that takes you to subdomain.domain.com? I know that a simple redirect could do it, but I want the url to stay as otherdomain.com/gotothesubdomain.
Any advice would be greatly appreciated and thanks!
Hi there,
I need to create a .Net windows service to monitor a mailbox and process attachments (if found) on the emails and then delete the email from the server.
I have two questions I'd like your thoughts on:
POP3 or IMAP to connect to the mail server?
Which POP3/IMAP library should I use. At this stage we're just doing a proof of concept, so a free one would be my preference.
Cheers!
I understand thatthe PropertyProxyValidator integrates with the ASP.NET UI. But, it cannot do client side validation. How would it be any different from throwing in a label in the UI and populating the errors on the server side?
Also, If I am using Validation Application Block, what approaches do you suggest for client side validation if I don't want to duplicate rules on server and client side?
Hi,
In asp.net two overload method of Response.Redirect() exist.
Public Sub Redirect ( _ url As String )
Public Sub Redirect ( _ url As String, _ endResponse As Boolean _ )
I would like to know the diffrence between these two? and which one should i use?
Need Help in converting this to VB.NET
public void GetCustomers(Action<IEnumerable<Customer>> onSuccess, Action<Exception> onFail)
{
Manager.Customers.ExecuteAsync(op =>
{
if (op.CompletedSuccessfully)
{
if (onSuccess != null)
onSuccess(op.Results);
}
else
{
if (onFail != null)
{
op.MarkErrorAsHandled();
onFail(op.Error);
}
}
}
);
}
Assuming daily certain up to date database is produced via loading from various sources.
Changes need to be applied to historical database based on uid, new records will added , non existing will be softly deleted , some will be updated. Is Ado.Net and Sql statements the most appropriate technology for the task like this ?
I have an asp.net menu control in my application.Each node is an image of different color and the styles of the subnodes are set in the sitemap.How can I set the mouse hovering of back ground color for each subnode which is of different color?