all groups > asp.net > may 2006 > threads for friday may 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
Session ID
Posted by Peter Morris [Droopy eyes software] at 5/5/2006 9:05:15 PM
Does anyone know how ASP .net creates session IDs? I heard ASP classic used
to use a GUID but those were too predictable and made it easy for people to
guess the next ID in the sequence, and that ASP .net uses a newer technique
instead.
I'd like to generate a unique ID for a "ticket" but I do... more >>
Messages
Posted by Peter Morris [Droopy eyes software] at 5/5/2006 7:48:42 PM
Hi all
My website is consuming a webservice. If I trap exceptions from the
webservice what is the recommended way of displaying this error message to
the user?
Same for confirmation messages such as "Your request is being processed,
please check your mail" etc?
Thanks
Pete
... more >>
Questions on Asp.Net 2.0 Menu Control
Posted by Rahul at 5/5/2006 7:44:43 PM
I am using menu control whose orientation is set to Horizontal.
I want to stop the hovering effect when an item is moused over on a
menu Item.
How can I do that? I didn't see any property.
More over the menu that is rendered shows hyperLink (text with an
underline). I dont want the underl... more >>
PLEASE - treeview nodes show but are not recognized?
Posted by K B at 5/5/2006 7:04:26 PM
I have a treeview control which displays fine. But when I go to count
the nodes in code, it says 2 when it should say 10. I don't even know
where to begin to find this since the control populates fine.
TIA,
Kit
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Enumerating application sessions
Posted by Arturo Buonanni at 5/5/2006 6:42:02 PM
Hello,
I'm coding a web application using ASP.NET 2.0.
Is there a way in wich I can enumerate all active sessions and have
information about these sessions?
Thanks.... more >>
Webfarm application
Posted by Prabha at 5/5/2006 5:42:59 PM
hi
i am building an webfarm application.
Can anyone tell me what is the best method of passing values across page?
Does using stateserver cause any issues?
... more >>
problem with datasource being updated when the page is refreshed (Gridview)
Posted by Mike Grace at 5/5/2006 5:06:41 PM
Hi,
I have a gridview which is using a SqlDataSource to update a table.
The SqlDatasource is using a stored procedure to update the table.
If I edit a row, change a value and click update the change is successfully
applied to the SQL table.
After this, the values in the underlying table... more >>
Unable to Serialize
Posted by tshad at 5/5/2006 4:57:28 PM
I had asked about this before, but have been unable to solve the problem.
Could this be a problem with Web Services?
I have 4 web services that I reference in this object. There is only one
class.
I have an object I am unable to put in my session. I have others that have
no problem. Th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Why wont this Randomize? (Classic VB Script ASP)
Posted by Badass Scotsman at 5/5/2006 4:53:17 PM
Hello,
This code is supposed to generate a random string each run, however I have
had it live on a few sites, and it seems to create repeat strings all over
the place.
-------------------------------------------------------------
<%
FUNCTION GetRandomCode(randomcode,codelength,numberofco... more >>
Checkedvalue from control
Posted by Hans at 5/5/2006 4:52:38 PM
How can I get the value from a Checkbox as control based on controls index
instead of controlname?
I need something like: Value=Controls(1).checked
Hans
... more >>
ASP.NET 2.0 Membership Current User
Posted by Ray Booysen at 5/5/2006 4:12:57 PM
Hi all
I'm wanting to know if its possible to retrieve the current user when
using the 2.0 membership provider. The GUID UserID in Users I am using
as a foreign key in other tables and I need to use it for other database
operations.
The membership class doesn't expose a CurrentUser() me... more >>
Are aspx pages compiled?
Posted by Terry Jolly at 5/5/2006 4:12:53 PM
Are aspx pages compiled or interpative (like asp) or some of combination of
the two?
Thanks In Advance
... more >>
Querying AD on a Win2K3 server
Posted by Pradeep at 5/5/2006 4:06:01 PM
Hi,
I have pounded my head for the last couple of hours tyring ot figure out
on how to make my query using LDAP to the AD. The code works fine on XP. And
also works great in a windows application. But on a web page, it just fails.
I am sure its something to do with IIS settings on Win 2K3 s... more >>
Programatically adding a user control through code
Posted by Ben Dewey at 5/5/2006 3:35:59 PM
Everyone,
I am building a new ASP.NET App in 2.0. First off I love it, I can develop
things much quicker. One issue that I has been frustrating me alot is the
fact that I can't access the codebehind from other pages.
If I go to the object browser for my site the only objects are the ones... more >>
Web.config on load balanced servers
Posted by Tim Barton at 5/5/2006 3:17:20 PM
Hi,
I'm building an application that will probably sit on some load balanced
servers at some point and I'm concerned about keeping configuration settings
in the web.config file. Is there a tried and tested method of holding config
information in static classes or in the cache that someone... more >>
simple asp.net/C# inheritance problem
Posted by Ranginald at 5/5/2006 3:10:31 PM
I am learning OOP and C# and am using VWDExpress to create some
practice examples to understand inheritance. Could someone explain why
the following is happening:
I get the error: 'The type or namespace _Default does not exist in the
namespace "Lefantze"'
Here is the code:
default.aspx... more >>
Problem with Adding Rows to GridControl
Posted by Carl Maloney at 5/5/2006 2:53:07 PM
I am trying to add records to a grid control. I enter in the first
record(Person A), then press add, Person A gets added. Then I try to
add another record(Person B) and Person B replaces Person A. Does
anyone have any solutions? Thanks
Carl
--
Sent via .NET Newsgroups
http://www.dotne... more >>
2 objects at once ?
Posted by Jarod at 5/5/2006 2:42:36 PM
Hey!
How to display 2 object at once using ObjectDataSource? Let's say I have
gridView and I want to display 5 columns from one object and another 5 from
another object. If I were using SqlDataSource I'd just join to tables but
it's not that simple so... is there a way to do it with objects ?... more >>
Sharing session data on different sites on the same domain
Posted by Nils Hedstr=f6m at 5/5/2006 2:30:12 PM
I have a web farm that uses a state server for session management.
A user logs on to a website (www1.mysite.com).
When the same user visits www2.mysite.com I want the user to be logged in.
Right now it he is not logged in on www2.mysite.com (both sites use the same
state server).
The reason... more >>
Overriding AllowPaging and PageSize set in skin file
Posted by Stephen Hatfield at 5/5/2006 2:13:01 PM
I am working on part of an application most of which is being developed
outside of my group. I may actually have two problems here. I have a GridView
for which the columns are generated dynamically from a manager class called
by the code behind for the page containing the GridView. The grid ap... more >>
title section dynamically
Posted by Dariusz Tomon at 5/5/2006 12:51:04 PM
Hi
Is it possible to change dynamically <title></title> section in page. What I
want is to have <title> section depended on values retrieved from database.
The question could be extended to other sections from <HEAD> section.
If it's possible please provide an example (ideally in C#).
Bes... more >>
RangeValidator control causing buttons to not work
Posted by deast_98 NO[at]SPAM yahoo.com at 5/5/2006 12:48:20 PM
My web application deployed to the server does not respond to button
clicks, but these do work in development. I removed the only range
validation control, associated to a textbox, then redeployed the webapp
and it worked. This strange behavior gave no errors or indication of
what the cause was.... more >>
gridview_RowCreated fires even before Page_Load when posting back to server?
Posted by hazz at 5/5/2006 12:10:19 PM
OnClick="btnDelete_Click" , once clicked, fires only after the RowCreated
event listed here. No Checkbox is found and the program aborts. How can I
intercept this event? I want the RowCreated event to fire on form load, but
not first thing after the delete button is clicked. I hope my questio... more >>
Share session between subdomains?
Posted by Hans Kesting at 5/5/2006 12:04:17 PM
Hi,
Is it possible to share sessions between subdomains?
Say: the user logs in at www.company.com, and is redirected to
my.company.com. This is a different url for the same application. Can I
keep the session (so I still know WHO has logged in)?
The problem (as I see it) is the session-c... more >>
Is there a way to make a DIV invisible using JavaScript
Posted by Charlie NO[at]SPAM CBFC at 5/5/2006 12:01:16 PM
Hi:
I have sections on a page in asp panels. I would like to hide/show using
javascript, but don't see a visible property for DIV. How do you do this?
Thanks,
Charlie
... more >>
Essential ASP.NET With Examples in C#
Posted by nuoo NO[at]SPAM hotmail.com at 5/5/2006 11:38:07 AM
Essential ASP.NET With Examples in C#
Description : The Microsoft .NET Framework is exactly what its name
implies: A general system onto which a lot of application-specific
technologies are stuck. Essen...
Pages : 2815
http://books-download.com/Book177.aspx
... more >>
Proper way to write a CLEAN xml file (erasing old data first)
Posted by darrel at 5/5/2006 11:32:01 AM
I'm backtracking to a problem I had a month or so ago.
I need to write XML files quite a bit. I'm finding that the way I'm doing it
doesn't write a new, clean XML file each time, but just dumps the new data
'on top' of the old stuff.
If the new data is shorter than the old data, the remain... more >>
ASP.net 2.0
Posted by Mike at 5/5/2006 11:21:02 AM
What conditions cause a web application to restart? Essentially losing
session state?
--
MikeG... more >>
Looking for remote dbms for .net (MDB) databases
Posted by Edwin Knoppert at 5/5/2006 11:09:53 AM
Is there an easy piece of software to edit the database simiklar to access
but then remote?
... more >>
Regex textbox length validator.
Posted by darrel at 5/5/2006 10:47:40 AM
I'm trying to validate the length of characters in a text box. Google seems
to turn up a few examples of using the regex validator with this expression:
^[\S\s]{1, 50}$
(one being minimum length, 50 being maximum).
However, on my page, no matter the length, this validator is always coming... more >>
Force timeout (logout)
Posted by kplkumar NO[at]SPAM gmail.com at 5/5/2006 10:41:07 AM
Hi
I am doing a manual timeout, irrespective of whether the user is active
or not I will time them out after 3 hours. I also make sure the page is
not cached so that they can't go back to the page from which they were
timedout.
The problem now is that when they go back to their page(which s... more >>
A potentially dangerous client input value
Posted by andreister NO[at]SPAM gmail.com at 5/5/2006 10:09:02 AM
Hi there,
I've come across the next problem: angle brackets in values being sent
to a server.
Because of this stuff HttpRequestValidationException occurs (FW 2.0).
It seems that the validateRequest being set to FALSE should help (e.g.,
http://kb.seekdotnet.com/ViewArticle.aspx?ID=42)... but... more >>
ASP.NET 2 web application problem!
Posted by Michael G. at 5/5/2006 9:44:26 AM
Hello!
We developed a small application using VS2005/ASP.NET 2.
On development station it worked well.
Then we published the site to a directory on the development. comp.,
and brought to the client.
The client's system guy set up an IIS virtual directory with all
definitions.
Then the probl... more >>
Error Message
Posted by Joe Delphi at 5/5/2006 9:38:45 AM
Hi,
I am writing an ASP.NET application that connects to a Microsoft
Access database using the OleDB data controls. I keep getting this error
message:
"The Microsoft Jet database engine cannot open the file 'C:\MyDatabase.mdb'.
It is already opened exclusively by another user, ... more >>
Having issue with ASPX file
Posted by welch.ja NO[at]SPAM gmail.com at 5/5/2006 9:27:57 AM
I have win2003 server I'm using for a dev server and when I run
index.aspx file or any aspx file locally I get the error
"System.Web.HttpException: The directory '/App_Code/' is not allowed
because the application is precompiled" I copied all the files from my
website that is on the web now (and... more >>
Pizza, Love, and Stock (Opportunity for Developers)
Posted by info NO[at]SPAM 3dgrid.com at 5/5/2006 9:26:06 AM
Looking for World Class Developers:
(or at least State Class Developers)
Early stage software product company aiming to become the Google of
healthcare needs top talent to bridge near-term development needs. We
are looking for sharp individuals interested in a side project that
might or might... more >>
Update UI after file download
Posted by gabe at 5/5/2006 9:17:14 AM
I'm using the 1.1 framework.
In my app, the user downloads a file after is has been processed. I'm
trying to update the page that that they are downloading the file from
with a status message. How can I do that? A command button postsback to
the server, and stream is sent the client. It is fol... more >>
Cannot Delete File After File Upload (ASP.net 2.0)
Posted by LisaBigJax at 5/5/2006 9:05:12 AM
I am utilizing the ASP.net FileUpload control to upload a file. After
upload, if a user tries to delete the file, I get the dreaded
The process cannot access the file
"D:\Inetpub\wwwroot\images\uploads\uploadedFile.jpg' because it is
being used by another process.
If I wait 15 seconds, the... more >>
Drag&Drop between ListBoxes
Posted by CNemo at 5/5/2006 8:40:32 AM
Hello friends!
I need to do subj and VS03. No Atlas or something like this.
Would be great if somebody may share a small sample how to do it.
What i have in mind is like:
1. Create hidden field to hold source control name.
2. When mouse down, store name in this control.
3. Drag.
4. When d... more >>
Redirect to ChangePassword screen after logon.
Posted by chris NO[at]SPAM chrisbreier.com at 5/5/2006 8:35:08 AM
I need to force a user to a ChangePassword screen after they have
requested there password. I am using a custom MembershipProvider and
overriding the Validate user event. After the user has been validate I
have the ability to check if the user should be forced to change the
password on their ne... more >>
Calendar Question (.net 1.1)
Posted by dotnettester at 5/5/2006 8:10:02 AM
Hi,
I am using the Calendar control. Instead of using the buttons to move to
next month, I want to put a dropdown list , and display the calendar based on
that selection.
Same for the year.
Any help/links would be greatly appreciated.
... more >>
ASP.NET App Writing to Event Log on Server
Posted by orp at 5/5/2006 7:52:02 AM
We are developing an ASP.NET 2.0 (C#) application, and I'm having troubles
getting the ASP.NET app. to write to the event log when accessing the web
site from a separate client computer.
Here's some details:
Server and client computers both in the same workgroup
Logged into server as local ... more >>
ASP.NET Site Sending E-mail
Posted by dnuos at 5/5/2006 7:51:18 AM
We are developing an ASP.NET 2.0 (C#) application, and I'm having troubles
sending e-mail from the server when accessing the web site from a separate
client computer.
Here's some details:
Server and client computers both in the same workgroup
Logged into server as local Administrator
Logge... more >>
Postback or Click on Run-time created object
Posted by Herb at 5/5/2006 7:24:02 AM
I have a database table of x elements. I need to loop through the database
table and add a checkbox for each entry to an asp:Table object. This I can
do.
Dim tRow As New TableRow
Dim tCell As New TableCell
... more >>
ASP.Net without code-behind ?
Posted by leonard.guillaume NO[at]SPAM gmail.com at 5/5/2006 5:57:36 AM
Hi,
I got a simple ASP.Net page that redirects to another website by using
Response.Redirect. Since I don't write anything in the .vb, is there a
way to compile the .aspx without the .vb (since I don't use it) ?
Thank you,
Guillaume
... more >>
HIde a column in GridView using auto-generated columns...
Posted by Jason at 5/5/2006 5:29:34 AM
How do I hide a column in a GridView in ASP.NET 2.0 when all of the
columns are autogenerated based on the datasource? I want to hide the
first of three columns, but the following doesn't work:
DataTable dt = new DataTable();
DataColumn dc;
dc = new DataColumn();
dc.... more >>
sample validation code for sql injection attact
Posted by ss at 5/5/2006 4:56:01 AM
hi,
can anybody gives me a sample code where the sql injection attack is
validated.
how can i do that in business logic layer and pass the error to the
presentation tier
I want the sample code
Thnx,
bye
ss... more >>
ERROR HANDLING AND TRACING ie. Logging the Errors
Posted by ss at 5/5/2006 4:54:02 AM
Hi
Can anyone show a sample code where the error handling is done with the
logging the errors.
What are the best methods of logging the errors in .net
perticularly in WEB Application
Thanks,
ss... more >>
Control inside asp:Repeater generates ArgumentException: Invalid postback or callback argument.
Posted by Timbo at 5/5/2006 4:33:46 AM
Hi all,
This is my first message here so i'll try and include all the
information that will help you help me out, if possible.
Basically I am using C# in ASP.NET 2.0 and have a Repeater control in
my aspx page with two image buttons, one for an edit command, another a
delete command. Here i... more >>
How to make webcontrols public in asp.net 2.0
Posted by egholm NO[at]SPAM gmail.com at 5/5/2006 3:54:00 AM
Hey
I have just upgraded to VS.NET 2005 and have a question.
How do I make a .NET Placeholder control public in VS.NET 2005?
In VS.NET 2003 I inserted the placeholder control and set this line in
my code behind:
public System.Web.UI.WebControls.PlaceHolder regionComments;
But the line ... more >>
Getting File Path in Browse File Dialog in ASP.Net
Posted by den 2005 at 5/5/2006 3:30:01 AM
Hi everybody,
I like to allow user to select and browse to which location to save the
pdf file of a crystal report viewed on a web page, how can i do this in
ASP.Net? I need to get the path selected from dialog box. Thanks.
Note: Using VS 2002
den2005
--
MCP Year 2005, Philippin... more >>
Control class design question
Posted by Manso at 5/5/2006 3:06:02 AM
Hi,
We have a base class that is derived from System.Web.UI.Page that we we are
using for all pages in a project. The same exists for UserControl. Now we are
going to implement a few MasterPages and we are looking for a good way of
avoiding more duplicated code. Our problem is that MasterPa... more >>
IIS 5
Posted by spam_teutoburgo NO[at]SPAM yahoo.it at 5/5/2006 2:57:48 AM
Hi all,
does IIS 5.0 support the ASP.NET pages?
I tried to load a file .aspx, but this tag:
<asp:Label runat="server" id="Messaggio" />
does not produce any output.
Cheers,
Pierre Blanc
------------------------------------------------------------
http://www.teutoburgo.tk
Teutoburg... more >>
Gridview Select Button doesn't work with OUTPUTCache
Posted by Pavans at 5/5/2006 2:34:21 AM
Friends,
I have web page with gridview... The gridview row selection works fine
(with buttonfield for select) .. but as soon as I add
<%@ OutputCache Duration="600" SqlDependency="TableName"
VaryByParam="none" %>
The select event fires just once on the page and then it doesn't select
any... more >>
how do i insert a line break in a label
Posted by pavan at 5/5/2006 1:24:01 AM
in my code i am storing the contents into a label
// code is as follows
lblSecurity.Text = lblSecurity.Text & vbCrLf & _
"Task Description"
this is not working though.
please advise
... more >>
src of iframe
Posted by zhuang at 5/5/2006 12:36:57 AM
hi, if I set the src of iframe point to a pdf file on net work drive,
it shows the file properly when it is running, but when I change the
src to a different file, it just does not work, why?
Thanks for any advice
... more >>
defaultbutton, defaultfocus and rendering in Internet Explorer
Posted by Oz Kologlu at 5/5/2006 12:00:00 AM
Hi folks,
IE and Asp.net 2.0 are doing some pretty bizzare things. Some of our users
were getting pretty weary of IE redrawing and "flashing" what is essentially
a pretty static page every time there is a postback (IE Version
6.0.2900.2180.xpsp_sp2,,,,; Doesn't happen under firefox - bless ... more >>
Web form maximize
Posted by mac at 5/5/2006 12:00:00 AM
Hi!
Is there anyone knows on how to maximze the Web form during run
time?
please help me to the code of what im going to do with this.
Thanks and Best Regards
... more >>
|