asp.net

How to send gmail email with asp.net - c# ?

hi i want to send a some form entries resulting in a postback to be mailed automatically with my gmail account to the target mail id entered by the user with asp.net - c#? ...

Failure email becomes unformatted

I am sending email using asp.net and it is working fine. But when an email gets failure to deliver then the failure email which i get becomes unformatted. the email contents are in html format and attached .doc files. i am smtp for sending emails. i think that, this is not because of code i am using to send email so i am not putting se...

How to let users choose their town, so my app can know coordinates

I am starting my first Open Source ASP.NET project in C#. Data that Web app is going to show is in close relation with geographic coordinates of towns. Now I want to implement user interface where user of web app can choose a desired town and submit form, and behind scene i want to get coordinates of chosen town, so I can make calculati...

Which .net technology to choose when integrating RFID?

I have a RFID reader which reads my employee code. Now i want to log the date and time of the chip when it is scanned by the reader (ie) for an attendance system Login time and logoff time. I would like to use asp.net MVC and sql server 2005. Any suggestion how to integrate RFID with an asp.net mvc web application. Where should i start? ...

How to make NHibernate serialize a given property to a binary field?

Hi everyone, I have a simple ASP.NET MVC web application that uses NHibernate with FluentNHibernate's auto mapping feature for its data access. I have encountered a scenario in which I would like NHibernate to persist some classes as binary data. For example, I have something similar to this: public class User { ... // This f...

Dropdown list value when enabling and disabling through javascript.

I am using a asp.net Drop down list control which is disabled using javascipt, when I am trying to retrieving the value server side the default value is being set on postback. It is a Web Project and Iam using VS2008. ...

ASP.NET: accessdb odbc - when getting an exception, how can i see the full stack trace?

Hello. Using ASP.NET as programming language on IIS Server. the Database is access and i connect to the database using ODBC. when i fill some form in the website and press submit i get an exception: Server Error in '/' Application. Description: An unhandled exception occurred during the execution of the current web request. Please re...

System.Net.Mail.SmtpException: Mailbox unavailable.

Hello, I've been getting the following exception when trying to send an e-mail using System.Net.Mail: Unhandled exception in Service Thread: System.Net.Mail.SmtpException: Mailbox unavailable. The server response was: Requested action not taken: mailbox unavailable at System.Net.Mail.DataStopCommand.CheckResponse(SmtpStatusCode stat...

Extracting data from an ASPX page

I've been entrusted with an idiotic and retarded task by my boss. The task is: given a web application that returns a table with pagination, do a software that "reads and parses it" since there is nothing like a webservice that provides the raw data. It's like a "spider" or a "crawler" application to steal data that is not meant to be a...

Tab space in ASP.NET listbox

Hi, Anyone know how to insert tab characters in an ASP.NET listbox? I want to use it so that all my items are lined up because i have two fields on each line a number and a name. In winforms all I have to do is: Listbox.Items.Add(number + "\t" + name); But in ASP.NET Webforms this doesnt work any ideas? ...

What is the difference of using asp.net validator controls vs JQuery for front end validation.

Hi, Could you please tell me the difference between using asp.net validator controls vs JQuery for front end validation? What happens if the user turns off javascript on their browser? Thank you.. ...

Module Not Found Exception From .NET 2.0 Web Service On Windows Server 2008 R2

Hi, We have an issue with a .NET 2.0 web service application that is generating a module not found exception when we try to load on server 2008. A second server running the same 2008 version loads the service fine. As part of the investigation we have taken the default hello world .NET 2.0 web service and deployed to both servers and h...

Call server side function from client side javascript

Possible Duplicates: how to call server side function from client side - asp.net Calling ASP.NET Code Behind function from Javascript Calling ASP.NET server side method via JQuery hi guys, While loading an aspx page, how is it possible to call a server side method with the client side code?Can u show one example? ...

Parse a custom JSON object in .Net?

For my ASP.Net application I need to use a HTTP REST API that returns a JSON object. Here's how the JSON looks: message: [ { type: "message" href: "/messages/id/23" view_href: /this-is-a-test-message/m-p/23 id: { type: "int" $: 23 } }, { //... } ] I could use the DataContract...

Ajax issue: delay in getting data from web service using innerHTML, please guide

I am working on an ajax application which will display about a million records in an html table. Web service returns records from server, I build a logn string by concatinating data and tags and than put this string using innerHTML (not using DOM for getting better performance). For testing I have put 6000 recods in database (stored pro...

App_Code folder - are you missing a using directive or assembly reference

I have a cs file called MyCustomColumnClass.cs on App_Code folder. It has a public class called MyCustomFilteringColumn : GridBoundColumn The namespace is MyStuff. on an aspx page if (column is MyStuff.MyCustomFilteringColumn) { (column as MyStuff.MyCustomFilteringColumn).ListDataSource = GetFilterTable(column.DataField); } E...

ASP.NET C# ListBox server control will not disable

I have 4 server side ListBox controls. All of them have their Enabled property set to false, yet when rendered they are definitely enabled. They are all multiple select. These have no data binding or any code behind touching them. Below is the markup for all of them (save the ID). I am running v4 of the .NET Framework with IIS6. <asp:Li...

Dynamic Link Button not doing anything on click

Hello! I'm trying to fix a problem with some code (not written by me) lnkbtnPageNumber.ID = "PageNumberCustomerRef" + intPageNumber.ToString(); lnkbtnPageNumber.Command += new CommandEventHandler(lnkbtnPageNumber_Command); lnkbtnPageNumber.CommandName = "DepotRef"; ...

AJAX vs JQuery Tooltip - UpdatePanel

I'm trying to implement flowplayer.org's JQuery tooltip http://flowplayer.org/tools/demos/tooltip/form.html into my webapplication (C#.NET). I have the following script at Master.Page: function createTooltip() { // select all desired input fields and attach tooltips to them $("#aspnetForm :input")...

Changing the namespace in ASP.NET .ASMX webservices?

I'm trying to call an ASP.NET .asmx webservice, from javascript, using other than the default namespace that Visual Studio uses when it creates it. When I use the Visual Studio wizard to create a webservice named Hello, in the folder WebServices, it creates this: namespace MyWebSite.WebServices { [WebService(Namespace = "http://tem...