all groups > asp.net > april 2004
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 >>
|