asp.net

jquery autosuggest issue with asp.net ajax modalpopup extender.

I am using asp.net ajax modalpopup extender and jquery autocomplete. when i search in the textbox, the autosuggestion is displayed to the back of the popup. Its not sticking to the textbox that i am searching. is there any work around so that i can display the suggestions which would stick to the textbox. ...

ASP.net c# FileUpload, don't overwrite file

With the following code: protected void Button1_Click(object sender, EventArgs e) { if (FileUpload1.HasFile) { string fileExt = System.IO.Path.GetExtension(FileUpload1.FileName); if (fileExt == ".jpg" || fileExt == ".jpeg" || fileExt == ".gif" || fileExt == ".png") ...

Getting erro in Dropdown control selectedindexchanged event?

hi, in my web application when i select a dropdown control which is giving error like. Cannot have multiple items selected in a DropDownList. This is my code... try { ddlState.Items.Clear(); ddlState.Enabled = true; ListItem li1 = new ListItem(); li1.Value = "0"; li1.Text =...

ASP.NET page using only Response.Write

Let's say I have some Classic ASP pages that produce all output via Response.Write. I would like to port these pages over to ASP.NET, but (at least initially) avoid a total rewrite. How should I set up my ASP.NET project to facilitate this? I assume I would have empty .aspx files and put the VB.NET/C# equivalent of the VBScript code in...

How can i set my own default error page in asp.net ?

Hi if a request from my website is containing some errors(database linking errors) then asp.net host server error page is displaying but i want to avoid the error page and i hav to display my own custom designed error page instead. ...

Log4Net problem on IIS 7.5 in Windows Server 2008

I have a WCF service running on Windows 2008 R2 64 bit, using IIS 7.5. My appender is logging to a local file, and on my XP workstation a log file is being created in the application folder. Log4NEt is not logging anything on the server. I have tried the following: Ensured that my application pool is running as a domain user account...

Pop up window in asp.net ?

Hi,How can i bring up my messages in a pop up window with asp.net-C#? im cool with javascript ! Is there any idea related with c#? ...

Web File Organization Best Practices - ASP.NET - Web Forms

Hello, please guys could you give me your opinions how to organize files for a Simple CMS project using asp.net WebForms? For example for admin section... would you make sense divide all main group section in different folder ex: ROOT ADMIN Default.aspx CATEGORIES CreateCategory.aspx ...

Develop Site Map for a Website

I am developing a web site using ASP.Net and c#. I need to design a site map for the web site. So can anyone suggest how to proceed? ...

Whats the best way digitally sign a zip file for download using .Net

Whats the best way to digitally sign a file server side with .Net before offering it for download via an asp.net based web site In addition how do I trigger checking of the signature and hence prove the file has not been tmapered with during the download process in a web browser ...

more then one form element can be present in asp.net ?

hi all i want to know is it possible that in one aspx page there will be more then one form element ? ...

Making a web page as a default page for the server name where the application is hosted

Hi All, Suppose I have a server wid some virtual name as ABC. And also I have a .Net web application XYZ with some .aspx pages like Home.aspx etc. Now if I want to make Home.aspx page as the default page when I type the server name in brower the Home.aspx opens automatically. what I need to do in this case. Currently Iam accessing the...

can you give any asp.net control that is not rendered as html ?

hi all is there any asp.net server control that is not rendering in html page ? for instance <asp: TextBox runat ="server" id="Textbox1"><asp:/TextBox> is rendered as <input type="Text" id="textbox1"/>? i think you would understand my question ? ...

Client side update - PHP / ASP - email inbox

In gmail, I see that the inbox is automatically updated when an email is arrives. How is it possible in PHP or ASP to handle such sort of updating client side website from the server? I guess in the browser chat it is the same process. Thanks. ...

Referenced-Assembly version auto updating

Hi All, I have on my machine (Windows 7, VS2010, .net 4.0) an asp.net 2.0 website which works perfectly. When I try to publish this website on another server (Windows 2003 Server, .net 2.0) I get the message Could not load file or assembly 'System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' o...

Best way to represent dynamic matrix data in asp.net

I am facing a difficulty in representing the student score card data in a dynamic matrix format. The rows and columns both are dynamic. And each column in turn has 2 cells having different values. To explain more in details let us assume a Student Subject matrix where Each Subject is a row - The number of rows decided by the user select...

Problem with passing xml data to webservice and return the xml file as result back from ajax -jquery call in clientside

I have jquery ajax call to webservice for which i am passing xml parameters as data ,when i run the code the flow is not reaching webservice GetList method at all, can anyone track what may be the problem should i make any changes to my webconfig file or refer any latest jquery file to get the code running sucessfully $.ajax({ ...

why we use code-behind approch in asp.net ?

i want to know that why we use code behid approch. if there is some advantage then plese share to me ? as we know that there is two methode for writing server side code for aspx.file code-behind approch in which we usually we seprate our server code aspx.cs file from aspx file we can directly write server side code in aspx page by w...

How to hide column name in view. Using Visual Studio ASP.net and SQL.

Hello, how to hide the name of the requested column when i show the data in an ASP.Net web application. problem is: i request some data from a sql table and show it on an asp.net webpage. now it shows the data but adds the column name in front (both in Listview and DataList). Like this: Columname: Data. How do i avoid the columnname bee...

Bug with tuple and Typed views?

Got a werid problem with a view, if i define it with Inherits="System.Web.Mvc.ViewPage<List<Tuple<string, DateTime?, double?, double?, double?>>>" i get the werid error: CS1003: Syntax error, '>' expected Line 118: public class views_report_intrestcalc_aspx : System.Web.Mvc.ViewPage<List<Tuple<string, System.Web.SessionState.IRequ...