all groups > asp.net > june 2005 > threads for tuesday june 28
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
looking for WAN source control system
Posted by Adrian Parker at 6/28/2005 9:43:07 PM
What source control systems are people using for distributed (WAN) dev teams
?
I've seen quite a few people say that VSS is buggy and gets corrupted
easily.. is that true still ?
Thanks
Adrian
... more >>
<a href> around an <asp:imagebutton> not working - need some help
Posted by tperri at 6/28/2005 9:21:01 PM
I have an HTML table with several fields like this:
<A href="Savings.aspx?category=Food"><asp:imagebutton id="imgFood"
ImageUrl="images\buttons\btn-food-i.gif" runat="server"></asp:imagebutton></A>
When the user sees these buttons, they will currently be on the
savings.aspx?category=whatev... more >>
JavaScript : Select and Copy to clipboard
Posted by Shimon Sim at 6/28/2005 7:41:51 PM
I need to create report that user wants to be able to copy from browser to
docs / e-mail and spreadsheet.
I was wondering is it possible to write a JavaScript that would copy part of
html to clipboard.
Thank you,
Shimon
... more >>
Please explain what "Empty path has no directory" means with Server.MapPath
Posted by Alan Silver at 6/28/2005 6:59:00 PM
Hello,
I have the following line of code in a script...
litMsg.Text = Server.MapPath("/");
where litMsg is an ASP.Net Literal control. When I try and run this
page, I get the error ...
System.ArgumentException: Empty path has no directory.
Anyone any idea what this means? I have use... more >>
Worker Process Write Permissions
Posted by Carl Gilbert at 6/28/2005 5:17:42 PM
Hi
I am trying to get an online gallery (www.ngallery.org - open source) to
upload image to a folder. At the moment I am using localhost but plan to
move to some web space when I get it all working.
I need to update my 'images' folder permissions so the ASP.NET worker
process has write ... more >>
Is it possible ot sub class the HtmlInputFile control?
Posted by Buddy Ackerman at 6/28/2005 4:34:04 PM
I created this class
Public Class HTMLFileInput : Inherits System.Web.UI.HtmlControls.HtmlInputFile
Public Property Data As String
Get
Return ViewState("HTMLFileInput.Data")
End Get
Set (ByVal Value As String)
... more >>
Distinguishing Crawlers
Posted by Ian Lane at 6/28/2005 2:16:05 PM
Hello,
Does anyone happen to have a Browsercaps update that properly sets the
Crawler attribute? I am seeing that google and others are being recognized as
browsers and not crawlers.
Thank you.... more >>
Associative Array
Posted by Joe Rigley at 6/28/2005 1:49:32 PM
I'm an ASP .Net newbie and need some help. Does ASP .NET support what I
consider a "structure" or an "associative array"?
I'm look for a data type that will hold a key name and a value such as this
pseudo code below:
Dim EmployeeInfoas (Structure or Associative Array?? What data type
h... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Must use updateable query?
Posted by Jim in Arizona at 6/28/2005 1:42:35 PM
Continuing my lessons out of a book, I ran into a problem when trying for
the first time to update a datastore (access database in this case).
My Code:
Private Sub Page_Load(ByVal sender As Object, ByVal e As
System.EventArgs) Handles Me.Load
Dim strConnection, strSQL As Strin... more >>
any way to hide/show line?
Posted by Paul at 6/28/2005 1:23:03 PM
Hi I am trying to show and hide a line dynamically. I setup the line in HTML
using the HR tag but it does not have a visible attribute. Also it does not
allow run at server added to it. Thanks.
--
Paul G
Software engineer.... more >>
UpdateCommand error
Posted by Jim in Arizona at 6/28/2005 11:42:49 AM
I'm doing my best to learn ASPNET from a book devoted to ASPNET 1.0. So far,
I haven't run into any problems, until now.
This is a simple page that should just show the sql strings created by the
CommandBuilder (or is it data adapter) object.
Here is my code (the books code, actually):
... more >>
Infragistics Ultra Web Grid Updating Problem
Posted by Paul W at 6/28/2005 10:56:15 AM
I was recently assigned to build a database administration tool with an
infragistics web grid UI. I am able to pull the data into a dataSet and
bind it fine. However, when I attempted to use the UpdateCell or
UpdateCellBatch events to transfer updated data to the data set, the
event arguements (... more >>
Can't open ASP.NET 2.0 Configuration Manager. HELP!
Posted by David Hearn at 6/28/2005 10:52:27 AM
I looked this up on MSDN's site under the bug reports section and all I
could find is that the configuration manager needs to be opened up by the
administrator in full trust mode. I'm not sure what all that means, but I am
the administrator on my box. I need to be able to get in and switch the... more >>
Reference a control on page from a custom control?
Posted by Chris Kettenbach at 6/28/2005 10:06:24 AM
Good Morning,
I have a user control I dynamically load in the page_init event into a
asp:placeholder control. This page also has another placeholder I would
like to dynamically load controls into when the user takes an action on my
first dynamically loaded control.
Control 1 is a couple o... more >>
Dataset..
Posted by Alen Smith at 6/28/2005 9:52:48 AM
Is it possible to sort the data is dataset. .Net 1.1.
Thanks,
Smith
... more >>
Hidden input not available at prerender?
Posted by UJ at 6/28/2005 9:48:48 AM
I have an aspx page that does some database look ups on the initial load. I
then need to do stuff later after an autopostback based on some of the
values. So I put some variables in input variables of type hidden. Problem
is on the reload-prerender the variables are not filled in yet.
Is th... more >>
Printing. on Internet...
Posted by Alen Smith at 6/28/2005 9:40:43 AM
Is it possible to write web based application in .net 1.1 to print on any
printer configured with IP on the internet?
The printer that I am printing will have external IP. Is it possible to
program that in .net 1.1.
Thanks,
Smith
... more >>
how to deal with this SQLException
Posted by anoop at 6/28/2005 9:37:58 AM
Hello,
I have written code in ASP.net 2.0 to insert the values in a SQL
Server Database. the code is as follows
Dim addemp As System.Data.SqlClient.SqlCommand = New
System.Data.SqlClient.SqlCommand("INSERT INTO Department
(department_name,lastname,firstname,title,hiredate,reports... more >>
Stricter Forms Authentication?
Posted by honcho at 6/28/2005 9:36:25 AM
Hello:
ASP.NET's Forms Authentication facility (class FormsAuthentication,
<authorization> tags in Web.config, Application_AuthenticateRequest() in
Global.asax, GenericPrincipal, etc.) is very powerful, but it isn't strict
enough for my application.
The user of my web application must st... more >>
could load type
Posted by JD at 6/28/2005 9:29:24 AM
Hello Everyone,
I am working on a asp.net application and I have encountered an error that
is confusing the heck out of me, this is the structure of the website
/root
/root/admin
If I hit anything in the root folder then everything seems to be working
fine, if I hit anything in the /ro... more >>
Respond to Browser BACK Button Event
Posted by honcho at 6/28/2005 9:21:04 AM
Hello:
Is there a way to induce an event from the user's clicking the browser BACK
button? I need to be able to execute some server-side code before the user
interacts with the "previous" web page.
Thanking you in advance . . .
... more >>
Missing namespace: System.Web.UI.Design
Posted by Nad at 6/28/2005 9:04:03 AM
Hi everyone,
When I compile my code with "using System.Web.UI.Design;" I get a compile
error. I don't think I'm missing a reference as I can use
System.Web.UI.HtmlControls and System.Web.UI.WebControls. What's the mystery?
Thanks.... more >>
Invalid Index in paging
Posted by JackO at 6/28/2005 8:55:12 AM
I am getting the following error when I try to go to the second page of my
datagrid:
Invalid CurrentPageIndex value. It must be >= 0 and < the PageCount
I have searched the other logs on this error and the recommendation has been
to set the currentpageindex = 0. When I do this, it does no... more >>
Do I cause a memory leak in aspnet_ws.exe?
Posted by Antonio at 6/28/2005 8:52:57 AM
My web page allows a user to click a button for a report to be created.
When they click, the code calls a web service which accesses SQL
Server and calls a stored procedure. THE SP takes 2 minutes to run.
The web service return data type is DataSet and the dataset is handed
to a method which c... more >>
Programmatic OleDB access destroys current Session
Posted by daver NO[at]SPAM csh.rit.edu at 6/28/2005 8:22:57 AM
Hello all, I am running IIS 5.1 on Windows XP professional.
I am writing a web application in C# with Visual Studio.NET.
I would like to populate various data structures in my web application
from an Access database on the local hard drive. However, the instant
my code touches the Access datab... more >>
Invalid ViewState
Posted by Nad at 6/28/2005 7:39:06 AM
Hello,
I have a page with two link buttons. When I click on the first one I call
server.execute("target.aspx") to view target.aspx on the original page.
Then I click on the second link button and in this case I redirect to
another page, HOWEVER, I get Invalid ViewState exception. I know the ... more >>
VB.NET Null to SQL Null (ASP.NET 2.0 GridView)
Posted by Kivak Wolf at 6/28/2005 6:25:12 AM
Hey,
I have everything working now except for this. I have some fields that
I am getting data from, then I am sending them to a SQL database. Now
the empty string and VB.NET null are different than the SQL Null (type:
"System.DBNull"). So, i need some way of cenverting the values into a
"Syst... more >>
security issue with windows control in aspx
Posted by androoo at 6/28/2005 6:23:42 AM
Hi
I have a windows control I embed onto an aspx page which is grabbing a
dataset from the client and sending it to the server through a
webservice.
This works fine in a windows app. However when i put the aspx on a
webpage there is a security issues that pops when user tries to use the
wi... more >>
ASP.NET 2.0 class List (Very helpful info =) )
Posted by Kivak Wolf at 6/28/2005 6:18:31 AM
This is one GREAT resource made by Microsoft.
http://beta.asp.net/QUICKSTART/util/classbrowser.aspx
Check it out!
Kivak Wolf
... more >>
Returning an HTTP error from a page
Posted by Brad Quinn at 6/28/2005 6:15:05 AM
I have a status page that I want to return an http error (e.g. 500) depending
on the internal status of my application.
It seems that I should be able to do this with Response.AppendHeader, but I
can't find any specifics.
Thanks... more >>
My MSN Drag and Drop Style
Posted by Shahid Juma at 6/28/2005 5:55:15 AM
Hi,
Are there any sample tutorials or code in implementing something like
how the "MY MSN" page is? Especially how the drag and drop of panels
are.
Thanks in advance,
Shahid
... more >>
Using Microsoft.Web.UI.WebControls-Tabstrip Control
Posted by aparnasinha26 NO[at]SPAM yahoo.com at 6/28/2005 2:32:22 AM
I want to Create an web application using tabstrip control
with (4 Tabs i.e. Tab1, Tab2, Tab3, Tab4).
When the page is loaded for the first time Tab3 should be disabled,
and Tab4 should be hidden. i.e the user can see 3 tabs with one tab
disabled.
There will be two buttons in Tab1 (Button1 , B... more >>
dropdownlist size limit?
Posted by dhnriverside at 6/28/2005 2:25:03 AM
Hi
I'm using a DataReader to pull items into a DropDownList from an SQL
database. Everything works fine, but my client has started to nice that newly
added database entries aren't appearing in the DDL.
I've tested locally with exactly the same new record and it shows up fine in
the DDL, ... more >>
value="" option on input type="file" in ASP.NET
Posted by IkBenHet at 6/28/2005 12:22:14 AM
Hello,
I am uploading a file using this form in ASP.NET. I have also added a
simpel textfield:
<form runat="server" enctype="multipart/form-data">
<input type="file" id="oFile" Name="oFile" size="70" runat="Server">
<input type="text" SIZE="20" MAXLENGTH="20" id="Name" NAME="Name">
... more >>
DataView
Posted by Kiyomi at 6/28/2005 12:00:00 AM
I have a DataSet defined as follows :
Dim ds As New DataSet
ds.Tables("MyTable").Rows(i)("MyFieldName")
where I can go through from one record to another using 'i'.
Now I created a DataView as follows :
Dim dv As New DataView(ds.Tables("MyTable"))
dv.RowFilter = "My... more >>
Form Submit Issue
Posted by Rob Meade at 6/28/2005 12:00:00 AM
Hi all,
I have a page which displays some database results. On each column heading
I have 2 images, an arrow up, and arrow down for my data sorting.
The problem I have is that at the moment, the user enters search criteria
into the search box and clicks the search image button to trigger ... more >>
how to excute exe
Posted by Yoshitha at 6/28/2005 12:00:00 AM
Hi
i've one exe ( got through vb.net) and i want to execute this exe file
through my asp.net application and i wrote the following lines of code in
the button click event to run the exe but when i click on button it is not
running that exe i've given
shell("E:/project/windowsapplication1.exe"... more >>
Output cache
Posted by simon at 6/28/2005 12:00:00 AM
Is it possible to create OutPutCache vary by folder of the page?
regards,
Simon
... more >>
ASP.NET data access
Posted by DwC at 6/28/2005 12:00:00 AM
Hi,
We have a ms access database that we will be using to develop a website
which would have fairly low usage levels.
We have some experience with windows apps but not so much with asp.net
projects. We have used ADO datasets previously for a windows application
that we developed where th... more >>
JPG info
Posted by Bruno Alexandre at 6/28/2005 12:00:00 AM
Hi guys,
I'm building a Photographer Portfolio website, and I wonder if
IIS/ASP.NET could do the same with JPG as APACHE/PHP do.
I need to retrieve all the information about the uploaded JPG, like
Camera, Shutter, Flash used, Exposion time, Date, etc... in pho under apache
server... more >>
Getting row data from listbox event in repeater.
Posted by Sosh at 6/28/2005 12:00:00 AM
Hi,
I'm sure there must be any easy way of doing this, but I just can't
see it:
I have a repeater bound to a dataset. In each item of the repeater I
have a listbox with a few options. I want to be able to access the
repeater's row data from inside the method wired up to the listbox's
On... more >>
Close Confirmation
Posted by James Doughty at 6/28/2005 12:00:00 AM
Hello,
I am trying to circumvent my users from closing a page as much as possible.
I they decided to close then so be it but I want to give them a message
telling them they need to continue to finish the process.
I tried to add it to the onunload event but that event is fired on a
postback... more >>
Panel Problem
Posted by Chris Kennedy at 6/28/2005 12:00:00 AM
I have a panel which I am opopulating programatically on the page load event
(i.e. only on the first load not the post back). My added controls disappear
on postback. I would have thought the panel would remember it's state. Is
there anything I am doing wrong?
... more >>
Modifying a programmatically added field after PostBack
Posted by Nomen Nescio at 6/28/2005 12:00:00 AM
Hi
I've been trying to add a control dynamically to my page in order to pass a value to some client side script.
I've solved that problem with a different approach now but I'd still like to know what was going on with my
first method. On first load the following example will add MyTextBox... more >>
custom base classes
Posted by hansiman at 6/28/2005 12:00:00 AM
I have a site with two user types (user and admin)
I'd like to add some code to one master base page (BasePageMater), and
one user base page (BasePageUser) and one admin base page
(BasePageUser).
BasePageMaster inherits System.Web.UI.Page
BasePageUser and BasePageAdmin inhertis BasePageMast... more >>
I want to make formula in Business Intelligence Project
Posted by Alex Smith at 6/28/2005 12:00:00 AM
Hi Friends,
I want to make formula in business Intelligence Project like as we make
formula in Crystal report.
Thanks,
Alex
... more >>
writing to another server under the same domain
Posted by at 6/28/2005 12:00:00 AM
Hi
What is the best practice to write to another server under the same domain?
Here is my scenario, two servers each running a DC as a backup of each
other, and AD is stalled and configured to sync. On each of the server I
will deploy an ASP.NET application which will need to write a set of f... more >>
[ASP.Net 2.0] Visio Modeling and SQL 2005
Posted by Steve B. at 6/28/2005 12:00:00 AM
Hi,
I used to modelize my DB with Visio for Enterprise Architect (shipped with
VS 2003) in order to generate the DB and keep nice loooking shemas.
I tried the new SQL Server 2005 and Visio for EA shipped with VS 2005, but I
was not able to modelize for 2005, but only for 2000 (talbes are n... more >>
|