asp.net

muti column listbox in apsx

Dear All, I am creating a list in my apsx form with two column which i will inturn use the list to populate a table in a DB, for instance. FOLDER | ACCESS U: DRIVE | READ F: DRIVE | WRITE G: DRIVE | READ I WANT TO CREATE A LIST LIKE THIS B4 POPULATING IT IN A DB...

How to create a connection string uning Visual Studio 2010

Hi, How to create a connection string using Visual Studio 2010? thanks ...

How to catch command prompt errors in asp.net code?

I am running ffmpeg.exe from command prompt through asp.net code. Is there any method to know success and errors of the ffmpeg.exe execution in asp.net code ? My code is as follows: string OutputFile, FilArgs; //output file format in swf //outputfile = SavePath + "SWF\\" + withoutext + ".swf"; Outp...

Button onclick error

Given the form: <form runat="server"> **Omitted field data for simplicity** <asp:Button runat="server" id="btn_addNewPrice" OnClick="newPrice_click" Text="Add New Price" /> </form> And the code behind: // A new price has been entered void newPrice_click(object sender, EventArgs e) { // Get form values D...

How to see text from one text field in another text field?

Hello all, I have a tricky questian this time...for me anyway.... clarify: i am using a virtual keyboard that has to work on deferent text fields, and deferent pages, every time i click on a text field it sould pop up and every key i press i need to show on the text field....the problem, as every one knows, is to bind a deferent text f...

SqlException timeout on GetConnection, but only from one node in a cluster

We have two nodes in a cluster. Both run an ASP.NET web application that connects to a database on another server. Node1 has no problems, but Node2 throws SqlExceptions, stating there's a timeout. The stacktrace shows me it's on DbConnectionPool.GetConnection. I checked the versions of our DLLs, the web.config files, the connection stri...

how to give authentication pf any page ? give the code to solve this question

i want that only sign in user can only see the page .other user cannot see befor sign in? ...

utf-8 charcter problem in code behind

Hi there, I have a web site and it has some words with Turkish characters (ü,ş,ö,ç). There is no problem while is viewing. But when i want to use that words in code behind for example CheckBoxList.SelectedItem.Text, they are looking as html codes. For example; a label's text value is 'EYLÜL'. but when i looking that label's text value ...

When configuring the Dundas Web Chart, why do I need a both url AND Dir values?

We use Dundas ASP.NET charts on our website. Our website runs on multiple servers and we use Dundas Ajax functionality, so we need to ensure that Dundas stores it's temporary images in a central location. According to Dundas documentation, we can configure the chart handler as follows: <appSettings> <add key="ChartHttpHandler" value="S...

Why not running Microsoft.Office.Interop.Outlook in asp.net?

I wrote some code about sending mail, Task, Appoinment etc. For example you can add someone to your outlook contact list over asp.net page. Every thing is ok on my local machine. But if I publish my application to a server I can not add noone on my outlook. Please help me it is important. ...

c# String to datetime

DateTime frm_datestart = DateTime.Parse(dateStart.Text); This line throws the error: Exception Details: System.FormatException: String was not recognized as a valid DateTime. Where the entered string is from Jquery-UI, examples: 09/29/2010 09/30/2010 Anyone know what the correct format should be? I'm suprised this isn't...

Outlook 2007 + Asp.net C#

My requirement when user selects a particular mail and clicks the menu item it will display the particular mail details (To, cc, bcc, subject, Body, attachments…) in custom form. ...

How to protect Application pages and show as per the logged in user when using asp:login control

Any idea will be really appreciated Thanx ...

How to create default users in Web.config for Membership

Hi , how can I add default users in my web.config to test my asp: login control Thanx ...

Use FormView to Insert to database

Hi, I am having a problem getting the FormView Control in Visual Studio 2010 inserting data into a SQL database I have managed to view the data that is currently in the database but when I click insert I get an error message I just don't understand what I am doing wrong Thanks! ...

Loading ScriptManager only once either from Master page or Content page

I have an web application of 200 web pages and all has a single master page. Most of the content pages use AJAX controls so most of content pages has its own ScriptManager. Now I have a requirement to add a link with HoverMenuExtender control and for that I need to put ScriptManager in the Master page, but it is working only in the conte...

Save stream as image

How to save stream as image and store the image in temp files? ...

Redirect default.aspx

I have an ASP.NET project. Currently, it starts on the Default.aspx page. However, I’d like to change this so that it starts on a different page. In VS2008 it is possible to specify the start page, but that doesn’t seem to affect the published product. I’ve tried putting a Response.Redirect in the Page_Load of Default.aspx, but that ...

master page menus

Hi Am running Asp.net web application.My doubt is while designing the master page whether have to made any changes to the C# code too according to the project... ...

Problem in email validation.

I have used regular expression in email field validation . But after i used session and authentication in my website,none of the regular expression is working for me. Can anybody help me out of this??? ...