all groups > asp.net > july 2004 > threads for monday july 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
button.attributes in .aspx.vb code behind file
Posted by anoop at 7/5/2004 8:58:01 PM
Hello,
How can I include the source file in
"Button.Attributes("Onclick")="javascript: my javascript commands "
command as I do in <script> tag in javascript as"src=abc.js" in .aspx page because the code I have to write as javascript commands depends upon the external... more >>
<% symbols
Posted by Brian Henry at 7/5/2004 8:22:11 PM
so what is the difference between all these symbols, i know a few but don't
know them all, what am i missing and what do the ones i dont know mean?
thanks
<% %> code block
<%@ %> include i think? used in page directives
<%= %> returns a value out
<%# %> not sure what does but use it with dat... more >>
ASP.NET Restart Problem
Posted by amdishigh at 7/5/2004 6:57:01 PM
We are experiencing the following problems concerning ASP.NET: our
ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0
environment, experience frequent session timeout problem. After tracing, we
find that it should be caused by "ASP.NET Application Restart" (proved by
in... more >>
ASP.NET Restart Problem
Posted by amdishigh at 7/5/2004 6:56:02 PM
We are experiencing the following problems concerning ASP.NET: our
ASP.NET application, written in .NET 1.1 platform, and hosted in IIS 5.0
environment, experience frequent session timeout problem. After tracing, we
find that it should be caused by "ASP.NET Application Restart" (proved by
in... more >>
brackets, braces and arrays
Posted by bric at 7/5/2004 4:01:48 PM
Every time that I sit down to use an array I wonder a bit about
syntax. Even if it's a simple thing and I can just do it quickly and
get it out of the way.
The reason I wonder is this. (Most often I'm coding vb)
dim sTest(3) as string
is fine for grabbing my 4 test items.
But I've al... more >>
Multiple Developers
Posted by vishesh vyas at 7/5/2004 3:45:11 PM
Is it possible to work on ASP.NET project by 4 developers simulatneously
with the help of VS.Net IDE?
If yes, then How?
Thanks In Advance.
... more >>
two tables one datagrid
Posted by Mike at 7/5/2004 3:28:22 PM
i need to populate a datagrid (VB.NET) from 2 tables from my sql db,
what is the best way to do this and is there any examples online i could
look at.
I did a search on google.com but really didn't find anything helpful IN THIS
TOPIC.
... more >>
How can I process ASP.NET code returned from <asp:Xml>?
Posted by Greg Collins [MVP] at 7/5/2004 3:25:12 PM
I've got a web site I've built that uses an InfoPath form to generate an =
xml file. This file is then transformed within the default.aspx page to =
create the contents of the page.
The problem I'm running into is that I need to be able to return more =
ASP.NET code as part of the return value... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Form Authentication problem
Posted by Philip Rayne at 7/5/2004 2:59:52 PM
I am hosting a website on my home PC. I have a dynamic IP address so I use
a domain name that automatically gets updated with my IP address by my
router. This domain name is something like rayne.mydns.org
When I try and login to my home website via this domain name I have no
problems with my... more >>
Error : Login failed for user 'MACHINE\ASPNET' :/
Posted by Mr.KisS at 7/5/2004 2:46:58 PM
Hello all,
I'm working with Windows XP PRO SP1, ASP.NET v2 (with
Visual Web Dev) and, MS SQL 2005 with a database with
Windows Authentication mode. I've an aspx page which must
send a query to the database. But i have this exception :
Login failed for user 'KLEO\ASPNET'.
Description: An un... more >>
Web Service Question
Posted by Dean Bortell at 7/5/2004 2:32:01 PM
First you must forgive me because I am new to web services! My question/situation is this. I have a messenger program (Windows Form based) that uses a web service. Is there any way to check if that web service is online at any given time. I have read where programs that use web services will "ha... more >>
Bad Request?
Posted by Jon Spivey at 7/5/2004 2:29:46 PM
Hi,
Here's a link on one of my sites
http://www.bookhead.net/books/Against+All+Enemies%3a+Inside+America's+War+on
+Terror+Richard+A.+Clarke/ISBN/0743260244.aspx
the page the link is on is
http://www.bookhead.net/books/Plan+of+Attack+Bob+Woodward/ISBN/074325547X.as
px
When I click the li... more >>
Data structure for dynamic two-dimensional array
Posted by PontiMax at 7/5/2004 1:50:01 PM
Hi,
is there a recommendable data structure for dynamic two-dimensional arrays?
The data structure should meet the following requirements:
- The number of rows is unknown on initialization.
- The same applies to the column count.
- The data type of the various columns is not known before... more >>
Folder browsing
Posted by Jonathan Dixon at 7/5/2004 1:26:41 PM
I am using this code to get a list of folders and files
System.IO.DirectoryInfo didocs1=new
System.IO.DirectoryInfo("C:\\Shearings\\" + jonn + "\\" + folder);
I was wondering if there was a way to determine if the the folder had any
files or subfolders within it or whether it is empty
... more >>
How to code your own resize events ?
Posted by JezB at 7/5/2004 12:27:34 PM
I need to code my own resize event, and Im not sure how.
I have a DIV whose width I always want to be the browser height (the inner
pane, excluding the toolbars, status bar etc) - 200 points (say). I can't
use a height % for this, so as I understand it I need to code my own
onresize event.
... more >>
question of Frame
Posted by Edward at 7/5/2004 12:25:34 PM
I've one page, which contains two frames and one hyperlink.
My requirement is , any hyperlink in menu, can direct frame "main" , but it
failed. It opened another window.
so I added one hyperlink in the top page, it also failed. The same as above.
Why ? below is my page code.
<for... more >>
throw exception in the finalize
Posted by z. f. at 7/5/2004 11:38:28 AM
in vb asp.net page i'm overriding the finalize method in order to make
cleanup.
if i throw exception there it is not seen on the page.
probably because the page has already sent to the client.
is there a way to throw exception on the finalize method in order to check
that objects were closed, b... more >>
Access control?
Posted by Olav Tollefsen at 7/5/2004 11:04:04 AM
I have the following in the Web.config file (root directory):
<authentication mode="Forms">
<forms name="Login"
loginUrl="Login.aspx"
protection="All"
timeout="60"
path="/" />
</authentication>
....
<authorization>
<deny users="?" />
</... more >>
Uploading/Downloading files with protected extensions
Posted by Garett Rogers at 7/5/2004 10:52:43 AM
I am creating a document manager for our intranet in VB.NET and I have
stumbled across a problem that I cant seem to find a solution for.
Everything is working as planned:
1) upload a file from webform
2) saves it in a folder outside the current application
3) you can download the file once i... more >>
HELP: strange compilation error I have never seen before
Posted by David at 7/5/2004 10:30:34 AM
I was experimenting with generating a Word file using ASP.NET, and lauching
the web app did not cause any problems.
Then out of the blue, this is happening to every asp.net app that I attempt
to launch on my machine. When I click on the "Show Complete Compilation
Source". this is what shows... more >>
IHttpModule Event Threading
Posted by Andrew Lippitt at 7/5/2004 9:49:01 AM
What gaurantees are there in the way of which thread the events are called from.
I've seen:
Thread A Begin
Thread B Begin
Thread A End
Thread A End
That seems to indicate that Begin and End can't be assumed to be called from the same thread, but can I assume that the Begin will happen on t... more >>
Crystal Report
Posted by Sunil Sabir at 7/5/2004 9:36:03 AM
Dear All,
I am actually having a problem when I load my crystal report on the server
I am not able to see the default logo of Crystal decisions and other images
in the tool bar. It is working fine on the client PC.The deployment method
I am using is just simply coping a... more >>
Update the cache/application
Posted by Steffen Loringer at 7/5/2004 9:24:14 AM
Hi group,
what is the recommended way to get updates? My application stores some
information in the Page.Application state which are originally created
from another SQL2000Server.
How can I notify my Server with the ASP.NET process if there is a change
of the data on the SQL2000Server?
... more >>
windows update causes ASP .NET problems
Posted by AF at 7/5/2004 9:00:02 AM
After installing windows update kb837001 on our Windows 2000 server with .NET framework 1.1, it is impossible to browse to our ASP .NET application. When you type in the address, Internet Explorer continues attempting to open the page, but never reaches it.
I haven't found any information on Micro... more >>
Dynamic images from byte array
Posted by andrew.knox NO[at]SPAM arsenalnews.co.uk at 7/5/2004 8:56:30 AM
Hi there,
Hope someone can help. I've had a look around on the web and found
some useful info but not getting this to work... seen lots of
different variations
PROBLEM:
========
I have a pop-up window in which to display a logo. These logos are
stored in SQL Server 2000 as <image> objects.
... more >>
call OnSelectedIndexChanged??
Posted by Martin at 7/5/2004 7:51:02 AM
Does somebody knows, if there's a way to call the OnSelectedIndexChanged method of the dropdownlist by myself?
Or does somebody knows a way, to raise the SelectedIndexChanged Event of a dropdownlist?
tia
Martin... more >>
Buttons Do Not React
Posted by Jim Heavey at 7/5/2004 7:32:02 AM
Hello, I had a web page which was working just fine. I then worked on making it comply with our corporate standards. To do so, I created 3 user controls, two for heading and one for the footer. One of these user controls has a button. After I get all done, when I bring up the page and press the ... more >>
Best practice for writing ASP.NET applications ?
Posted by Zenobia at 7/5/2004 7:26:49 AM
Hi,
Does anyone have any good links for the best practice when
writing ASP.NET applications ?
I'm looking for all-round general clues for newbies and
pit-falls to avoid.
... more >>
populating a Drop down list
Posted by Casey at 7/5/2004 7:16:38 AM
hello,
I need to populate a drop down list when the user clicks
on the arrow button.
how do i do this.
Should i use a html select control or is it possible
using the asp:dropdownlist
... more >>
Server-side command included in javascritp inside codebehind??
Posted by grawsha2000 NO[at]SPAM yahoo.com at 7/5/2004 7:07:47 AM
Greetings,
I'm having a problem trying to execute server-side command included in
javascript inside codebehind file (VB.net).
'*****code sample
Button1.attributes.add("onclick"," '" & <%response.write(""test"")%>
& "' ")
This gives me javascript error?!?!?!??
Any help with the ... more >>
ASP.net configuration problem - new user
Posted by James Warren at 7/5/2004 5:23:08 AM
I just installed VB.net 2003, upgrading from VB6. I tried to open a new
ASP.net Web Application and immediately got an error stating that my Web
Server isn't running ASP.net version 1.1. I tried running aspnet_regiis /i
and all the dotnetfix "framework repair" suggestions the Help link sent me
... more >>
Single and Double Quotes in ASP.NET
Posted by Roger Helliwell at 7/5/2004 5:17:27 AM
Hi Everyone,
I have a DataGrid which contains various columns, one of which is an
image which comes from the data source. I'd like to bind the HTML
'alt' setting as well with text from the data source. A problem occurs
when the text in the data source has a single quote however.
For example... more >>
bringing a drop down value to the top.
Posted by Asha at 7/5/2004 1:56:02 AM
greetings, i populate my drop down list from the db and i wanto add a new value to it call <NEW>. but this new always sits and the bottom. how can i bring this value all the way to the top?
thanks...... more >>
adding data to html control
Posted by David at 7/5/2004 1:07:32 AM
after having finally been able to catch an instance of the <head> in my code
behind file
protected HtmlHead myHeader;
I found out I'm too much of a c# newbie to figure out how to start putting
some data into the header. I can add meta tags with HtmlGenericControl but
how to add data like <l... more >>
How to clear form after postback
Posted by Dave at 7/5/2004 12:21:49 AM
Hi,
I have an asp.net page with a form. When the submit button is clicked it
sends an email.
When the page reloads the form fields are still filled with the info that
just got submitted.
I tried
<%@ Page EnableViewState="false" %>
but it doesn't clear the form.
I also tried EnableVi... more >>
|