all groups > asp.net > november 2003 > threads for monday november 3
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
Button.Visible = false ?
Posted by Marc Lefebvre at 11/3/2003 11:07:42 PM
Why I was unable to hide the previous button in the following code ?
private void ButtonClick(Object sender, System.EventArgs e)
{
Button button = (Button)sender;
Button previousButton = (Button)Session["previousButton"];
if( previousButton == null )
{
// keep th... more >>
Shopping Cart Component Suggestions
Posted by Mark Fox at 11/3/2003 9:29:15 PM
Hello,
I'm looking for a shopping cart/store front product
that I could integrate into my ASP.NET site. Does anyone
have any suggestions? It has to be flexible enough to
handle changing the look and some sort of API that I
could program against. Thanks for your suggestions!... more >>
set validateRequest attribute at runtime
Posted by Shaun Dore at 11/3/2003 8:58:08 PM
Hi,
Is there a way to programmatically set the validateRequest attribute of a
Page? What I would like to do is check the version of the framework and add
validateRequest = False if I'm running on .Net 1.1
Regards,
Shaun.
... more >>
Problem in putting object in ViewState
Posted by Makarand at 11/3/2003 8:57:18 PM
Hi Friends
I have collection class implementing from IList.
Problem I am facing is I am not able to put this object in
ViewState(though it is going in Session). When I try to do
this it gives error like -- "The
type 'IListStuff.PersonCollection' must be marked as
Serializable or have a T... more >>
ImageButton
Posted by Paul Russell at 11/3/2003 8:32:37 PM
I haven't found a good example of how to use this button for the purposes of
opening a new web page.
Scenario: User clicks ImageButton (which points to my RSS file) and a URL
open sort of event occurs.
Anyone ?
--
Paul.
... more >>
Reference Application("") vars?
Posted by Keith Chadwick at 11/3/2003 8:29:06 PM
I am having some trouble referencing an Application("myVar") variable =
from within a module.vb file on my ASP.NET site.
According to the documentation I should be able to reference =
System.Web.HttpApplication but it does not seem to like that one bit. =20
I also have a MSXML2.DOMDocument30 d... more >>
Same code, inconsistent results -- Please Help!
Posted by Neo Geshel at 11/3/2003 8:20:20 PM
I have the two subs:
Sub UniqueHits()
Dim StrSQLQuery As String
Dim ObjAdapter as New OleDbDataAdapter()
Dim ObjDataSet as DataSet
StrSQLQuery = "SELECT * FROM Browser WHERE IsUnique = True"
ObjAdapter.SelectCommand = new OleDbCommand(StrSQLQuery,
ObjConnection)
ObjDataSet = new... more >>
SessionID - How unique it is now ?
Posted by Patrice Scribe at 11/3/2003 7:45:26 PM
I noticed that the SessionID is now a complex string instead of a simple
number as it was under ASP.
I believe it could be because when session variables are persisted ot the
database, reusing a number should be avoided to prevent picking variables
used by a previously abandonned session.
T... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
asp reapater
Posted by LIN at 11/3/2003 7:13:26 PM
i have an asp reapater and the code to display the repeater item looks like
this
<ItemTemplate>
<tr class="datagriditemstyle">
<td width="400"> <a href="<%# "http:\\" &
Server.UrlEncode(Container.DataItem("RefSiteName"))%>"><%#Container.DataItem
("RefsiteName")%></a> </td>
<td width="68"><%... more >>
is it possible to rename file on server side ?
Posted by THY at 11/3/2003 6:37:32 PM
Hi,
I wonder can we rename a file that on the server ? it is a file that will
upload by user, then later on, the file will need to be rename. Is this
possible ? and if yes, how to do it ?
Thanks.
... more >>
Find MAC address.
Posted by Arun at 11/3/2003 5:42:34 PM
Like its possible to find IP address of a visitor in same way is it =
possible to find the visitor's PC's MAC address?
-Regards,... more >>
SmtpMail.Send problems
Posted by Cameron Eckman at 11/3/2003 5:35:14 PM
I get various errors when I try to use email on the machine I have. XP
professional. It works fine on another machine with NT 2000 server. Below
is the code:
'BEGIN CODE
Dim oMail As New MailMessage()
With oMail
.From = "mypc@baxglobal.com"
.To = "ceckman@baxglo... more >>
Posting Again- Redirecting to Login page while session expiration
Posted by Vijay at 11/3/2003 5:31:56 PM
Hi,
Based on the session timeout, session will be expired. Timebeing , we are
manually checking in the each page, whether the session is expired or not,
If so,we
are redirecting to common login page. Is it possible to avoid it by
specifying the common login page in the web.config file? if so ... more >>
Help with Dynamic Graphics in ASp.net
Posted by Mahmoud Mousa at 11/3/2003 4:52:21 PM
Hi...
Some how I'm facing trouble Saving A Bitmap(I Dynamiclly creat in my
Page) Co's Every Time to Started to save the Image..
The Only thing that Appears in my Page is the Image Alone
And If I tried to asdd any Control Around it Nothing appears
bitmap.save(Response.OutputStream,ImageFo... more >>
Application State and Custom Collection Maintenance
Posted by Jeff S at 11/3/2003 4:13:55 PM
I'm storing a list of widgets in a database. The list changes infrequently
(twice per week at most), and is relatively short (200 items at most, with
very little detail per item). A small subset of all possible widgets will be
displayed on a page (using VB.NET/code behind). I plan to populate a c... more >>
How create a file on users machine (ASP.NET)?
Posted by VB Programmer at 11/3/2003 3:57:19 PM
I want my webform to create a file on the users machine. How can I do this?
I tried this but it doesn't work...
Dim strFileName As String = "C:\Temp\MyFile.ABC"
Dim sw As New StreamWriter(strFileName)
sw.WriteLine(lblStartRun.Text)
sw.Close()
... more >>
Clickable bar graphs
Posted by Andrew de la Harpe at 11/3/2003 3:50:18 PM
Hi,
Anyone had any experience creating a clickable bar graph?
I've been asked to create a report which shows each day of the month.
Clicking on a day drills down into that day's data etc.
Thanks, Andrew
... more >>
Pointing to registry from Web.config file
Posted by Adnan Selimovic at 11/3/2003 3:44:53 PM
Hi folks! I have Framework 1.0 installed and I would like to point to
registry from my Web.config file:
<connectionString>
<add key="password" value="registry:HKLM\Software\Foo,password" />
<add key="userID" value="registry:HKLM\Software\Foo,userID" />
<add key="initialCatalog"
... more >>
Manual
Posted by Emanuele Zapparoli at 11/3/2003 3:34:50 PM
Hi folks!!! Where I can find (if exist) a good and free manual for visual
studio.net?
Thanks to all
... more >>
asp.net mail form
Posted by andreranieri NO[at]SPAM hotmail.com at 11/3/2003 3:27:05 PM
I'm trying to add a asp.net page which will act as a contact-me e-mail
form to keep our e-mail addresses hidden from page visitors.
I've created a combo/drop down box listing our various departments,
then added textboxes for the user to fill in their name, phone number,
e-mail address and mess... more >>
Finding the superior page from a nested page...
Posted by John Sedlak at 11/3/2003 3:05:54 PM
Hello, in one of my pages I have an include:
<!--#include file="console.aspx" -->
Now...Inside console.aspx, I want to be able to find the
name of the page that included it. This is because I
include console.aspx in every page...
Thank you!... more >>
.NET Access is denied error
Posted by Brent Burkart at 11/3/2003 2:48:51 PM
Has anyone seen the following error? My application was working fine and
this error just showed up this morning. Any help is appreciated?
[ApplicationException: Access is denied.
]
System.Security.Principal.WindowsIdentity._ResolveIdentity(IntPtr
userToken) +0
System.Security.Princip... more >>
Question: Invoking custom file type (file associated with custom app)
Posted by VB Programmer at 11/3/2003 2:43:55 PM
I have a custom file type ("PWA" extension.) It's just a text file with
some text created by the web server.
When my web page redirects to one of these pages I want to auto launch a
local app. (This action similar to PDF files. When I access a PDF file in
IE it opens it automatically in Acr... more >>
Request Variables from another server
Posted by Johnny at 11/3/2003 2:20:54 PM
Hello,
I want to request form variables on a remote server. So,
let's say Yahoo home page has form variables, is there a
way in asp.net to request the data from Yahoo
Thanks,... more >>
Response.redirect not working
Posted by Poppy at 11/3/2003 1:13:29 PM
I have a .net website working on my local machine but when I copy the files
onto the server (NT), none of the response.redirects work.
The framework is installed and I cannot figure out why it is doing this.
Any ideas ?
... more >>
Try catch (globally)
Posted by Leo R at 11/3/2003 12:45:19 PM
Hi al,
An error is thrown in a certain aspx-page; let's say page1.aspx. As a result
of the Web.config seting for errors the user is redirected to error.aspx
because of the (unhandled) error in page1.aspx. I want to process the
stacktrace of the error that was thrown in the page1.aspx or any ot... more >>
Disabling default button behavior
Posted by Stephen Walch at 11/3/2003 12:26:40 PM
If a user is viewing an ASP.NET page in the browser and presses Enter, the
first button the page is "pushed" even if not selected. We are finding the
novice users are pressing Enter (thinking it will bring them to the next
field) and getting very confused. Advancing to the next field would be
... more >>
Can I manipulate the page Title as runtime?
Posted by SamIAm at 11/3/2003 12:11:21 PM
I have a international web app and need to change the page title at runtime.
I was going to create a function to get the name and call it from the page.
Is there perhaps a another way to manipulate it?
Thanks,
Sam I Am
... more >>
Session Start
Posted by Alberto at 11/3/2003 11:52:37 AM
I've written this code in the global.asax.cs file of my project:
void Session_Start(Object sender, EventArgs E)
{
...
}
but it isn't executed. Do I have something wrong or missed?
Thank you very much.
... more >>
Option Groups in List Boxes
Posted by Ben Mann at 11/3/2003 11:48:29 AM
Hi There,
I've been using asp:listboxes for a little while and see that they are very
useful for both DataBinding and adding listitems to.
I was wondering whether anyone knows if its possible to get them to output
<optgroup> tags as well.
I need to group my list items using them, but can't ... more >>
Expand an image to fit in the table cell
Posted by jalenfu NO[at]SPAM yahoo.ca at 11/3/2003 11:47:35 AM
Hi folks,
I have a very small image(1x1 pixel) that I want to put in a table
cell, since the cell is undoutedly larger than the image, I want to
stretch the image in order to fit it in the cell. But the problem is,
the table cell is kind of dynamic. Does anybody know how I can get the
height an... more >>
GUID?
Posted by LL at 11/3/2003 11:35:26 AM
Hi,
What's is function to get the GUID? Thanks,
... more >>
WebClient and WebResponse eats up memory
Posted by ScottO at 11/3/2003 11:15:42 AM
How can I upload a file to a ASP.NET page without having the stream eating
up memory without using a 3rd party component?
How can I download a file from a different webpage without eating up memory
without using a 3rd party component?
Files that are just under 2 Gig.
Using FTP is not an... more >>
network (drive) access/impersonate identity problem
Posted by Peter O'Reilly at 11/3/2003 10:47:38 AM
I am experiencing difficulty access a mapped network drive in an ASP.NET
application.
While using the .Net framework v 1.1 implementation of
System.IO.Directory.Exists(), it fails to recognize a mapped network drive.
This is true if the path specified uses a mapped drive letter or is
expres... more >>
Submit erases textbox content....
Posted by george d lake at 11/3/2003 10:40:38 AM
Hi,
I have a textbox and a listbox in a User Control
When I click on a line in the listbox I populate the text box. This
works perfect.
No, on the page that has the UC in it, I also have a submit button. When
I press submit, the textbox gets cleared, but if I enter something again a... more >>
Need some help with HyperLinkColumn!
Posted by Morten at 11/3/2003 10:34:07 AM
Hi.
After a while I finaly discovered how to use HyperLinkColumns.
What I can't find is how to send mote than one "value" like
page.aspx?id1&id2!!!
<asp:HyperLinkColumn DataNavigateUrlField="InvoNo"
DataNavigateUrlFormatString="Invo.aspx?Id={0}" DataTextField="InvoNo"
HeaderText="Invo No."... more >>
asp.net on xp home?
Posted by Nate Hekman at 11/3/2003 10:08:54 AM
I can understand that one wouldn't be able to run a full-fledged web server
from XP Home, but is there not a toned-down version of IIS/ASP.NET a
developer can use on XP Home?
I just bought a new computer to do some ASP.NET development, but ran across
http://www.asp.net/download-1.1.aspx?tabind... more >>
Session expired too fast
Posted by lsf_80 at 11/3/2003 9:58:25 AM
I am using Session to capture my login name and this session is checking on
every page that required login.
However, there is a problem that the session is expired too fast! When i
jump to another windows, then go back to the page that i have developed, the
user is required to login again even l... more >>
Can run debug??????
Posted by Davef at 11/3/2003 9:52:20 AM
It was working before today?????
I get this error....
Auto-attach to process '[2876] aspnet_wp.exe' on machine 'xxxxxxxx' =
failed. Error code 0x80070057 (The parameter is incorrect. ).
--=20
______________________
David Fetrow
HelixPoint LLC.
http://www.helixpoint.com
davef@helixpoin... more >>
references do what?
Posted by Rick Csucsai at 11/3/2003 9:36:39 AM
Sad to say, i have developed several B2B web apps using ASP fo rnearly 5
years now and there is on area that i still don't have a grasp on. Why do
you make references? Better yet, what happens if you don't. Here is an
example. For some reason, I couldn't get my latest creation to send email.
Wou... more >>
Calendar?
Posted by LL at 11/3/2003 9:35:26 AM
I have set the date during the form loading: MyDate.SelectedDate =
DateTime.Now(); // 08/08/2004
But it's now showing by default. I need to navigate to 2004 August, and then
I can see it.
How to set it as default date?
Thanks..
... more >>
dbf file
Posted by hadi_ghanaty at 11/3/2003 9:30:01 AM
excusemi for bad speak english!
when i try connect to table with name telenom.dbf
asp.net generate the folowing error:
---View 'TELENOM' has not been defined in
catalog 'C:\Documents and
Settings\hadi\Desktop\telenom.dbf'. SQLSTATE=42S02 ---
... more >>
Request Validation
Posted by John Comber at 11/3/2003 9:23:55 AM
Hi,
I've a simple web form (webform1.aspx) with a text box &
button. The click event of the button appends the value
of the text box to the URL and redirects to
webform2.aspx. This then gets the value of the text box
from the query string.
I'd like to keep validateRequest=true to pre... more >>
How do I turn off validation?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 11/3/2003 9:21:03 AM
I have an ASP .NET page with three DataGrids. On one of the datagrids
there are several vaildators. On another grid there is a button that
does something else (changes data in a database). The problem is that
that button causes the validator for the other grid to fire, as they
are on the same... more >>
upload image - resize then save
Posted by Tim T at 11/3/2003 9:12:48 AM
Hi,
Could someone please point to to a tutorial / code for dynamically resizing
images on upload, THEN saving to disk on the webserver.
I need users to be able to upload images to my server, but they will not be
aware of optimising graphics for the web, if someone uploads a 300k 640x480
jpeg fo... more >>
Condition in repeater...
Posted by Cédric at 11/3/2003 8:22:50 AM
Hi,=20
Is there any easy way to have a condition in a repeater?
I would like to do something like this (of course this=20
does not work):
<asp:Repeater id=3D"rpt" runat=3D"Server">
<ItemTemplate>
<%# if DataBinder.Eval
(Container.DataItem, "MyField").ToString() ) =3D=3D "X" {=20
... more >>
.NET and 404 error.
Posted by George Ter-Saakov at 11/3/2003 8:20:27 AM
I have an application where IHttpModule is catching all ASPX requests and
transfer them to correct ASPX page using HttpCurrent.RewrutePath ( like
DoNetNuke is doing).
The problem i have is that if default page is assumed (default.aspx) then
IIS give 404 without forwarding to ASP.NET engine.
... more >>
Can I debug remotely?
Posted by M K at 11/3/2003 8:17:34 AM
I developed my pages on my test station and they work
fine. However, on my production system they do not work,
but no error messages. THey seem to work, but certain
functions don't fire. I would like to debug the production
server from my test station. How can I do this. I use VS
2003 Pro.... more >>
ASP.Net without IIS
Posted by George Stanton at 11/3/2003 8:12:33 AM
Okay, get ready for likely the most ridiculous question
that has ever been posted.
Crystal Reports does not work in my situation. I have
custom classes with nested references to each
parent...blah blah...Crystal (and datasets for that
matter) are no solution for my reporting needs. ASP.... more >>
How to share Cache between applications
Posted by Marshal Antony at 11/3/2003 8:00:00 AM
Hi,
I would like to share cache information among different
applications(ASP.NET applications with its own
virtual directories) in IIS 6.0.As the Cache is per
application basis,how can I achieve this?
I know web services is an option but I security may be an
issue.
Any help is apprecia... more >>
Session State does not Work with Multithreading and SQL Server - Bug???
Posted by Ilia at 11/3/2003 7:55:15 AM
Hi folks,
I have some problems with ASP.NET Session State. The
following simple program runs well if the Session State
set as "InProc". If I switch to "SQLServer", the changes,
made by the second thread, are lost. Any idea?
I use VS.NET 2003 on Windows Server 2003 with hot fixes
(as of... more >>
Weird question? Two <HTML> sections when XslTransform used?
Posted by Kathy Burke at 11/3/2003 7:34:05 AM
Hi, in trying to discover why my RegisterStartUpScript wouldn't work (I
do NOT see it in the HTML source), I looked at the HTML source of a page
where I do an XslTransform.
First, I get the transform results as expected, beginning with <html>
and ending with </html> but then I see the followin... more >>
new "windows" in .NET
Posted by Stuart Brierley at 11/3/2003 7:11:57 AM
Does anyone have any ideas how to open a new web browser
window in .NET?
I'm using ASP.NET with VB as the code behind, and after
some (server side) validation code may need to open a
second browser window.
Any help gratefully received.
Cheers
Stu.
... more >>
Source control and User Controls
Posted by foldface NO[at]SPAM yahoo.co.uk at 11/3/2003 7:09:53 AM
Hi
I have a majorly annoying problem.
I am using Visual Studio .Net with SourceSafe/SourceOffSite. If I try
to edit a file that is checked in it will prompt me to check out the file,
great. However it won't do this for User Controls ?! It will just allow
me to write over the file.
Is there... more >>
Getting rid of viewstate in GET posted forms
Posted by damonf at 11/3/2003 6:26:08 AM
I'm trying to post data in ASP.NET using the GET method
for the form rather than POST. I've disabled viewstate
on all the controls and at the page level but I still
keep getting _Viewstate in the URL. Is there any way to
control aspx pages so they display tidy querystrings
without all th... more >>
design challange with asp.net - ok with other technols..
Posted by spacehopper_man NO[at]SPAM yahoo.com at 11/3/2003 5:50:42 AM
hi -
I'm now a .NET convert - having come from the Perl world...
I've been doing/thinking asp.net for a while, but am still not
happy two things in particular - any advice/opinion appreciated:
1) it seems difficult to abstract 'page level' coding. eg - nav bars -
I would like to split ... more >>
How To Turn $6 into $6,000
Posted by amykatie69 NO[at]SPAM aol.com at 11/3/2003 3:33:55 AM
HOW TO TURN $6 INTO $6,000!!!!!!
READING THIS COULD CHANGE YOUR LIFE! PLEASE READ ALL!
I found this on a bulletin board and decided to try it. A little while back, I
was browsing through newsgroups, just like you are now, and came across an
article similar to this that said you could make ... more >>
Update
Posted by Vannela at 11/3/2003 3:27:32 AM
I am new ASP.NET so please help me in clearing my doubt
I have got a DataGrid into which i am retrievinh few
column of a table from a database. I have used
Edit,Update,Cancel column to edit and update the row .
I am able to edit a row but unable to update it to
database?
How should i upda... more >>
localhost page not displayed
Posted by Lisa at 11/3/2003 2:50:27 AM
Hi, I've just had win xp pro and iis installed on my
computer. My problem is I haven't been able to view any
pages when I type http://localhost . All that comes up
everytime is 'Page cannot be displayed.' When I click on
an individual asp file it comes up as 'under
construction'. I've chec... more >>
Failed to load viewstate (i.e., I'm doomed).
Posted by Mike Hnatt at 11/3/2003 2:04:56 AM
I normally try to post more helpful subject lines. But in this case, after
tons of development, my app suddenly works no more.
Here is the message: I get this on the page postback when it dynamically
builds the controls based on the value I select in a drop-down list. It is
inconsistent. Som... more >>
Screen resolution
Posted by j.malloyNO NO[at]SPAM SPAMx-mail.net at 11/3/2003 1:07:38 AM
Hi all
who knows an easy way to transfer data about the client sides
sreen resolution to my asp.net application?
Thanks for help
Jenny... more >>
Hyperlink NavigateUrl
Posted by Mark Fox at 11/3/2003 12:42:05 AM
Hello,
When I set a hyperlink server control's NavigateUrl
to
Webform.aspx?a=0&b=0
it outputs
Webform.aspx?a=0&b=0
as the href. Is there a reason for this url encoding?
Is there a way to have it not do this? Thanks!
... more >>
|