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 > september 2004 > threads for friday september 17

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

Image sometimes do'nt display
Posted by skv_noida NO[at]SPAM rediffmail.com at 9/17/2004 11:51:38 PM
Hi All, Icons and images for my site are sometimes not displayed on the page (aspx). I am running my site on Https, but when I tried this thing on http it doesn't give error (icons and images displayed every time). What may be coz for this problem? Million thanks Saurabh K V...more >>


Execute Local File within .aspx page
Posted by Randy Developer at 9/17/2004 9:18:40 PM
Ok, I've searched the web and newsgroups for a week now with no concrete answer. Question: How, if possible, can you either navigate to or get a listing of a directory to load on an asp page and then doubleclick or hyperlink the files to execute locally. I have already tried the file:///...more >>

Classes functions....help!
Posted by Simon Harris at 9/17/2004 9:05:04 PM
Hi All, I'm new to asp.net (Migrating from 'Classic' ASP) I'm having troubles working out classes, functions etc... Current situation is this: index.aspx displays datalist with links to sites - If no link found in DB, I want to display a message instead. I worked out I need a function ...more >>

System.NullReferenceException
Posted by ven at 9/17/2004 7:27:09 PM
How must i declare my variables to have this code work. I get system.nullreferenceexception every time i click button to add data to datatable here below is my code : Dim wykszt as System.Data.DataTable Dim zatru as System.Data.DataTable Private Sub Page_Load(s As Object, e As EventArgs) ...more >>

aspx pages with no <form> tag works fine with "masterpages"!. Is i
Posted by Lakshmi Narayanan.R at 9/17/2004 7:21:01 PM
Hi Experts MasterPage.master In this master page, no <form> tag is used. Register.aspx [uses MasterPage.master] Here also no <form> tag. But the form elements are working fine inside the <asp:content> tag Is it Ok or any wrong thing is there? ...more >>

My First Project
Posted by A P at 9/17/2004 4:55:00 PM
I am a beginner in VS .Net using VB.Net. I use Data Form Wizard to create a sample project that will list records from my access database. After Finishing the wizard, I ran the file, after running by clicking the load button from that page, I receive an error on the page: The Microsoft Jet dat...more >>

creating a crystal report using a dataset as the datasource.
Posted by Paul at 9/17/2004 4:37:02 PM
Not sure if I am posting this to the correct group but I have a .NET web application and have a datagrid that is filled with a dataset. The data comes from a stored procedure that returns several records from a database that is called from the web application. I want the application to crea...more >>

Manipulating form validation from client side script...
Posted by Donal McWeeney at 9/17/2004 4:13:52 PM
Hi, Any pointers to manipulating client side validation being performed. For example I have a custom control that does a postback to the server - and I dont want validation to be performed when I click this button! This button executes a js client side function that then triggers the postb...more >>



user.config file
Posted by Mark at 9/17/2004 3:55:13 PM
Our team uses VSS. We each have a user.config file for local settings. One developer's file does NOT kick in - it pulls directly from the web.config file. 1. The user.config file is in the same directory as the web.config (root). 2. There is nothing crazy about the contents. The contents ar...more >>

How to Search and Replace in Word from asp.NET
Posted by tthompson2007 at 9/17/2004 2:53:04 PM
Here is the code I'm using, but seems to hang on the save statement. I've made sure to assign the aspnet account to the folder the document is in. Anyone know of a better way? Dim appword As Word.Application = New Word.Application appword.Documents.Open("c:\test2.doc") W...more >>

How to Select One RadioButton in a Data GRID?
Posted by RSB at 9/17/2004 2:41:11 PM
Hi Every one, I am using a data grid and one of the TemplateColumn is a asp:RadioBUtton. Every thing works ok . once i access the page it draws the Grid fine but now instead of picking one Radio button i am able to Access all. I am missing any property here?? please help me. Thank you ...more >>

Access denied (.NET website was running until...)
Posted by mangia at 9/17/2004 2:37:07 PM
I have several .NET websites running successfully on Windows 2003 Sever/IIS6 for over a year now. Today I decided to change my anonymous FTP site access using specific 'granted' or ‘denied’ IP addresses to 'non anonymous’ and require username password access. I created a user accoun...more >>

HttpSessionState.Abandon
Posted by Scott at 9/17/2004 2:36:05 PM
I have a few questions about calling HttpSessionState.Abandon: 1) Does the session immediately go away or does it hang around and go away based on the session timeout rules? 2) What happens to session state data - does it get cleared or should I be calling HttpSessionState.Clear prior to Aba...more >>

A little more clarification
Posted by Bari Allen at 9/17/2004 2:25:16 PM
In the above samples, my input parameter is @OrderID, I changed it to @MyID in the SQL for purpose of example, but not in real life--the sql & asp do match. Also, when I say I can only retrieve one output parameter, I mean @First comes back ok, but not @Second, @Third, or @Amount ...more >>

selecting which columns to display in grid
Posted by Nikhil Patel at 9/17/2004 2:20:17 PM
Hi all, I am developing an ASP.Net applicatin that displays data from Sql Server table in a grid. I would like to let the application administrator to pick which columns he want to display in the grid. Does anyone one have a sample code to do this? Thanks. -Nikhil ...more >>

Stored Procedure Output Parmeters
Posted by Bari Allen at 9/17/2004 2:16:51 PM
ASP Classic question: I have a Stored procedure in SQL, that works, when tested in SQL, with one input & several output parameters, as follows: CREATE PROCEDURE myProcedure @MyID int , @First varchar(80) OUTPUT , @Second varchar(80) OUTPUT , @Third varchar(80) OUTPUT , ...more >>

DataReader associated with this Connection
Posted by Maziar Aflatoun at 9/17/2004 1:37:33 PM
Hi everyone, I am working on the 'Delete' section of my program. What I need to do is query my database and for every ID that it finds I want to remove a file+ID.jpg from my file folder and update another table with that information. However, I'm getting the following error message. Th...more >>

Webclient.downloaddata
Posted by Rags at 9/17/2004 1:33:01 PM
Hi We are creating a web application using .NET which renders some reports. The reports are created in MS Reporting Services and can be accessed by typing in a URL with the required parameters in a browser. The reports are getting rendered fine if I type the URL in the browser. Within the ...more >>

test for existence of file
Posted by DC Gringo at 9/17/2004 12:29:22 PM
How do I test for existence of a file in the file system: If FileExists(myVariable & ".pdf") = True pnlMyPanel.Visible = True End If -- _____ DC G ...more >>

Do calculations in repeater
Posted by have NO[at]SPAM none.com at 9/17/2004 11:45:35 AM
Hi All, I'm quite new to ASP.net and i can't figure out one thing. I would like to add the total price and the total discount to 2 different variables so when my reapeater is finished i've got my data on the screen and the total price and the total discount So far i've got this code wish wo...more >>

Search SQL image datatype
Posted by mattmerc NO[at]SPAM bellsouth.net at 9/17/2004 11:38:11 AM
Hi, I have an ASP .net application running on an SQL database. I upload my files directly into a database table (small attachments) of "image" datatype. If I wanted to search for a word contained in one of the uploaded attachments, is there a way to take this input from the user, convert it t...more >>

Sometimes _ctl0_btnNew Sometimes _ctl1_btnNew?
Posted by bg at 9/17/2004 11:35:20 AM
hello, in my web project, i used placeholder and dynamically I place ascx controls in it. in ascx file, i want to delete,update,create to DB. Then i used to ASP buttons to do this. My problem is, id's of buttons can change. E.g. id of button is btnNew, in one load - when I look source of ...more >>

Try.. Catch....
Posted by Neelam Karne at 9/17/2004 11:01:25 AM
I am using VB.Net with .Net Framework 1.1 Here is my code Try 'Try my statements Catch 'Catch my exception Exit Sub Finally 'Close my database connections... What I noticed is when the program flow enters the Catch block,...more >>

length of input type hidden
Posted by Michael Singer at 9/17/2004 10:59:38 AM
I wrote a simple testprogramm which renders a hidden input field. the value of this field is dynamically generated and filled with 100000 "z"'s --> "zzzzzzzzzzzzzzzzzzz..." and so on. if i call this page in IE and view the html source there are the 100000 z's if i view the source in O...more >>

Repost : Crystal Report Viewer navigation buttons
Posted by John at 9/17/2004 10:48:14 AM
Hi all, I have posted this once but no-one replied so here it is again . . . I'm having a small problem with the CrystalReportViewer. I would like to change the first, previous, next & last buttons but don't know where to change them. Over and above this, the viewer is not showing any defau...more >>

visual studio reformatting question
Posted by GrantMagic at 9/17/2004 10:43:44 AM
Appologies if this is a wrong newgroup for this question, but i can't find a visualstudio newgroup (at least not an english one, their is a french and arabic one) Anyways, i have a highly annoying problem with visual studio. Every time i add a new control to the page, visual studio decides...more >>

QueryInterface error
Posted by Ugo at 9/17/2004 10:42:09 AM
Hi, I have just followed the Microsoft Knowledge Base Article - 302084 How to Automate Microsoft Excel from Microsoft Visual C# .Net http://support.microsoft.com/default.aspx?kbid=302084 and I keep getting the following error in a message box: QueryInterface for interface Microsoft.Offic...more >>

Format of the initialization string does not conform to specification starting at index 0.
Posted by openleren at 9/17/2004 10:40:46 AM
Hi all, with a little help from my friends, I am trying to construct a connectionstring from a relative path in web.config. It contains <add key="conAccess" value="microsoft.jet.oledb.4.0;data source=data/database.mdb" /> In my webform I constructed a fucntion Public Function getConnectio...more >>

aspnet_wp.exe sending email at project load
Posted by pbj at 9/17/2004 10:35:01 AM
sometime last night, with my website project saved, but still open, my computer chose to reboot itself. this morning, after a short burst of creative vocabulary, i logged back in and restarted visual studio, and loaded my asp.net project. immediately, my firewall asked for permission for...more >>

just can't figure this out
Posted by Mike at 9/17/2004 10:33:02 AM
I've been banging my head on this for days and can't get it working. If i can't get it by today then i'm done with it. I have a datalist that has a table in it <asp:datalist id=dl1> <itemtemplate><table id=vechicle> <tr> ...more >>

Add javascript at bottom of a page?
Posted by Brian Bischof at 9/17/2004 10:26:37 AM
I'm trying to add javascript to a page so that it gets executed when the page opens. I also need to do this during runtime b/c the javascript will change each time. In MSDN I saw that you can make the <Body> tag a server side object and then add an attribute to it. Example: <Body Id="Body1" r...more >>

ASP.Net Arcitechure Books
Posted by Frank Wisniewski at 9/17/2004 10:23:47 AM
Hi All, Can anyone suggest a very detailed book about the ASP.Net Architecture? I am looking for something as detailed as the old Microsoft Resource kits. These books had tons of details, much of which you would never need to know but were very interesting, and were usually 1000+ pages. All...more >>

System.Type.GetType();
Posted by Josh at 9/17/2004 10:22:48 AM
Hi Guys, I have hit a wall with the my project... The problem is that i need to get the type of a usercontrol that is not in the assembly of the page that is tryiong to call it. if anyone knows of how to fix this please let me know. c.setComponentProperties(Request.QueryString["pageID"],"1")...more >>

DataPaging with large record
Posted by Hai Nguyen at 9/17/2004 10:03:06 AM
Hi all I have a datagrid tied up to sql server. Also I have a very large record need to page during runtime. I have looked up solutions to find out how to increase the performance of my application when paging. However I'm not satisfied with those solutions. I would like to ask if there is a ...more >>

Strange solution for the Parser Error "Could Not Load Type" message....
Posted by pol8985 NO[at]SPAM njit.edu at 9/17/2004 10:01:54 AM
I received this message when loading a web form that was working before. I rebuilt the project, but still could not get past this error. So, I basically copied the FILENAME.aspx.vb code and pasted it into a new page with the same name (of course, after deleting the original file). Now, it...more >>

Infragistics and ROI
Posted by steve NO[at]SPAM lomicka.com at 9/17/2004 9:58:57 AM
Greetings, My team and I would like to use Infragistics for both WinForm and WebForm development. From a technical perspective we see the benefits. The boss wants me to quantify ROI. The primary question I get is 'what does the Infragistic grid give me that the ASP.NET grid does not?' I ...more >>

Login page works when accessed on the server, but not from another browser
Posted by Irishmaninusa at 9/17/2004 9:50:15 AM
Hello Everyone, I have a very simple login screen that basically allows the user to login into the system. If I access the page from on the server then I get logged into the system everytime. However, if I try to access the system from any other machine I get bounced to the login screen everyt...more >>

binding data to a textbox
Posted by CT at 9/17/2004 9:29:40 AM
Is it possible to bind data from a stored procedure with parameters to a textbox that is not located in a datagrid or table? I also need to bind the data from the same procedure to a session variable. Please explain to me how to do it. Thanks ...more >>

Big problems with ASP.Net and *simple* JavaScript
Posted by pol8985 NO[at]SPAM njit.edu at 9/17/2004 8:48:08 AM
I do not know why this is now a problem, but here goes. My ASP.Net application has two frames - the left frame is a toolbar, while the right frame has the content. Up until 30 minutes ago, I was able to click on a link in the left frame, and its respective url with load up on the right frame....more >>

How to access web.config from seperate project in the same solution?
Posted by private_pyle00 NO[at]SPAM yahoo.com at 9/17/2004 7:56:15 AM
Good morning. I have a solution set up with multiple projects. One is a web project and it contains my web.config file. I would like to build a class within another project (a class library) that is in the same solution that can read values from the app settings section of that web config fil...more >>

vb.net web form text box not displaying correctly
Posted by dwang NO[at]SPAM woodace.co.uk at 9/17/2004 6:58:56 AM
I have a text box on a web form here is the HTML for it :- <asp:textbox id="winPts" style="LEFT: 170px; POSITION: absolute; TOP: 80px" runat="server" Width="24px" maxlength="2"></asp:textbox> This is one of several such boxes. The problem I have is on my lap top using Viual Studio 2003 the...more >>

ViewState, Application, Session....
Posted by gordingin NO[at]SPAM consiliumsoft.com at 9/17/2004 6:07:56 AM
ViewState["Name"] = "Bill"; -- This statement will send that to the browser and hash it into the __VIEWSTATE hidden varible Application["Name"] = "Bill"; -- This statement will keep this info on the server Session["Name"] = "Bill"; -- This statement will keep this info on the server ...more >>

I cannot get my site started .
Posted by ebrahimbandookwala NO[at]SPAM hotmail.com at 9/17/2004 6:02:23 AM
I cannot get my site accessible to internet users . The site is working fine on my machine . I tried setting up IIS permissions wizard Also i run Win Xp Sp2 . I also allowed Web Server(HTTP) from Windows firewall Excepions . I also tried running the server provided by VWD 2005 Express and t...more >>

Using STA API in a MTA enviroment
Posted by Raul at 9/17/2004 4:23:03 AM
So, here it is: I have a 3'rd party API written in C that is Single Threaded(state is saved between different commands, locks and so on - so i'v heared). The only way i was able to use it is with thread sync: calss A{ public void b() { lock(A){....} } But as you realize this k...more >>

Setting controls values
Posted by Mike at 9/17/2004 4:05:21 AM
Hi, I am developing a JavaScript calendar control. I want my user control to expose a property that returns the value of the selected calendar date. I have an "input" control that displays the selected date. I also tried to add a Label server-side control, but I am unable to set its value...more >>

Server App Unavailable error
Posted by Crayon Coco at 9/17/2004 1:39:03 AM
I have the server application unavailable error, after checking the event log i notices the following in the even logs "aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid." what could be possibly wron...more >>

I Hate SmartNavigation
Posted by Karen A Hodge at 9/17/2004 12:30:01 AM
I like the idea of SmartNavigation because it does reduce screen flicker. I just doesn't work for me in production. Whenever I set SmartNavigation to true and I have a command button that does a redirection to another web page, all I see is a blank screen and the word "Done" in the status bar. W...more >>

What is RSS??????
Posted by Bruno Piovan at 9/17/2004 12:09:40 AM
Hi, what is RSS??? I see a lot of pages that has a link with "XML" and it generates a xml file with some content..... what is it for??? thanks, Bruno ...more >>

MVC in ASP.Net
Posted by No One at 9/17/2004 12:05:55 AM
I have looked at several books on learning/using ASP.Net and C#, but none of them follow good coding practices such as MVC. Does anyone know of books or examples that do? ...more >>


DevelopmentNow Blog