asp.net

jquery simple modal and insert on database

Hi all, i am using jquery.simplemodal-1.1.1 and jquery-1.2.6.min to create a modal popup. this is my problem: i can display the windows, can insert values, fiels, ecc. i have 2 buttons, save and close. when i click on save button, it triggers an event that execute, from code behind, an store procedure that insert some dates on my db. ...

:the format of file 'crystaldecisions.web' is invalid

i've created a web application using asp.net(visual studio 2005).its working fine in my laptop which is Xp loaded.But,when i copy the same into the server and run from there..it is showing the following error. :the format of file 'crystaldecisions.web' is invalid. I searched web and got answers like crysta report version issues....we t...

Https Implementation in asp.Net

How i can implement https login in asp.net and C# ...

ODATA Consume Service Operation from C# ASP.NET 4.0

I am connecting to an ODATA Service via a C# ASP.NET application, which has service operations such as: GetItems(int? itemID, double? price) I can consume this without issues in my browser, e.g. http://api.mycompany.com/companycatalogue/GetItems?itemID=4 I understand how to use LINQ to Entities to consume an ODATA service, but can'...

How To Access One UserControl from Another Using ASP.NET.

I have created a user control UserVote that has property to find total vote on particular question. Now I want to call it from an aspx page. The control code-behind (UserVote.ascx.cs) looks like: public partial class UserVote : System.Web.UI.UserControl { protected void Page_Load(object sender, EventArgs e) { DataTable...

Load jquery Ui Scripts in asp.net applications

is there any component or control exist for asp.net application that load jquery ui scripts and themes? thanks. Depend on this sample Can Any body help me and introducing component or control ? :) ...

Routing in ASP.NET

I need to use routing with parameters in my ASP.NET application. public class Global : System.Web.HttpApplication { void Application_Start(object sender, EventArgs e) { RegisterRoutes(); } private void RegisterRoutes() { var routes = RouteTable.Routes; routes.MapPageRoute( "Profi...

Need help with Ionic rewriter in ASP.NET

RewriteRule ^/main/mypage$ / [I] RewriteRule ^/main/mypage/$ /main/general/myPage.aspx?ID=$1&gid=$2 [I] Above's the ionic entry in my .ini file. Now, when I write the following in my code file and run it it says "file not found". What's wrong? str = str.Replace("#RESET#", "<a href='" + QAB.Con.mySite + "mypage?myID=" + ID + "&gd=" + ...

Applying like filter to an IQueryable

I'm trying to write a custom filter for Dynamic data that will allow me to run like type queries on entity columns. For example searching for john on name field to returen johnson, johns etc. I'm trying to override the IQueryable GetQueryable(IQueryable source) method on the QueryableFilterUserControl class. To filter my results. Does a...

Display a message if client validation fails?

I'm working on an application form for a website which implements ASP.NET validation (including client side). I have a requirement to display a message at the bottom of the page if the client validation fails. Something along the lines of "Please go back and check your answers". The problem is, the submit button's OnClientClick event o...

Repeater databound loses data & event on postback - is there a best practice solution?

Hi, Currently struggling with a problem that I've encountered variations on in the past. At the moment a worthwhile solution escapes me, but it seems such an obvious issue that I can't help wondering whether or not there's a "best practice" approach I should adopt. Without code, here's the issues in a nutshell: page has databound con...

correct code for sending an email, asp.net

Hi, I have a form that allows a user to send an email to everyone on a mailing list (linq table). I'm having trouble with the correct code and syntax for linking to the smtp server. using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web...

regular validation expression in asp.net

i have got a code to edit some function. There is a text box in that web application. It using a regular expression validator control to validate the text box. the validation expression is ValidationExpression="[\w]{3,15}" it accept all letters,numbers and underscores. but it do not accept special characters like \,/ * . i want to chan...

ASP.Net using multiple form tag and post them to another page

Hi, I don't know it's even possible but I try to achieve to post data from one page to another using the second form. The problem is I need a form tag for the user interface containing callback panels etc. I want to put a second form with some hidden-field: <form id="postForm" method="post" action="target.aspx"> <input type="hidden...

ASP.NET JavaScriptSerializer requires HttpResponse?

Hi It appears that the System.Web.Script.Serialization.JavascriptSerializer class tries to obtain the HttpResponse for the current request, presumably to apply appropriate character encoding. However this means that when you to to use the class with no HttpContext in scope, it blows up with the following exception + stack trace: [Ht...

What is the different between stringvariable != NullValue.String and !string.IsNullOrEmpty(stringvariable) in asp.net ?

Is there any different between stringvariable != NullValue.String and !string.IsNullOrEmpty(stringvariable) in asp.net ? then which is best ? ...

Calling Borland C++ Builder application from ASP.NET/C#

Hi, I'm new to Borland C++ Builder and the application that I'm working on has to be launched from a ASP.net application on click of a button. That ASP.net application is able to launch other EXEs (made in C#) but when my application is launched it crashes immediately with a msg "an error has is encountered, please tell microsoft about ...

Which assembly/DLL do I need in inetpub/wwwroot for launching aspx pages?

What do I have to add to c:\inetpub\wwwroot folder to serve aspx pages to browsers? My webproject is in this folder but I think I'm missing something for running ASP.NET and ASP.NET MVC webpages. ...

Record and save audio in c# .net web application

Is there anyway that I can record sound from a microphone using c# .net What is the best option if i have to save the audio online in terms of the file occupying storage space. Any particular format that the file should be saved in for optimum output. ...

system.exception

hi,while doing debugging i found a blue dotted corner around catch block, while hovering it is showing system.exception...what does it mean and what to do ........... ...