all groups > asp.net > may 2006 > threads for thursday may 18
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
ASP NET server can not response after long job
Posted by jacob at 5/18/2006 11:21:29 PM
Hi everyone:
I have a problem in ASP NET. Here is my situation.
I developed an ASP NET application. It concerns data statistics.
DB is oracle 10g, Web server is IIS 6.0, Server OS is Win2003, Client
OS is Winxp,
Develepment Platform is VS2003. In DB, data of a major table is huge,
( 6~9 mi... more >>
HttpWorkerRequest, passing the anonymous user to ASP.Net
Posted by Eric Pearson at 5/18/2006 11:07:18 PM
I implement my own HTTP server and pass ASP.Net requests via HttpWorkerRequest.
When I authenticate a client, I pass the correct windows token inside of
GetUserToken(), and within my pages/webservices HttpContext.Current.User
matches the token I authenticated.
However, when I perform an an... more >>
Retrieve session from different app domain using Out-Proc SQL session
Posted by irfangani NO[at]SPAM gmail.com at 5/18/2006 11:04:17 PM
Hi,
I have two web applications one in VB.Net and other in C#. I am using
Out-Process session state using SQL server. I create a session in
VB.Net application. If I access the session in the same application, I
am able to do so, but if I access the same session in C# application,
it gives a b... more >>
Second Super Simple Question (Which I cant get!)
Posted by Badass Scotsman at 5/18/2006 10:24:39 PM
Hello,
I have some "runat server" form drop downs on the page, for example:
<asp:DropDownList ID="TypeOfParrot" Runat="server" name="TypeOfParrot"
class="textbox">
<asp:ListItem Value="">Please Select</asp:ListItem>
<asp:ListItem Value="Cockatoo">Cockatoo</asp:ListItem>
<asp:ListItem Val... more >>
Reading files in a pages directory
Posted by farseer at 5/18/2006 8:52:42 PM
Hi,
I am storing certain files in the same directory as an asp page. I'd
like for that page to be able to read read the names of the files in
that directory with a certain extension and create a hyperlink to them.
How can i do this.
as an example...
let's say my page resides at /mysite/d... more >>
Excel and ASP
Posted by gotgame0314 at 5/18/2006 8:11:02 PM
I am new to asp.net and would like to know the easiest way to view an Excel
file in my asp app.... more >>
Password Validation
Posted by Ron at 5/18/2006 7:56:01 PM
Hi,
I need a regular expression for a login control i am using.
It needs to validate a minimum password length of 8.
Must consist of 1 upper case character and 1 numeric character and no
non-alphanumeric characters.
Can some one please show me an example.
I tried the following but have had... more >>
SqlDataSource
Posted by Victor Rodriguez at 5/18/2006 7:48:54 PM
Is there a way to pass a SqlDataSource from one page to another having
captured data on the first one but not sent it to the server until the
second page has capture some other data?
thanks,
Victor
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Textbox in User Control error -does not exist in current context
Posted by aarepasky NO[at]SPAM yahoo.com at 5/18/2006 7:41:49 PM
I am using ASP Web 2005 express and I have a textbox in a user control.
Now when I try to use it in another user control, I get the error that
it "does not exist in current context. These 2 user controls are each
in a panel on the page.
riprip
... more >>
GridView: Calculated Field
Posted by sck10 at 5/18/2006 7:13:26 PM
Hello, I am using the following DataSource with a GridView. My question is
how do I show the calculated field in a GridView for the following:
RevenueQtr01 + RevenueQtr02 + RevenueQtr03 + RevenueQtr04 AS
strActualRevenue
--
Thanks in advance,
sck10
SQL String Data Source
------... more >>
Datasource doesn't generate data
Posted by sck10 at 5/18/2006 7:10:45 PM
Hello,
I have two datasources. The first one pulls data from a Stored Procedure.
The second one from an SQL String. They both get there parameter value from
a GridView (ControlID="gvSearchList"). I've tested the stored procedure
datasource when building it (putting in an example for the ... more >>
Building other sln (to build references)
Posted by Sajjad Akhter at 5/18/2006 6:46:40 PM
Hi,
We have a quite a big test/automation frameworkd which is used be testers to
write their tests.
Right now all of the framework is built by seprate solution and tests (those
using the framework) refer to the binaries.
What it requirs peopl is that they have to keep two vs.net opened ... more >>
User control accessing outside control
Posted by tshad at 5/18/2006 6:35:48 PM
I am trying to put together a user control (.ascx).
Can you access an outside control from it?
My control:
login2.ascx
****************************************************************
<script runat="server">
Sub Page_Load(sender as Object, e as EventArgs)
if not IsPostBack
myBo... more >>
Web services and firewalls
Posted by Joe at 5/18/2006 5:45:08 PM
To my understanding a web service uses port 80. We have a number of clients
that are having a problem connecting due to their firewalls. Is there
something I can do to correct the problems? Is it possible that the response
from the web service is coming in on a different port?
Thanks,
Joe ... more >>
Newbe: QueryString and SSI
Posted by Patrick Burgess at 5/18/2006 5:34:57 PM
Is there any way at all to do something like this:
<!--
<%
Response.Write(" #include VIRTUAL=" & Request.QueryString("content") &
".inc ")
%>
-->
Or a way around it? The site I'm working on has these little content files
and tons of server side includes. We'd love to be able to... more >>
user controls: design-time vs. programmatic behavior
Posted by matt.delvecchio NO[at]SPAM shell.com at 5/18/2006 5:23:13 PM
hello,
ive got a usercontrol that has some textboxes, a button, and a handler
routine for its button_click. when this usercontrol is dropped into a
page via the designer, it functions as expected -- when the button is
clicked its event handler loads up the routine and i do db stuff.
however... more >>
Line break in GridView Header Text
Posted by sck10 at 5/18/2006 5:12:48 PM
Hello,
I have the following for a GridView. How do you break the HeaderText into
two lines. I tried using:
HeaderText="Revenue <br /> Impact", but that doesn't work. Any help would
be appreciated.
--
Thanks in advance,
sck10
<asp:BoundField DataField="RevenueImpactType"
... more >>
Math.round question
Posted by Richard Cranium at 5/18/2006 5:02:04 PM
Using the number 1.015 [many numbers having a 5 at the third decimal point
could be used but not all]
*****************************
the following script returns 1.02, which is correct
var T;
var S=new String(Math.round(parseFloat(1.015).toFixed(2)*100));
while (S.length<2) S='0'+S
var te... more >>
Generic Message Page
Posted by Giovanni at 5/18/2006 4:55:01 PM
Dear Friends,
I'd like to build a generic message page whereby several parameters
would be passed to it (Title, Header, Message, etc...). It would display
this information in several labels and allow the user to continue or redirect
back to the home page. The main purpose of this scr... more >>
Postback,Master page,User control problem
Posted by yoknows NO[at]SPAM gmail.com at 5/18/2006 4:37:24 PM
Hello .Net Gurus. This is my first post here so I apologize in advance
if I have not provided the right information. I hope someone has seen
this problem before and can tell me what I am doing wrong. I have
simplified the problem with the following example:
Using asp.net 2.0, I have a Maste... more >>
programmatic usercontrol woes
Posted by matt.delvecchio NO[at]SPAM shell.com at 5/18/2006 4:33:50 PM
hello,
i have a user control that works great, when its used as a design-time
controls. however, when i try to use it as a programmtic control, im
running into troubles.
the control is pretty simple: it has a textbox, and a grid. in my
webform, on button_click i call one of its methods to d... more >>
SDK VS RUNTIME LIBRARY
Posted by Kevin at 5/18/2006 3:27:18 PM
Wondering what the difference is. As it is I have an application on a
share which doesn't run if we install the 2.0 runtime. But when the
SDK is installed it works fine. Wondering what kind of issues would
cause this.
Thanks in advance for any responses
... more >>
Need Control type
Posted by Dave H at 5/18/2006 3:03:37 PM
If I pass a WebControl to a function, I want to get that controls 'type',
and then loook at the other properites avaiable for that type, like
..Checked, vs .SelectedIndex.
How can I get the type?
Thanks, Dave
... more >>
.NET Membership - Domain Authorization doesn't work with roles
Posted by 00_DotNetWarrior at 5/18/2006 2:50:36 PM
I am trying to setup a simple authenication to protect my application. I am
using Windows authenicated (enabled in IIS) and I am running .NET 2.0
If I am using users, it works:
<authorization>
<allow users="domain\alex" />
<deny users="*" />
<deny users="?" /... more >>
Populate Dropdown from SQL Server
Posted by Jerry at 5/18/2006 2:20:19 PM
Hello everyone!
I'm trying to populate a dropdown list from SQL Server but it's not
being populated. I've tried all sorts of suggestions and examples that
I found from Google but I just can not get it to work. I am able to
access the database from other pages and display a list of records, but... more >>
how to submit form data from non asp.net page to asp.net page
Posted by Dica at 5/18/2006 2:18:04 PM
i'm trying to set up a general forms processing page that reads through all
the form fields and email the user the field name + value. the user should
be able to author the forms page itself using plain html. the page_load
event isn't firing and i'm not sure how to capture the form data. is this
... more >>
Updating ODS with FormView
Posted by Larry R at 5/18/2006 2:00:56 PM
ASP.Net 2, Formview.
I have a ObjectDataSource that is bound to a custom BusinessObject. On
the formview, I have some dropdownlists and checkboxlist that are bound
to a database for their values.
I need to read the values and apply them to properties in the Business
object. I have tried "catc... more >>
Very simple question.
Posted by Badass Scotsman at 5/18/2006 1:01:16 PM
Hello,
I have some "runat server" form boxes on the page, for example:
<asp:textbox class="textbox" runat="server" type="text" name="Email"
maxlength="200" id="Email" value="" />
How can I prepopulate this field from the QueryString?
The following creates an error:
<asp:textbox clas... more >>
Membership & Roles in 2.0
Posted by Demetri at 5/18/2006 12:35:02 PM
I have several questions regarding the Membership and Roles mechanism in
ASP.Net 2.0.
1. In the box, it comes with SqlMembershipProvider, which uses SQL Express
2005. What if I want it to use SQL Server 2005 Enterprise (not express)
instead? I'm really hoping I don't have to write my own Me... more >>
ignoring certain querystring parameters in a custom SiteMapProvider?
Posted by Don at 5/18/2006 12:03:25 PM
Hi all,
So i may have painted myself into a corner, am I screwed?
I'm developing a message board for a site I work on, fairly simple
hierarchy. Topics -> Threads -> Posts. As such, I've written a custom
site map provider for my breadcrumb control. Adding SiteMapNodes for my
ViewThreads.aspx... more >>
Renaming App_Code.dll
Posted by Martin Simard at 5/18/2006 11:27:14 AM
Hi all,
Is there a way to rename the App_Code.dll generated from the code that
belongs to the App_Code folder?
We are developping several web applications that we are merging in a single
application on our production server. This works great with the new
compilation model of .NET 2.0, bu... more >>
Using a Custom Server Control inside an ItemTemplate in DataList
Posted by Charlie NO[at]SPAM CBFC at 5/18/2006 10:51:31 AM
Hi:
When using templated columns in DataList, ASP.net server controls can be
inserted. Rather than using the base ASP.net server controls, I would like
to use one of my own custom server controls. Example: I have custom server
control that adds a rollover effect to the base Image control... more >>
SqlDataSource
Posted by Victor Rodriguez at 5/18/2006 10:41:42 AM
Is there a way to pass a SqlDataSource from one page to another having
captured data on the first one but not sent it to the server until the
second page has capture some other data?
thanks,
Victor
... more >>
What is "Protected" doing?
Posted by Tina at 5/18/2006 10:30:14 AM
This is an issue regarding what exactly is accomplished by using "Protected"
when defining a variable. It seems it does much more than just applying
Protected status to a variable.
I have an ascx control named HeadingBar. I have dragged it onto an aspx
page.
If I use the following stat... more >>
bizarre! aspnet 2.0
Posted by Vai2000 at 5/18/2006 9:05:51 AM
Hi All, I have been an expr. asp.net 1.0 developer. When I built my asp.net
2.0 site I don't see no dll in the bin directory...What's up with that? even
after I inserted some events on the .cs file the page worked fine....
Confused can someone shed light on this?
TIA
... more >>
ADO.NET Timeout Exception - I have tried everything
Posted by Sorcerdon at 5/18/2006 8:39:38 AM
Hello!
I am looking for someone who has solved this multi-million people's
problem. EVERYONE seems to ahve this problem.
Im a creating a data set and populating it with a call to a store proc.
Its a complex stored proc with the end result as an insert to a temp
table. Then I do a select from ... more >>
can the error dialog be disabled?
Posted by ChainsawDude at 5/18/2006 8:00:03 AM
When my asp.net application has a severe error, a dialog appears that says
"aspnet_wp.exe application error" with more details and two buttons for OK
and debug. This happens on XP but not windows 2000 server.
The problem is that it blocks aspnet_wp.exe until the dialog is dismissed.
Please ... more >>
random number picker code ??
Posted by Milsnips at 5/18/2006 7:53:35 AM
hi there,
i'm after a small function that is kindof like the lottery picker programs,
i pass it some numbers, say (1,2,3,4,5,6,7,8,9,10,11,12,13,14,15) and i want
it to return me 3 random numbers, none being the same.
any help appreciated.
thanks,
Paul.
... more >>
ViewState: Save & Load From database
Posted by Irene at 5/18/2006 7:30:02 AM
Hello all!
I'm creating a web site in ASP.NET (VB.NET). One of the requirements was to
allow users to create orders going through several steps. A must have is to
have an option to save the work in any phase (any step) and to be able to
continue later.
My idea was to create several pages... more >>
Regular HTML vs ASP.Net controls
Posted by Ryan at 5/18/2006 7:11:43 AM
Regular HTML vs ASP.Net controls
Anyone use regular html instead of asp controls? why?
For one, if you have some code needed on 10 pages, building the piece
of code in a method makes the most sense.
is it good to mix?
does anyone find it better to use html over asp.net controls...
vice-... more >>
touchscreen asp.net vs vb.net....
Posted by Ryan at 5/18/2006 6:51:12 AM
Can someone give me an idea how they would approach a touchscreen
application... and why you would use web over windows... and
vice-versa?
If an application is webbased, you could set up a kiosk so the web
application was full screen using javascript.... and if you didnt have
a keyboard... ... more >>
XPath question
Posted by Joe at 5/18/2006 6:24:02 AM
Hello All:
In XPath, if I want to request all nodes which have an attribute of 'path',
I could code:
xmlDoc.SelectNodes("//@path").
What if I want all nodes that do not have a path attribute? Does anyone
know the XPath for this? I've tried:
xmlDoc.SelectNodes("//!@path")
and I r... more >>
Simple submit querystring question
Posted by red at 5/18/2006 5:32:16 AM
Hi I want to display a query box and submit what has been entered here
to multiple search engines like:
http://www.google.co.uk/search?num=30&hl=en&q=<my query here>
how would i go about this thanks
... more >>
aspnet_regiis to configure remote IIS virtual directory
Posted by Rak at 5/18/2006 3:35:01 AM
Can I use aspnet_regiis to change the .NET Version of a remote IIS virtual
directory? If yes, how can I do it. If not, what options do I have to do it
programatically?
Currently I have an application that creates a virtual directory using the
System.DirectoryServices.DirectoryEntry class, and... more >>
ASP viewstate persistence
Posted by Dst at 5/18/2006 2:52:34 AM
What would be the correct way to do this:
Page A:
ComboBox with values A/B/C
Button which redirects to page B.
Page B.
Button which redirects to Page A.
Start page A, combo box has the value A.
Now if i change the combo box in page A to the value B.
Click on the button which takes my t... more >>
Access to DataField of DataGrid
Posted by paolo.ponzano NO[at]SPAM gmail.com at 5/18/2006 12:41:30 AM
Hello everybody,
I'm trying (till now with no success) to access at DataField property
of a DataGrid.
I explain you my situation.
I've a DataGrid, called DataGrid1 that's binded to an arraylist.
I need to get che DataField value of each Column before the arraylist
is bounded.
I've seen th... more >>
2.0: unexpected exception "Thread was being aborted"
Posted by R.A.M. at 5/18/2006 12:00:00 AM
Hello,
Could you help me plase?
I have an ASP.NET page with "Search" button; when button is clicked
Search_Click is called; here's the code:
protected void Search_Click(object sender, EventArgs e)
{
Debug.WriteLine("WWWPage.Search_Click()");
...
try
{
Response.Redirect("Sea... more >>
ASPNET login fail
Posted by ad at 5/18/2006 12:00:00 AM
I copy my database file (.mdf) to another xp (named myxp), and attach it to
the SqlServer in myxp.
When I execute an asp.net program in myxp, it fail with message:
ASPNET login fail
How can I do ?
... more >>
|