all groups > asp.net > august 2003 > threads for tuesday august 5
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
Tough question - tell client to update?
Posted by M O J O at 8/5/2003 10:32:30 PM
Hi,
Is it possible (via Internet Explorer) to tell the clients to update?
I have a picture that is shown in the client browsers. Often I replace
the image and I want to tell all clients that are watching the
webpage/image to update.
Is this possible?
I don't want to use some kind of ... more >>
call xyz.bat from ASP.net
Posted by amy at 8/5/2003 9:38:02 PM
hi:
I would like to know how to call a xyz.bat frile from ASP.net?
Can it be done!
Thanks
amy
... more >>
whats the best way to?
Posted by Guy Bradley at 8/5/2003 9:16:01 PM
write one function (for navigation) and call it in multiple asp.net pages? -
i would use an include file as i do in asp but i gather this isnt the best
way of doing it...
suggestion? - thx in advance
... more >>
Updateing a database table from a dataset
Posted by Jake at 8/5/2003 7:23:42 PM
Hi all,
I am trying to update an SQL server table from a dataset
populated by an excel spread sheet. Each record has a
check box so it can be excluded from the SQL server table
population.
Does anyone now how I would acheive this, I don't want to
have to loop through each record in the ... more >>
EventHandlerList
Posted by MS News (MS LVP) at 8/5/2003 5:28:17 PM
What happened to the EventsHandlerList in VB.NET. There is none?
C# is okay This.Load += etc..
Me.Load ?? none in VB.NET
How can you subscribe or un-subscribe to a built in event in VB.NET
Thanks
... more >>
page name
Posted by Eddie Celebi at 8/5/2003 5:17:35 PM
Hi folks
I want to be able to workout the name of the page from within a
System.Web.UI.Page. I want to save it as a return page in a session. Where
do I get this from and is this the best way to do it?
Also where can I get the IP address of the client.
Any help most welcome.
Thanks
... more >>
Radiobuttons and textbox with autopost
Posted by Sean at 8/5/2003 5:00:07 PM
hi,=20
i have a radiobuttonlist which i have set the autopostback feature to =
false, so it would be easier to navigate thru' it, using the keyboard.=20
below the radiobuttonslist, i have a textbox which then has a method =
which fires , and i would need the value of the selected radiobutton... more >>
session keeps dying?
Posted by Steve Letford at 8/5/2003 4:53:39 PM
Hi,
I've just read the ms KB article on how sessions can die because of the
underscore in the machine name and don't think that it applies to me. I've
tried using the IP address of the server and have tested it locally using
localhost and my sessions still die.
It seems to happen on one part... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
preventing go back and next page
Posted by Volkan Karaboưa at 8/5/2003 4:44:18 PM
Hi all!
I want the users not to go previous or next page with using neither keyboard
nor explorer buttons.
I hide the buttons on explorer when opening the page but user press back key
on the keyboard page changes!
tell me please how to prevent this situation.
thanks...
... more >>
Another Dumb Q...
Posted by Tibby at 8/5/2003 4:15:22 PM
Is there anyway to send Authentication Credentials with SMTP Mail? I'm
using Exchange Server 2000, and I don't want to open relay on a large
scale....
Thanks
Tibby
... more >>
Very basic ASP.NET question
Posted by Mike Christie at 8/5/2003 4:01:44 PM
I've got some Java experience but no JSP or ASP and am trying to get to grips
with ASP.NET. I'd appreciate some help on a simple question.
I have been able to get databinding to work, and can display a string obtained
from the database on the screen by binding it to a label. However, if I h... more >>
ASP.NET with VB.NET and WMI
Posted by Andreas Semmelmann at 8/5/2003 3:32:33 PM
Hello Folks.
Hope you can help me. I´d like to create a ASP.NET-Application with VB.NET
where I can query servers for monitoring purposes. Could you give me a hint
where I should start? I´ve had a few experience in VB-Script/ADSI and
Domain-Management. I need some examples. Thank you for your ... more >>
Include Files (Part 2)
Posted by Colm at 8/5/2003 3:09:51 PM
I an using below syntax.
<!-- #include file = "include_files/Somefile.js"-->
When I put this line on my aspx page, it shows the script
on the interface which I don't want.... more >>
How to refer to a variable on another webform
Posted by Tor Inge Rislaa at 8/5/2003 2:52:42 PM
How to refer to a variable on another webform
Hi, I have a Webform1 with a public variable that is assigned a value before
my Webform2 is displayed. In the Page_Load procedure of Webform2 I want to
evaluate the value of the variable of Webform1.
Code on Webform1
Public MyVar1 As Integer
... more >>
myDataList_ItemDataBound
Posted by Arjen at 8/5/2003 2:36:10 PM
Hallo,
I have a hyperlink control inside this datalist.
I want to give these hyperlinks some values inside this function
myDataList_ItemDataBound.
private void myDataList_ItemDataBound(object sender,
System.Web.UI.WebControls.DataListItemEventArgs e) {
// Some code
}
How can I do that?... more >>
Dealing with Session State timeouts
Posted by Justin Dutoit at 8/5/2003 2:28:37 PM
Hey. What is the best practice for dealing with session state timeouts in a
web app? eg Session_OnEnd Sign them out, so they redirect to Login on the
next request.
Also, for lower security situations, like a home shopping site used from a
secure home environment, how long should the session time... more >>
HTTPS to HTTP
Posted by Raymond Tam at 8/5/2003 2:22:35 PM
When I am using server-side button to switch from https to
http by using response.redirect "http://a.apsx" in
response to the client event, I am still at the https
environment (ie. the address bar on the IE is
https://a.aspx). However, when using hyperlink control,
there is no mis-represe... more >>
Include files in .NET
Posted by Colm at 8/5/2003 2:07:18 PM
Hi,
Does anyone know the syntax to include a .js file in an
ASPX page.
Colm... more >>
Using a .NET Windows Control on an ASP.NET page
Posted by Aaron at 8/5/2003 1:58:12 PM
My company has been using ActiveX Controls embedded on ASP
pages (obviously using the <OBJECT> tag) to give our Web
Application the same look and feel of a windows
application. We are now going to convert to .NET and we
would like to keep the Windows look and feel in our App.
So I need t... more >>
include pages
Posted by Tom Frey at 8/5/2003 1:46:59 PM
Hi,
in PHP i have the possibility to include a HTML page or whatever at any
location just with the <include ... > directive. How would the same thing be
accomplished with ASP.NET?
thx,
tom
... more >>
newbie--datalist question
Posted by SStory at 8/5/2003 1:39:32 PM
I have the ASP Unleased book--of course all code. So it doesn't help me tie
it to the VSNET IDE easily--to know what I have to do and what is done for
me.
I am trying to make a simple datalist that will get 3 fields from a database
plus the Identity field--so 4 total--identity field won't be s... more >>
Trapping click events in the Image control
Posted by Jeff Ptak at 8/5/2003 1:31:02 PM
Can anyone tell me how to trap mouse click events in the
Image control?
I am trying to implement an image zoom feature using
JavaScript where the user could "draw" a zoom box (aka
rubber band box) on the image and the image would zoom to
the extents of the box.
Anyone know how to accomplis... more >>
Instantiating a class in.NET
Posted by Carl at 8/5/2003 12:57:47 PM
Hi,
I have a class in .Net which I instantiate in my code
behind on one of my aspx pages.
When I am finished with the instance, what is teh best
method of taking it out of memory. Should I set it to
nothing or can I dispose of it?
Thanks,
Carl.... more >>
one page to another
Posted by maximas_me at 8/5/2003 12:37:46 PM
I have a search page ie. google. when user enter the text
and click submit, the application will run through the db
and return the result to a dataset. How could I pass the
dataset to another page that will display the results.
for example search.aspx have
dsdata = loaddata.getdata(sql)
... more >>
How can i use the URL History of the IE from asp.net?
Posted by exshige at 8/5/2003 11:22:40 AM
Is there a way to say click a button on a page and have the page to load the
immediate previous visited page?
Thanks.
... more >>
Drop down list selected index
Posted by babe_jt NO[at]SPAM hotmail.com at 8/5/2003 10:39:10 AM
I am populating a drop down list with a privilege levels from a table
called "Privilege" with the fields "PrivilegeID" and "PrivilegeName".
In a table named "Users", their is a corresponding column
"PrivilegeID" that has a value from the "PrivilegeID" field in the
"Privilege" table.
First I pop... more >>
Script in WebForm
Posted by AV at 8/5/2003 10:30:15 AM
I am not able to use the script below,
its giving and Execption (MessageName Space)
THE TYPE OR NAMESPACE NAME 'MESSAGE' COULD NOT BE FOUND
this is an example from the GOTDOTNET site
http://samples.gotdotnet.com/quickstart/util/srcview.aspx?
path=/quickstart/aspplus/samples/webforms/contro... more >>
Forms Authentication Problem
Posted by ElmoWatson at 8/5/2003 10:22:10 AM
I tried on the Security newgroup, as well as other places, and haven't
gotten an answer yet - - I'm pulling my hair out over this one.
I'm trying to get Forms Authentication working.....I can get any requested
page to automatically go to the Login.aspx page, AND, the ReturnURL
querystring is c... more >>
Where is RegisterClientScriptBlock?? RegisterScripts etc.
Posted by MS News at 8/5/2003 10:18:16 AM
Hello,
Where can I find
RegisterClientScriptBlock()
Page class does not have it. Do I have to Import or add some special
reference??
what about RegisterScript which I can see but can not do anything with it
It won't take any arguments
I am using Framework 1.1 VS2003 etc..
What A... more >>
Losing Session variables
Posted by GFuller at 8/5/2003 10:13:52 AM
- We have 2 aspx pages in a .NET project. The first sets
a session variable and has a button that when clicked
performs a 'redirect' to the second page which then reads
the session variable.
Problem: This always works fine on the localserver and
through the IDE. But when the applicatio... more >>
Validator
Posted by lostman at 8/5/2003 10:10:00 AM
Hi,
I have a little problem with me form validation.
When i run my page on the "Localhost" everything work fine, but when
i run the page on the Server, the page is sent before the validation !!?
Did someone have an idea of my problem ?
Thank you .
... more >>
Question: GET vs POST method
Posted by VB Programmer at 8/5/2003 9:56:47 AM
Can someone provide a simple explanation on the difference between the GET
and POST methods? What are the adv/disadv of both and when should I use
them?
Thanks.
... more >>
DropDownList and AutoPostback -- default item
Posted by Null at 8/5/2003 9:52:54 AM
Hello --
Is there a way to prevent the autopostback of a drop down list if there is a
"default" item in the list -- example, a drop down list where the first item
says "Select One" and the remaining items are all values available for
selection....if the user changes the selection I want to pos... more >>
Error Creating ASP.Net Project
Posted by J at 8/5/2003 9:21:01 AM
Hi,
I have setup a test server with the following installed:
1) Windoes Server 2003 - Latest SPs applied.
2) Ms_SQL Server 2000 - Latest SPs applied
3) Visual Studio 2003
I have Admin privledges.
Each time I open VS and attempt to create a ASP.Net
project (even the default
http://L... more >>
calling clientside js with onchange event
Posted by davec NO[at]SPAM whitaker.co.uk at 8/5/2003 9:15:22 AM
Here goes: I have a web form with several asp:dropdownlists, with
which, when selection is changed I want to fire an event defined in
some clientside js.
The content of the clientside code is dependant on data collected in
the code behind on the server. I have set AutoPostback to false for
th... more >>
javascript
Posted by Ryan Moore at 8/5/2003 9:12:41 AM
anyone know of a good article on using Javascript in ASP.NET pages?
... more >>
understanding error message
Posted by Leon Shaw at 8/5/2003 8:25:00 AM
Someone please help me understand the following error message:
Server Error in '/solo' Application.
----------------------------------------------------------------------------
----
Configuration Error
Description: An error occurred during the processing of a configuration file
required to... more >>
DDL values with DataReader and stored procedures
Posted by Rob Wire at 8/5/2003 8:16:57 AM
For the code below, how could I add an item in the drop
down lists for both company and location to be an "All"
selection that would send to the stored proc.
spRptAttachments a value of "%" so that it would bring
back all attachments at all companies or all locations at
a company? Thank y... more >>
how to call javascript from asp .net c# script ?
Posted by iammrproblem NO[at]SPAM yahoo.com at 8/5/2003 7:56:32 AM
If a certain criteria happens with some data how do I show a
javascript message box to notify the user ?
I don't think I can use a validator control as it's not applicable.
<SCRIPT LANGUAGE="JavaScript">
function onClickJS()
{
window.confirm("data malformed");
}
</SCRIPT>
Thanks,... more >>
Problem with IIS 5.1
Posted by clemens.hofreither NO[at]SPAM gmx.net at 8/5/2003 7:56:16 AM
I have just installed IIS 5.1, however I have done so *after* I have
installed the .NET Framework, and it therefore seems that IIS is not
configured to serve ASP.NET pages. Whenever I point my browser to an
..aspx page, it just prompts me to download that page, so the server
obviously doesn't pr... more >>
object reference-error with programmatically loading user control
Posted by mvaniperen NO[at]SPAM poolmanager.nl at 8/5/2003 7:35:58 AM
Hi there!
I have a problem with programmatically adding user controls to my
mobile webforms. If I load my usercontrol programmatically (in the
Page_Load), the object is instantiated, I have access to the methods
and properties from the Page_Load, no problem there. But as soon as I
want access... more >>
Rendered .NET Validator JS
Posted by Dan M at 8/5/2003 6:18:42 AM
I have been using the .NET validators but I have a new
solution and I have now removed all the validators from
the aspx page but the server still includes the
webuivalidations.js and other MS specific JS code in the
page. Anyone know how to stop the server from including
this stuff? ALL va... more >>
Expand and Collapse
Posted by Jenny at 8/5/2003 5:30:46 AM
My codebehind file contains a lot of sub's.
Is there a fast way to expand and collapse them in the
VisualStudio? It's really exhausting to collapse them all
after opening the project in the morning!
Thanks
Jenny... more >>
anchor question
Posted by Mike P at 8/5/2003 5:03:15 AM
What is wrong with this code? I have a link on my page :
<a href='<%# "oli_display.aspx?OLI=" +
DataBinder.Eval(Container.DataItem, "OLI") + "&OS=" +
DataBinder.Eval(Container.DataItem, "Incoming Route") %>'
target="_blank">
<%#DataBinder.Eval(Container.DataItem, "OLI") %>
... more >>
'ResourcePool' is not supported on the current platform
Posted by Central_Support NO[at]SPAM lycos.co.uk at 8/5/2003 4:05:52 AM
Hi,
I'm having problems connecting to a SQL Server 2000 db from ASP dot
net project. I have a 'DAL' project which is used to connect to the
database after reading the connection string from an XML file. Using
the same DAL I can access the database from a Win Forms app I just
can't connect f... more >>
Hidden field?
Posted by Yatin Bhuta at 8/5/2003 12:54:59 AM
Hi,
I have WebPage1 which has a link to go to WebPage2. This link passes a value
to WebPage2. In the page_load event I get this value using
Request.QueryString and put it in a public data member of WebPage 2.
WebPage2 has a button on it and when this button is clicked the page is
posted back ... more >>
Can't start asp.net web application
Posted by dennist at 8/5/2003 12:47:42 AM
When I try, the name is greyed out. If I click OK, I get
the following error message:
Visual Studio Net has detected that the specified web
server is not runnng asp.net version 1.1 - you will be
unable to run asp.net web applications or services.
I installed the net framework 1.1 and am... more >>
|