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 > june 2005 > threads for friday june 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

Keeping user updated?
Posted by Terry Olsen at 6/17/2005 10:45:26 PM
I'm doing a lengthy SQL query in a web app. I'd like to keep the user informed on the progress. Is there any way I can update a status text on the client? ...more >>

Problem with CustomValidator
Posted by Nathan Sokalski at 6/17/2005 10:12:21 PM
I want to make sure that the SelectedDate property of the Calendar control is later than the current date or that a certain checkbox is selected. I tried to use a CustomValidator control with the following code: Private Sub validTimeFrame_ServerValidate(ByVal source As System.Object, ByVal ...more >>

XmlSerialization error
Posted by No one at 6/17/2005 9:48:06 PM
I have an ASP.Net application that uses XML deserialization to create some objects. It works fine on development and our qa area, but on production I get an error about a temp object not being able to be created in c:\windows\temp. Does anyone have any ideas? Thanks....more >>

Could not load type(Driving me NUTS) PLS HELP
Posted by Kiran at 6/17/2005 8:14:09 PM
Hi, I copied a whole solution from a machine to my machine. I have put the = folder in a folder in E Drive. I created a virtual directory from inetmgr and browsed a folder and then = a wepage from inetmgr itself. Then I get this error Could not load type 'Sample.Login'.=20 Any help...more >>

ASP.NET and BLACKBERRY
Posted by John Cosmas at 6/17/2005 7:30:01 PM
Has anyone had the pleasure of developing ASP.NET applications of the BlackBerry? I just built a simple application, and it seems not generate incomplete HTML tags. For instance, when an <INPUT is created, it closes it with /> instead of a straight >. And for some reason whatsoever, there a...more >>

AspCompat causes CCW count to grow
Posted by R. Todd at 6/17/2005 7:25:01 PM
I noticed today that when I have an ASP.NET web page with AspCompat="true", the CCW count tracked by the peformance monitor increases every time the page is loaded. Clicking refresh causes the count to increment. The count grows into the hundreds before it drops, but it never drops back to 0...more >>

How to solve this? The headache is growing.
Posted by Shapper at 6/17/2005 6:35:27 PM
Hello, I have a XML file (RSS 2.0 format). Something as follows: <?xml version="1.0"?> <rss version="2.0"> <channel> <title>News</title> <description>Latest News</description> <item> <title>Title</title> <link>Url</link> <description>Description</descrip...more >>

Need clean code sample for HttpWebRequest
Posted by Steve at 6/17/2005 5:43:04 PM
Hi, Could someone post some clean code for a HTTPS POST request running from a server to a 3rd party server in an aspx page. I have some code that works unreliably. If I try the request from a few web browsers at the same time it will not work reliably. I use ThreadPool.QueueUserWorkItem,...more >>



How to pass arrays Between the Browser and an ASP.Net Page?
Posted by KenBell at 6/17/2005 5:41:58 PM
Hi all, I'm writing an ASP.Net application, however I'm trying to put some of the functionality onto the client to avoid postbacks to the server wherever possible. This being the case, could anyone give me any advice on how, once a postback to the server is finally made, it would be po...more >>

My website has weird authorization issue - please help
Posted by Nevets Steprock at 6/17/2005 5:19:54 PM
I have been building a website diligently for the past three months and everything has been working well so far. Yesterday, I added a link on my javascript menu. This link is supposed to go to a pdf in a folder instead of the usual html page. When I try to test the link an authentication di...more >>

Extranet website and Security
Posted by Joe at 6/17/2005 4:53:02 PM
Hi, I have to implement 3-4 extranet websites for customers. These websites (each and every page of the website) will be secure. I want only certain customers to be able to access the site. The whole website needs to be implemented by using asp.net or asp. What are the options to impleme...more >>

delayed session creation
Posted by George at 6/17/2005 4:22:12 PM
Hi, Is it possible to delay session creation in ASP.NET I want the user to browse my site without any session created (no = cookies set). My pages will know that is Session =3D null then Session = has not been created and they should not rely on it. But at the moment user puts something into...more >>

Accessing ASP.NET Session or Application under old ASP
Posted by Ravi Ambros Wallau at 6/17/2005 4:03:59 PM
Guys: Is there someway that allows a normal (and old) ASP page to access Session _or_ Application data of an ASP.NET page? I can't migrate this ASP page to ASP.NET. This ASP page loads an ISAPI filter (msmdpump.dll), and I've tried a lot, but can't make this works in ASP.NET. ...more >>

Using Excel in ASP.NET - Permissions. Windows 2003
Posted by Ryan Ternier at 6/17/2005 4:02:01 PM
We've been using Excel for our web apps for quite some time. We're putting the apps on 2003 boxes now and have run unto an error with Excel. It just won't work <darn excel>. It gives us the error "Access is Denied", which is the usual error that is given when .NET doesn't have access to...more >>

Validation summary control
Posted by Sandy at 6/17/2005 2:45:03 PM
Hello - If I use a validation summary control and set the ShowMessageBox to true, will the messagebox that comes up be blocked by pop-up blockers? Does the messagebox work in all browsers or just IE? -- Sandy...more >>

VS.NET Just Goes Away
Posted by Tina at 6/17/2005 2:30:42 PM
I had a problem that when I hit build in VS.NET with my ASPX project (that has about 144 ASPX Pages), the VS.NET program just ends! Dissappears - no message, no error, no nothing. I posted on this forum and got advise to (1) run repair & (2) add more memory. I got a whole new computer wit...more >>

window properties from java script....
Posted by Brown Smith at 6/17/2005 2:29:24 PM
How to get the browser window properties at run time through java script code? When my ASP.Net application is launched (through IE only) I am interested with the following properties from client side code. Where exactly the browser is located on the screen. Interested in left and top proper...more >>

Can't see .csproj files
Posted by mobilegolfer at 6/17/2005 2:25:01 PM
I'm helping a friend set up his dev environment. In trying to add an asp.net project to his solution we are stuck. The web's virtual directory (a ClearCase share) is defined and viewable from IIS. When we attempt to "load an existing web project" from //localhost/<ourdir> we can browse to the...more >>

Reset SqlParameters
Posted by tshad at 6/17/2005 1:54:12 PM
I have an SqlParameter array that I want to reuse after I have used it. For example, I have the following code that calls my generic db routines: *********************************************** Dim myDbObject as new DbObject() Dim DBReader As SqlDataReader Dim parameters As SqlParame...more >>

asp .net / sql database / datagrid / export to excel
Posted by mattdaddym NO[at]SPAM gmail.com at 6/17/2005 1:39:36 PM
Hi all, I have been using the following code to export my datagrids to excel for quite some time. Very simple and very effective. <code> Sub btnExcelExport_Click ( s As Object, e As EventArgs ) Response.Clear() Response.AddHeader("content-disposition", "attachment;filename=FileName.xls...more >>

Can you refresh a form displayed via showmodaldialog method
Posted by Tmajarov at 6/17/2005 1:21:04 PM
Haven't been able to find a clear answer to this... I am building an asp.net application and trying to enforce some work flow by displaying a form via the showmodaldialog method. I can get the form to display, etc. But I want to refresh the content of the form displayed in the dialog window...more >>

Can you refresh a form displayed via showmodaldialog method
Posted by Tmajarov at 6/17/2005 1:21:01 PM
Haven't been able to find a clear answer to this... I am building an asp.net application and trying to enforce some work flow by displaying a form via the showmodaldialog method. I can get the form to display, etc. But I want to refresh the content of the form displayed in the dialog window...more >>

page expiration
Posted by kpg at 6/17/2005 11:22:42 AM
Hi all, easy question: How can I make a page expire immediately? I don't want the user to be able to re-visit it. Tried <% response.expires = 0 %>, did not work. Don't understand how to use the System.Web.HttpCachePolicy ??? Thanks kpg...more >>

XML XPath and Simple Stringwriter or Streamwriter Question in Datagrid
Posted by needin4mation NO[at]SPAM gmail.com at 6/17/2005 11:10:15 AM
Hi, please consider this snippet: string filename "c:\\inetpub\\wwwroot\\getdirections\\Directions.xml"; XmlDocument doc = new XmlDocument(); doc.Load(filename); XmlNodeList authorList = doc.SelectNodes("/NewDataSet/location[locationidID='westside']"); StreamWriter writer = new StreamWriter(...more >>

Create Custom Default.ASPX
Posted by Sanjay Pais at 6/17/2005 10:32:55 AM
We are using ASP.2.0 and I was wondering if any one knew how I could modify the default.aspx. What I want to do is add some new HTML to the aspx page as well as either change the code behind or use some new code beside on the page itself. For example, I want to change this <%@ Page Langua...more >>

Application Start Delay
Posted by Jeremy S at 6/17/2005 10:29:19 AM
I have written an ASP.NET application that performs very well. I make heavy use of the Cache and otherwise minimize the number of round trips to to the db. I couldn't be happier with the performance - except when the application first starts. When hitting my Web server over the Internet there ...more >>

slide menu
Posted by ae at 6/17/2005 10:00:57 AM
can someone guide me to where i can find source code examples for a slide menu? i rather do it from scratch than downloading a *.dll...more >>

What are the timeouts that can be set in asp.net
Posted by George Homorozeanu at 6/17/2005 9:51:29 AM
I have an ASP.Net application that works with MS SQL Server in background to show some infomartions to the users. I also have build the functionality for downloading this information in a CSV-Format file. If I set the shown information over a short period of time (lets say 1 year) then the dow...more >>

Learning .NET
Posted by Shawn Ferguson at 6/17/2005 9:47:18 AM
I'm in the process of learning .NET but I have an issue. How do you know = what CAN exist. What I mean is how does a person know to use the = string.todate or something like that? There are so many additions and = changes from traditional, how do you know what to use for what you need = witho...more >>

Javascript from an UserControl
Posted by Paperback Writer at 6/17/2005 9:37:02 AM
Hi All, I need to validate fields from my user control in the onload...the problem is that my fields come with the name of the usercontrol followed by textfield's name, for example: UserControl1:TextName I need to validate for example: onload="MyFormatFunction(document.frm1.UserControl1:...more >>

Id of child controls for UserControl
Posted by Shimon Sim at 6/17/2005 9:29:54 AM
Is there a consistent way to find out the id of child controls of the UserControl. Should I just use this.name+"_+control.Id;? Shimon ...more >>

Looping through DataList and reading TextBox values on Button Click
Posted by bwalke NO[at]SPAM lbrspec.com at 6/17/2005 9:22:34 AM
I am developing a web form which is going to be used for manufacturing input. The form uses a DataList which list a batch of parts that may range anywhere from 1-9 parts. The DataList contains 6 textboxes pre-fill with data (reason for using datalist) which will capture user input and changes...more >>

Sizing a Grid Layout control?
Posted by Tina at 6/17/2005 9:16:46 AM
In order to constrain the screen real-estate a datagrid takes, I use an HTML Grid Layout Control with scrollbars. One problem, however is that the datagrid changes horizontal size depending on what's being displayed. It would be nice to be able to adjust the horizontal width of the Grid Layo...more >>

Rounded Borders
Posted by Mythran at 6/17/2005 9:03:51 AM
Just a quick question regarding styles in ASP.Net apps (or any apps for that matter). Is there a way, without using images, to get borders to be rounded for an HTML element? Sorta like the borders of a Windows application that is running on a default install of Windows XP? Thanks in adv...more >>

Fire javascript from dropdownlist selectedindexchanged
Posted by blarfoc NO[at]SPAM yahoo.com at 6/17/2005 7:50:37 AM
Hi, I want to use javascript (not postback = true) to be fired when I do a selected index changed from a drop down list. How do I do that? Thank you, Antonio ...more >>

calling functions in a script in .aspx page
Posted by anoop at 6/17/2005 7:26:06 AM
Hello, I created a Public class in .aspx.vb code behind file, now I want to know can I call that functions in the class in the Scripts either client side or server side in .aspx page. also I want to associate those functions with the click of the button which is accesible in .aspx fi...more >>

calendar control : how to retrieve the "shown" month and year
Posted by tfsmag at 6/17/2005 6:50:09 AM
i need to create a date range based on the current "shown" month on a calendar control to query a database and populate a datagrid based on that date range. how can i retrieve the "shown" month and year from the calendar control to create this range. Here is what i was thinking, all i need is ...more >>

MDI Child
Posted by MM at 6/17/2005 6:48:03 AM
New to advanced VB.NET. I know the basics and I have converted a program from VB to .NET. I've gotten most of the errors fixed, but still have a few questions. How do I make the MDI child show up in the MDI parent form? Also, I am getting Adodc errors when it is time to update my records, what...more >>

A popup progress bar
Posted by blarfoc NO[at]SPAM yahoo.com at 6/17/2005 5:35:21 AM
Hello, I have a web application that runs a sql server stored procedure. There are 10 stored procedures to chose from and the web user can pick any one of them. They have 10 buttons. Each stored procedure can take from 1 to 4 minutes. I have my connection string timeout set to long enough bu...more >>

what are some ways to do this
Posted by rodchar at 6/17/2005 5:26:25 AM
hey all, i'm trying to preserve the value of a dropdownlist so when a user leaves the page and comes back to it the page will remembers the value of that dropdownlist. Any ideas? thanks, rodchar...more >>

Converting from java beans to c#
Posted by Stephen H. at 6/17/2005 5:04:03 AM
Hi, I have an existing web application with java beans that I wanne migrate to ASP.NET using C#. The existing web application has some jsp files that use java beans as follows: .... <%@ page language="java" import="reportgen.*"%> <%@ page import="java.lang.reflect.Array" %> <jsp:useB...more >>

Problem Trying to Invoke Default Email Client
Posted by Wayne Wengert at 6/17/2005 4:55:19 AM
I am building an aspx page on which I want to have a button, which when clicked opens the user's default email component (Outlook, OE, etc.). I searching the web I found the codes shown below but when I try to use it I get the error: Exception Details: System.ComponentModel.Win32Exception: ...more >>

Locate File Diologe
Posted by Reggie at 6/17/2005 3:32:31 AM
HI and TIA! What I'm trying to do is have my user click a button which opens the find file dialogue box. Once they find it I want to place the full path into a variable so that I can use it as the Source in my connection string. I've tried the HTML File Field control which allows me to na...more >>

ASP.Net and SourceSafe
Posted by michaeltorus at 6/17/2005 3:32:29 AM
Hi We're currently moving our vb6, COM+, n-tier classic ASP web application over to .net. However, we're not sure which way to go with Source safe, and it's starting to become a problem. We have 3 possible solutions (project sharing, file referencing, or using the GAC ) and each with is pro's ...more >>

Need webform Navigation help MVP's
Posted by Saket Mundra at 6/17/2005 2:33:28 AM
I am designing a web application to offer services to customers. In form1 I have listed all the services available using CheckBoxlist control. I have a different webform for customization of each of the services that is being offered. I want that when a user makes selection of services in t...more >>

DataGrid + BoundColumn + UpdateCommand
Posted by niki at 6/17/2005 2:26:13 AM
Hello. I have a problem with custom columns inside the datagrid. I've set up a datagrid that populates from a database; I can edit the datagrid values and update the db, so that's ok. (btw, it's not as easy as the book claims...) Now I'd like to format some columns, say date values, and what'...more >>

Compilation Error
Posted by Roland Hall at 6/17/2005 12:48:02 AM
Can someone please explain this error to me? Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30408:...more >>

How to run code when a web page closes?
Posted by Norseman at 6/17/2005 12:07:17 AM
I need to check that certain data fields has been saved to a SQL server when a user leaves a web page (one way or another i.e. by clicking the X (close) button or the Back-button or...). I don't want to save data at each field. Is there a page_close ala page_load you can use for this?...more >>

Can ASP.NET be compiled without Visual Studio?
Posted by Jordan at 6/17/2005 12:00:00 AM
I would like to take my ASP.NET project to another computer, which doesn't have Visual Studio. If I modify the code there, is there a way to recompile it without Visual Studio? Thanks! ...more >>

Date/Time. Looked Everywhere. Urgent. Thanks.
Posted by Shapper at 6/17/2005 12:00:00 AM
Hello, I created a dataset from a XML file. One of the dataset fields is [pubDate]. In an ASP:Repeater I am displaying the [pubDate] field. <%# DataBinder.Eval(Container.DataItem, "pubDate", "{0:f}") %> The date displayed has the following format, the same as in the XML file: Fri, 20 ...more >>

Writing your own custom ASP.NET server control
Posted by Rob Nicholson at 6/17/2005 12:00:00 AM
I've decided that we're just going to have to bit the bullet and write our own server control with client side JavaScript to handle a specific requirement. Anyone know where in MSDN is the chapter on writing your own server controls? I can find lots of individual references but not the "root" :-...more >>

How to add non dll dependencies in a ASP.Net project ?
Posted by Michel de Becdelièvre at 6/17/2005 12:00:00 AM
Here is my scenario : I have a library libA.dll, this library is built by a project (projectA), which may be used by several "solutions" => 1 dll assembly => this library uses a xslt transform => there is a "A.xslt" file that must be put somewhere inside the project that...more >>

Can I Server.Transfer from .aspx to .asp page?
Posted by simon at 6/17/2005 12:00:00 AM
Hi Right now, when i call : Server.Transfer( "default.asp" ); I get System.Web.HttpException: Error executing child request for /SessionBridgeTest/Default.asp. Is it possible at all to do so, or am I just doing something wrong? Simon...more >>

stripping tags from source on render
Posted by Lance at 6/17/2005 12:00:00 AM
Hi, What way could I strip certain tags (like HTML comments) from the HTML being delivered to the client? I don't mean what regexp to use, but where do I put this stripping code? I'm thinking something in the Global.asax, but I can't find any reference to it having a Render or PreRender event ...more >>

custom controls / dynamic control rendering question
Posted by matthias s. at 6/17/2005 12:00:00 AM
Hi there, I'm building a usercontrol to provide language selection options. The availabe languages are retrieved dynamically and should be shown as flags (ImageButtons) in a table. But I've got a problem with formatting the whole thing. I'm using Response.Write statements to write the table...more >>

Can we binding a variable to parameter of a Javascript function
Posted by ad at 6/17/2005 12:00:00 AM
I write a javascript function, it require a string parameter: <asp:TextBox ID="TextBox1" runat="server" onclick="MyJavascript('Tiger');"></asp:TextBox> I want bind a variable to the parameter, like: <asp:TextBox ID="TextBox1" runat="server"onclick="MyJavascript('<%#sName%>');"></asp...more >>

Datagrid PageIndexChanged event handling
Posted by Gopalan at 6/17/2005 12:00:00 AM
Hi I have got a Datagrid populated with a Dataset. The first time the datagrid shows the first page data. When I clicked the Next link to display the next page data it displays the same data again. I tested whether the event handling function is being called or not, it seems it is no...more >>

how to show different page instead of dotnet error?
Posted by dee at 6/17/2005 12:00:00 AM
Hi How can I display a custom page instead of the error page generated by dotnet? Thanks. Dee ...more >>

Urgent please
Posted by Yoshitha at 6/17/2005 12:00:00 AM
Hi I want to create license protection for a web based application. when any user logging into the application it has to check the key enterd by the user against the database where the key along with the cpuid is stored. the users who want to access the particular web site, they must have li...more >>

How Can I do this in ASP.NET...
Posted by msnews.microsoft.com at 6/17/2005 12:00:00 AM
Hi All I m facing a problem. My Scenario is that i have a table in database with the name of = "userprofile". In my web site the user enters his personal information for building his = profile in our system.=20 During building his profile the system asks the user for his personal = website ...more >>

Safari and Stream Video Content
Posted by MattC at 6/17/2005 12:00:00 AM
Hi, I have the following code in the code behind for a page. I use it to deliver a video without the user being able to view the direct address in the media player properties. It works fine on IE and Firefox, but Mac/Safari seems to not like the fact that the content-type is different from ...more >>

How can you add Attributes to controls in template
Posted by ad at 6/17/2005 12:00:00 AM
If TextBox1 is a control on a WebForm, we can add Javascript function by adding attribute in the Page_Load event like: protected void Page_Load(object sender, EventArgs e) { TextBox1.Attributes.Add("onclick", "return MyFunction('Tiger')"); } But if the TextBox is in a...more >>

which asp.net book to start with, apress or o'reilly?
Posted by sauzer at 6/17/2005 12:00:00 AM
hi there! i have a good knowledge of c# and i'd like to start programming in asp.net. i was told the best reference book is the one by dino esposito but it's also not really good to learn the basic of the language. i'm undecided between 2 books, "progamming asp.net" by jesse liberty-o'reilly a...more >>

I want to read all charecters of pdf file ...
Posted by Alex Smith at 6/17/2005 12:00:00 AM
Hi friends, I want to read all charecters of pdf file using char array. Thanks, Alex. ...more >>


DevelopmentNow Blog