all groups > asp.net > july 2003 > threads for wednesday july 16
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
Beginner needs help -- Simple AspNet Component
Posted by Jim H at 7/16/2003 11:24:26 PM
I coded my first asp form and attempted to display a text message from a component. The static text "Our component
says:" shows on the aspx page, but the text line from the component does not show. No errors are produced.
Can someone get me started down the right path with aspnet?
The tw... more >>
get head by tagname (from server control)
Posted by Peter Licen at 7/16/2003 11:20:31 PM
my server control generates part of page from codebehind. I get other part
from different source.
how can i get <head></head> (written inline on .aspx) from the
ControlCollection(.aspx.vb)? For example - i would like to insert metatags.
it looks getting it by ID(which i don't have) is the ... more >>
Default submit button
Posted by Matt Howeson at 7/16/2003 10:51:42 PM
I am sure this question has been asked many times, however I am yet to find
a satisfactory solution to the problem. I have a number of user controls
within an asp.net page, a login box, a search box, and contact form. I wish
to be able to ensure that when the user presses enter in the appropria... more >>
Submit in User Control
Posted by Sara T. at 7/16/2003 10:39:05 PM
If I have one page aspx that is using two same user control, how can I know
in page load event of aspx that which id of user control is submit ?
... more >>
Problem when deploying with xcopy
Posted by Cristian Suazo at 7/16/2003 10:24:30 PM
Hi,
I deployed my application but got a strange error when doing the deployment
using the xcopy method. A strange thing is that when I try to do the same
steps on another machine that has the same configuration (it should have it
atleast) it works perfectly. After been testing a while I found ... more >>
Is there Performance Penalty for multiple cross-assembly-calls?
Posted by Peter Bär at 7/16/2003 9:57:05 PM
A Question to the C#/.Net Gods of this forum:
are there performance penalties when i compile (C#, FW1.1, ASP.NET,
Studio2003) a central baseclass in a different assembly than all the
derived classes?
f.i. ive got a class dbobject i project "Basesupport", compiles to
Basesupport.dll.
F... more >>
virtual shop
Posted by Konrad at 7/16/2003 9:03:25 PM
Hi
Can you point me examples of
virtual shops written in ASP.NET and C# or VB.
Thanks
Konrad
... more >>
Upload not happening!
Posted by raj at 7/16/2003 8:55:25 PM
Hi,
I am trying to develop a upload aspx form using the example and code
provided at
http://support.microsoft.com/default.aspx?scid=kb;en=US;323245
using the same code and example.... ! the objective i am trying to achieve
is ...upload the files which are more than
500MB f... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
difference between Page_Load() and OnLoad() ?
Posted by Christian at 7/16/2003 7:24:07 PM
hi,
what is the difference between the Page_Load() and OnLoad() event handlers.
do they originate from a different point ?
... more >>
Page_Init() and Page_Load()
Posted by Christian at 7/16/2003 7:16:35 PM
Hi,
what is the purpose of having a Page_Init() AND a Page_Load() event handler
'cause both will always be executed on loading a page ?
What code do you typically put in one event or in the other event ?
thanks
chris
... more >>
How would I insert multiple rows of data from one form?
Posted by SSP at 7/16/2003 7:09:18 PM
Dear ASP.NETers,
How would I insert multiple rows of data from a web form?
Are there any tute's and stuff around. Couldn't find any myself.
Thanks in advance.
SSP
... more >>
Capturing Request Stream
Posted by PJ at 7/16/2003 6:06:04 PM
I would like to capture a request stream before the request has been
completely sent to the server for the sake of saving the bytes of a posted
file to disk. I have written httpmodules before, but (correct me if I am
wrong) it seems that by the ProcessRequest event, the Request has been
complet... more >>
How to transfer user between web-sites
Posted by Onur Bozkurt at 7/16/2003 5:58:09 PM
I'm trying to send a user in my website to another page but on a
different virtual directory. So I can't use session variables. How can I
transfer data with the user...?... more >>
Why doesnt custom TagPrefix work in controls made w/ VBNET?
Posted by Showjumper at 7/16/2003 4:43:51 PM
I cannot get the custom Tag Prefix to work in controls made w/ VBNET. Why???
It works just fine in controls made w/ c#. Is vbnet just buggy?
... more >>
Datalist - how (if) to use a sub variable or session variable in the footer?
Posted by KathyBurke40 NO[at]SPAM attbi.com at 7/16/2003 4:33:49 PM
Hi, sorry to be greedy with all my posts lately, but can you tell I'm
doing new things this week?
I've just done my first datalist (a simple one), that give me one
column of records. I would like to put the total count of the rows
into the control's footer. I couldn't find any references for d... more >>
why Microsoft don't like frames...
Posted by dj Bass at 7/16/2003 4:27:06 PM
simple, they don't like things that restrict the server-side controls... and
when it comes to frames, you need client side stuff and that stuff's up the
asp.net strategy.
right or wrong?
... more >>
Passing a variable in the onLoad event.
Posted by Robin Bonin at 7/16/2003 3:26:21 PM
I have a data grid with multiple rows. Each row has a drop down box. I need
it to select the correct item for each row. What I am trying to figure out,
is can I pass a value to the onLoad event for the dropdownlist?
OnLoad="loadDefault(Container.DataItem("dropValue"))"
... more >>
How to map the .PDF file extension to the ASP.NET dll
Posted by dmiratsky NO[at]SPAM yahoo.com at 7/16/2003 3:23:45 PM
Should you be able to map a any file extension to the ASP.NET dll and
have it execute ASP.NET script, just like an .aspx page, when it is
requested by a browser. If not, why bother giving us the ability to
create application mappings.
I have an .aspx page that calls an SAP function which retu... more >>
Differences between running in VS and calling an ASP.Net page from a browser
Posted by Peter Bradley at 7/16/2003 3:21:01 PM
I have developed a little ASP.Net application that works fine when
started in the VS IDE. However when I call it from our "home" page it
doesn't work.
The page_load event handlers of two pages set a cookie for their
respective pages. Buttons on the pages check for the existence of their
... more >>
C# and VB.Net in the same ASP.Net application
Posted by Madhuri Mittal at 7/16/2003 3:19:34 PM
Hello,
I have a ASP.Net application in VB.Net . I want to add
some existing webforms whose codebehind is in C# into
this application. Can I do this under cross language
support of .Net in Visual Studio .Net? Will it build and
run successfully?
Madhuri... more >>
Loop through all dataadapters
Posted by Vik at 7/16/2003 2:59:13 PM
Is it possible to loop through all dataadapters on page?
Thanks
... more >>
including one aspx file in another aspx file
Posted by vish at 7/16/2003 2:39:59 PM
Is there a way is asp.net that I can include another aspx
file ?. We can do this in asp by using include statement.
... more >>
global.asax classname
Posted by noname at 7/16/2003 2:26:33 PM
i have the following in global.asax:
<%@ Application Codebehind="Global.asax.cs" Inherits="Foo.Global"
Classname="AppClass" %>
but wherever i use AppClass.foo() i get the compiler error:
The type or namespace name 'AppClass' could not be found (are you missing a
using directive or an assembly... more >>
Question: Auto-download ActiveX control if user does not have
Posted by VB Programmer at 7/16/2003 2:24:01 PM
I have a webform that uses an ActiveX control. I want the user to
automatically download the ActiveX control if he doesn't have it. How can I
do this? Also, does it need to be registered too? Can this be automated?
Thanks,
Robert
... more >>
VSS and Web apps
Posted by Harry Simpson at 7/16/2003 2:21:13 PM
Anyone out there successfully using VSS to store web apps. I've tried to
follow the best practices article from MS but it just doesn't work
correctly.
TIA
Harry
... more >>
Getting Original Values For Update
Posted by Bradley M. Small at 7/16/2003 1:55:01 PM
Hi --
I am using webmatrix so whatever I try and do is determined by what I can do
by hand. That said, I am trying to figure out how to get the original values
for a field that is being edited.
What I have is a table that had 2 fields in it. Let's say Field1 and Field2.
The key to the table... more >>
ASP.NET State Service is missing
Posted by klj_mcsd NO[at]SPAM hotmail.com at 7/16/2003 1:33:50 PM
I first had a problem with events on firing with my custom control.
When I click a button on my control the event will not fire.
So then I tried everything accept recode it again and then I decided
to look in my services for the ASP.NET State Service and it was not
there.
Does anyone know i... more >>
Downloading files - prompt shown twice
Posted by Marina at 7/16/2003 1:32:35 PM
Hi, I have the following code to prompt the user for a download:
Response.Clear()
Response.ContentType =3D "application/octet-stream"
Response.AppendHeader("Content-Disposition", =
"attachment;filename=3Dtest.pdf")
Response.WriteFile("C:\test.pdf")
Response.End()
This works well, as far as ... more >>
DSN's and ASP.NET can it be done?
Posted by Taco Bill at 7/16/2003 1:14:38 PM
I am trying to do what I think is a very simple thing but I am getting lost
in the documentation.
I have a DSN set up on a server .. and I want to place a connection string
in my ASPX page so I can read from a table on the remote DB server
The DSN points to a SQL server that is using named... more >>
compiled DLL not copied to the server bin folder automatically
Posted by BH at 7/16/2003 12:15:07 PM
I'm working on several ASP.NET projects at the same time. I have a separate
web server and each has its own solution folder on my local PC. The strange
thing I noticed is that one of the projects, when compiled in VS.NET,
doesn't automatically update the DLL on the server. Instead, the DLL jus... more >>
ASP.NET application cannot access network drive
Posted by James N at 7/16/2003 11:48:05 AM
My ASP.NET application needs read/write permissions for drive "Z:",
which is mapped to my Linksys Gigadrive (Network Attached Storage...if
anyone is familiar with that).
If I configure the Gigadrive with "Guest" access rights, then everything
works fine, BUT this leaves the drive vulnerabl... more >>
Regular Expressions....HELP!
Posted by Stephajn Craig at 7/16/2003 11:31:29 AM
I'm thinking that I need to use a regular expression to make this work, but
I'm not expert at them.
What I'd like to do is be able to search a document for a specific word or
words and when found, have them highlighted. However, these words may also
be part of a filename. For example, let's ... more >>
web.config Configuration Error when deploy
Posted by Xu ChunMing at 7/16/2003 11:30:47 AM
Hi,
I develop a Asp.net application using VS.NET
and It work well on my computer .
but when I deploy the application to another IIS runming manching .
I just copy the whole folder of the application including bin subfolder to
aother machine .
When I access it via Internet Explorer ,the fol... more >>
Escape Sequence to printer from Web Page
Posted by h babu at 7/16/2003 11:18:22 AM
I have a need to send escape sequences to the printer on the client side
from a web page using .NET.
- Is this first of all possible from a web page rendered through .aspx?
- Can this be achieved through VBScript/Javascript?
- What is the best way to get this done?
*** Sent via Develo... more >>
Workaround for GetThumbnailImage Problem?
Posted by Comcast at 7/16/2003 10:46:11 AM
I understand that one of the limitations of the Image.GetThumbnailImage()
function is that it's not really good for creating "large" thumbnails
because if it exists in the image file, the function will take the embedded
thumbnail and actually blow it up to the requested height/width.
Does anyo... more >>
Credit Card Validation
Posted by Grant at 7/16/2003 10:21:46 AM
Does any one know how to check the algorithm of the credit card number that
was entered in the text box? I want to be able to make sure the users enter
correct credit card number since we will process it manually via phone. I
want this to be done on the server side behind the code in ASP.... more >>
All Controls on page Lost!!
Posted by AC at 7/16/2003 10:20:04 AM
This happened to me once before and luckily I have been
backing up regularly - but as i'm designing and testing, I
went back to a page (heavily designed with many particular
spacings, control designs, etc..) and everything is gone
except a label or two.
I definately had not changed anythi... more >>
Printing on the client side
Posted by Ryan Moran at 7/16/2003 10:17:37 AM
Hi,
I am writing a ASP.NET application using VB.NET and
everything is hunky dorey except for one thing. I am
having real problems printing to a printer on the client
side. I need to be able to send escape characters to a
printer and I was able to do this no problem on the server
sid... more >>
Question on dropdownlist
Posted by Tony at 7/16/2003 10:16:40 AM
Hi, I need a dropdownlist to select month from 1 to 12. Is there a way that
I don't need to databind with a database table? cos i just feel a little
stupid to create a Month table have int from 1 to 12 in it.
... more >>
Can I pass Clietside Objects
Posted by Murali Inguva at 7/16/2003 10:03:44 AM
Hi Guys,
Couple Questions
1. Is there any way that i can pass client Side Objects to Server Side.
2. Can i validate the data of serverside text boxes / combo box in client
side?
If you know the answers please let me know.
Thanks
Murali
... more >>
Uploading Files - help please
Posted by stevefox2000 NO[at]SPAM hotmail.com at 7/16/2003 9:57:03 AM
When you use:
<Input ID="ImageUpload" Type="File" visible="false" RunAt="Server">
Is their any way you can make a starting value appear inside the
browse textbox thing?
I have a multi step form where the user can move back and forth
through the completed steps. If the user has uploaded a... more >>
login failed for user \aspnet
Posted by pratibhaa NO[at]SPAM jvc.co.uk at 7/16/2003 9:14:16 AM
I am new to MSDE 2000. Installed this yesterday using windows
installer, deafult settings(no change in authentication).
a. I want to create database and tabels in MSDE. How do I do this? (I
managed to do this through .net web application using server explorer
but is there any other way to do t... more >>
Problems with Dinamic controls
Posted by Alessandro at 7/16/2003 9:01:14 AM
i want to create dinamicaly an image Button, but i'm not able to associate a
relative server command on click, any idea ?
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Dim oImageButton As New System.Web.UI.WebControls.ImageButton(... more >>
Grid in example
Posted by Mago Merlino at 7/16/2003 9:00:36 AM
How can I create a grid like this example link only with visual studio?
http://212.126.210.115:8084//ASPNETControls/HierarGridDemo.aspx
Thanks, and excuse me for my english...
... more >>
Importing a Project
Posted by Jim at 7/16/2003 8:46:30 AM
Is it possible to import an exiting Visual InterDev
project into .NET?... more >>
ASP.Net Configuration File
Posted by jcade NO[at]SPAM brinkster.com at 7/16/2003 8:25:24 AM
I'm having a problem with ASP.Net on a machine with both .Net
Framework 1.0 and 1.1. This application is targeted to 1.0 using IIS
application extension mappings. The following error page is shown
when the page is accessed.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Server Error in '/' Appl... more >>
Is there way to do global changes to SQL in ASP pages
Posted by johnston NO[at]SPAM thot.com at 7/16/2003 8:18:15 AM
We have over 100 asp pages that reference a table (distribution_components).
We added a new column and primary key to that table, so now we have to modify
the where clause to include that column (we have to make the new column = to a
session variable in the page)
The table appears 531 time... more >>
Tab Control
Posted by Tracey at 7/16/2003 8:07:49 AM
Is there a tab control or similar that I can use on a web
form?... more >>
ASP.NET application uninstall problem help please!!!
Posted by Andy at 7/16/2003 8:07:05 AM
Hi all,
Not sure if this is the correct Msgboard but here goes
anyway...
I have an asp.net application that is installed by a .net
installation project, pretty simple so far
The problem comes when i go to uninstall the application,
The uninstall is deleting DLL's that are required by ot... more >>
failed to load in the web form designer...
Posted by jkee NO[at]SPAM jonawerks.com at 7/16/2003 7:03:20 AM
I have web pages that inherit from a custom page class. I now get the
following error:
"The file failed to load in the web form designer. ... Object
reference not set to an instance of an object."
This occured after I added the following line of code in the base
class constructor:
if(Use... more >>
DateDiff in C#
Posted by Mark Fox at 7/16/2003 5:05:16 AM
Hello,
I am attempting to port some VB.NET code to C#.NET
and have run across the DateDiff function in VB.NET.
Does anyone know what the analogous function in C#.NET
is? Thanks!... more >>
Toolbar appears on image hover
Posted by Paul at 7/16/2003 3:46:36 AM
Hi
If I hover over an image the IE toolbar for
saving/printing/sending appears. How can I suppress this
without forcing user to disable the function.
Cheers, Paul.... more >>
Hi.. I've a problem about ViewState.
Posted by zimzion at 7/16/2003 2:15:30 AM
Hi..
My problem is that the ViewState of UserControl is not
consisted when the UserControl is dynamically loaded at
PreRender Event.
That is, A UserControl is dynamically loaded at PreRender
Event of a WebForm. Then, a server control in the
UserControl fires post-back event and at th... more >>
accessing ms exchange addresslists in asp.net
Posted by SD at 7/16/2003 1:56:20 AM
Hi,
How can i access ms exchange addresslists in asp.net.
I get "System.UnauthorizedAccessException: Access is
denied." exception while starting an outlook application
Dim myOutlook As New Outlook.Application()
Thanks
... more >>
Load event behavior
Posted by Matt at 7/16/2003 12:29:16 AM
Hello,
I just don't get it. I have a simple webform1.aspx page, when loaded
for the first time, the load even fires which is fine.
In webform1.aspx i have a button that has a onclick event, and in this
event i do a response.redirect to webform2.aspx page. However on the
onclick event of the... more >>
|