Causing PostBack

100 byte By Martinez at 2007-11-25 6:50:44
How to cause a postback? For example I would like to cause postback twice after cliking on a button.

Converting string to XML format

352 byte By query4u at 2007-11-25 6:50:53
Hi,I have written an web application (ASP.net using C#), in that i am using a web service, i am passing parameters to webservice method & it is returning me the data in string format. I want to convert that string format data into XML format so that i can read that data & i will store into my databa...

How to read data from a particular node of XML using C#

534 byte By rahulsri19 at 2007-11-25 6:52:02
Hi all, I got struct at a portion where i have to display error msg in my web page from XMLcode of xml is as follows...<?xml version="1.0"?><errorMessages> <message key="100" value="Please select at least one record" /> <message key="101" value="Please select at least one bat...

photo datatype

167 byte By yshie at 2007-11-25 6:53:59
sql server<br/>how will i insert image in a column? do i have to put the image filename like image.jpg? i tried it but doesn't work.. or i maybe missing something

Load new .aspx page with code

819 byte By tokfrans at 2007-11-25 6:54:10
Hi, i'm making webbased form where a user can fill in some texboxes with there email-adress and other data and submit with a button. once submitted I want to go to another page and pass the information whether the mail was successfully sent or not. I'm pretty new to the ASP world so I dont...

Treeview problems with childnodes depth

2676 byte By simsen at 2007-11-25 6:54:17
Hi,I have the following treeview, wich works perfect if I only have a depth of childnodes of one. But my problem is that my menu has a childnode depth of two... Like thisHomeProducts--Dogs--Food--Brushes--Cats--Food--Brushes--HorsesLinksMy code only expand (when I click on Products) and showsHomePro...

WebService Layout

155 byte By Quell at 2007-11-25 6:56:34
Hey.<br/>I was wondering if it is possible to modify the WebService gui, or if i need to make a wrapper for the web service to get the desired gui?<br/>Thx

Password Lock

285 byte By gayatri01 at 2007-11-25 6:57:06
hi all<br/>i want detailed code for --<br/>if password is entered incorrectly 3 times then lock the password and display a warning message."account has been locked", please contacct the system administrator."<br/>i am new in asp.net,so please give me a detailoed code.<br/>gayatri

response.redirect is defaulting to servername instead of the relative path

896 byte By dhersh at 2007-11-25 6:57:11
Hi Everyone, I have spent the past 10 days pulling my hair out over this issue. I recently had to format my production server and now I am having the following problem:Anytime I call response.redirect, the site defaults to the name of server instead of maintaining the relative path. In other to try...

RowEditing in gridview

546 byte By unspoken_words2003 at 2007-11-25 6:57:28
asp.net 2.0vs 2005 C sharp,web based application.I am using Gridview control in C Sharp,I have Edit and delete fields .But when i click them,it diplays the following error.The GridView 'uxExisitingUsersGridView' fired event RowEditing which wasn't handled. Its not even going to the f...

Storing Word file on the SQL database.

233 byte By unspoken_words2003 at 2007-11-25 6:59:09
Hi,<br/> I want to store a file(Word,Pdf,text...)into my SQL database from the Web based application.How to proceed?<br/>Any code snippet?<br/>I am working on <br/>C sharp.<br/>asp.net 2.0<br/>VS 2005<br/>regards,<br/>sy

How to disable back button of internet explorer using asp.net

146 byte By rahulsri19 at 2007-11-25 6:59:13
Hello all,<br/> I want to know how to disable back button of internet explorer. I am working on C# asp.net in visual studio 2005.<br/>Plz help...

WebParts

238 byte By nagarajug at 2007-11-25 6:59:31
Hi,<br/> I am new to webparts. I want to implement webparts personalization user wise. But we are not using any authentication.<br/>Anybody have the idea of configuring the personalization.<br/>Thanks and Regards,<br/>naag

web service setup, getting user information on installing [v-urgent]

608 byte By steve1_rm at 2007-11-25 6:59:41
Hello,VS 2005I have created a web service and the web service as a connection string in the config file.Only the user will know the connection string details when they first install the web service. i.e. server, user id, database etc.I have created the setup using the msi webSetup.However, my proble...

GridView row background color

326 byte By Martinez at 2007-11-25 6:59:48
How to change background color of a desired row? I tried something like that:protected void Button1_Click(object sender, EventArgs e){GridViewMain.Rows[1].BackColor = System.Drawing.Color.Red; } but it doesn`t work :( Thank you very much for any help in advance...

Problem with 64 bit operating system.

3844 byte By Vinod S at 2007-11-25 6:59:54
Dear all we have developed an application site in Atlas frame work. In this we are reffering to some office dlls using interop service for graphing fecilities. Now the problem is its working fine in development machines and once client site with 2003 - 32 bit operating system.when we go another clie...

Passing values between asp pages

1080 byte By terickso at 2007-11-25 7:00:31
I am trying to get passing of values between two asp pages I have done the followingsource has in a button for the post back pointing to ~/targetpage.aspx public int NeededData { get { return _neededData; } }target asp has the following&l...

Securing Web Service/Web Site Communications

426 byte By Quell at 2007-11-25 7:00:48
Hey.I am looking for a non intrusive way of only allowing certain client to connect to the web server/web site. I don;t want anything as inconvinient as a login screen. I was thinking something along the lines of windows authenications but over WAN.Is something like that possible? I am not looking t...

modify connectionString at run-time

1135 byte By steve1_rm at 2007-11-25 7:01:52
HelloVS 2005I have my connection string in the web.config as followingsappSettingsconnectionStringsadd name="serviceMasterConnectionString" connectionString="Data Source=CF_DEVELOP\realitysql;Initial Catalog=ServiceMaster;User ID=assword="connectionStringsI can read the connection string using the f...

Scroll bar for a grid ....

449 byte By shravank at 2007-11-25 7:02:59
I have a requirement need to show 10 records at a time in grid from the list of 100 records. So i created a vertical scroll bar by my own and when i click on the bottom of it it is going to the next set of records, but if i click on the top arrow then it is not showing the previous. even when i clic...

Forcing Landscape Print

383 byte By AlphaTester at 2007-11-25 7:03:00
Hi,i'm having a problem with printing in a web Page made in asp.net..Is there a way of forcing Landscape Printing without using CSS??Because even when i tried to use the Code listed in many sites about printing in Landscape in asp, with CSS, i wasn't able to get the desired effect..using V...

Details not updating in SQL database

1100 byte By shivkumar at 2007-11-25 7:04:27
Hi experts,I have written some line of codes for a web page to update the data into sql database. There is no any error display.The only problem is that details are not updating in the database. This code works fine in vb.net.Public Sub savedata(ByVal job_code As String, ByVal year As String, ByVal...

Disable copy and paste for a textbox control?

1032 byte By meenakshi_joshi09 at 2007-11-25 7:05:44
Hi everyone,In my web application I am generating some code in a read only Textbox control, now I want, that code cant be copy on other textbox. For this purpose I have disabled the "Right click" for that form. But on dubble clicking on that Textbox that autogenerated code gets selected and on pres...

partial post back is not happening

767 byte By prashanthpn at 2007-11-25 7:06:12
i have created custom control. which contains 2 list boxes and a DropDownList with autopostback truei have created the .aspx page which contains following components,1) scriptmanager,2) update panel i am placing this custom control inside the user control and i am placing this user control in the...

WebParts Personilization??

263 byte By unspoken_words2003 at 2007-11-25 7:06:31
Hi i started working on webparts in c sharp web app,in asp.net 2.0...<br/>Is it necessry to have peronilzation database...It keeps on showing that no connection to sql 2005 database...<br/>cant i use webparts without using databse...<br/>regards,<br/>sy

Problem Interop with ASP.NET

1133 byte By ShoKazamatsuri at 2007-11-25 7:06:35
Hi Guys, I'm currently a junior developer in .NET. Maybe currently my experience is not enough in .NET Programming. I'm really stucked with this. I dunno why. I'm working with interop in windows form and it's work fine. I'm also working with interop in ASP.NET Cassini web se...

Uploading file on server from client

282 byte By visharad at 2007-11-25 7:08:35
I want to write an ASP.Net application, which will run on client. When it is executed, then it should upload a file on server. The client knows the URL of the path on the server. Assuming that the required write permission is there.<br/>Please let me know how to do so. <br/>Thanks.

ASP.NEt + JS

1262 byte By Quell at 2007-11-25 7:09:37
Hey.I basically wanted to move some of my asp.net into js.All i need to do is this:Click on a checkbox: hide/show a calendar control.Select something in the calendar->move it into an edit field.Right now all of it is working via postbacks, however is there a way to do this using javascript so i d...

Export To Excel From UltraWebGrid

383 byte By nagarajug at 2007-11-25 7:10:04
Hi, When i click the button, I am exporting ultrawebgrid data to excel using ultrawebgridexcelexport, it is working fine. When i put the button in updatepanel, it is not working. I am getting the error as "server cannot set the content type after http headers have been sent" . if any body knows th...

How to include one aspx page in another aspx page

663 byte By Vinod S at 2007-11-25 7:10:13
i want to embed one aspx page in another aspx page with out using iframe and all.I think there is an option in clasic asp <#include or so i dont know well for this.is there anything similar to this in .net. My need is i have aspx page which contains some some common controls needed different oper...

adrotator flash

285 byte By shuvo at 2007-11-25 7:11:04
I tried microsofts adrotator control to show random flash(.swf) files.it doesn't workout.I searched the net and got shiva ramanans flash enabled adrotator control.But even it doesn't seem to work.Can anyone help me out?I need to show Flash ads randomly on my .net 2.0 website

Text from TextBox to Database

914 byte By SarH at 2007-11-25 7:11:40
Hi, I'm totally new to asp.net, I'm using MS visual web developer 2005 express edition. All I want to do is take the text from a few text boxes and store it into a database. I'm using an sql database from within visual web developer. the textboxes are all called TextBox1, TextBox2, et...

Copying a file from client to server

252 byte By visharad at 2007-11-25 7:12:15
I want to write a program in ASP.Net. It will work on client and will copy a file from client to server. The URL (http) of the path on the server is known. The directory on the server has write permission.<br/>Please let me know how I go about it.

Webservice Url property not available to set, no Reference.cs

599 byte By ireland at 2007-11-25 7:12:48
I've added a Webservice to my C# project.I've tried to change Webservice Url from code using the Url property but it is not available!The same webservice Url property is available from another C# project of mine however! is there some restriction on changing the Url property.I've assu...

How to get the client side printers details?

405 byte By AmitInnani at 2007-11-25 7:14:24
Hi All,I need to get the list of the printers on client machine at client side and then have to populate those in combobox.Can anybody tell me is there any way to do this in ASP.NET and / or in Javascript?Can we set the default printer at client side?Pls. help.(Any code, article, hyper-links will be...

Selected Index Problem

1512 byte By Scott.Macmaster at 2007-11-25 7:14:48
First, this requires a bit of an explaination:I have two list boxes. The one on the left (lstOptions) contains a list of options. The second contains your choices (lstChoices).Here are some example options in lstOptions.AA,BB,CC,DD,EE,FF,GG,HHI have an AND button and an OR buttong and an EXCLUSIVE...

Set ASP.NET Version of Virtual Directoy in IIS

319 byte By rk_guturu at 2007-11-25 7:15:01
When we Install ASP.NET Application (VS.NET 2005) using Deployment. it creats a virtual directory(XYZ) . but when we go to IIS Settings and right click the web application(XYZ) and moved to ASP.NET Tab, the verison is empty.How to set the version as 2.0 in that tab after Installation with out doing...

How to improve speed on my web application when using session

815 byte By meenakshi_joshi09 at 2007-11-25 7:15:24
Hi everyone, In my asp.net application I have used "Session" for sending values or data from one web page to another web page, Such as for sending memberID, Login Date and Time to all pages I am using Session. On localhost my application is working fine, but on uploading on FTP the speed of my web a...

How to detact Session Timeout

679 byte By meenakshi_joshi09 at 2007-11-25 7:15:26
Hello everyone,In my asp.net applcation I want that when the default Timeout period for Session i.e; "20 minutes" reached another page should be redirected or some indication such as some message "Your session has been expire " should be displayed. For that how can I detact that "Session Timeout per...

Grabbing Login name

750 byte By SarH at 2007-11-25 7:17:01
Hi, I have 2 pages one is a login page that uses the login controls from the toolbox and the second page is a page just for people who are logged in, the user can fill in a few textboxes and click ok, the details will be displayed in a grid view and uploaded to the SQL database. Ive got that wor...

life cycle of an asp.net page

285 byte By aaryan at 2007-11-25 7:17:09
hi all,<br/>just want to know the life cycle of an asp.net page with relevant example for each stage. i find many web sites demonstrating them but i feel they are too complex to follow. so can anybody help me out in this by giving simple examples for each stage.<br/>thanks in advance.

Help with a Query.

1959 byte By SarH at 2007-11-25 7:17:12
Hi, Im having some trouble with some code, I was wondering if anyone could help me out. Sorry if this is in the wrong forum. Im using Visual studio Web developer 2005 express with Microsoft SQL Server 2005. Heres the code Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.Event...

help with request

331 byte By Visslan at 2007-11-25 7:18:20
Hi!I have a control called A that has a textbox. The values I want to pick up from a webform using request. But I don't know how to accomplished that? In this webform I have a repeater that calls A 3 times. Making 3 copies of the textbox. How do I get a hold of the textboxes when I don't k...

Excel automation

424 byte By skuanet at 2007-11-25 7:18:29
Hi all,I am trying to start Excel by using automation (client side) .When I call this : this.excelApp = new Excel.ApplicationClass();I receive following error :Server Error in '/TestWebExcel' ApplicationAccess is deniedDo you know how can I fix it, granting to the web ap...

onclick event problem urgent

7 byte By superstarprogammer at 2007-11-25 7:18:57
deleted

Access Database from Local System

420 byte By madhu_j at 2007-11-25 7:19:25
Hi,I am developing a website, which updates an MS-Access 2000 database located in client's Harddisk, apart from maintaining data in the web-server.The server database is updating properly(specified thru server.mappath).How to specify connection parameters for the local database(MS Access-2000)?...

Website Resolution

190 byte By nagarajug at 2007-11-25 7:19:39
Hi,<br/> I want to make my website resolution specific. If i change the resolution, the website fits for this resolution. How can i make the site as resolution specific ? <br/>naag

Generate print friendly version of a web form?

998 byte By dr995 at 2007-11-25 7:19:51
Dear allI am curently working on a web form handling system. The people do forms for job instructions. For the UI i am using the colapsable panels from the AJAX controll Toolit so i can save some space on the screen and make it neater. But i come to a problem when i need to print what the users have...

connection proprerty has not been intitialized...help

7 byte By superstarprogammer at 2007-11-25 7:20:32
deleted

Grid View problem

1732 byte By SarH at 2007-11-25 7:20:57
Hi, Im having trouble with my grid view. When the user is signed into my site and clicks button1, the users name is turned into a string and used in a query to display all the information for that user, but unfortunately it doesnt work. It should output all the CDs the user has input into the databa...