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 > may 2005 > threads for wednesday may 11

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 31

Intermediate to Senior ASP.NET/VB.NET developer salary?
Posted by Lucas Tam at 5/11/2005 11:49:39 PM
Hi all, Does anyone know what an intermediate to senior .NET developer makes in Toronto, Canada? 2 - 3 years of experience with .NET, ~6 years with ASPs. 3 - 4 years of application programming experience. 3 years of "real" work experience in total. Understands OO, very good understanding of...more >>


Application_Error ???
Posted by Daniel Groh at 5/11/2005 11:33:33 PM
Hi, I have this code in my Application_Error: protected void Application_Error(Object sender, EventArgs e) { Exception ex = Context.Error.GetBaseException(); string msgErro = ex.Message + " - " + ex.StackTrace; if(!EventLog.SourceExists("BooksOnline")) { EventLog.CreateE...more >>

ASP.NET cross-browser compatible
Posted by Ed at 5/11/2005 11:19:25 PM
When writing my ASP.NET C# programs, how can I ensure my UI and windows forms are cross-platform compatible? My users are on Windows IE 6, Mac OSX Safari and Mac OSX IE 5. What are some of the techniques to follow? Thank you. ...more >>

Deployment with Crystal Report
Posted by Simon Abolnar at 5/11/2005 10:41:33 PM
I would like to ask, is it a way to deploy ASP.NET app with Crystal Report without using setup. I have problem with my VS.NET (Unrecoverable Build Error). I copied dll files to bin folder, but what else I need to do? Thanks for help! Simon ...more >>

XMLDocument - Driving me nuts!!!
Posted by Simon Harris at 5/11/2005 10:38:47 PM
Ok, this really is driving me nuts!!! :( 'All' I am trying to do is get the value of a named element. My XML doc is: <?xml version="1.0" encoding="utf-16" standalone="yes" ?> - <Page> <Title>Test</Title> <MetaKeywords>Test</MetaKeywords> <MetaDescription>Test</MetaDescription> ...more >>

HttpModules - Webservices
Posted by Bruce Hodge at 5/11/2005 8:30:57 PM
Hi, We have a couple of clients who are having trouble connecting to .Net webservices, (they're coming from PHP and VFP). We were looking to provide a diagonostic tool that displayed the soap message submitted so that if the call failed they could compare their SoapMessage with the ones we...more >>

Dynamically load user control?
Posted by Green at 5/11/2005 7:09:19 PM
Hi, All I need to dynamically load a user control and change some properties on the user control, and display in the aspx page. Unfortunately I failed, nothing appears. Please help me look at, thanks. Comment c = (Comment) Page.LoadControl("Comment.ascx"); Label time = new Label(); ...more >>

event code run in global or masterpage class?
Posted by Daves at 5/11/2005 6:09:46 PM
if I have a control in my aspx Page, can I set it's events to run code in the global (or even masterpage) class? Something like <asp:control OnInit="Global.EventCode"/> ...more >>



Multi Level Forms Authentication Help DESPERATELY NEEDED!
Posted by Joe Rigley at 5/11/2005 6:00:18 PM
Help Please! I've been tasked with converting a portion of the corporate web site that currently utilizes local user accounts and NTFS via Basic Authentication to access certain files on the web site to an ASP .NET Forms Authentication approach with SQL Server. I'm just getting comfort...more >>

sessions, which is the more efficient way
Posted by Grant Merwitz at 5/11/2005 5:53:12 PM
Hi I currently have a web site that utilises sessions on a particular page. When a user clicks a button on this page, a session is created for the duration of the request, and then terminated straight afterwards. The user could do this a handful of times per visit, and although the site d...more >>

ASP.Net & COM+ transaction trouble on occasion
Posted by Jim Bancroft at 5/11/2005 5:44:45 PM
Hi everyone, I'm running into a problem with my ASP.Net application. I've just created a new aspx page which uses some new components of mine that inherit from ServicedComponent and are designed to run under COM+. This page works fine, unless I get fancy and hit my browser's refresh but...more >>

RegExp for Data
Posted by Paperback Writer at 5/11/2005 5:18:16 PM
Hi, I'd like know if some good soul can send me a RegularExpression for Data in this format: dd/mm/yyyy Thanks in advance -- Atenciosamente, Daniel Groh CTF Technologies do Brasil Ltda. Analista Programador Fone: 11 3837-4203 E-mail: dgroh@ctf.com.br ...more >>

Firefox Problems
Posted by someone at 5/11/2005 5:02:07 PM
Does anyone know a good article about displaying ASP.NET pages in Firefox? My website looks like crap in Firefox even though the rendered HTML looks find and looks okay in other browsers. TIA, Mike...more >>

Urgent - need help with logging anonymous and Active Dir users without login form
Posted by pv at 5/11/2005 3:44:35 PM
Hi everyone, I need help with following scenario, please: Users are accessing same web server from intranet (users previously authenticated in Active Dir) and from extranet (common public users). If user is from intranet, web server should recognize it and application should create addition...more >>

Session variables in a Public Class?
Posted by Thomas Andersson at 5/11/2005 3:42:02 PM
Hi, How can I access a session variable within a Public Class? I have tried the below code, but I get a server error "Object reference not set to an instance of an object". System.Web.HttpContext.Current.Session.Add("myKey", "myValue") Dim a As String a = System.Web.HttpContext.Current.Se...more >>

nebie problem with c# asp.net syntax....
Posted by DC at 5/11/2005 3:39:11 PM
Why in the hell am i getting this error? Compiler Error Message: CS1519: Invalid token 'using' in class, struct, or interface member declaration Source Error: Line 5: <script runat="server"> Line 6: Line 7: using System; Line 8: using System.Collections; Line 9: using System.IO;...more >>

Exporting data into Excel, Word in ASP.NET - Please help !!!
Posted by bienwell at 5/11/2005 3:31:26 PM
Hi all, I have a datagrid control with data in my Web page. I have a Link button "Exporting data" like this: <asp:Linkbutton id="linkbtn3" Visible="false" Text="Exporting data" OnClick="ExportingData" Runat="Server" /> How does the code look like in the Sub "ExportingData" to export da...more >>

SSL Certificate Check
Posted by jmhmaine at 5/11/2005 3:29:01 PM
How do I programmatically read an SSL certificate when using connecting with WebClient? I need to verify the domain name matches the certificate and that the Expiration Date is valid before I post data to another server. Thanks....more >>

Reading a list of files from a directory
Posted by Nick at 5/11/2005 3:22:54 PM
Is it possible to read a list of files from a specified directory using VB.net We have company intranet and I have created a page that displays photos from different events. I have coded a page that display images from a particular directory and named the files Pic1.jpg, Pic2.jpg etc. My c...more >>

How can I urn off browser caching for all aspx pages?
Posted by Ken Varn at 5/11/2005 3:03:30 PM
Is there anyway within my web application that I can have all browser caching turned off for all aspx pages sent by my IIS server? I need to have all caching off in order for certain things to work properly, and I can't always rely on the user disabling their cache settings at the browser level....more >>

File.PostedFile
Posted by vips at 5/11/2005 2:49:38 PM
I am using asp.net (VB) for uploading the files on my server I am using input type file (runat=server) my code is If ( FileProductImage.PostedFile.ContentLength > 0 ) Then strurl = "c:\images\image1.jpg" FileProductImage.PostedFile.SaveAs(strurl) End If ------- I am getting ...more >>

DropDownList
Posted by abcd at 5/11/2005 2:44:03 PM
This may be simple but its not clicking me I have 2 questions 1. I am using DropDownList control, how should I set this to use it as a combo box...(i.e. I want to enter the value as well as select the values) 2. I am programatically selecting something usinng "lstBox.SelectedValue = som...more >>

Getting windows logon when using forms authentication
Posted by Evan Basalik at 5/11/2005 2:34:03 PM
I have an ASP.NET application which uses forms authentication. For some reason, after someone logs in, they get a Windows logon dialog whenever they try to access any ASPX files in the forms-protected directory. I am inferring this from the fact that the last entry in the IIS log is the ASPX...more >>

dynamicly add link button to calendar cel
Posted by Kurt Schroeder at 5/11/2005 2:20:05 PM
I am trying to add a link button to a calendar. this is a simple example: Private Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.DayRenderEventArgs) Handles Calendar1.DayRender If e.Day.Date = Now.Date Then Dim lbtntemp As New Link...more >>

Dynamic controls problem
Posted by Bass Pro at 5/11/2005 2:08:07 PM
Hi, I am creating textbox, radiobuttonlist and checkboxlist dynamically depending on data from a table. It is a questionnaire. I add the control on a Panel control during the 1st load_page event. Each question is displayed and answered, then result written to a SQL table. Then the next quest...more >>

What is the maximum number of minutes for Session timeout?
Posted by dee at 5/11/2005 1:50:52 PM
Hi, What is the maximum number of minutes for Session timeout that I can specify in web.config? Thanks. Dee ...more >>

Session problem in ASP.NET
Posted by krallabandi NO[at]SPAM gmail.com at 5/11/2005 1:43:21 PM
Hi, I have created 2 excel report in ASP.NET. I have used ADODB for this purpose. No interop. The way of generating the report is same for both. except the SQL Firse will display ony 100 lines, second may be 10000 lines. But the procedure is the same. First report is working in all the...more >>

URL encoding in global.asax
Posted by SMG at 5/11/2005 1:18:10 PM
Hi All, I want to do url encoding, can I do this in global.asax once for all? Suppose someone request for a url http://localhost/test/test.aspx?ID=M&M and I want my web server to do understand the url as http://localhost/test/test.aspx?ID=M%26M Regards, Shailesh Gajare ...more >>

Call Stored Procedure via ASP.Net (VB)
Posted by Sam at 5/11/2005 12:56:49 PM
I had created stored procedure at SQL Server 2000 and how do I call it via ASP.Net using VB Language? CREATE PROCEDURE STK As if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[STOCK_RESULT]') and OBJECTPROPERTY(id, N'IsUserTable') = 1) drop table [dbo].[STOCK_RESULT]...more >>

Preserving the value of an int between postbacks
Posted by Mike at 5/11/2005 12:54:03 PM
I am developing an ASP.NET app in C#. I am attempting to use an int as a counter which will be incremented each time a user submits a webform adding data to a list. Initially I tried to use a session variable, but had some issues converting that value to an int. So I've tried using an int whic...more >>

onTextChanged event not firing with ENTER key
Posted by mdipiet at 5/11/2005 12:52:14 PM
I've got a form that is supposed to validate data entry from a bar code scanner. The scanner is set up to add a carriage return at the end of the data in the barcode, which should fire the onTextChanged event to validate the information recieved; however, the Enter key does not fire this even...more >>

Passing parameters to a Popup Window and getting them in Code-Behind
Posted by Paul D. Fox at 5/11/2005 12:37:53 PM
I'm trying to launch a Child Window from a hyperlink on a Datagrid and have it recieve multiple values from the Parent Window. Upon recieving the values in the Child Window, I need to access them in the code-behind so I can render a datagrid in the Child. I've tried just doing another Postba...more >>

Passing a Dataset from a function in a class
Posted by Daren Hawes at 5/11/2005 12:09:06 PM
Hi, I have a class called Jobs. In that class is the function below.. Public Function GetJobTitle(ByVal Job_Title_ID As Integer, ByVal Company_ID As Integer) As DataSet ' Setup the Stored Procedure Dim SqlCommand As New SqlCommand Dim SqlConnection As New SqlConnection(DataLayer.Connection...more >>

Validate Email. RegEx. Need Help.
Posted by Shapper at 5/11/2005 11:46:30 AM
Hello, I have the variable "emailAddress" in my Code File (myPage.aspx.vb). I need to check, in Page_Load, if the email address saved in my variable is valid. I found many examples of how to use ASP.NET validation in aspx code but I can't find examples on how to use RegEx in my VB.Net code...more >>

Simple Server.MapPath problem?
Posted by Oberon at 5/11/2005 11:40:01 AM
Why does this not work as it should? I expect index.aspx to show:. Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\wwwroot\ChatSimple\db\chatusers.mdb Instead, I get: Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\inetpub\wwwroot\ChatSimple\chatusers.mdb\chatusers.mdb It is...more >>

Load an Embbed Resource image
Posted by Fernando Lopes at 5/11/2005 11:24:58 AM
Hey there! Someone knows how can I get and show an embbed resource image? I'm developing a web custom control and this control have some images and I want to put all these images like a embbed resource. Tks. Fernando Lopes ...more >>

Set Postback or Session Timeout
Posted by kurt at 5/11/2005 11:05:48 AM
Hi All. I have a page that users enter information in text boxes...and sometimes it's a lot of information. There are times that these folks either take their time entering the info or do other things before they submit the page. Unfortunately, if they do take their time, there are times where ...more >>

Executing a process in a running app from a web page
Posted by Buddy Ackerman at 5/11/2005 10:55:20 AM
I've taken over the developement of an application and it's doing something I've never seen before. It somehow communicates with a running application (written in .NET). Here's teh javascript line that does it: document.getElementById("MyIFrame").src="dalert:preview?guid=3fafba12-7550-468d-9f...more >>

FileNotFoundException
Posted by MattC at 5/11/2005 10:39:36 AM
Hi, I am getting the following error: System.IO.FileNotFoundException: C:\Dreamtxt\WebSites\mysite\www\feedback.aspx at System.Web.UI.TemplateParser.GetParserCacheItem() at System.Web.UI.TemplateControlParser.CompileAndGetParserCacheItem(String virtualPath, String inputFile, HttpContext co...more >>

Server Control Deployment Question
Posted by BolineC at 5/11/2005 10:20:02 AM
I created a server control (very simple) and am trying to move it to a common server so that the other developers can add it to their visual studio "toolbox" and start using it. The problem that I am having is: If I use this dll (add it to the visual studio toolbox) from the same computer ...more >>

SMTP Problems on server with McAfee VirusScan 8.0
Posted by D. Shane Fowlkes at 5/11/2005 10:13:03 AM
Hello! I just recently started experiencing a major problem on our web server. Suddenly, all the SMTP mailing scripts quit working and produced this error: **The message could not be sent to the SMTP server. The transport error code was 0x800ccc15. The server response was not available ** ...more >>

ASp.net stored procedures parameters for search functions
Posted by .Net Sports at 5/11/2005 10:06:36 AM
I'm able to find info for using input parameters for stored procedures to do inserts and update type SQL functions in asp.net (vb.net), but I need to find something that will use input parameters with Select sql statements to do search functions in an sql dbase and sql tables. TIA ..NetSports ...more >>

Configuration Error
Posted by sundar_s1210 at 5/11/2005 10:04:11 AM
in one of my asp.net application in getting a Configuration Error while rest of my application is running fine extra thing in this application is that i am having a Class file which contain many classes and in Global.asax file i am creating an object of that Class file. Right now i have cre...more >>

VB code and Sql Server Ansi Padding
Posted by Sandy at 5/11/2005 9:20:44 AM
Hello - I didn't know what to call this problem in the Subject, but here goes: I have a wonderful Function (below) which I snagged off the internet that does exactly what it's supposed to do - take anything longer than the designated amount of characters, truncate it and add "..." at the e...more >>

Scrolling some table rows while locking others.
Posted by Peter Rilling at 5/11/2005 8:40:25 AM
You know in Excel you have the ability to lock certain rows such that the rows under it allow you to scroll but the locked rows say on the screen. This is especially useful when dealing you want headers to stay in place because you might have a lot of rows that need to scroll. I would like to ...more >>

capture the resize event
Posted by rodchar at 5/11/2005 8:30:11 AM
hey all, is there a way to capture the event of resizing the window of the asp.net page? thanks, rodchar...more >>

Boilerplate template code for database add/update/delete
Posted by dwok at 5/11/2005 8:21:27 AM
Does anyone know of any "boilerplate" template that can be utilized to add/edit/delete information from a database? I am working on an application that does a whole lot of adds, edits, and updates and it seems like most of my code is very repetative. I have been looking to move everything into ...more >>

UIP Blocks
Posted by Pavan at 5/11/2005 8:20:02 AM
Hi I am developing a project in VS .Net 2005, where I have to use UIP 2.0 to define my UIs. In order to work with UIP, I have to implement a class called “WebFormView” from my class. When I am trying to implement the WebFormView class in the code behind file, I am getting an error...more >>

Duplicate Session ID across multiple IE windows
Posted by Jim Tilson at 5/11/2005 8:12:04 AM
I'm having a problem with Session ID being duplicated across multiple IE windows. I edited the web.config for my ASP.net web application to display trace information on the page. I open an IE window and navigate to the home page of my ASP.net app, and note the Session ID that was assigne...more >>

anonymous access account for sqlConnection
Posted by yurps at 5/11/2005 6:25:34 AM
Hello on my windowsXP coding machine I have a webapp with Anonymous Access enabled and a windows user account and password typed in...and the Integrated Window authentication checkbox tick in "properties....Directory security" in web.config I have <authentication mode="None" /> <identity imp...more >>

Specified cast is not valid
Posted by Web Team NO[at]SPAM Borough of Poole at 5/11/2005 6:04:17 AM
Can anyone help with this error... "Specified cast is not valid." Which I am getting with this code... (Line 223) Line 221: 'Handles data paging Line 222: Public Sub PagerButtonClick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPager.Click Line 223: ...more >>

Global Redirect
Posted by Smithers at 5/11/2005 5:13:13 AM
How can I cause all requests for [pages that no longer exist in a Web site] to result in the user receiving default.aspx? Thanks! ...more >>

How can I display data in bounded colums?
Posted by basulasz at 5/11/2005 12:48:05 AM
May be it is a bit easy question but i don't know the way to display data in bounded colums. I get data from DB with a datareader, and I want to display them on bounded colums. I dont want to create colums dynamically. How can I do that? -- No Sign...more >>


DevelopmentNow Blog