Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008


all groups > asp.net > november 2004 > threads for friday november 5

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

word document to PDF
Posted by J at 11/5/2004 11:53:42 PM
Hi, all I have an asp.net page which can let users generated monthly report based on a 15 pages word document (as template), I created several "fields" in the doc file, then all I need to do just pull data from database, then insert into those fields, then display doc at web browser, then I am d...more >>

insert swf file in ascx page
Posted by Guest at 11/5/2004 11:36:25 PM
i want to insert a swf file in a .net page ,but it doesn't load in run mode this is the code: <td width="100%" colspan="2" height="3"> <object width="90%" height="50"> <param name="movie" value="/IID.swf"> <embed src="/IID.swf" width="90%" height="50" TYPE="application/x-hockwave- f...more >>

Encrypting an email.
Posted by Mark at 11/5/2004 11:02:55 PM
I need to send some sensitive data from a form in an aspx page to a specific address. How can I encrypt the email before sending? And what do I need on the client to decrypt it? As far as I can find, System.Web.Mail does not support encryption. How do I do this? ...more >>

Set focus on a text box
Posted by Swami at 11/5/2004 10:23:02 PM
Dear All, I have developed a aspx web page with c# as page language. I have place two text boxes and two requiredfield validator control for each text box. Now whenever i a text box is null, i want to set the focus on the text box apart from displaying the error message. Please help. Regar...more >>

INGRES Connectivity
Posted by Simon Harris at 11/5/2004 9:52:17 PM
Hi All, I am about to start building an application that needs to pull data from a variety of sources, one of which is an Ingres database. Just wondering if anyone has any experience of drawing data from Ingres into an ASPX page? We dont really want to use ODBC if we can avoid it...Is ther...more >>

Mapping ?
Posted by WJ at 11/5/2004 9:19:21 PM
I have an Asp.Net form with a DBGrid on it. Each time I click a row on the Grid, I would like to map (copy) its fields on the selected row to the form fields (also on the same Asp.Net page). I also like to map the form fields back to the same selected row on the Grid if the user makes changes ...more >>

ASP.NET Database Access
Posted by Rajarshi Chowdhury at 11/5/2004 9:14:48 PM
Hello everybody, I am new to .NET and wold like to get opinion to solve a problem occuring when I am trying to access an MSSQL server desktop engine running on a windows 2003 server machine. Every time I am getting the error message saying "Login failed for NT Authority\Network Ser...more >>

string as lock key?
Posted by Lloyd Dupont at 11/5/2004 8:58:06 PM
in an ASP.NET page I have some static method which get value for the cache or, if the cache is empty, query the database, put the value in the cache and return it. because ASP.NET is thread intensive I was thinking to lock these method, using a fine grained lock. the best lock I was thinki...more >>



Css & Listitem
Posted by anony at 11/5/2004 8:38:29 PM
Hi, I'm trying to apply a style class to listitems, without success. I've tried wrapping the RadioButtonList and ListItems around a div or span without success. The CssClass attribute for the RadioButtonList does nothing. Applying the class to my <td> doesn't work either. What am I doing...more >>

ASP.NET 2.0 beta. To early?
Posted by Flare at 11/5/2004 7:16:15 PM
Hi We are starting our implementation of a medium scale web application. The delivery is set to last february so it is "close" the release of Net 2.0. Would it be both legal and wise to develope this web app in 2.0 beta and use final when the product going "in production". 1. Is it legal...more >>

Paging
Posted by hoz at 11/5/2004 5:34:55 PM
Hi , I use a procedure to get list of all users and show them in a datagrid/datalist/etc.. with SqlDataReader . How can i list X item (lets say 50) on the first page , 2. 50 on second page and so on ...more >>

How to open a new window in button click event?
Posted by hb at 11/5/2004 5:23:11 PM
Hi, I have a asp:button btnGo. When clicking this button, the code will parse a asp:table to find a specific ID under certain conditions. Once the ID is found, the code need to keep the current page open and to redirect the user to a newly opened browser window with a link like: http://www.m...more >>

DropDownList selections no longer work
Posted by branton ellerbee at 11/5/2004 5:20:40 PM
HAs anyone ever had the problem of coded and tested DropDownList just stop working? I have. Here is the code: Dim OTID as Double = 1 'set the var from the recordset OTID = DReader("ordertypeID_fk") 'Populate the dropdown and select the item with the ID returned from the DB Exec...more >>

Validation Group
Posted by sck10 at 11/5/2004 4:42:48 PM
Hello, I have a button that is associated with a validation group. When I click the button and a validation fails, I still want to code to execute. Can this be done? Any help with this would be appreciate. Thanks in advance, Sck10 In my code behind: Sub Submit_Click(ByVal Sender As Ob...more >>

Dynamic control and onClick event Server-side
Posted by RA at 11/5/2004 4:27:45 PM
I have created a button dynamically; which has been added to a TableCell of a TableRow of a Table control. Is there a way to add onclick event which calls a procedure on the Server-side itself. Any suggestions? I tried with btnAdd.Attributes.Add("onClick","AddItem();") Public Sub Ad...more >>

page_load sometime execute twice with webbrowser conmtrol post
Posted by Julia at 11/5/2004 3:59:02 PM
Hi Everyone, I am using webbrowser control to post data to an aspx page. However, for some reason, the aspx page sometimes will execute page_load event twice, and sometimes execute it once. So I might get different results for executing it. If I have the webbrwoser control to call it the f...more >>

Numeric values of Color.....
Posted by Jack Smith at 11/5/2004 3:50:08 PM
I am using Image button and its property backcolor = DarkGray. How to find out the numeric value of this color? Thanks, Jack ...more >>

Help with the IIS Application Setting
Posted by le_mo_mo NO[at]SPAM yahoo.com at 11/5/2004 3:29:41 PM
Hi, After upgrading to ASP.NET 2.0 I am getting the follwoing error in my VS when I try to build the site ------------------------------------------------------ Error 1 Build (web): It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application l...more >>

forms authentication in subdirectory
Posted by Justin at 11/5/2004 3:10:02 PM
I have an admin area in a sub directory of the root application that I am trying to password protect with forms authentication with a web.config in the subdirectory. when I try to access the login page or any other pages I get this error: It is an error to use a section registered as al...more >>

ANN: email template library (open source)
Posted by Philipp Sumi at 11/5/2004 2:12:56 PM
Hello newsgroup This issue has been raised here several times so I decided to post an announcement - I hope you don't mind. Background: If you don't rely on a DB or CMS, the handling of email template files is an annoying task. However, I came up with a generic solution to handle the i...more >>

HTTP/1.1 403 error creating Web Applications
Posted by Raul M. Colon at 11/5/2004 2:01:01 PM
Every time I try to create a new Web Application using VS.NET 2003 I get this error: HTTP/1.1 403 Access Forbidden. I read some of the solutions posted in this and other newsgroups: from resetting IIS, Uninstall and Install ASP.NET 1.1 (with aspnet_regiis) and the last one: Uninstalling and ...more >>

c# add button to repeater?
Posted by Eskimo at 11/5/2004 1:59:01 PM
how do I add a linkbutton or asp:button to a datarepeater and fire an event? I am using this as my example code: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskcreatingwebservercontroltemplatesdynamically.asp -- tym, Eskimo...more >>

C# Databinder.Eval didn't work quite right...
Posted by Eskimo at 11/5/2004 1:58:02 PM
Hi, I'm following http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskcreatingwebservercontroltemplatesdynamically.asp Why did I have to use this in the event handler? lc.Text += "<td align=\"left\">" + ((System.Data.DataRow)(((System.Data.DataRo...more >>

Call Client's DLL File
Posted by Michael Chong at 11/5/2004 1:50:29 PM
Can .NET webpage call Client's computer's DLL file (a dll file that is located on client's computer) when the client click on a particular button on the page? If so, how can we do it? Any reference or example? TQ Michael. ...more >>

DataGrid
Posted by vinay at 11/5/2004 1:30:01 PM
I implemented paging on this grid OnPageIndexChanged="dgSales_Page" When i click Next page, it is firing OnItemCommand insted of OnPageIndexChanged ??? <asp:datagrid id="dgSales" runat="server" Width="100%" AutoGenerateColumns="False" HeaderStyle-CssClass="datagridheader" PagerStyle-Vis...more >>

Call DTS Package from ASP.NET, asynchronously
Posted by huskerchen NO[at]SPAM hotmail.com at 11/5/2004 1:25:50 PM
Hi, I have several DTS packages in SQL Server that typically takes 5-10 hours to run. I need to build an ASP.NET application which can execute the DTS packages from the web browser, which I know how to do. The problem is how can I execute the DTS packages asynchronously, so that when the user...more >>

Clearing the Data Grid from client script.....
Posted by Jack Smith at 11/5/2004 12:42:14 PM
My development environment is ASP.Net with Vb.Net and Java script with .Net Framework 1.1 and IE 6.x. I have a search window and once the user done with search, if user wants to clear the search text fields/search result (data grid) they can click the clear button. I used server side button...more >>

Web Clients, the role of ASP.NET and the Future of Web Development and Web Standards
Posted by Guadala Harry at 11/5/2004 12:03:05 PM
This inquiry has to do with the client capabilities and Web client experience: I've been developing rich client apps (Windows desktop client exes in n-tier architecture) for over 10 years and am relatively new to Web client development. The other day, Kevin Spencer told someone that Web develo...more >>

href link to code creation of file and open of that file
Posted by ryanp NO[at]SPAM ungerboeck.com at 11/5/2004 11:52:15 AM
can i create a link that doesnt open a browser window... a link that executes the aspx.vb code first (code that creates a file) and transfers to an opening of a dynamically created (vcs outlook) file... so what the user gets returned from a click of a link is the opening of the file dialog mes...more >>

2nd Posting - CodeBehind
Posted by One Handed Man \( OHM - Terry Burns \) at 11/5/2004 11:50:23 AM
I want to know if there is any way to specify the location of the class files in a directory off the route. It is possible to drag the class files to the Code directory and have it compile OK, unfortunately the designer kicks up when you try to load the form ( in the root dir ) with the class fi...more >>

Urgent!!!!! Problem while exporting data to excel sheet in ap.net
Posted by Sileesh at 11/5/2004 11:45:02 AM
Hi I am exporting data from database to an excel sheet. Some of the data have "+/-" .For example: "120+/-10" When i connect to the local database and export the data, it does export correctly say "120+/-10" . But when i connect to production database, it does not export data correctly ...more >>

how to show the list of pictures from ACCESS
Posted by aa at 11/5/2004 11:35:26 AM
How to show the list of the pictures from MS access in the html page, for instance in the table or datagrid VB thanks ...more >>

BoundColumn
Posted by tshad at 11/5/2004 11:26:31 AM
I want to set the size of a BoundColumn, but can't seem to find a property for that. Is there way to say I want the column to be 80px or 20%? Thanks, Tom. ...more >>

Deploying my application - something is missing..
Posted by Dominic Feron at 11/5/2004 11:21:09 AM
Hey guys, I wrote an ASP.NET application who works fine on my local machine, and also work great on another server. I was told to move my application to another server, so I've got to configure it. All microsoft Windows Update were done on the server, I also installed IIS wich is necessa...more >>

Auto complete in aspnet
Posted by wandali NO[at]SPAM rogers.com at 11/5/2004 11:17:34 AM
I tried to have a textbox that have the autocomplete feature in my aspx page! It works when I have the AutoComplete under Tool options|Contents|AutoComplete|Forms checked & with the following line of code in my page_load sub Me.txtbox.Attributes.Add("autocomplete", "on") Where txtb...more >>

Post Xml to Axd
Posted by Alex at 11/5/2004 10:58:23 AM
This is a multi-part message in MIME format. ------=_NextPart_000_002F_01C4C326.5E5DDDC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Here is my scenario. I want to post XML to an AXD page (C#). Simple = enough, however my test page that posts...more >>

Return Custom Collection and Web Services
Posted by Whoever at 11/5/2004 10:50:13 AM
Here's what I have A custom collection: public class aUser { public string UserName { get {...} set {...} } public class UserList : System.Collection.CollectionBase { public void Add(aUser user) {...} public aUser this[int Index] {...} } A web service: [WebMethod] [return...more >>

Import SQL dump
Posted by Markus Rathmayr at 11/5/2004 10:30:49 AM
Hi! Is there any elegant way to import a dump something.sql via ASP.NET into a SQL-Server database. I need it for an initial installation procedure of an intranet project. Thanx Markus ...more >>

screen flickering
Posted by Rock at 11/5/2004 10:23:52 AM
There used to be a way to stop the screen from doing that flicker when the page changes, does anyone know how to do that in asp.net? ...more >>

How to run a program from an aspx page?
Posted by Quentin Huo at 11/5/2004 9:58:59 AM
Hi: I want to run cacls.exe to check the user right from an ASPX page. In ASP, I can do: Set wshobj=Server.CreateObject("WScript.Shell") resobj=wshobj.Run("cmd /c echo Y| cacls c:", 0, True) Set wshobj=Nothing But I don't know how to do this in ASPX page (writen in C#). Can any...more >>

Event passback to another page
Posted by ADavidson at 11/5/2004 9:49:04 AM
I'm trying to have a popup window that displays a datagrid, when the user clicks on a columnbutton it will passback the ID of the row to the parent page. The parent page will then add a row to it's datagrid and set that row as the SelectedIndex for the user to edit. How can I accomplish th...more >>

using Access database on network share?
Posted by Scott Nicholson at 11/5/2004 9:23:52 AM
I've got a site set up that uses a network share as it's home directory. Simple stuff is working fine. When I try to put a database in there, though, I run into problems. I'm using: dim dbconn,sql,dbcomm dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; data source=" & serv...more >>

Dynamic Controls in ASP.NET
Posted by Bhavin at 11/5/2004 9:23:01 AM
How can I capture user entered values from dynamically created controls in ASP.NET ? Thanks,...more >>

Rss Feed
Posted by smandelecha NO[at]SPAM gmail.com at 11/5/2004 9:16:25 AM
Hi I am trying to provide infrastructure for RSS feeds on my Website. I dont intend to build any news aggregators. I just want my website to be enabled for providing RSS Feeds. I am using ASP.NET and C#. And I dont know where and how to begin. Do you know of any tutorials that may help me do th...more >>

* NEWBIE * Global Objects and Variables in ASP.NET
Posted by David Whitchurch-Bennett at 11/5/2004 8:19:07 AM
Hi There, I have a ASP.NET application with several web forms and classes. How can I make an object available to all web forms? The object in question is used to access a database and fill a collection object, so I only want to do this once and allow all web forms access to this informat...more >>

how to save and read a picture from MS ACCESS
Posted by aa at 11/5/2004 8:09:40 AM
How to save and read the picture with MS ACCESS in ASP.NET. It woul be good in VB ...more >>

How to toggle visibilty of button inside repeater control
Posted by Keith Harris at 11/5/2004 7:49:03 AM
Hi, I have a Repeater control which is bound to a dataset. In the footer of the repeater control, I have a Button whose visibility I want to vary according to the sum of a column being > 0. I have tried to set the button's visibility in Page_Load (after data binding), but I get a NullRe...more >>

msnbot and Object reference not set to an instance of an object
Posted by dev NO[at]SPAM thehexx.com at 11/5/2004 7:12:58 AM
Our site is getting errors whenever msnbot comes a knocking. Here is part of the trace file. Has Anyone else come across this? We have a feeling it may have to do with session variables. Error Information Message: Object reference not set to an instance of an object. Source: System Targ...more >>

Webservices (Vs) .cs class files
Posted by Diffident at 11/5/2004 7:11:04 AM
Hello Guys, I have a question with regards to the efficiency and best practices in .NET framework. We are currently using Webservices as normal classes. The way we are invoking methods in these Webservices is by instantiating objects of these Webservices and not by adding web references ...more >>

Forms Auth. using Active Directory - time out
Posted by AndersBj at 11/5/2004 6:41:02 AM
I have a web application (asp.net) that uses Forms authentication to authenticate users against an Active Directory. The problem I have is that most of the time this works great, but every once in a while users cannot log on, they receive a time out message instead. Sometimes restarting the II...more >>

Control Validation
Posted by klj_mcsd NO[at]SPAM hotmail.com at 11/5/2004 6:32:55 AM
I need help. I have a checkbox and two textboxes on a webform. How can I validation if a person either enters something in the two textboxes OR the checkbox? I tried using a custom validator but that is not working like I want it. Please help. I know this sounds easy but I cannot figure ...more >>

Threading in Web App
Posted by Chris Fink at 11/5/2004 5:41:05 AM
If I create a new thread in a web app and the user closes the browser before this long running thread is finisihed, does the thread die? If so, is there a way to prevent it from dying and keep the thread running till execution....without significant redesign. Do new threads show up in the ...more >>

ODP.NET : VB.NET and PLSQLAssociativeArray, hanging webserver
Posted by Joost Evertse at 11/5/2004 4:34:02 AM
Hello, I'm trying to use a PLSQLAssociateiveArray as output parameter using the examples from the ODP.NET client distribution, but when i call ExecuteNonQuery(), the webserver hangs. Regards, Joost Evertse Here is the code: ----- VB.NET code ----- Try con.Open() cmd...more >>

Error creating new ASP.NET application
Posted by shaneokeeffe NO[at]SPAM hotmail.com at 11/5/2004 4:21:08 AM
Hi, I am getting the following error message when I attempt to create a new ASP.NET (C#) web application: The Web server reported the following error when attempting to create or open the Web projects located at the following URL: 'http://localhost/WebApplication1'. 'HTTP/1.1 500 Internal S...more >>

Recompiling a dll
Posted by Ekempd at 11/5/2004 3:58:02 AM
I made a vb.net dll with some classes that I use in my ASP.net page I use this Dll without problems, but when I want to do some modification over my dll (Is still under development) I can't regenerated, I get a error message that point to the visual can't overrides de current dll because som...more >>

Get values of dynamically created radio button control
Posted by tvkarthick NO[at]SPAM gmail.com at 11/5/2004 3:07:10 AM
Hi, I have the following code which displays all the images from a specific folder with a Radio button in it: Dim objFile i = 1 For Each objFile In objFolder.Files If (i = 1) Then Response.Write("<TR>") Response.Write("<TD align='center'>...more >>

edit record
Posted by huzz at 11/5/2004 2:42:02 AM
I have a record in edit the mode inside a repeater (single record), and a update button outside the repeater when i click on the button to update the database i can't access the dropdown list inside the repeater.. I can't use e.FindControl("ddl") because button2_click have System.EventArgs ...more >>

HttpModule installer
Posted by yurps NO[at]SPAM yahoo.co.uk at 11/5/2004 1:58:59 AM
How can I include and configure a HttpModule to a website installer project? or can I just do it all with web.config?...more >>

How to access EXCEL file contents and properties
Posted by vbvjain at 11/5/2004 1:23:54 AM
I am developing an application that requires me to read MS EXCEL files and get its properties and contents. I could read only the contents in a dataset by creating an object, but i could not figure out a way as to how to get the properties such as Title, Name, Last Author, Date of creation etc. Ca...more >>

constants in code class
Posted by TJS at 11/5/2004 12:15:08 AM
how do I get a constant to be available to all functions in a code class ? tried : Namespace Namespace Public Class MyClass const myconst as integer = 21 ..... but it wasn't available to use in function when called ...more >>


DevelopmentNow Blog