all groups > asp.net > february 2004 > threads for saturday february 7
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
Timeout on system net webclient
Posted by Jon at 2/7/2004 11:39:04 PM
Hi
using vb.net/vis studio 2003
Im using system net webclient to pull data from some other web sites, works
well with 1 but - I'd like to be able to set a short timeout on the request.
There doesn't to be a timeout property - I used to use msxml2.serverxmlhttp
under asp which allowed setting ... more >>
Problem with background color of table cell
Posted by Thanks at 2/7/2004 11:28:28 PM
I have a routine that is called on Page_Init. It retrieves folder records
from a database which I display as Link Buttons in a table cell. I set the
table cell's bgcolor to a default color (say black for example). I am
dynamically creating the LinkButton controls and adding them into the table
c... more >>
Which Page method will be called after all the controls Render methods have executed
Posted by Tomas at 2/7/2004 11:09:00 PM
Is there any sequence diagram on the web that clearly shows in which
order all Page methods (load, render and so on) are being called
compared to the order the page's contained control methods are being
called by the asp.net enginge ???
To be more specific, the thing I currently am most intere... more >>
codebehind question
Posted by Karl Hungus at 2/7/2004 11:08:10 PM
If I use a code behind class for an aspx page, what is the best way to get
data from the codebehind class into my aspx page?
I know about databinding, but is there a more basic way of just referencing
the variables or calling getters?
thanks in advance
... more >>
How to prevent aspx page from being cached by user's browser?
Posted by feng at 2/7/2004 10:39:30 PM
In my ASP.Net app I have a aspx page that's called by an
other page's client side JavaScript code. The problem is
that the first time this page get loaded, it will be
cached in the user's local cache and will not be refreshed
in the following calls. I checked the following calls and
I see ... more >>
Organizing pages in subdirectories of main directory
Posted by Charlie Dison at 2/7/2004 9:01:06 PM
At the moment I'm an asp.net rookie. I'm using Visual Studio .net 2003.
I get the error "An error occurred during the parsing of a resource required...
Could not load type 'myApp.main'.
This error occurs in pages located in a subdirectory beneath the root level in my application. So for exampl... more >>
SqlDataReader......
Posted by Smith Simson at 2/7/2004 7:56:05 PM
I am reading the data from database using SqlDataReader.
Here is my code.....
txtCustomerName =
MyDataReader.GetString(MyDataReader.GetOrdinal("CustomerName"))
txtCustomerDOB =
MyDataReader.GetString(MyDataReader.GetOrdinal("CustomerDOB"))
I am getting the "cast" error at the second line.
... more >>
DataList & Dynamic Controls
Posted by Scott Schluer at 2/7/2004 7:30:56 PM
Hello,
I've got myself a small problem and I'm hoping someone can help.
I have a DataList called dlProducts (displays products from a database).
Within the <ItemTemplate> container of the DataList, I have a PlaceHolder
control called phVariations. During the ItemDataBound event for dlProduct... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
RUNNING WINDOWS APPLICATION FROM ASPNET...
Posted by BLOOD... at 2/7/2004 7:11:34 PM
I want to run notepad.exe from ASP.NET (C#)
i am using javascript:
<script language="JScript">
function fnShellExecuteJ()
{
var objShell = new ActiveXObject("Shell.Application");
objShell.ShellExecute("notepad.exe", "", "", "open", 1);
}
</script>
ERROR: Perm... more >>
ASP.NET RUNNIG WINDOWS APPLICATIN.... HELP!!
Posted by BLOOD... at 2/7/2004 7:10:47 PM
I want to run notepad.exe from ASP.NET (C#)
i am using javascript:
<script language="JScript">
function fnShellExecuteJ()
{
var objShell = new ActiveXObject("Shell.Application");
objShell.ShellExecute("notepad.exe", "", "", "open", 1);
}
</script>
ERROR: Perm... more >>
Checkboxes checked in runtime datagrid
Posted by ricky.arora NO[at]SPAM icn.siemens.com at 2/7/2004 5:45:31 PM
Hi All,
I have a complex problem. I have dropdownlists (usually 3-5) and the
user selects some value from these and for each value selected,
datagrids are shown to the user. I am creating the Datagrids
dynamically using a loop depending on the number of Dropdownlists. The
datagrids also have a ... more >>
MailMessage Body appear in italics
Posted by mg at 2/7/2004 4:26:07 PM
How can I make the MailMessage Body appear in italics in the received e-mail message
message.Body = ???? ;... more >>
LDAP - SearchResultCollection / SearchResult problem
Posted by mg at 2/7/2004 3:36:05 PM
SearchResultCollection resultCollection = LDAPsearcher.FindAll()
SearchResult[] resultArray
resultArray = new SearchResult[resultCollection.Count]
resultCollection.CopyTo(resultArray,0)
resultCollection.Count is
But many fewer than N items appear in resultArra
How can I get all N items to... more >>
asp:hyperlink control
Posted by francois at 2/7/2004 3:26:31 PM
hi all,
I have hyperlink controld in my aspx webpage. When i click on it it needs to
open a new window, then i added the attribute target="_blank"
But I would like to also give a size to the new open window as well as take
off all the menu,link bars and other bars to have a minimalistic vers... more >>
Postioning th controls on the Web form......
Posted by San Ramon at 2/7/2004 2:24:15 PM
I am developing ASP.Net application using VB
using VS.2003. I have more than 100 ASP server controls on the form. It is
taking lot of time to position them on the screen. Is there any easy way to
do that ? I am using grid layout.
Please advice.
San
... more >>
ASP.NET and Javascript
Posted by Amy Snyder at 2/7/2004 2:21:34 PM
Is there a way for me to change the ImageUrl property for an image using
javascript? I am assuming there is since I am using javascript to show
and hide the panel that the image is on. If so, what would the correct
syntax be?
*** Sent via Developersdex http://www.developersdex.com ***
D... more >>
Web App need permission to post files to a virtual directory
Posted by TPS at 2/7/2004 2:19:58 PM
I have a virtual directory where all posted files are stored.
The ASP app does not have rights to the share on the other server where the
vir dir resides.
What is the best way to give the asp app the rights to post files to the vir
dir.
Thanks
TPS.
... more >>
asp login, I need help please!! Newbie
Posted by phill2 NO[at]SPAM charter.net at 2/7/2004 12:37:00 PM
Hey, I am running a server 2003 website that uses basic
authentication. I installed a asp web application that requires a
login and password. Is there a way that I can use alter the code on
the login page of the web application to accept the credentials of our
website basic authentication? If... more >>
Setting registry permission after aspnet_setreg.
Posted by Kevin Burton at 2/7/2004 11:45:24 AM
I am using aspnet_setreg but the permissions that it sets the registry to
leave the application unable to access the information. I want to add the
ASPNET account on the machine that our application is being installed on
with read privilege automatically. Does anyone know of a way to easily set
... more >>
Installing ASP.NET on Windows XP Pro
Posted by Antonio Cuni at 2/7/2004 11:27:48 AM
[first of all, sorry for my bad english - I'm not a native speaker]
I have some troubles with Win XP Pro: I can get ASP.NET to work! Here are
the steps I have followed:
1) install Win XP Pro, without IIS
2) install .NET framework and Visual Studio.NET, without web development
tools
3) inst... more >>
sql server demo setup refreshed in each new session
Posted by J McD at 2/7/2004 11:21:05 AM
Hi
I have an asp.net/sql server application that I would like to demo on a website. I'd like each new visitor to see a pre-populated database setup which they can then manipulate, but their changes should be lost as soon as they end the session and their changes should not be visible to any other... more >>
Multiple file downloads
Posted by rbscheer NO[at]SPAM my-deja.com at 2/7/2004 11:03:11 AM
Hi.
Is it possible to download multiple files at once? One of my pages
needs to allow my users to download 6 files. Instead of one link for
each file, I am trying to create just one link that when clicked,
download all the 6 files at once. Is it possible?
Thanks,
Robert Scheer... more >>
socket application
Posted by Vicky at 2/7/2004 10:54:02 AM
is it correct to write a socket server in asp.net. And will it work
efficiently and properly.
I want to make a sockert server for chat app. which will be running on our
web server. But as we can only host web app on the web server, i am thinking
to implemnt server in asp.net app.
Please advice ... more >>
what is the best way to connect to a sql database?
Posted by msn at 2/7/2004 10:51:10 AM
What is the best way to connect to a sql database in a asp.net page with
Visual studio. An example would be great. Thanks
Dave
... more >>
IIS / XP Pro
Posted by Jim Heavey at 2/7/2004 10:33:51 AM
I understand that the next release of VS.Net will come with a stripped down
version of IIS for user's of XP standard edition. For someone who only has
XP standard edition, is there something which can be downloaded so that
they can develop ASP.Net application on XP Standard Edition?
Thanks... more >>
RowSelectorColumn
Posted by Chip at 2/7/2004 9:08:02 AM
Andy Smith's control (metabuilders.com/Tools/RowSelectorColumn.aspx ) is
everywhere and I'm feeling pretty stupid. I've placed the dll in my /bin
directory, registered the control, added the column to my datagrid, and it
works! VS.NET even renders it in design mode (2002 didn't). However, when I
... more >>
How to prevent ASP.NET from changing the file extension on SaveAs-Box?
Posted by winston-smith NO[at]SPAM gmx.net at 2/7/2004 7:41:09 AM
Hi Group,
in my aspx page there is an Response.Redirect to a file called myfile.csv.
The file consists of plain text with comma separated values.
I want that the browser opens the save as dialog which it does.
So far so good.
But the filename, the Internet Explorer suggests is not myfile.csv ... more >>
Passing Values
Posted by Jim Heavey at 2/7/2004 7:36:11 AM
I know that I can create session variables and pass those values from one
screen to another, but is there not a way to makes variables from one scree
n available to another screen other then session variables? Is there not a
way to create properties in the one screen and then pass some sort o... more >>
Sending only HTTP header information to clients
Posted by Dhwanil Shah at 2/7/2004 4:51:05 AM
Hi,
We have an aspx page designed in VS.NET 2003. Our requirement is that a client (another application), sends HEAD requests to our application with Basic Auth header. Based on security criteria, we need to "tell" the other application whether the user is allowed to use that page or not. Another... more >>
Is FindBy<Key> Method applicable to design time dataset
Posted by keithoon NO[at]SPAM singtel.com at 2/7/2004 4:31:31 AM
Hi,
I created a dataset during run time and assigned it to the datagrid.
But i cant get the FindBy<Key> method to work. During design time, i
got a error "dtProdHdr is not a member of System.Data.DataSet" error
Is it that FindBy<Key> method is used only for DataSet generated
during design t... more >>
HttpWebRequest idling NullReferenceException
Posted by Paul DeMarco at 2/7/2004 12:11:06 AM
I'm using the HttpWebRequest repeatidly. I have basic authentication, unsafe connection pooling, keepalive, and preauthentication on. Within .NET it clearly reuses the http connections, I can easily verify this is correct with a packet sniffer. I may make 1000s of requests over 1-2 established ht... more >>
asp.net good practices?
Posted by Karl Hungus at 2/7/2004 12:05:23 AM
Looking for a high level description of good practices.
I want to build a little admin tool for my site -- using asp.net, c#, and an
xml file as the database. Im kind of new to asp.net and im looking for a
suggestion on how to design it so that I can read and parse the xml within
my own objec... more >>
|