all groups > asp.net > january 2004 > threads for tuesday january 6
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
no timeout for aspx
Posted by Eitan at 1/6/2004 11:24:23 PM
Hello,
How can I handle by web.config,
that there will be no time out for running an aspx page ?
Thanks :)
... more >>
CustomValidator for dropdownlist...
Posted by Kristoffer at 1/6/2004 11:15:31 PM
Hi!
I have an urgent question...
Im using a normal dropdownlist control on my homepage to display a lot of
different values ok...
this dropdownlist is generated dynamicly (since I have different languages
on my homepage).
Now, This part is no problem, the problem comes when I try to use a
cus... more >>
Write to EventLog from asp.net
Posted by Anders Both at 1/6/2004 11:02:18 PM
How can I write to System.Diagnostics.EventLog from within the asp.net
process.
When I try to do it, I get the Message Below
Best Regards Anders Both
ErrorMessage:
Description: The application attempted to perform an operation not allowed
by the security policy. To grant this applicati... more >>
hiding a user control
Posted by Michelle Stone at 1/6/2004 10:29:05 PM
I tried setting the VISIBLE property of my User Control
to False in the designer, and I got the expected result -
the control disappeared.
But when I try to do this through code, it doesn't work!
I used the following in the Page_Load function
myControl = (TheControl) LoadControl ("TheCo... more >>
datagrid hyperlink question
Posted by MattB at 1/6/2004 10:08:30 PM
Hello. Got a question you more seasoned people would likely know.
I've got a datagrid in a web form that has a Hyperlink column. I've got one
link working with the property builder, how can I set up another link
template that would be used instead based on the value of one of the
dataset's col... more >>
Enterprise Localization Toolkit can't handle 6 character cultures e.g. zh-CHT
Posted by fabiand NO[at]SPAM avanade.com at 1/6/2004 9:12:08 PM
Apologies for cross-postings...
We have been using the Enterprise Localization Toolkit for a project
and it seems to have a bug. It assumes that all cultures are 5 char
in length e.g. English(Australian) en-AU, but the .NET framework has
some that are actually 6 characters in length, e.g.
Ch... more >>
Opening a Project from the web
Posted by jwgiblin3 NO[at]SPAM hotmail.com at 1/6/2004 8:51:29 PM
I am not sure what setting I am missing. Everytime I click to open a
project from the web, I select the host address. When I do this it
open a file dialog instead of looking at the files on the server.
What setting on IIS do I need in order to make this work correctly.
John... more >>
Crystal Report Permissions
Posted by Ryan Reilly at 1/6/2004 8:19:19 PM
I have a crystal report file that I am loading and viewing through ASP .NET
using the crystalreportviewer control. Whenever I run the report I get
prompted with the Win2K network logon dialog. What's strange is as I am
prompted to login to the server the report continues to run and actually
di... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
MX lookup using only asp.net library, without third components?
Posted by Cleilton at 1/6/2004 7:23:54 PM
Hello all,
I have an apllication in ColdFusion that shows the MX record (mail host
name) from a domain. I enter with the domain name (ex. microsoft.com) and
the aplication return the mail server for that domain (ex.
mail.microsoft.com).
How can I make that using asp.net, only using dns clas... more >>
Dropdownlist box for States of America
Posted by Hai Nguyen at 1/6/2004 7:08:28 PM
Hi everyone
I'm trying to build a drop down list box for all of the states of America in
ASP. Net. To save time, I would like to know if somebody here can show me
where I can get the sample file or give me the link to help me build my page
quickly.
Thanks
... more >>
Application object
Posted by Alexander Kaplunov at 1/6/2004 6:37:36 PM
Happy New Year everybody!
I have a asp.net web application, which has aspx files with code-behind and
also some .cs files. My question is how can I get to Application object
within C# objects (.cs files)? I can write the code...
string str = (string)Application["test"];
and it compiles O... more >>
UI Generation Logic
Posted by Glenn at 1/6/2004 6:28:02 PM
From an architectural/design perspective, if a web form
page uses server side logic to generate part of the UI,
this logic be abstracted within a separate presentation
layer class, or is it okay to implement using private
methods of the web form page class. Or does it belong in a
business ... more >>
GetBoldWords
Posted by kuya789 NO[at]SPAM yahoo.com at 1/6/2004 5:57:51 PM
This example that Mun give me (see below) works fine if theres only one set of
bold tags <b>ddf</b> but it would fail if there are more than one
input = "<b>ddf</b><b>dddfs</b>"
output = "ddf</b><b>dddfs"
is there a way to save each word in bold into an array?
Thanks,
aaron
--------------... more >>
Bubbling the TextBox.TextChanged event to a parent Repeater control?
Posted by Zoe Hart at 1/6/2004 5:23:18 PM
Does anyone know how to bubble a TextBox.TextChanged event up to the
container Repeater control. By default the Repeater control handles
CommandEvents from button controls. I want to figure out how to do the same
kind of thing but with the TextChanged event. The reading I've done says
that any c... more >>
How do disable button selection on a page.
Posted by Lily at 1/6/2004 5:17:44 PM
Hi there,
I have several buttons and one datagrid on a page.
Whenever I click on the page anywhere, one of the buttons is selected
(without actually been clicked on), now if I press "Enter" key, the
button's click event got called.
This is a major problem for me!!
I guess this is a fe... more >>
How do disable button selection on a page.
Posted by Lily at 1/6/2004 5:17:44 PM
Hi there,
I have several buttons and one datagrid on a page.
Whenever I click on the page anywhere, one of the buttons is selected
(without actually been clicked on), now if I press "Enter" key, the
button's click event got called.
This is a major problem for me!!
I guess this is a fe... more >>
Graphics class
Posted by Andy at 1/6/2004 5:06:39 PM
Is it possible to use graphics class in web forms? For example DrawArc
Method.
TAI
... more >>
Error: Could not load type 'login_page'
Posted by qluo at 1/6/2004 4:47:28 PM
I got the following error:
---------------------------
Parser Error Message: Could not load type 'login_page'.
Line 1: <%@ Page Language="vb" Codebehind="login.vb"
Inherits="login_page" %>
----------------------------
My login.vb file is the following:
--------------------------------... more >>
Get Remote MAC ?
Posted by localhost at 1/6/2004 4:31:39 PM
How can I obtain the MAC address of a remote web client? I can check
the Server Variables for the IP number, but want to derive the MAC
from it. I am not worried that it may be the MAC of the web client's
firewall, I still want the MAC - just like I could get with ARP at a
command prompt.
... more >>
using a ASP sub in an ASPX page?
Posted by darrel at 1/6/2004 4:30:24 PM
I'm trying to reuse some legacy ASP code we have on an ASPX page. I'm
running into an error where it sees the subroutine declaration as an actual
call:
=============================
: BC30289: Statement cannot appear within a method body. End of method
assumed.
Source Error:
Line 100: s... more >>
Dropdown list cannot have multiple items selected!
Posted by Jeff Tolman at 1/6/2004 4:16:31 PM
I'm getting a Server Error page with a "Dropdown list cannot have multiple
items selected" error. First off, my page doesn't even HAVE a dropdownlist
on it. Secondly, there is no Source file listed on the error page, so I'm
not even sure where to look for the problem. The code appears to run j... more >>
Cannot find the trace.axd file
Posted by Ginette Latour at 1/6/2004 4:16:22 PM
In the Visual Studio .NET reference For Dummies book,
there is a section that describe how to use the
application level tracing feature with ASP.NET
application. This is done with setting the appropriate
parameters in the Web.config file.
So here is the trace section of my Web.Config file... more >>
Validation Order
Posted by Prince at 1/6/2004 4:15:44 PM
I'm trying to determine the the order of how controls get
validated. On a page, I have an <asp:panel> with some
text controls along with submit button controls and
validation on specific textbox controls.
On the same page I have a two textbox controls so user
can enter their username and... more >>
Physical Application Path in Application_End
Posted by Alphonse Giambrone at 1/6/2004 3:59:25 PM
How can I get the physical application path in the Application_End event?
I need it to periodically compact a database and it seems that the request,
application and server objects are not available at that point.
--
Alphonse Giambrone
Email: a-giam at customdatasolutions dot us
... more >>
Grouping product list results in repeater
Posted by Fredrik Rodin at 1/6/2004 3:20:16 PM
All,
I'm looking for a way of generating a grouping in a repeater (or other
control). Instaed of describing everything here, just look at this link and
you can see how I did it in classic asp 3.0 including source code and
SQL-script (SQL Server 2000).
http://www.rodin.se/gruppering.asp
Y... more >>
EnableViewState="False" doesn't work?
Posted by mdelvecchio NO[at]SPAM visi.com at 1/6/2004 3:14:41 PM
Hi,
Either this is a bug, or I'm missing something.. I have a webform that
uses viewstate to retain values for most of its text boxes. But a few
of them I want to always be reset on postback.
So, I thought the thing to do would be to disable the viewstate for
those items, like so:
<asp:T... more >>
Access SessionState in Business Tier
Posted by Glenn at 1/6/2004 3:11:37 PM
Hi,
I know that I can access session state on an asp.net page
using either HttpContext or Page objects, but how do I
access session data from middle tiers?
Should the technique be to extricate the necessary session
data with a web page and pass this to the business tier?
If I need to ... more >>
Do while question
Posted by dave at 1/6/2004 3:04:46 PM
The Selected value is 1914 which is the last one. I want is to be the value
of theyear, while is 2000?????
Dim x As Integer = 90
Dim y As Integer = -1
Dim theyear As Integer = 2000
Do While x > -1
y = y + 1
YearAcquired.Items.Insert(0, New ListItem(Year(Date.Now) - x,
Yea... more >>
Long running searches
Posted by David Kleyman at 1/6/2004 2:37:55 PM
Hello
I am trying to display "Please wait..." message on a page while page is
retrieving data from SQL server
I have this code in place but it does not seem to be working
Private Sub cmdSearch_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles cmdSearch.Click
...
... more >>
user control
Posted by Mattdef at 1/6/2004 2:36:05 PM
Hello and good year,
I use a user control and I would wish to get the full URL of the page which
will integrate this control.
Is this possible?
Thank you.
Matt
... more >>
multiple forms in asp.net
Posted by jharris NO[at]SPAM securitytrustco.com at 1/6/2004 2:04:29 PM
I am using the IBuySpy portal in c#. The problem I am having is in
nesting a second form within the page. The entire page is within one
form (for the user controls). I want to have a form that allows users
to search a phone list by entering a name, and clicking "submit".
This is extremely ea... more >>
How to delete temporary files when the user leaves the web page?
Posted by jbeteta NO[at]SPAM yahoo.com at 1/6/2004 1:51:31 PM
Hi experts!
This is a difficult question.
How to delete temporary files when the user leaves the web page? Is it
possible to do it with .NET? I'm starting to think it is not.
I have WebPage1.aspx. It will make some temporay files (*.gif or
*.jpg). What I need is when the user leaves Web... more >>
Treeview COntrol
Posted by Poppy at 1/6/2004 1:22:21 PM
I want to be able to display files and subdirectories in the treeview
control on my webpage.
Is this possible ?
The only examples I can find are in relation to an XML file.
TIA
... more >>
Strange problem with System.Net.Sockets.TcpClient()
Posted by Torsten Brasch at 1/6/2004 12:33:25 PM
Hi All and Happy New Year ;)
I have a very strange problem with System.Net.Sockets.TcpClient().
For some reason, the number of bytes I can receive is limited to 5460 bytes.
I made sure that the server really sends everything I expect it to send. I
am actually sending XML messages and this limi... more >>
Get file name of associated aspx file
Posted by Sacha Korell at 1/6/2004 12:04:44 PM
Is there a simple way of getting the associated aspx file name from the
code-behind?
I did it this way:
Dim strFileName As String
strFileName = Path.GetFileName(Request.ServerVariables("PATH_TRANSLATED"))
Response.Write(strFileName)
But it seems there should be something like the followi... more >>
very urgent
Posted by monika at 1/6/2004 11:59:11 AM
hi folks...
It may seem silly to write like this.
I have worked on VB and ASP....did a small project in each. Now in order to
get a job i have to fake these projects on .net.....VB.net and ASP.net.
1. I haven't ever worked on .net technology before....is it difficult to
work on it??? But ... more >>
Better way to read Blob from SQL into String / Control
Posted by Earl Teigrob at 1/6/2004 11:27:42 AM
I am saving HTML in a SQL Server 2000 Image (blob) field. I need retrieve
it and render it to the user. Since i have never done this, I was wondering
what the best way would be to accomplish this. The following code I wrote
works, but seems quite combersome to me. Is there a better way??? Thanks... more >>
Viewstate Insanity
Posted by Big D at 1/6/2004 11:19:30 AM
Hi all,
I have a web user control that I have turned into an abstract class that my
other controls will be inherriting from. The base class places 1 item in
the viewstate which is the controls current "edit mode" (to keep track of if
my control is in "edit mode" or "normal mode"). If I creat... more >>
Losing Session Variables in XP
Posted by pbwedz NO[at]SPAM hotmail.com at 1/6/2004 10:58:30 AM
Anyone have any insite into this problem:
I have an ASP.NET application that starts with a login page. The user
types the login and clicks a button. In the event the login\password
is checked against the database and if everything checks out, the app
sets some session variables and redirects... more >>
I turn around and now there is Whidbey!
Posted by TIMA at 1/6/2004 10:57:23 AM
What the heck is Whidbey and when and how do i get it?
... more >>
From non-ssl area to ssl ara with a virtual href path?
Posted by 620 at 1/6/2004 10:53:06 AM
I have a simple link/href in the 'default' http/80 area that points the user
to the 'secure' https/443 area, which is just a sub-folder that requires
SSL. Before SSL was implemented, I used a virtual href
("/securearea/main.aspx") but once I implemenet SSL, I get that "You must
prefix the url w... more >>
shdocvw.internetexplorer object help
Posted by Ryan Clark at 1/6/2004 10:35:01 AM
I'm trying to finish up an ASP.Net application but one requirement has got
me stumped. I have a databound listbox that contains my information. The
requirement is to open up another instance of IE that shows detailed
information about the selected item in the listbox.
I've tried using JavaSc... more >>
GDI+ not working as expected on different server
Posted by Richard Huff at 1/6/2004 10:30:41 AM
I've been developing a web app on a local machine and I'm now at the
phase where I want to start beta testing. The main problem I'm having
is with GDI+ (i think). I use GDI+ to create an image that takes
advantage of POSTNET fonts and once the image is created it is rotated.
Everything else fu... more >>
Bug? Large Viewstate Breaks Forms Authentication
Posted by Ed Henn at 1/6/2004 10:30:41 AM
In trying to solve a Forms Authentication problem I posted about earlier
("Forms Authentication - Bad Redirect on POST"), the problem now appears
to be due to having too much data stored in viewstate. I have found
several other references in this newsgroup to large viewstate causing
various pro... more >>
Error while trying to run project: Unable to start debugging on the web server. Catastrophic failure
Posted by Edward Yang at 1/6/2004 10:25:35 AM
I think I once had this problem long before when ASP.NET v1 was released.
But I had this problem again after I installed a fresh/clean new Windows
2000 Pro system. No special actions take during installation. I applied SP4
and patched all hotfixes via Windows Update Web site. Then I installed
V... more >>
Set size attribute on asp:textbox
Posted by Michael at 1/6/2004 10:24:02 AM
What can I do to an asp:textbox to set the "size" attribute = to the length
of the number of characters I want displayed in it?
... more >>
running sql script from ASPx page
Posted by LIN at 1/6/2004 10:16:58 AM
Is it possible to run a big .sql file - SQL script to create a database from
a ASPx page? If yes, please advice how can I achieve this?
Thanks!
LIN
... more >>
Quick Question - Moving from asp to asp.net
Posted by Neil Steventon at 1/6/2004 9:51:50 AM
Hi ,
Just wondering, in my old asp websites when I created a navigation menu or
header bar I placed this in a file and included it in all others which made
maintenance alot easier.
In asp.net is it best to use such an include file as before or would it be
better to create a user control asc... more >>
Strange behavior using SSL and "FORMS" authentication.
Posted by gmarquez at 1/6/2004 9:51:07 AM
Hello,
I am using "FORMS" authentication, without SSL the behavior is normal, everythings working very well.
When in IIS I cheking "Require SSL" (in Secure Communications property), I can't to do login, after introducing the credentials, I am redirected to login's page again, If I take the SSL... more >>
User controls
Posted by SOS at 1/6/2004 9:49:47 AM
Hi guys ,
i have 5 user control in a webform.
how can i know that wich of them load earlyer ?
... more >>
SmartNavigation
Posted by amiringo at 1/6/2004 9:45:01 AM
I have two problems after set this page directive...
First, when I run the web application in my side(installed VS.NET) the page
include that directive, it will redirect to the following address.
http://localhost/aspnet_client/system_web/1_1_4322/SmartNav.htm
Every page which set SmartNavigati... more >>
problem with ASP.net
Posted by Hamayun at 1/6/2004 9:41:38 AM
Hi,
I am having problems with ASP.net page. the error message
is "Server Error in '/' Application." .
I checked on the web for this problem but didnt find
accurate solution. my IIS server is on win2000 Pro. i have
noticed that my aspx page works if i use win XP Pro but
doesnt work on ... more >>
ASP.NET Automatic vs. Manual ado.net objects
Posted by Michael at 1/6/2004 9:28:06 AM
Hello,
I'm hoping someone here can help me out with this. I'm programming with
asp.net within the VS.NET IDE. I've found two different ways to handle data
access, I can program my own ado.net components, or drag and drop from the
toolbox connections, adapters, datasets, etc. to the design vi... more >>
Datagrid help
Posted by Paul at 1/6/2004 9:15:31 AM
I have a datagrid and have a dataset for a data source in
the properties for the datagrid. I used the property
builder to set columns, and have a table set for the data
member. I also have a connection to an SQL database. For
the columns I am able to select those from the table and
they ... more >>
HTTP 500 Server Error
Posted by JRE at 1/6/2004 9:08:44 AM
I've just recently run into some trouble that has me
banging my head against the wall (on my desk, on co-
workers, etc.). I'm in the process of developing a web
application using ASP.NET. (Note: During development,
I'm hosting the site on my local machine under IIS.) All
was going well ... more >>
strange 404 in ASP.NET IIS5
Posted by Mike at 1/6/2004 9:06:41 AM
I have been receiving this very strange 404 lately and was wondering
if anyone else out there has had a similar problem. For some reason
when users receive this error and they hit refresh the error goes
away. Seems like a IE or ASP.NET cache problem, but can not find any
articles on it.
404... more >>
brows a directory
Posted by marek at 1/6/2004 8:40:25 AM
Hello All.
Can anyone advice me how to create in asp.net
something similiar to CFileDialog in MFC. I want to be able
to browse on a client side a chosen subdirectory in the
application's root directory on server. Does there exist
any predefined class for such a functionallity or sim... more >>
Example needed: simple XML file and parsing
Posted by VB Programmer at 1/6/2004 8:10:49 AM
A dropdownlist in my ASP.NET webform needs to be populated from values taken
from an XML file. Can someone provide a (simple) sample XML file and a
parsing routine using VB.NET?
The values could be something like:
Fruits
Vegetables
Meats
Dairy
Thanks in advance!
... more >>
way to set background image static and it doesnt load after each postback?
Posted by bogo82 NO[at]SPAM mailcity.com at 1/6/2004 8:03:09 AM
Hi to all.I have to solve the following problem.I have to make a
website which will be a web cache machine with the look of a real
cache machine - screen and buttons below it.So i plan the background
to be an image and when users cklick the buttons only some of the data
on the screen will change... more >>
good asp.net book
Posted by Ann at 1/6/2004 7:33:02 AM
I would like to buy some books of asp.net.
Can anyone suggest me some good ones for developer?
Thanks in advance... more >>
Background color disappears when calling CSS
Posted by Mark at 1/6/2004 6:31:15 AM
Hello all -
I'm trying to incorporate a stylesheet into an ASP.Net page but everytime I include the "LINK" code to the .css file in the HEADER location of the HTML code, the background color that I have set (which is blue) gets changed to white. Below is my code in the HTML of the ASP.NET page ... more >>
Inheritance over two 'generations' plus CodeBehind
Posted by oerz NO[at]SPAM bluewin.ch at 1/6/2004 5:33:29 AM
I have a Parent class called Plant. Compiled as dll.
Its child is called Tree. As Tree.vb.
The grandchild is to be a web page called Birch.aspx (inherits Tree).
Since the grandchild needs to inherit from System.Web.UI.Page, I made
that class its Great-Grandparent (or Parent to Plant).
Now my ... more >>
How to pop a message box in ASP.NET page
Posted by kai at 1/6/2004 5:24:43 AM
Hi, All
I am trying to pop a message box in ASP.NET using JavaScript when I click
a button, but I realize the JavaScript works for HTML control button do not
work for ASP button.
Any idea how to use JavaScript to trigger a message box for ASP.NET button?
Thanks for any help.
Kai
... more >>
URGENT:Crystal reports in ASP.NET
Posted by Himali at 1/6/2004 3:51:07 AM
I am trying to call crystal reports through ASP.NET.I am providing server name,user name and password at runtime.But this doesnt seem to work.The 'connection' property of report doesnt seem to get updated.I dont want to do this assigning at design time.Can anyone help
... more >>
Server push to client
Posted by Alin Capitanescu at 1/6/2004 12:38:13 AM
Hi all!
I need some help with asp.net!
Is there any way to make the client BROWSER (IE, NETSCAPE, OPERA etc) to
wait for messages from a http/https host (server) in an internet
environment?
The main idea is not to refresh the client page or a component at a moment
of time, but to make the ... more >>
|