all groups > asp.net > february 2007 > threads for thursday february 15
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
Does My Auto Login Strategy Make Sense?
Posted by dougloj at 2/15/2007 10:39:39 PM
Hi.
I have an ASP.NET application written in C#. To log in, a user must
provide their email address and password. I already give the user a
"Remember my Email Address" check box. If they check it when logging
in, I store the email address in a cookie and automatically display
the address whe... more >>
Cani i safely delete stuff in C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
Posted by Tony Girgenti at 2/15/2007 10:18:00 PM
Hello.
Can i safely delete the files and folders in
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files?
Any help would be gratefully appreciated.
Thanks,
Tony
... more >>
How to find out all active sessions in the asp.net web server??
Posted by Krish........... at 2/15/2007 9:57:05 PM
Hi all,
How to find out no of active sessions (at a time) in the web
server.. I dont think handling Session_start and Session_end events
are useful for this. Is there any way to find all current active
sessions by using Application object ?
Thanx,
Krish....
... more >>
Anyone tried r.a.d.editor from Telerik? Or suggest another?
Posted by K. Abit at 2/15/2007 8:29:34 PM
I'm looking for a good combined rich-text and spell check control (one
control for both) to use in ASP.NET with 2.0 framework. I see this one
from Telerik:
http://www.telerik.com/products/aspnet/controls/editor/overview.aspx
Anyone tried that one or have another to suggest?
... more >>
commented!
Posted by nomail NO[at]SPAM nospam.com at 2/15/2007 6:42:20 PM
Since no one I know at work or at home gets this, I had to share it with
someone who would appreciate it as much as I did.
Sorry for being off topic but we all need a good smile now and then.
http://imgs.xkcd.com/comics/commented.png
I'd love to start doing that to people at work who ask ... more >>
Cache data for a web service in HttpRuntime.CodeGenDir?
Posted by richlm NO[at]SPAM nospam.nospam at 2/15/2007 5:45:40 PM
Is it advisable to store my own data as XML in the folder returned by
HttpRuntime.CodeGenDir?
(i.e. in "Temporary ASP.NET Files")
Each web service on the server must try to read its own cached file when it
(re)starts.
If it 's not present, it retrieves it from a remote service and caches it... more >>
enforcing password history when using Directory.Entry.Invoke
Posted by Saqib Ali at 2/15/2007 5:40:01 PM
is there a way to enforce password history verification when using
Directory.Entry.Invoke("SetPassword", newPasswdStr)???
saqib
http://www.full-disk-encryption.net
... more >>
Displaying ASP page in ASPX page
Posted by MattM at 2/15/2007 5:34:05 PM
Is there a way to display/render an ASP page inside of an ASPX page with ASP
..Net 2.0? I'm not trying to back into frames but I have an application that
will allow me to customize complex rendered reports by adding parms to the
query string of an ASP page and just calling the entire URL. This... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Getting the same Random number
Posted by tshad at 2/15/2007 5:13:59 PM
I have a page that I am getting a username and password as a random number
(2 letters, one number and 4 more letters)
I have 2 functions I call:
*************************************************
Function RandomString(size as integer, lowerCase as boolean) as string
Dim builder as StringBu... more >>
Delcare a Public Variable.
Posted by Phillip Vong at 2/15/2007 4:37:38 PM
Newbie learning in VB.NET 2.
I'm creating a simple ASP.NET 2 page and I pulling a querystring from a link
and I want to use this querystring over and over again through out the page.
Example.
Public Variable
Dim myVar as string = Request.querystring("MyVar")
End Public Variable
Then ... more >>
ajax response not working on mozilla
Posted by patrickdrd at 2/15/2007 3:34:10 PM
Hi everyone!
Does anyone know why the following code does not work in mozilla?
I get no error,
but if I do alert(xmlNode.childNodes(0).nodeTypedValue) does not show!
Thanks in advance!
[code]
if (xmlHttp.responseText == null || xmlHttp.responseText == '') {
alert('Http Response i... more >>
IsDBNULL Error ~ Help Please....
Posted by Brad Isaacs at 2/15/2007 3:14:37 PM
I am using ASP.NET 2.0 codebehind Visual Basic, Visual Studio 2005
Working with DataSet creating a Data Access Layer via VS 2005.
My error is when the code that is prewritten by VS 2005 Casts to String but
the data inside the column is a NULL.
Code prewritten by visual studio:
<System.Di... more >>
nightmare with ASP, IIS6 & VC6 PSDK
Posted by Andrew Wan at 2/15/2007 3:10:40 PM
I have been having a nightmare with ASP/ASP.NET & IIS6.
We use Msxml2.DOMDocument.4.0 object to create a XML object in ASP. The
Msxml2.DOMDocument.4.0 is from the Windows Platform SDK Feb 2003 (the last
version compatible with VC6). Then we use
TranslateXSLT(XMLDocument.transformNode) passing ... more >>
color question
Posted by WebBuilder451 at 2/15/2007 2:37:05 PM
I want to shade the back ground of a series of table cells.
based on a series of integers
0 =white
100=greem
-100 =red
there are values inbetween and i want to go red to white as the numbers get
close to 0 and from 0 to 100 it goes from white to green
any one do something like this?
--
... more >>
rename treeview node children
Posted by Adam Sandler at 2/15/2007 2:30:59 PM
Hello,
I have a treeview with a node where the children are read/populated
directly from a database. Some of the text which comes from this
database isn't always user friendly. I'd like to change the some of
the text.
But I don't see any members which represent a collection of items
unde... more >>
ie web controls not working in mozilla & ie 7!
Posted by patrickdrd at 2/15/2007 2:14:03 PM
Hi everyone!
Is there anyway to make ie web controls work in mozilla and ie 7?
Thanks in advance!... more >>
Running totals in gridview (when you have many totals required)
Posted by Robert Chapman at 2/15/2007 12:46:27 PM
Hi, Fairly easy to create one running total for a gridview but what if you
have dozens of them?
I have a gridview that allows bulk editing (all rows at once) and have it
set up so that, on data binding, totals are created for all of the dozens of
columns.
However I need to have it so t... more >>
Sending Email From Page
Posted by John at 2/15/2007 12:39:06 PM
Hi there,
I'm sure this is very basic for those who know..............but can anyone
tell what I'm doing wrong?
I'm trying out a 'send email from page' from a Wrox book and getting the
following error:
"No connection could be made because the target machine actively refused it
"
Ba... more >>
Starting a process on the server from a web page
Posted by fatima.issawi NO[at]SPAM gmail.com at 2/15/2007 11:43:40 AM
Hello,
I am trying to start a process which will zip a file using a command
line utility from my webpage. I don't have any problems starting the
process (on my development machine, anyway), but once the process
starts, it doesn't return back to execute the rest of my code. I know
it finishe... more >>
Get rid of URL on top of the IE 7.0 page
Posted by Linda at 2/15/2007 11:18:45 AM
Hi,
I am using IE 7, Visual Studio 2003, Windows Server 2003, SQL 2005.
I am trying to implement a asp.net web page which should shows only the
content, no menu on top, no address line(URL).
I got rid of the address line and all other icons on top of the IE using
JavaScript. But the... more >>
test
Posted by Linda at 2/15/2007 11:18:23 AM
Forms Authentication with UserData Problem
Posted by Hardy Wang at 2/15/2007 10:55:13 AM
Hi all,
I am running ASP.NET 2.0, after login I need to pass CustomerID in my
database instead of username to other pages. I added following code to my
login.aspx
protected void Login_Authenticate(object sender, AuthenticateEventArgs e) {
//FormsAuthentication.SignOut();
if (Membershi... more >>
Handling "Read/Unread Items" in RSS
Posted by taurin423 NO[at]SPAM gmail.com at 2/15/2007 10:40:17 AM
I am working on integrating RSS reading into my ASP.NET web
application. So far I have it working just fine with showing the full
feed, but I'm not sure how to let it handle which items have been read
and not show them. Any suggestions on how to handle this with RSS
items?
... more >>
AJAX ScriptResource does not parse on Safari 1.3.2
Posted by Trumba at 2/15/2007 9:30:01 AM
The debug version works ok, but the release version does not parse. (I
suspect it's due to being in one long line.)
Later versions of Safari correct this problem, but 1.3.2 is still fairly
prevalent. Is there a fix to the script resource to address this?... more >>
Outputcache problems
Posted by Miguel Isidoro at 2/15/2007 8:25:27 AM
Hi,
I have an ASP.NET 2.0 application that allows content search. Search is
included in all pages and a cross postback to the search results page is
performed with the text inserted by the user. The search results also allows
refining the search and a search button that performs a postback ... more >>
Browser Cache
Posted by UJ at 2/15/2007 7:49:09 AM
Is there any kind of global setting I can set that will set the browser
cache to not cache my pages? I don't want to have the users go in and change
it through options.
I realize I can put a meta tag on every page but I was wondering if there is
an easier way (I am using templates so it wou... more >>
mile high view
Posted by rodchar at 2/15/2007 7:18:19 AM
hey all,
is there a way to look at my asp.net 2.0 application in an overall
perspective. For example, how many session variables are being utilized,
kinda like an overall health of the application?
thanks,
rodchar
... more >>
crosspage posting (smallish) problem
Posted by CharlesA at 2/15/2007 7:15:16 AM
I'm using Win XP pro Visual Studio 2005 with ASP.net 2.0 and C#
in Stephen Walther's ASP.net 2.0 unleashed he gets you to do a Submit button
example with it's postBackUrl set to a different page
the idea being that by using
PreviousPage.FindControl you can get at the previous page's txtSe... more >>
download JPEG
Posted by bbla32 NO[at]SPAM op.pl at 2/15/2007 4:20:45 AM
How to downloaded a JPEG image from server? I use the collowing
statements:
using (Stream stream = web.OpenRead(link)) {
long len = -1;
bool ok = true;
string s = web.ResponseHeaders["Content-Type"];
if (s != null && s != "image/jpeg")
ok = false;
s = web.ResponseHeade... more >>
Modify CSS class.
Posted by Will at 2/15/2007 4:10:49 AM
I have given up looking for a solution so I figured I would break down
and ask.
I am trying to modify a CSS class in page_load. I have no problem
doing it with an ID with the simple
HTMLID.Style["width"] = "10px";
however I need to apply it to a CSS class not a single ID.
What is the co... more >>
How To access base class property from user control?
Posted by oliviers at 2/15/2007 3:00:23 AM
Here is my scenario:
I first create a base class with one property :
public class MyControl
inherits System.Web.UI.UserControl
Public readonly property IsEditable() boolean
Get
Return False '(More code later)
End Get
End property
End Class
I then create my dif... more >>
HoverMenuExtender | MS AJAX.net toolkit
Posted by tirath at 2/15/2007 2:16:35 AM
hi,
I am using Microsoft AJAX.Net control toolkit. I am using
HoverMenuExtender control. When I hover over an Image control I open a
Panel which contains details. I want to provide a close button/link in
this panel and when user clicks on this, Panel goes away.
If I write Panel.Visible= false o... more >>
Vista and VS 2003
Posted by Mike P at 2/15/2007 1:06:13 AM
I've heard rumours that VS 2003 is not supported by Vista, is this
correct? I have just purchased a new laptop with Vista OS, does this
mean I cannot work on any of my VS 2003 projects on it?
*** Sent via Developersdex http://www.developersdex.com ***... more >>
problem with FindControl
Posted by Terry at 2/15/2007 12:00:00 AM
Hi,
i want to access control "TextBox1" embedded in another control "LoginView1"
in order to change the 'Text' of the textbox.
Therefore i use 'FindControl' method but i get error:
"Object reference not set to an instance of an object" on line: tb =
lv.FindControl("textbox1")
Thanks... more >>
GridVIew columns (hidden)
Posted by MP at 2/15/2007 12:00:00 AM
Hi all,
who knows how to use hidden columns from GridView in Update Command from
attached to it SqlDataSource? For example: I have hidden column UserId and
for given case I want to use it as @UserId variable in update command. When
this column is redaonly then this variable has null values.... more >>
URGENT! Posting again
Posted by Ram at 2/15/2007 12:00:00 AM
I am posting the same message as I did not get any response for my previous
one.
Hello,
We were developing asp.net application with 2003 version and installed
the web applications in our public server and things went fine without any
problem.We also use crystal report that bundles along w... more >>
|