all groups > asp.net > december 2005 > threads for tuesday december 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
Problems Redirecting from a Login Page
Posted by Gary Coutts at 12/6/2005 11:39:22 PM
Hi,
I am have problems redirecting from a login page. The login page is simple,
with just 2 textboxes and one button. On the button click the routine below
is called:
I am using:
Visual Studio 2003 Version 7.1.3008
Framework 1.1 Version 1.1... more >>
Session Expired be4 timeout Plz Help me urgently
Posted by net4matrimonials NO[at]SPAM gmail.com at 12/6/2005 9:33:36 PM
I m using session veriables of asp.net on two websites
www.net4professionals.com(job site) and www.net4matrimonials.com
(bride/groom service)
when i create a session on page A i use codeing
session.timeout=180
session("name")="xyz"
response.redirect("myaccountpage.aspx")
on page B to acce... more >>
is it possible??
Posted by micky at 12/6/2005 9:16:19 PM
i used wmi to get user's hdd serial number
so i write code like this
protected void Page_Load(object sender, EventArgs e)
{
HardSerialNumber hdd = new HardSerialNumber();
string hddSerial = hdd.GetHardSerialNumber();
HddSerialTextBox.Text = hddSerial;
}
... more >>
Running asp.net project.
Posted by archana at 12/6/2005 9:09:44 PM
Hi all
i have downloaded one asp.net project from net.
I want to run that project.
So i want to ask is any setting needs to be change in iis for doing
this.
Or i have to copy this project is inetput\wwwroot folder only.
Any help wil be truely appreciated.
thanks in advance.
... more >>
Encryption keys for cookies and https
Posted by Randall Parker at 12/6/2005 7:55:43 PM
Some basic security questions:
1) Is there any difference in the sort of encryption keys needed for encrypted
cookies versus for https connections?
2) Does one need encrypted cookies for people who log on to a site using forms
authentication?... more >>
button click event
Posted by Jim McGivney at 12/6/2005 7:38:17 PM
I would like to have an asp.button fire (invoke click event) when the user
presses the ENTER button on their keyboard.
Any suggestions would be appreciated.
Thanks,
Jim
... more >>
Access denied
Posted by aspol.net at 12/6/2005 6:55:33 PM
when I view or download a file from server, the websit reference to me
this fault:Access to
the
c:\inetpub\wwwroot\AmchamPortal\Upload\579561China_people_problem.pdf"
is denied.
I think I have open the necessary authorization for the file, who can
tell me the fault?
... more >>
Comparison of web technologies - MGI vs ASP.NET
Posted by Cleako at 12/6/2005 6:55:01 PM
I am a .NET developer but have a potential client that is using a hosting
company that developed their current pages using MGI. When that client
brought it to the company's attention that they were unhappy with it, they
gave them some software that will allow them to customize the site.
Th... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
How do I change a value in web.config from code?
Posted by Alan Silver at 12/6/2005 6:54:59 PM
Hello,
I have a web site that uses themes. I would like to have an option on
the site owner's administration page where they can set the theme. This
page would then write the new value into the web.config file.
I can't seem to work out how to do this. I guess I need to use the
AppSetting... more >>
Post and response.redirect
Posted by tshad at 12/6/2005 6:35:42 PM
I am using method=POST in my Form field, but am also using
response.redirects to go to my next pages.
response.redirect("x.aspx?a=1)
But the a=1 shows in the query string. I thought the Post method was
supposed to put the querys into the page and not the URL?
I am trying to take some o... more >>
making pretty serial code
Posted by micky at 12/6/2005 6:19:50 PM
S+7PSHL8FjayBYixSRSusdFlDbNrb+Afam8Nby77FfeO8SDyTVXQKg==
this is my serial Number of product ...so it's so difficult to read
how can i chage this code consist of only number?
of course it can be decoded so,,,sha1 md5 is not ,,,
how do i dooo?
... more >>
How to create a Sales Order form with ASP.NET 2.0
Posted by Joey Mok at 12/6/2005 5:53:01 PM
Hi,
How to create a Sales Order form with ASP.NET 2.0?
I want to save the sales order header and its items at the same time. Can I
make this web form with ASP.NET 2.0 new Data Controls?
Thanks
... more >>
Datagrid, add SortExpression dynamically
Posted by fabrice at 12/6/2005 5:23:33 PM
hello
is there a way for adding "Sort Expression" in a Datagrid from code behind.
These is my two tests :
in my .aspx page, the datagrid :
------------------------------------
<asp:DataGrid id="myPs4Grid" runat="server"....
...
<Columns>
<asp:BoundColumn Data... more >>
dropdown with checkboxes
Posted by dana lees at 12/6/2005 5:11:28 PM
Hello,
I need to use a dropdown list with checkboxes in each row.
Is there such thing?
Thank you,
Dana
... more >>
"Thread was being aborted" exception on redirect - VERY weird!!
Posted by Alan Silver at 12/6/2005 4:50:59 PM
Hello,
I have a page that is supposed to do some checking, and if OK, set a
session variable before redirecting to another page. The following code
is a simplified version, I have hard-coded the basket ID and removed a
load of extra checking...
public partial class GoToCheckout : Page {
... more >>
Vile problem creating ASP.NET project...
Posted by zdrakec at 12/6/2005 4:41:45 PM
Hello all:
I have a machine running IIS 5.1 on which I have installed VS 2003. I
have run aspnet_regiis.exe -u and aspnet_regiis.exe -i.
When I open VS 2003 and attempt to create an ASP.NET project, the IDE
hangs. Furthermore, I am unable to get IE to display the default.htm
(or any other web... more >>
How to get a custom coltrol to pass back a value to the it's parent page
Posted by Kay at 12/6/2005 4:21:22 PM
Hello,
I have a custom control which contains an IFrame the source of the IFrame is
another application (the Customer app.) which adds a customer record to the
Database. The custom control has been dropped on a web page, when the user
clicks on the custom control it opens up the 'Add New cu... more >>
http_referer different than document.referrer - why?
Posted by Mike Dee at 12/6/2005 3:42:33 PM
Hi All - I'm having a strange problem I'm wondering if anyone can shed some
light on.
When I use ASP or ASP.NET code to get the referrer information from the
server side, it comes back as null. However in these same cases
document.referrer returns the valid referrer. What could cause this... more >>
page running twice
Posted by TS at 12/6/2005 3:12:07 PM
Hi, i have inherited a page from another user. The page is the target frame
in a frameset. for some reason the whole page runs twice (page_load, init,
etc. all run twice)
I can't figure out how this is happening. there are no transfers or
redirects that are occurring in the pages. the page ... more >>
Shared the Cache object accross IIS Applications
Posted by cmay at 12/6/2005 3:07:48 PM
Is there any way that 2 IIS Applications:
localhost/App1
localhost/App2
can share a Cache?
Lets say that both applications need to use the same objects
frequently, and both are storing them in Cache. Is there a way to
avoid duplicating this? Putting everything in 1 cache?
... more >>
Mozilla ?
Posted by Jarod at 12/6/2005 3:05:27 PM
Hey
Was there any real changes in mozilla DOM since let's say opera version 7.0
or netscape 7.0 or firefox 0.9 ? I am using some really simple functions
just to access webservice from javascript and I must be sure that it works
at least from opera 7.0 and ... other ones. Is there any way to d... more >>
could you recommend some payment service???
Posted by micky at 12/6/2005 2:53:56 PM
could you recommend some payment service???
like shareit?
is it free??
and the others?
... more >>
textbox and the tab key
Posted by PJ6 at 12/6/2005 2:49:59 PM
What's the best way to prevent the tab key from shifting focus away from a
textbox, but rather insert the tab character? Do I just do it the obvious
way with JavaScript or is there some simple property to set?
Paul
... more >>
PDF Component
Posted by Aeden Jameson at 12/6/2005 2:49:02 PM
Does anyone have any informed recommendations for an inexpensive .NET
components that allow you to fill in PDF's and stream them to a browser?
Cheers,
Aeden... more >>
File Upload - httpRuntime maxRequestLength
Posted by Matt Chubb at 12/6/2005 2:42:44 PM
I've searched the forums and the net and have not found a solution to this
upload problem, any suggestions/help in this matter would be greatly
appreciated.
I'm trying to trap and display an appropriate error message when a file
upload is more than the maxRequestLength of the httpRuntime ta... more >>
Compiler Error: "XXXX" is defined in multiple places
Posted by SonicChen at 12/6/2005 2:34:57 PM
i have read the article
http://support.microsoft.com/default.aspx?scid=kb;EN-US;Q318274
and try those two solutions but message still come:
CS1595: "Runchs_WebUI.Global" is defined in multiple places£»using
definition from "c:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary
ASP.NET
File... more >>
Send Info From PopUp Window To Parent Window
Posted by chuckdfoster at 12/6/2005 1:38:10 PM
How do you send info from popup window to a parent? From the parent, the
user click a link and a popup window appears with a calendar in it. I want
them to click the date in the popup and populate a text box on the parent
window. Any ideas?
Thanks in advance.
--
Chuck Foster
Progra... more >>
GridView sort order
Posted by WebBuilder451 at 12/6/2005 1:36:02 PM
Is there a way to set the sort order (desc, asc) on specific columns without
needing to code. Or is there a way to create bi-directional column headers
for sorting like the example below?
Date Las Name
up Dn Up Dn
----------------
----------------
-----------------
---------------... more >>
editing in datagrid. Changing default focus
Posted by dotnettester at 12/6/2005 1:33:02 PM
Hi,
I have implemented a datagrid where users can change the value of one column.
But I have a problem, when a user clicks the 'edit' button and the column to
edit changes into a text box. If the user then changes the text and hits
enter, onclick on the text box is executed. Can I change it ... more >>
VB vs C# vs C++ vs J#
Posted by chuckdfoster at 12/6/2005 1:30:28 PM
Just wondering this...
Are there any advantages of using one language over another? I currently
use VB, but notice that most code samples on the internet and this forum are
normally in C# (I think).
--
Chuck Foster
Programmer Analyst
Eclipsys Corporation - St. Vincent Health System
... more >>
Machine.config error - help, anyone?
Posted by nullref at 12/6/2005 12:45:03 PM
The first few times I am hitting an ASPX page I get the following error
(after that the page works fine w/ no changes - how do I avoid this in the
first place?):
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this reque... more >>
One Form Multiple Tables
Posted by LacOniC at 12/6/2005 12:33:16 PM
I have one form, should insert data to multiple tables in same database.
Can u give me an example?
... more >>
Asp2.0 Assembly naming.
Posted by Ashish at 12/6/2005 12:23:28 PM
Iam new to ASP.net 2.0 system of naming and compiling assemblies,
i was wondering if i could control the name and namespace of the
assembly and place it in the bin folder of the website (like the older
version does)
the reason is that iam creating some classes in the same project that i
... more >>
Can permissions be set on virtual directories using development server?
Posted by robert NO[at]SPAM zurer.com at 12/6/2005 12:21:06 PM
Can set the read, write, and browse directory permissions when running
a site on the local development server or do I have to publish it to
the default web sit and use IIS?
Thanks in advance.
Robert Zurer
... more >>
Membership Provider
Posted by Morgan at 12/6/2005 12:15:29 PM
Sorry for cross post, forgot to include aspnet in orinal...
Thanks in advance for any assistance.
I'm in the process of implementing custom RoleProvider & Membership Provider
objects and have run into a snag with the Membership Provider.
It seems many of the MembershipUser properties are r... more >>
How the get the Page Object in a Dll
Posted by RJDev at 12/6/2005 12:03:05 PM
Hi,
I am designing an ASP.Net webpage.
Becasuse i have some business logic in a DLL i want have the ability to set
an Response.Redirect from within the Dll.
How can i Hook on the Page object from initializeing page in the Dll.
Regards,
Rene... more >>
web.config in classic ASP
Posted by nullref at 12/6/2005 11:58:04 AM
I'm having trouble setting up my classic ASP site to correctly handle .NET
web config file for migration I need to do.
If the config file is at the same level as my other pages I get the
following message "Description: An error occurred during the processing of a
configuration file requir... more >>
Need to know when user log's in again.
Posted by Edwin Knoppert at 12/6/2005 11:46:36 AM
I have a forms based authentication.
On each Application_AuthenticateRequest() i set the ticket again.
I want to store the last login date/time
On Session_Start() the user isn't authenticated yet.
On Application_AuthorizeRequest() i can not set a session var to prevent
multiple writes.
The Ap... more >>
Gridview inside Gridview little problems...
Posted by Carlos Albert at 12/6/2005 11:22:41 AM
Hi everyone
I'm working with some nested gridviews. The problem I have is that the
'child' gridview is populated by a select... that depends of the content of
a session().
So far, no luck in getting the session value inside the SelectCommand=
Always end with different erros, seems doesn't l... more >>
Changing Page Title
Posted by chuckdfoster at 12/6/2005 11:00:08 AM
Can I change the page title from my ASP.NET code? I know you can from
classic ASP.
Thanks in advance.
--
Chuck Foster
Programmer Analyst
Eclipsys Corporation - St. Vincent Health System
... more >>
SqlDataSource CurrentItem
Posted by Jed at 12/6/2005 10:37:39 AM
I have a SqlDataSource bound to DataView control. When the selected index of
the DataView changes I would like to get the value of a field (column) from
the bound Row. The column's visible property is false. I thought I would be
able to handle the selected event of the SqlDataSource and get... more >>
Make HTML Table Invisible
Posted by chuckdfoster at 12/6/2005 10:32:25 AM
Can I make an HTML table (Table1) invisible through my ASP.NET code? After
I update the database, I want my form which is in Table1 to dissappear they
can't edit it again.
Thanks in advance for any advice.
--
Chuck Foster
Programmer Analyst
Eclipsys Corporation - St. Vincent Health Sy... more >>
stop imagebutton to do postback
Posted by Vikram at 12/6/2005 10:29:13 AM
how can i stop image button to do a postback
... more >>
ClientScriptManager.RegisterForEventValidation
Posted by stewart at 12/6/2005 10:25:32 AM
Hi.
I have an asp:dropdown control to which I add items on the client, when the
page is posted back I get this error message.
Invalid postback or callback argument. Event validation is enabled
using <pages enableEventValidation="true"/> in configuration or <%@
Page EnableEventValidation="tr... more >>
Concurrency problem
Posted by Jason Chu at 12/6/2005 10:21:03 AM
I have a big asp.net app that does many functions, some do alot of database
cross searching, some that does upload/download from database.
When two users use the application, sometimes, if one of these "big"
functions are called, the second user will be able to move around some more
with the ... more >>
window close ?
Posted by Jarod at 12/6/2005 10:09:21 AM
Hey
Is there any way to asp.net generate window.close() - javascript function ?
I need to close user window if he doesn't have access to the page.
Jarod
... more >>
BUG: Microsoft Visual Web Developer 2005 Express Edition
Posted by Andre at 12/6/2005 9:53:46 AM
When creating a Skin file, the toolbox show only the HTML controls.. but we
can only use Server controls in skin files.
Thank you.
... more >>
ListBox Tooltip
Posted by cd at 12/6/2005 9:19:02 AM
Is it possible to add a tool tip to an asp .net listbox control utilizing
javascript or another method? I would like to add a tooltip when the user
hovers over the item in the listbox. I was seeking a code sample.
Thank you,
--
Christopher... more >>
Exporting ALL data into Excel file with Page Navigation in ASP.NET
Posted by bienwell at 12/6/2005 9:16:27 AM
Hi,
I have a question about exporting data from datagrid control into Excel file
in ASP.NET. On my Web page, I have a linkbutton "Export data". This link
will call a Sub Function to perform exporting ALL data from the datagrid
control. Exporting data works fine when I show all data on th... more >>
Front Controller Pattern.
Posted by Ashish at 12/6/2005 9:15:17 AM
Is anyone aware of a good Front Controller Pattern implementation in
ASP.Net, we are developing a new product, and contemplating whether we
should use Front Controller Pattern implementation, due to the
flexiblity it provides for navigation and loading views etc....
any pointers/comments wo... more >>
Onchange event - need to click out?
Posted by Chris Ashley at 12/6/2005 9:09:28 AM
I'm using the javascript onchange event in a few places but it's
behaviour isn't as expected. In order for this event to fire after
changing text in a textbox, the user needs to either tab out of the
textbox or click somewhere else on the page. This isn't really ideal -
is there another event I ... more >>
Template Variables
Posted by johnsi at 12/6/2005 9:09:12 AM
I have downloaded some asp .net source code and I see some global
template variables in the html code in the aspx files. These variables
show up as [$ASSIGNED_VARIABLE$].
The app assigns these from data in an XML file. Where can I find
information on how these assignments are made. It's not re... more >>
Member of group?
Posted by Dusty Hackney at 12/6/2005 9:03:04 AM
Hello,
I am working with Visual Basic ASP.NET and creating web forms. I am trying
to write a function where I can input a username and groupname, and the
function will tell me whether that user is a member of that group or not?
However, I am having trouble figuring out how to do this. Ca... more >>
Retrieve Domain User Info
Posted by tjonsek NO[at]SPAM phenom-biz.com at 12/6/2005 9:02:25 AM
I am trying to pull the user logon info in an asp.net application to
use as a
security stamp when someone completes a function. So far, I am able to
retrieve the computer name. This is, however, not what I'm looking for.
For example, if Sally logs on to the domain as 'sallyJ', then I'd lik... more >>
Please help - CLR Debugger and ASP code
Posted by Roy at 12/6/2005 8:59:02 AM
Hi all,
I'm not able to use CLR debugger to step into the asp code the way I'm
debugging my asp.net code. I wonder if even this is doable and if not what
are my other options for debugging asp code.
Thanks in advance,
Roy... more >>
Editing Data using DataList and MySql
Posted by asadikhan NO[at]SPAM gmail.com at 12/6/2005 8:56:17 AM
Hi,
I am trying to use a datalist to edit data in a MySql database as
follows. For now I just want to be able to get the changes to be made
on the dataset. Here is my code:
using System;
using System.Configuration;
using System.Collections;
using System.ComponentModel;
using System.Data;... more >>
Retrieve Domain Information
Posted by tjonsek NO[at]SPAM phenom-biz.com at 12/6/2005 8:18:27 AM
am trying to pull the user logon info in an application to use as a
security stamp when someone completes a function. So far, I am able to
retrieve the computer name. This is, however, not what I'm looking for.
For example, if Sally logs on to the domain as 'sallyJ', then I'd like
to be a... more >>
Passing Variable to XSLT
Posted by cbanks NO[at]SPAM bjtsupport.com at 12/6/2005 8:16:39 AM
I have a ASP.NET application written in VB.net 2003 with a form I am
using to create an export file. Using XslTransform class I have a form
that collects data and executes a stored procedure to pull information
from my SQL Database. I would like to include information from a
textbox on the for... more >>
2.0 upgrade broke file downloads from websites
Posted by Jon at 12/6/2005 7:36:21 AM
Since installing the 2.0 Framework, all of my websites that allow for
report download have broken. These websites generate reports in pdf,
word, or excel content type and then write the content of the file to
the response. Here is an example of the code
dim fileName as String
... more >>
framework 2.0 install fails or is slow on 2k?
Posted by WebBuilder451 at 12/6/2005 7:25:02 AM
I'm attempting to install the 2.0 framework on a win2k machine and it's
taking forever. (1 hour+) I'm currently waiting for the cancel to complete
and i will try to restart and hope nothing got nuked.
Sophos anti virus is installed, cold fusion MX, sqlserver 2000.
Has anone else had this ki... more >>
datagrid
Posted by schapopa at 12/6/2005 7:19:13 AM
Hi,
Is there a way to have datagrid the way that header of that datagrid is
always visible, or in other words, header will not scroll together with
data in the datagrid.
Is that possible with datagrid?
Thank you
Schapopa
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Renaming a Folder : access denied IIS 6.0/2003
Posted by dotnettester at 12/6/2005 7:12:03 AM
Hi,
I have an application running on II6/2003. I am trying to rename a
folder/file through
Directory.move /File.move but I'm getting the 'access denied' error.
I gave WPG modify permissions on the application, but I'm still getting this
error.
Pls help.
Thnx.... more >>
problem editing in DataGrid
Posted by dotnettester at 12/6/2005 6:44:03 AM
Hi,
I am trying to edit item in a datagrid. On clicking the edit button, the
column I want to enable editing is changed into a text box, which is fine.
But I can not retrieve the value of cell[0]. Which in my case is the rowid
in the table. I can see the value, but when I try this in the o... more >>
HELP Access DB, ASP.NET 2.0 and whole lot of pain
Posted by MikeJingJing at 12/6/2005 6:32:03 AM
Hi everyone ok I have 2 serious problems.. Firstly a little background is
that i'm using ASP.NET 2.0 (obviously with the 2.0 Framework) with an Access
Database.
In my Web App i have an upload feature and I've discovered that if i upload
anything below 25 Meg it uploads in a reasonable time... more >>
check if file is open
Posted by jes at 12/6/2005 6:05:02 AM
hi,
i have an open & delete btn. onclick of open as visio drawing opens in visio
& onclick of delete the drawing gets deleted from the filesystem. The problem
is i am unable to perform these actions if the file is already opened in
another instance of visio. how do i check if it's already o... more >>
Ratio of PrivateBytes to # Bytes in all heaps
Posted by Brian at 12/6/2005 4:17:47 AM
Is there a rule-of-thumb for a healthy ratio between these two
counters? I think I have some memory leak problems on the run in my
ASP.NET application but the difference between these counters bothers
me. I'm seeing anywhere from 2 to 3:1 ratio. Right now, for example,
private bytes is 95M and t... more >>
Default page code
Posted by John at 12/6/2005 4:11:51 AM
Hi
What code I need on the default page to call login page if the current user
is not authenticated/loggedin and carry on if the user is
authenticated/loggedin?
Thanks
Regards
... more >>
ASP.NET web.config MSDN Example
Posted by Niyazi at 12/6/2005 2:56:01 AM
Hi there,
My asp.net site is located in http://localhost/websecurity/
In my LoginPage.aspx page code behind has these code ....
-----------------------------------------------------------------
Imports System.Data.SqlClient
Imports System.Web.Security
Imports System.Text
Imports System
... more >>
HttpServerUtility BUG?
Posted by Alexander at 12/6/2005 1:37:09 AM
I wanna to transfer from one HttpHandler (HttpModule) to another one.
When I doing HttpContext.Current.Server.Transfer("~/OtherHandler.ashx")
from my handler I see:
[HttpException (0x80004005): Error executing child request for
/OtherHandler.ashx.]
System.Web.HttpServerUtility.ExecuteI... more >>
Manage Roles In Database
Posted by jogiboparai NO[at]SPAM gmail.com at 12/6/2005 1:10:25 AM
Can we Manage Roles in Database instead of web.config file in ASP.NET
Applications while implementing Role Bases Authentication?
... more >>
.aspx: Server Application Unavailable
Posted by Ma³y Piotruœ at 12/6/2005 1:06:04 AM
Hello,
(sorry for my English...)
Could you help me please with a prolem with ASP.NET? I am beginner.
Trying to open one of .aspx pages of my application I got a message in
IE:
Server Application Unavailable
The web application you are attempting to access on this web server is
currently un... more >>
Handling langage ??
Posted by serge calderara at 12/6/2005 12:06:02 AM
Dear all,
What is the commonway to handle a web site with different language ?
Most of the time do you use diffeetn web page accordsing to user language or
do you handle it with satelite assembly and dynamic ressource string in
similar way as Win App ?
Thnaks for our reply
Regards
serge... more >>
Server Error in '/PCSchoolSpider' Application.
Posted by Aubyone at 12/6/2005 12:01:42 AM
Getting the following error when running a web app
Access to the pat
"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NE
Files\pcschoolspider\9c79b9f9\bde448fa" is denied.
Description: An unhandled exception occurred during the execution o
the current web request. Please review t... more >>
|