asp.net

& symbol not accepting in jquery ajax

Why & symbol not accepting in jquery ajax? ...

How to validate special character entry in any controls within a page?

I have designed a page where user can write messages and send within a group but i want that if they enter any special character like <>?#@ etc a msg should be displayed irrespective of the crashing of the page. Can anyone help me out??? ...

Graphic Upload process ?

hi, In my application i have a page where videos are uploaded. In this page i am doing video conversion, it will take time to video conversion, so i want to display the image or message while video conversion is under process, after that the display image should not display. can u help me i take some code form google search it is workin...

css for a content page is converting to "QuirkMode" in asp.net

hey guys, i have a page "shopingcart.aspx" in one of the contentplaceholder of master page, now when i load this page css is render just fine, but when i go to this page by postback e.g "shopingcart.aspx?itemid=1" then the css is rendering like quirkmode. All the content of the table are showin' bigger, any one out there faced this kind ...

ok so JQuery is cool and all but is it really wise to use it in your project ?

I am new to web development..learning asp.net..used some JQuery script so just wondering if it causes some performance issues or anything like that..Is it ok rather safe to use it ? ...

Thread is being abortted while deleting folders.

I am using web service method to run scripts it generated the some unwanted folders i want to delete folders after or before the script runs. ProcessStatus newProcess = new ProcessStatus( String.Format( "{0}, started:{1}", pro...

How to get a relative path in ASP.NET MVC

How do you calculate a relative path in ASP.NET MVC? ...

How can I attach custom behaviour to a double click in jsTree?

I'm using the jsTree jQuery plugin and want to execute code when the user double clicks a node. I can't seem to get it to work. I found some documentation on a ondblclk event but it doesn't fire. browser.jstree( { plugins: ["themes", "json_data", "ui", "cookies"], callback: ...

is compiler change the name of function ?

is asp.net compiler change the name of public methods that declares in "web control" ??? ...

ASP.net Response.Redirect on FileSystemWatcher event

I don't manage to use a Response.Redirect (or Response.Write) on a new FileSystemWatcher event. protected void Page_Load(object sender, EventArgs e) { RunFolderListener(); } private void RunFolderListener() { FileSystemWatcher fsw = new FileSystemWatcher(); fsw.Path = Server.MapPath("~/uploaded_images/"); fs...

New line in the gridview.

I have a webpage in which I let user to enter the contents ,even if they change the line frequently in the textbox , the gridview when retrieves it from the database doesn't show any new line.... Can anybody help me out..plz... ...

ASP.NET TableStorageProvider for Azure tables not persisting users ?

I have a windows azure Webrole application using Silverlight on top of WCF+ASP.NET. I found this useful ASP.NET provider for Azure tables in the Azure samples and implemented it. I authenticate my users with the WCF service System.Web.ApplicationServices.AuthenticationService. It works great: I create my users with a very simple ASP.NE...

key=value asp.net mvc with url get?

a little problem for ya. in master page i have a search input and link: <input type="text" value="Searche..." name="txtSearche" id="txtSearche" style="vertical-align: middle; height:14px;" /> <%= Html.ActionLink("search", "Search", "Search", new{ searche = "txtSearche???what is here"}, null) %> how can i write value in url "value" fr...

ASP.NET - Trapping client disconnections on long running HTTP requests

Hi all, I have a long poll HTTP request using ASP.NET 4, MVC 2 and AsyncController. If a user closes their browser and kills the HTTP connection without the request completing, I'd like to know about it and completely clean up after them. If I don't, the open and incomplete requests just sit there and eventually IIS stops accepting new ...

User control button click event

I am using an user control which have a button named 'btn_Save'.I need to fire an email on clicking the user control 'btn_Save' button. But I have do this from my aspx code behind page.So, How can I do this in code behind page using C#. ...

Zero rows in the db table

how can I check if the table which we are calling from the db doesn't have any rows to be displayed in the gridview.? ...

Metadata related exception when using Entity Framework 4

I use VS 2010 Ultimate. I created an 'asp.net web application' from scratch, added a 'ADO.NET Entity Model' to my project (EF4). The problem I'm having is that whenever I try and use an EntityDataSource to pull data out of my entity model I am near constantly getting the following error: "The metadata specified in the connection st...

Word Mail Merge for ASP.NET server

Need to do a mail merge for ASP.NET application. Considered just programatically using word directly but this has liscening implications and is not recommended (http://support.microsoft.com/kb/257757) So was looking into openXML / Word Automation Services. But not sure if can easily achieve a mail merge via this? ...

Clear Cache of a Compiled ASP.NET website?

Hi, I have various caches on my compiled website. However, I need to clear all these caches. Is there a way of doing this (without having to restart the server!)? Thanks! Curt ...

ASP.NET Forms login fails in Windows Domain

Hi, I'm currently integrating a web application into a customers network. The application has been successfully used many times. But here we've got the following problem: If the login page is requested just by the hostname everything works fine, but if the FQDN is used the login page just reloads withous doing anything. There's no erro...