all groups > asp.net > december 2005 > threads for thursday december 15
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
Can I have a global.asax just for an application?
Posted by Alan Silver at 12/15/2005 9:33:22 PM
Hello,
I have a web site that has a folder configured as an application. Is it
possible to have a global.asax in the folder and have any requests to
pages in the folder sent there instead of the main site?
The reason I ask is because I am developing the folder (ie the separate
applicatio... more >>
How to deploy iis 6.0 with Remotely Stored Content on UNC Servers and NAS Devices.
Posted by jason at 12/15/2005 8:19:45 PM
How to deploy iis 6.0 with Remotely Stored Content on UNC Servers and NAS
Devices.
I deploy website(aspx page) with UNC path,however,I get a error.
... more >>
Anyone tried the design templates from MSDN?
Posted by Alan Silver at 12/15/2005 5:43:16 PM
Hello,
I discovered the MSDN design templates[1] yesterday and have been
looking at them.
I have a problem with the Personal template. I don't have SQL Server
Express loaded, as I already have SQL Server 2000, and use that instead.
All of the other samples work fine with this when you ch... more >>
accessing template column controls
Posted by Vikram at 12/15/2005 5:43:04 PM
how can i access reference to a label control in a template column of a
datagrid, BEFORE the grid is databinded
... more >>
hides inherited member ApplicationInstance
Posted by Wayne Brantley at 12/15/2005 5:06:45 PM
VS2005 RTM
Create a web user control to use as a base class for other web user
controls.
Now, create a new web user control, change the class it inherits from to
your base class and compile.
(You must have a <% Register %> so it will see it)
You will get TWO warnings per class like:
W... more >>
Wierdness with "Imports" statement
Posted by danthman at 12/15/2005 4:53:06 PM
Can someone tell me why the following VB.NET code doesn't work?
-----
Imports System.Data.SqlClient
Partial Class PageHeader
Inherits System.Web.UI.UserControl
Public ConnectionObjG As SqlConnection = New SqlConnection()
Public AdapterObjG As SqlDataAdapter = New SqlDataAda... more >>
The type '_Default' conflicts with the imported type '_Default'
Posted by Wayne Brantley at 12/15/2005 4:48:49 PM
I get a warning when I build my web app in VS2005 RTM. This error occurs
for every page that is called default.aspx. (I have one in each folder of
my web application).
Pulling up the files it references, shows both files are code generated and
appear to be identical. At the top of each ... more >>
ObjectDataSource - Object Graphs
Posted by David Jessee at 12/15/2005 3:55:03 PM
I've been taking this approach when working with business entity objects:
1) Determine the ID of the object you need to work with (e.g. Invoice)
2) Get the Object instance of the Invoice...has a Buyer property, which is
an account class...a seller property which is also an accoutn
class....L... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Convert Word to HTML in ASP.NET 1.1
Posted by Tony at 12/15/2005 3:25:05 PM
My company has an online documentation system that got set up a while ago.
They now want to to add the functionality to import documents into the system
where they will be converted to HTML. I can't seem to find anything on this.
Does anyone know how to convert a Word, Excel or PDF document to... more >>
Examine/Edit html output before it's sent to the client
Posted by J. Shane Kunkle at 12/15/2005 3:05:32 PM
A customer would like to redirect visitors to a "goodbye" page when they
click on an outside link on their website. The website is quite large and I
would rather not wade thru all the existing content on aspx pages and the
database and edit every single outside link (and keep all new content ... more >>
Problem connecting to SQL Server 2000 using VS 2005 (Please help!)
Posted by davidman73 NO[at]SPAM gmail.com at 12/15/2005 2:46:16 PM
Hello,
I have VS 2005 with SQL Server Express in the same machine, but need to
connect to a remote SQL Server 2000. I'm getting this error:
An error has occurred while establishing a connection to the server.
When connecting to SQL Server 2005, this failure may be caused by the
fact that un... more >>
Error: Cannot use a leading .. to exit above the top directory.
Posted by moondaddy at 12/15/2005 2:40:30 PM
I have a simple sample site I'm building in asp.net 2.0. I created a master
page and a default.aspx content page in the project's root directory. Then
I created a subfolder called content and added some aspx pages in the
'content' folder. when these pages were created I referenced the maste... more >>
One application... multiple domains
Posted by Ryan at 12/15/2005 2:39:03 PM
I am developing an application using ASP.NET 2.0. In this application, I need
to provide customized database-driven interfaces based on the domain name
that the user is accessing the application from. A list of these domains will
be avialable in a data table.
What is the most efficient way... more >>
updateproblem with usercontrol, page and masterpage
Posted by Alexander Widera at 12/15/2005 2:29:16 PM
Hi,
the situation is the following:
There is this masterpage:
<%@ Master Language="C#" AutoEventWireup="true"
CodeFile="mymaster.master.cs" Inherits="mymaster" %>
<%@ Register tagprefix="myc" tagname="BasketSmall"
Src="shop/basket_small.ascx" %>
<html>
<body>
<form id="form1" ... more >>
CheckBoxList problem. Want to add some javascript to each checkbox
Posted by ThunderMusic at 12/15/2005 2:27:12 PM
Hi,
I have a CheckBoxList and I want to add some javascript code to each
CheckBox created by this CheckBoxList. I tried iterating through all items
of the list, all the controls, do a FindControl, et al. with no good result.
I would use the Control.Attribute.Add("OnClick", "some javascript co... more >>
CSS Question
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 12/15/2005 2:12:59 PM
I want to define a style that automatically associates a specific image with
certain IMG elements. Is there a way to do this with ASP.NET? If I use an
ASP.NET image control and specify a class that has a src property specified,
it doesn't seem to do anything. Thanks.
Jerry
... more >>
ObjectDataSource won't perform updates
Posted by mthomason at 12/15/2005 1:57:41 PM
I keep getting this error when trying to update records using an
ObjectDataSource. I have seen others post similar errors...but I haven't
found any solutions.
ObjectDataSource 'ObjectDataSource1' could not find a non-generic method
'UpdateProduct' that has parameters: ProductName, UnitPric... more >>
Sessions id not passed in 2.0
Posted by Jason Chu at 12/15/2005 1:38:01 PM
I have an asp.net application, it runs a java applet, and when the java
applet access the .net pages, I find by tcp sniff, that the session id is not
passed by java, hence, java accesses pages in a different session.
this used to work in 1.1.
Same thing happens, if say you have a page that... more >>
Cookie Problem
Posted by Steven M. at 12/15/2005 1:20:30 PM
Greetings...
I need desperate help with my problem.
I guess the solution is related in some way with the cookies getting
lost in the authentication process working with some web servers.
Appreciate any help you could provide.
I've created an application that does the authentication proc... more >>
Please help me with FxCOP 1.32 and ASP.NET 2.0
Posted by madhattan NO[at]SPAM newsgroups.nospam at 12/15/2005 12:42:28 PM
Environment:
Microsoft Visual Studio 2005 Professional Edition
Microsoft Visual Source Safe 2005
FxCop 1.32
Project:
ASP.NET 2.0 C# Project
5 Developers
We are trying to implement FxCop into our build workflow and can't figure
out how best to tackle the task.
1) H... more >>
secure to nonsecure page transition
Posted by dotnettester at 12/15/2005 12:34:32 PM
Hi,
I have a secure page that users use to login to the site. Once the user has
successfully signed in I transfer him to a nonsercure content page. But at
this transition user is prompted that he is being transferred from secure
site to a non-secure site.
Is there a way I can avoid this... more >>
Access to the path is denied - trying to write a file
Posted by David Thielen at 12/15/2005 12:32:02 PM
Hi;
I created a virtual directory in IIS 6.0 and my asp.net app runs fine. But
when it tries to write a file I get:
Access to the path is denied. - C:\Inetpub\wwwroot\RunReportASP\images
C:\Inetpub\wwwroot\RunReportASP is the directory of my virtual directory for
my app. In it's propertie... more >>
Searching a gridview ASP.NET 2.0
Posted by washoetech NO[at]SPAM newsgroups.nospam at 12/15/2005 12:32:00 PM
Hello,
How do I search through the gridview? Would I do this at the sqldatasource
level?
I figured that I sould search with the datatable.select but how do I access
the datatable of the sqldatasource?
I am using ASP.NET 2.0 with VB.
Thanks for your help
J
... more >>
Property Feature For Comparing DateTime
Posted by Stephen at 12/15/2005 11:45:05 AM
Hi,
I dont know whether I am doing this correctly or not. I want some procedure
to fire when the time b/w the last and the current request is > 15 min
I declared a global variable (txtPrev as string) and set it initially to
datetime.now (tostring) and the clicked event of a button compare that... more >>
dataset question - to preserve DB resources
Posted by Chris at 12/15/2005 11:28:49 AM
I have a procedure which runs a heavy SQL query, loops through a SQLreader
and closes the reader and connection.
Within the loop, there is a lot of code/processing that must remain. I'd
like to open the DB connection, move the data to a dataSet or something to
get the data in memory, and t... more >>
How do I install ASP.NET app on IIS 6.0?
Posted by David Thielen at 12/15/2005 11:18:04 AM
Hi;
For IIS 5.0 to install my ASP.NET app I just copied it to a directory under
wwwroot and then in properties clicked on the Create button.
That doesn't work for IIS 6.0. I copied the files to wwwroot but nothing new
is showing up. What else do I have to do?
--
thanks - dave... more >>
ensuring referrer address
Posted by Sharon at 12/15/2005 11:13:32 AM
Hi all,
I need to ensure that a client using a popup service on my site,
was referred by an authorized host.
The referrer server variable is sent by the client,
and therefor is not reliable.
Do you know of other ways to do this?
Thanks,
Sharon.
... more >>
2005 Differences in a nutshell?
Posted by Tina at 12/15/2005 11:10:19 AM
I've now downloaded and installed vs.net 2005 and I see lots of
documentation and I see some isolated articles on new features. But is
there a what's new oriented set of docs anywhere? Something that
comprehensively covers differences from 2003 to 2005? vs.net, the
framework, for an asp.n... more >>
can not find connection string
Posted by Paul at 12/15/2005 11:03:04 AM
I am working on a .net app that someone else wrote and a portion of it is
getting data from an incorrect datasource. When I search the entire project
with the name of the incorrect datasource it does not find anything. Just
wondering if anyone had any suggestions, thanks.
--
Paul G
Softw... more >>
NO DLL in bin folder after building
Posted by moondaddy at 12/15/2005 10:51:08 AM
This is my first website using asp.net 2.0 and the first thing I noticed is
no bin folder. After reading some other postings I saw mention that I
needed to select Build Website from the build menu. I did this but still no
bin folder. so I manually created a bin folder and ran Build Web Site... more >>
Poping up a window AND redirecting the page thtat triggered the po
Posted by Ricardo Videira at 12/15/2005 10:32:02 AM
Hi to all. I'm having trouble with the following situation:
I have a page where the user inserts some stuff and when he clicks on the
submit button a popup window showing that info is launched and the page "A"
where he was is redirected to another page, page "B". This page "B" can also
be a... more >>
Getting Value out of a data repeater checkbox
Posted by jim.long NO[at]SPAM vanderbilt.edu at 12/15/2005 10:23:18 AM
I can't seem to get the checked value from the checkboxes! Is there
something wrong with the code? It loops through the repeater item
collection correctly.
HTML:
<asp:repeater id="rPrinterJobs" runat="server">
<ItemTemplate>
<tr>
<td><asp:CheckBox ID="chkboxSelection" Checked... more >>
ASP.NET Renaming my forms
Posted by Anthony Williams at 12/15/2005 10:19:47 AM
Why does ASP.NET insist on renaming the forms on my page? I have a page with
one form on there (the login form) and I need to be able to access it using
javascript within the page, however ASP.NET decides to rename the form to
aspnetForm. I know I could just modify my client side javascript to... more >>
1.1 and 2.0 running side by side
Posted by Mark at 12/15/2005 10:09:42 AM
It's been well documented in the newsgroups that 1.1 and 2.0 are designed to
run side by side for web applications. However, our business is deeply tied
to the success of our web servers, so I am required to find Microsoft
documentation supporting this claim prior to going ahead with it.
A... more >>
Diagram component
Posted by Maury at 12/15/2005 10:08:24 AM
Do you know some simple (free) component
to draw diagram or flow chart on web pages?
I tried Dundas Diagram but it is very expensive.
Thank you
..:M:.... more >>
download location... Virtual images for the team system
Posted by Nalaka at 12/15/2005 10:04:38 AM
Hi,
Following link says that I can download Virtual images for the team system.
For the lofe of me I cannot find the location.....
Can you send me the link please....
(I have full MSDN subscriber licence)
http://msdn.microsoft.com/vstudio/products/trial/
MSDN Subscribers have access to a... more >>
Problems with asp loading sequences
Posted by arun.hallan NO[at]SPAM gmail.com at 12/15/2005 9:32:33 AM
I had the problem of accessing controls that i had added on the fly.
I had a look at the following webpage:
http://www.codeproject.com/aspnet/retainingstate.asp , which worked.
However i have the following problem: depending on what item a user
selects from a combo box, the "NumberOfContro... more >>
Auto Mode FTP in .NET 1.1
Posted by Robert Burdick [eMVP] at 12/15/2005 9:31:01 AM
Hello All:
I need to build an FTP client in .NET framework 1.1 that can send files via
FTP in auto mode. Can anyone point me to some resources about how to do this?
Robert
... more >>
RAM based cookies
Posted by Mark at 12/15/2005 9:29:21 AM
I'm told that ram based cookies refer to session cookies (which the browser
may still store on disk if it likes). These cookies that are destroyed when
the bowser exits.
If they are "session cookies", and we have disabled the use of session
because we have clustered web servers and do not ... more >>
Gripe: usability problems with directory listing in .Net 2
Posted by Tim_Mac at 12/15/2005 9:17:36 AM
this could be seen as petty...
but i noticed if you browse a folder on a .net 2 virtual directory, you
get the directory listing. but the font styles are set to 8 point
verdana which is uncomfortably small for some users on some
resolutions. the fact that they hard-coded it in the css styles m... more >>
Converting Word files in ASP.NET
Posted by Tony at 12/15/2005 9:17:02 AM
My company has an online documentation system that got set up a while ago.
They now want to to add the functionality to import documents into the system
where they will be converted to HTML. I can't seem to find anything on this.
Does anyone know how to convert a Word, Excel or PDF document to... more >>
.Net 2, asp:Literal outside a server form = unrecognized tag prefix
Posted by Tim_Mac at 12/15/2005 7:59:55 AM
hi,
i have a master page, and i want to put an asp:literal control in the
<head><title> section. but it won't build because it says it's an
unrecognized tag prefix.
if i put the control inside a server form it works fine, but i probably
don't want to move the server form to encapsulate the bo... more >>
Merge two tables of a Dataset in only one Datatable
Posted by Wasco at 12/15/2005 6:31:37 AM
Hi!
Does Anibody knows how can i perform two query sql on db from c#?
Sample:
if i do
string QDAccount = "select * TABLE1;select * from TABLE2";
then i execute then and i get a DataSet with 2 tables:
ds is a dataset
ds.Tables[0] and ds.Tables[1]
How can I merge these two tables in o... more >>
Receive a post of XML Document
Posted by javierperezllanera NO[at]SPAM gmail.com at 12/15/2005 6:07:23 AM
Hi.
I Need to receive a post of a document XML from any page.
Please let me know how to do it.
THANKS !!!!!
... more >>
unescape in ASP.NET
Posted by jesusR at 12/15/2005 5:35:58 AM
Hello all.
I'm looking for some way to make an unescape function on my server side
code.
i have this string:
%u02C6%u201A%u0153%u201A%AC%u0160%u0153v%D4%E4%CA%C2%E8%CA%CE%EA%D2
"Unescaping" this string with javascript i receive:
=88,=9C,=AC=8A=9Cv=D4=E4=CA=C2=E8=CA=CE=EA=D2
..=2E.th... more >>
it's THREE times that i post Really wanna solve this!!!!!
Posted by micky at 12/15/2005 5:21:14 AM
===========================================================
Cannot open user default database. Login failed.
Login failed for user 'NT AUTHORITY\SYSTEM'.
============================================================
my website consist of three wesite in a solution.
Solution(http://localho... more >>
Several clocks on the same page
Posted by Chris Leffer at 12/15/2005 4:17:18 AM
Hi.
My application fills a repeater with some data and at one column it
generates a clock for each row. This clock is based on a value that I
read from my database on each row like below:
Start Time
50:00 49:10
70:00 69:30
These clocks are countdown clocks and they ... more >>
Dynamic Controls in Panel - How to access them!
Posted by arun.hallan NO[at]SPAM gmail.com at 12/15/2005 4:13:16 AM
My code does the following...
It references a stored procedure and builds a PlaceHolder containing
certain controls, based on the parameters from the stored proc. This is
implemented in it's own class.
On the form, the user can select from a drop down box of many stored
procs. From that, pa... more >>
Upload into Word document with images
Posted by gerard.buskermolen NO[at]SPAM getronics.com at 12/15/2005 2:49:59 AM
Hello world,
I have an ASP.NET application that returns HTML to the browser that
should be read by MS Word.
To do this I set Response.ContentType = ContentType.Word and render the
HTML.
The browser (IE6.0) shows a dialog box which enables the user to Open
the HTML in Word or save it to disk.... more >>
XHTML validation problems
Posted by vdex42 NO[at]SPAM hotmail.com at 12/15/2005 2:02:49 AM
I would like to have a button with the text "Next >". The problem is,
that the > character isn't valid in an attribute of an XHTML node, and
& g t ; should be used instead(Please note I am adding extra spacesso
that this post is readable!)
I have tried <asp:button Runat=server ID=test Text="Ne... more >>
Display "No Data Found" and Paging in repeater
Posted by Kim at 12/15/2005 1:55:02 AM
How can I display "No data found" in the repeater if there are no records
found after selecting an item from a dropdown list.
Another question is: Can repeater perform paging as in datagrid if the
number of records to be displayed in too long ?
I am using a repeater instead of datagrid as ... more >>
Remove AutoGenerated DataGrid Column??
Posted by Steve at 12/15/2005 12:03:01 AM
How I can remove an AutoGenerated column? I wnat to inlcude the primary key
in the resultset for creating some custom LinkButtons, but I don't want it
(the PK) displayed in the DataGrid. I tried searching the columnheader text,
but found that AutoGenerated columns are members of the Columns c... more >>
|