all groups > asp.net > april 2004 > threads for friday april 30
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
Impersonation woes
Posted by Alvin Bruney [MVP] at 4/30/2004 11:40:14 PM
From a webpage, I am calling a com object which needs to read a file. It
keeps throwing access denied errors. I am stumped. I think I have tried
everything I know what to do. The webpage can read the file. Just fine. The
com object can't.
Create user group.
Impersonate user.
User has full... more >>
Issues with OledbDataAdapter.Update()
Posted by amessimon at 4/30/2004 9:03:55 PM
Hi
I have a problem with an insert statment using the update() method of the
OledbDataAdapter.
I'm getting the error 'Update requires a valid InsertCommand when passed
DataRow collection with new rows. '
Heres a condensed version of the page.
<%@ Import Namespace="system.Data" %>
<%@ Impo... more >>
null Session object
Posted by shland at 4/30/2004 8:13:57 PM
Hi - I have a page in which I'm using session variables... The first time
someone goes to the page, obviously the session objects are null. But the
user can return to the page, at which time the session objects won't be
null.
On initializing the page, what's the syntax to check to see if the... more >>
significance in using MVC architechture in Dotnet?
Posted by at 4/30/2004 8:01:38 PM
What is the significance in using MVC architechture in Dotnet?
I think the framework itself is based on MVC
The view being the Asp.Net
The Controller being the code-behind file ....
Is that so?
... more >>
Under Construction logo or icon
Posted by Woody Splawn at 4/30/2004 7:56:06 PM
Does anyone know where I can find an under construction logo or icon?
... more >>
Powered By VS.net log
Posted by Woody Splawn at 4/30/2004 7:54:19 PM
Is there such a thing as a Powered By VS.net or VB.net logo? If so, where
might one find it so it can be incorporated into a web site?
... more >>
HELP: ASPX page shows up as normal HTML (ignores code-behind, etc...)
Posted by VB Programmer at 4/30/2004 6:54:08 PM
Here's the quick situation:
1. Using VS.NET I create 1 fully functioning aspx page, with code behind.
(Simple webform: It has a few text boxes, 1 hyperlink, 2 and buttons.)
2. I uploaded it to my website and it works PERFECTLY.
3. My friend has a webserver and wants me to stick the aspx page... more >>
onclick event not working in Netscape 6
Posted by moondaddy at 4/30/2004 6:30:06 PM
I have a <a> element in a datagrid which wraps some asp.net labels. this
element also has an onclick event which does not fire in netscape 6 (and
perhaps other browsers for all I know...). Below is the code for this. the
onclick event calls a javascript function which I put an alert in the firt... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Getting Started with DB Programming?
Posted by George at 4/30/2004 6:13:25 PM
VS.NET 2002/VB
I would like to begin learning about DB programming, and I'm not quite sure where to start.
Before I add MSSQL 2000 to my hosting plan, the question that comes to mind is, how do I develop a
DB app on my local machine? Do I have to buy MSSQL 2000 and install it on my PC? That i... more >>
Runtime
Posted by Kenny at 4/30/2004 5:40:29 PM
Hi,
Is it possible to have the connection string change during runtime? How?
Thanks,
Kenny
... more >>
Enabled property
Posted by Rob at 4/30/2004 4:44:24 PM
Is there a way of setting a separate style for a control when it is in
disabled? Currently if the control is in a disabled state it is greyed out.
For example a text box when disabled is painted with grey foregroud and
grey background! The only thing that makes it readable is, that the shades
... more >>
Details about Application_Error
Posted by Philipp Schumann at 4/30/2004 4:19:01 PM
it just occurs. Sometimes. Every once in a while. Without obvious reason. No
exceptions. All IDisposables Dispose()ed. So how do I treat
Application_Error, and where do I get the details from? The error details?
All ideas greatly appreciated.
Thanks,
Phil
... more >>
Releasing to the development server
Posted by Schoo at 4/30/2004 3:50:53 PM
I have been working on an ASP.NET (with VB.NET code behind) on my
development workstation. Things have been going well and I have been
posting changes to the project to a development server (running W2000
Server) for the 'customers' to view as I accomplish goals. I have been
using the feature ... more >>
ASP.Net book
Posted by Reza Alirezaei at 4/30/2004 3:31:15 PM
Is ASP.NET professional book from Wrox a good book for intermediate ASP.Net
Develper to imporove his knowledge?
... more >>
Two Ways To Identify An Idiot Web Developer
Posted by clintonG at 4/30/2004 3:13:25 PM
I can't tell you how frustrated I get when going to a web developer's
website and observing he or she is an idiot that has not grasped
the most fundamental element of usability: page title naming conventions.
1.) You know you are at an idiot's website when there is no page title.
Listen up idi... more >>
Header / Footer
Posted by ruca at 4/30/2004 3:07:30 PM
Can I add dinamicaly (in my code) a header and a footer for each time I want
to print a web page from my web application?
NOTE: The print command made for my is a click in a button that I have in my
web page, and not in browser menu File->Print
--
Programming ASP.NET with VB.NET
Thank's... more >>
How can I access the cookie specific to a URI
Posted by fred Oleary via .NET 247 at 4/30/2004 2:32:52 PM
Hi, I'm using HTTPWebRequest/HTTPWebResponse to automate access=
to a website=2E To bypass the authentication pages, I'd like to=
append the PC stored cookie in my initial=
"myHttpWebRequest=2EGetResponse()" call=2E Using this I am hoping to=
then directly access specific data in the website... more >>
repeated html code
Posted by starbuck at 4/30/2004 2:15:32 PM
Hi
I want to put the same banner and text at the top of all my asp pages but I
do not want to use frames and I would rather not have to repeat the code. Is
there a include command available that will read in a seperate html page and
merge it in?
Thanks in advance
---
Outgoing mail... more >>
Upload Progress in ASP.NET
Posted by garettr NO[at]SPAM iqmetrix.com at 4/30/2004 2:07:44 PM
I am creating a document manager of sorts in ASP.net and it would be
really nice to have some sort of file upload progress bar for larger
files.
Companies such as www.websupergoo.com and www.softartisans.com have
created file upload tools that show the progress however I'd like to
make someth... more >>
Newbie question - change page background colour
Posted by JezB at 4/30/2004 2:04:09 PM
Can you change the page background colour in the code-behind module ? or is
it HTML encoded and therefore only programmable via javascript ?
... more >>
Not able to popup the calendar due to PostBack untill al the validations have been met
Posted by DotNetJunkies User at 4/30/2004 1:58:38 PM
I successfully implemented this poup calendar control in C#. But the problem I am having is that the button click is posting back and the validator is getting fired which is asking all the required fields on the page to be first entered in with some data. Once all the validations are satisfied for o... more >>
I keep losing session state on Prod server
Posted by Keith-Earl at 4/30/2004 1:57:53 PM
I have been writing ASP.NET apps since the RTM build and have never seen
this. I built a simple app that uses session variables on my DEV laptop.
All runs well. I have a simple toggle routine that checks the status of a
Session variable. I keep losing the value of the variable. When I trace th... more >>
Button in custom webcontrol - event handler not called
Posted by Divya at 4/30/2004 1:51:03 PM
Hello
This is my 1st project where I have to create a Webcontrol. I have created a simple custom control with a button and 2 labels added to a panel. My problem is that the event handler that I have assigned to the button [private void btnSubmit_Click()], is not getting invoked. Could anyone pleas... more >>
See session
Posted by Marc Tousignant at 4/30/2004 1:46:25 PM
Hi,
How can I see the values of session's variable of clients on a IIS Server?
Can exist one program to do this?
Thx
Marc T.
... more >>
Iterating trough controls
Posted by Sandra Castellanos at 4/30/2004 1:30:33 PM
I want to know if there is a way to easily iterate trough all the controls
contained, say, in a table, including the controls that can be inside the
cells and in any nested tables that are inside?
Regards,
Sandra
... more >>
"Please wait" window
Posted by Paul at 4/30/2004 1:21:19 PM
Hi
I have a pretty simple VB.NET which contains some dropdown lists, a QUERY
button, UPDATE button and datagrid. The page works great accept sometimes
the database access behind the QUERY and UPDATE buttons can be a little
slow.
Anybody got any easy code to pop up a window with PLEASE WAIT... more >>
Ways my app can access server behind firewall
Posted by TS at 4/30/2004 1:16:23 PM
What are the options if I have a web server outside a firewall used as the
presentation layer, and it needs to contact an app server located inside the
firewall?
I know I got web services and remoting, though I heard remoting is going
away - is it going to be replaced?
Any other options I h... more >>
Problem With Fill
Posted by Wayne Wengert at 4/30/2004 1:12:15 PM
I am attempting to work through a walkthrough for building a datagrid that
can be edited on an ASP page, I modified the walkthrough to use my own SQL
Server connection and one of my tables. I created the sqladapter, the
connection and built the dataset. All seemed to go fine but when I try to
ru... more >>
Datagrid navigation problem
Posted by anand at 4/30/2004 1:08:26 PM
Hello there,
Just a small problem while navigating datagrid, i am filling a datagrid by
output of query. i have given navigation buttons first,last, next,
previous.it is working but the problem is that i have to click twice to
navigate.any suggestion. i m using following code
Private Sub Navi... more >>
Response.Write Problem
Posted by matthew at 4/30/2004 12:59:00 PM
Hi all,
I am now writing a aspx that get a session variable (string) and then write
it out using Response.Write.
The string length is: 494710.
But Response.Write only write the string partially!
I tried using following code, but it doesn't work, the page is keep loading.
if(stri... more >>
PostBack + usercontrol
Posted by progzz NO[at]SPAM hotmail.com at 4/30/2004 12:49:01 PM
Hi,
I have a UserControl that contain :
1 treeview
1 datagrid
and so on ...
Is there a way to postback ONLY ONE control and not all content in my Usercontrol ?
(because all contents in my usercontrol in my aspx page flicker)
Thanks !
Dany... more >>
Windows Forms in a WebForm
Posted by Jason Walraven at 4/30/2004 12:31:04 PM
Has anyone been able to get a WinForm to work embedded in a Web form yet?
I've tried a sample, and even created my own test, from one of the rare
articles from MSDN, but they do not work, not even the sample from the
article works. If anyone wants to check out the sample code and article,
here ... more >>
E-mail
Posted by Carmen at 4/30/2004 12:25:46 PM
I would like to create and display an e-mail from an asp.net page when
pushing a button. I want to see the message, to permit the user to change
whatever he likes and send it. The message must have an attachment, a .xls
file.
I have already created the message and send it OK, but this is not w... more >>
web server is not running ASP.NET version 1.1
Posted by Hunsal at 4/30/2004 12:20:36 PM
Hi,
i have remove IIS and add again to solve a problem. Visual Studio is running
on my computer. but now it give me this problem.
" Visual Studio .Net has detected that the sepicified Web server is not
running ASP.NET version 1.1. You will be unable to run ASP.Net Web
applications or servi... more >>
Extender Provider
Posted by JezB at 4/30/2004 12:14:03 PM
Could anyone tell me how to implement an extender provider for ASP.NET ? I
have done this successfully for windows forms but all the online
documentation tells us is :
The implementation of an extender provider for Windows Forms controls is
different from that for ASP.NET server controls.
... more >>
Styles and Cascading Style Sheets
Posted by JezB at 4/30/2004 12:11:31 PM
Is it possible to programatically examine and modify a page's Styles
(including Cascading Style Sheets) within the code-behind-module (eg. c#) ?
My guess is that since these are HTML elements the answer is no, since these
will only exist in the browser whereas the code-behind runs on the web
s... more >>
Variables retaining values
Posted by Damien Kay at 4/30/2004 12:00:18 PM
Hi,
I am relatively new to ASP.NET programming and have a problem with a web
form that I have developed:
I have a boolean variable which should be false when the application first
starts but which is set to true when I populate an array. I have an "Close
Window" command button which execute... more >>
Conditionally write a Template Item is data in field exists?
Posted by D. Shane Fowlkes at 4/30/2004 11:47:42 AM
I'm using ASP.NET (VB) and I'm pretty new to .NET and using Templates.
I have a SqlDataReader which is bound to a Repeater. The Repeater contains
a table and for each record, it'll write a table. Easy stuff so far. My
table contains typical Address and Phone numbers data. What I'd like to d... more >>
Splitting a table in a repeater control
Posted by darrel at 4/30/2004 11:44:59 AM
I've been doing most of my work in Dreamweaver.
I've been buliding some repeater controls where I put the TABLE tag in the
HeaderTemplate and the /TABLE tag in the FotterTemplate. Seems to work fine,
but VS.NET tags that as an error (since I don't have opening and closing
tags in the same temp... more >>
Obtaining page path when using Server.Transfer...
Posted by Terry Mulvany at 4/30/2004 11:35:52 AM
Grettings,
Normally I can use Request.RawUrl to get the 'current' page (amongst many
other things). But in the case of using a Server.Transfer
[as in Server.Transfer(bar.aspx) from foo.aspx, my RawUrl is still showing
foo.aspx (understandably) because a 'request' is not being made per say.
But... more >>
Resell Domain Names
Posted by Resell Domain Names at 4/30/2004 11:26:00 AM
If you provide internet related services to your clients, why wouldn't you
profit from domain name services as well? www.providenames.com is the #1
provider of eNom reseller accounts. Right now we are offering our $8.95
eNom reseller accounts at absolutely no cost. Sure, you can get them
dire... more >>
ASP.Net newbie
Posted by Earl at 4/30/2004 11:07:45 AM
I'm not an ASP developer but having a VS Architect license, I decided to get
some more use out of the tools besides just developing Windows Forms apps.
So I fired up the IDE and tried to create a new ASP.Net Web application.
Somewhat instantly I got the message:
"Visual Studio .Net has detecte... more >>
CultureInfo getting hacked during page load.
Posted by rerdavies at 4/30/2004 11:06:01 AM
OS: WIndows Server 2003.
Currently logged in user is running with German(German) regional settings.
Code fragment:
System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo("de-DE")
string name= culture.Name; // Produces "de-DE"
string s = (3.5).ToString(cu... more >>
Programmatic production of HTML...
Posted by Paul Mason at 4/30/2004 10:56:15 AM
Hi folks,
Just wondering how I can call a function in a code behind file from within
the body of the ASPX file.
The old ASP way was to use <%= MyFunction() %>, but that doesn't seem to
work anymore...Thus :
<body MS_POSITIONING="GridLayout">
<form id="frmAssessmentPrint" method="pos... more >>
Events in HttpModule
Posted by nerd at 4/30/2004 10:34:22 AM
Hi,
I've easily implemented an HttpModule and use AcquireRequestState to
initialize an object and ReleaseRequestState store to session. Unfortunately
if a Response.Redirect takes place. The ReleaseRequestState does not fire.
No problem, I implement PreSendRequestContent or PreSendRequestHeader... more >>
Cookies don't work....HELP!!
Posted by Simple Person at 4/30/2004 10:11:06 AM
I am using C# in ASP (Microsoft Visual Studio.Net) to try and create a cookie. I have cookies enabled on both of my computers, but when I use the following code (I have also tried the commented line as well), no cookies are created. Sometimes the 'index.dat' file gets updated (as far a the last sa... more >>
User Control question
Posted by Andrea Williams at 4/30/2004 10:05:28 AM
When I step through my code, the ASPX Page_Load happens before the Page_Load
in the User Control. This means that the property values are not set to
their defaults yet in the User Control and all the properties are blank. So
my question is, where is the best place to put the code that handles t... more >>
Parsing HTML String for Controls
Posted by kdub at 4/30/2004 10:01:18 AM
Is there an existing function that will take a string (HTML RESPONSE) and
look through it for specific HTML Tags. I am looking to parse web responses
for <IMG> tags to see if the tag has an ALT property.
I know I can do it by hand, but I thought there may be something to do it
already.
Tha... more >>
asp.net & vb.net books
Posted by Tom Williams at 4/30/2004 9:34:35 AM
I'm new to asp.net and learning vb.net. I'm considering
which book I should purchase. Any opinions on these two
and/or others?
Beginning ASP.NET 1.1 with VB .NET 2003 by Wrox
Murach's ASP.NET Web Programming with VB.NET
Thanks
Tom
--
E-mail correspondence to and from this address ma... more >>
Debugging ASP.NET Web Pages That Require SSL
Posted by EagleRed NO[at]SPAM HighFlyingBirds.com at 4/30/2004 9:31:03 AM
have an ASP.NET web application on a virtual directory that is set to require SSL. After making the settings in IIS I try to debug from VS.NET and I get a message that the project is not configured to debug. However, the project has all the settings and I can debug it if I remove the SSL requirem... more >>
ASP.Net with Asynchronous Web Service calls
Posted by Trotsky at 4/30/2004 9:21:03 AM
Hi
I have asked a similar question on the web services discussion group, but the question is a bit more related to ASP.Net. Basically I have a ASP.Net application that calls a web service asynchronously. This is fine. My problem is that when I make a call to the web service asynchronously when ... more >>
Migration tool does not migrate FPSE user permissions on IIS 6.0with UNC share
Posted by Amol Shambharker at 4/30/2004 9:16:01 AM
Hello Everyone,
I have been working on setting up a windows 2003 machine with IIS 6.0.The web server has the web directory on a UNC share on a windows 2003 server.I want to migrate websites from a windows 2000 machine to this one using the migration tool.The problem with doing this is the migration... more >>
Live chat system anyone?
Posted by John Dalberg at 4/30/2004 9:05:30 AM
I am looking for a software package hopefully open source for a live chat
system in C#.. one that's similar to phplivesupport.
I have contacted the vendors I found in the component gallery at asp.net
but none have responded!! That's poor customer service for me.
I will probably use an ope... more >>
Password problem of MS Access
Posted by Arsalan Ahmad at 4/30/2004 9:01:43 AM
Hi all,
I have a MS Access database (say abc.mdb). I have set the database password
and admin password to "abcdefg" (say). The problem is that when I create a
simple application (a form-based application or asp.net application) and try
to connect to the database using ado.net i get following e... more >>
Problem With Fill
Posted by Wayne Wengert at 4/30/2004 8:46:20 AM
I am attempting to follow a walkthrough that builds an ASP.Net page with a
datagrid that can be edited. I modified the example to use one of my tables
on a SQL 2000 Server. I built the sqladapter, the connection and the dataset
without any errors but when I try to run the app I get an error point... more >>
touch root web.config, could we not restart the sub web application?
Posted by Jiong Feng at 4/30/2004 8:43:57 AM
Hi,
I have a question. WE have a web application in web root. And also we have a
virtual directory library application.
If we change root web.config, the root application will restart. But, is
that possible not restart the virtual directory application?
I tried to use a different appl... more >>
Are there any guidelines for source control?
Posted by Mike Kruchten at 4/30/2004 8:38:46 AM
Is there a whitepaper with recommendations for source control setup for a
web site? What I've found so far for the VS.Net documentation recommends
putting as much as possible into a single solution. This would imply putting
the entire web site under one solution, but this sounds rather unwieldly.... more >>
Data Bind a Text Box
Posted by Steve Bishop at 4/30/2004 8:18:05 AM
I can't believe how hard this has been! I'm sure it's just a matter of
finding the right syntax for C#, but
I can't bind a text box right now.
In testing, I'm just trying one text box for now (TextBox3). Help
appreciated C#. Thanks.
Compiler Error Message: CS0029: Cannot implicitly convert ... more >>
Session Variable Length
Posted by BobTheHacker at 4/30/2004 7:51:03 AM
Does anybody no the max length of data a session variable can contain ?... more >>
Display loop counter dynamically.....
Posted by lupin_3d NO[at]SPAM libero.it at 4/30/2004 7:34:34 AM
I have a loop for like this:
for(int i =0;i<30;i++){
//statement
lblCount.Text = i.ToString();
//pause
}
i want to display in a label the current i value when the i is
looping...
i think it's impossible if i don't use something that pause
momentarily the loop and show in that moment the i ... more >>
User Control
Posted by Sunil Sabir at 4/30/2004 7:21:04 AM
Dear All
Actually I have created a user control. The control is called HeaderFooter.ascx now the probelm is that I want t
use it in my WebForm1. which I cant do it. Please any one out there knows the solution.I know the directive calle
Register with its attributes TagPrefix an... more >>
Push XML data to Browser
Posted by Mark Goldin at 4/30/2004 6:03:20 AM
I am trying to find a way of pushing XML data to the browser.
My application (Server side) generates XML data and populates a TreeView
with that data. I also need that data to be available on the client side.
I could create an html <xml> tag and pull data from the client.
That would work but dat... more >>
Query String Example
Posted by Patrick.O.Ige at 4/30/2004 2:45:15 AM
I need example in ASP.NET where i can use a link for example:-
http://localhost/naija.aspx?id=1
And recieve my data from the database table where id="1"
Thx alot
... more >>
datalist and selectedindex please helpppppppppppppppppppp
Posted by mahsa at 4/30/2004 2:21:03 AM
H
data I'm binding to the DataList is information about products in my product database. Perhaps passed in the QueryString to this page is a ProductID. I might want to make the item in the DataList that has the corresponding ProductID selected. In a similar vein, perhaps I want to have newest produ... more >>
How to get browser version
Posted by moondaddy at 4/30/2004 2:13:23 AM
How can I acureatly get the browser type and versin number? I need to send
4X browsers to a different url.
--
moondaddy@nospam.com
... more >>
Accessing ASP.NET Cache
Posted by daren.edginton NO[at]SPAM chaucerdigital.com at 4/30/2004 2:07:05 AM
Hi all,
I need to update the cache of a third party asp.net application when a
user makes a change to a particular table in a SQL Server database (so
the changes appear immediately in the browser). I have a trigger on
the table that calls a COM wrapper, and inside that are calls to a
..net d... more >>
Retrieving UNC Path of Mapped Drives on Client Machine
Posted by Dean McCarten at 4/30/2004 2:06:02 AM
I Need to Retrieve the UNC Path of Mapped Drives on a Client Machine's (NT4 + y2k) on my Network, but I have been unsuccessful so far and I find seem to find a way to do this, any idea anyone
I need to try and finish this toda
Thanks in Advanc
Dean McCarte
ASP/VBS/VB.NET & ASP.NET Develope
... more >>
caching different versions of page
Posted by moondaddy at 4/30/2004 1:59:13 AM
I have a site where I have only one page and lots of user controls. Rather
than passing parameters into the page (mysite/default.aspx?MenuID=123), I
pass in a url like this (mysite/products-greenwidgets.aspx). then in the
global.asax I intercept the url coming in and convert it to a parameter u... more >>
UserControl Property Problem: Need help
Posted by Ing. Rajesh Kumar at 4/30/2004 1:47:16 AM
I have a UserControl with a TextBox "TextBox_1" and a ReadOnly Property =
"myText" in it. I am using this in a file (no Code Behind) as follows :
HTML:
<My:Control ID=3D"txtName" runat=3D"server" />
VB:
Dim var_1 as String =3D txtName.myText
Till here everything works fine.
Now I am trying ... more >>
How to cache different versions of a user control on the server
Posted by moondaddy at 4/30/2004 1:18:12 AM
I have a user control that's used to display the products listing in the
main part of a page. This control is populated with a listing of products
from the database based on a category name passed into it via a function in
the code behind like this:
'Note, when we aren't looking at products, th... more >>
|