all groups > asp.net > march 2004 > threads for tuesday march 9
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 Questuin
Posted by Polaris at 3/9/2004 11:47:29 PM
Hi:
In ASP.NET, I thought the concept "Session" meant for a connection between a
client (web browser) and the web server application, and if this is the
case, the "Page_Load()" functions of all aspx pages should show the same
SessionID. But some time I noticed that different pages show differe... more >>
Strange things are happening when I try to attach an input file to an email from an aspx form.
Posted by Mark Sandfox at 3/9/2004 11:28:18 PM
When i run this from the server all works well (except the constant error
messages regarding the hoverbuttons), but when I run this page from my local
machine i get the following error message:
Server Error in '/mm' Application.
---------------------------------------------------------------... more >>
Forms and integrated authentication combined
Posted by Jason at 3/9/2004 11:19:01 PM
I know how to use both Forms and Integrated Windows authentication. However,
both of them have a critical problem, namely :-
Windows authentication is very touchy when going through firewalls and some
user settings on the client end can completely screw up NT authentication
altogether. Works... more >>
Web Application Navigation
Posted by Joris Dobbelsteen at 3/9/2004 10:59:37 PM
I'm currently developing a web application using Visual Studio .NET 2003.
Getting started I'm missing the features that InterDev did provide. Mining
through the MSDN didn't work out for me, as I can't find what I'm looking
for and I don't get any closer.
Basically I'm missing the themes, as In... more >>
reading from clientside control
Posted by Blue Man at 3/9/2004 10:48:54 PM
is it possible to get the value of a client side control like textbox or
textarea with a server side control ?
i tired hiden values but the problem is they don have usefull event handler
to catch data.
... more >>
Caching User Controls Question
Posted by Z D at 3/9/2004 9:47:32 PM
Hello,
I have a question about caching web user controls in ASP.NET.
I have a few user controls that are VERY expensive to create, but they do
not change very often. They only change when a user modifies certain things
in the application. The intervals between changes could be a few hours,... more >>
How can a add a row counter to a Repeater?
Posted by jsausten NO[at]SPAM hotmail.com at 3/9/2004 9:39:38 PM
What is the best method to add a row counter to a Repeater control? If
for example, I assigned a DataView to a Repeater in the code behind
like:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
Repeater1.DataSource = CreateDataSource()
... more >>
window closure
Posted by TJS at 3/9/2004 9:10:23 PM
Since I can't automatically close a window after execution, what is a viable
alternative to prevent browser windows from staying open indefinitely ??
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
permissions for file upload?
Posted by usenet_daughter NO[at]SPAM yahoo.com at 3/9/2004 8:55:09 PM
i have a file upload control on a page (running on my machine at
localhost), and am trying to get it to accept the file and save it to
an "upload" folder, but am getting this error:
Access to the path "d:\inetpub\wwwroot\TestSite\uploads\image1.jpg"
is denied.
what do i need to do to give... more >>
I created what I needed through a query.
Posted by Mark Sandfox at 3/9/2004 8:03:15 PM
Now I know yet another limitation of ASP.NET, but I still find it powerful
in many other ways to out weigh its shortcomings.
Thank you for your answer as it forced me to look in a different direction.
Hope you got some sleep.
ms
... more >>
Test how displayed on a mac
Posted by Joe at 3/9/2004 6:56:01 PM
Is there any emulators or validators to test how a page is displayed on a
mac?
When I use the style property to set a border of a cell(s) in an html table,
the mac doesn't display it.
I don't have a mac but someone I know does but he's not always available to
test the pages.
... more >>
registering javascript block - help!
Posted by Bob H at 3/9/2004 6:52:47 PM
Hi,
I'm trying to register a javascript function from the Page Load event:
If (Not IsClientScriptBlockRegistered("Check")) Then
Dim str As String = "<script language=javascript>Check()<script>"
RegisterClientScriptBlock("Check", str)
End If
....but the page just comes up blank. If I take... more >>
aspx.vb webform redirect to aspx.cs webform in another project within the same solution...and back again?
Posted by Hazzard at 3/9/2004 6:40:53 PM
after developing in vb, I would like to utilize a login page and code behind
and helper files from a c# project.
i realize I can't add cs files to my vb project but is there a way to
redirect from a startup file immediately on Page_Load to the login.aspx with
the login.aspx.cs code behind afte... more >>
When should I call EnsureChildControls() ?
Posted by Graham at 3/9/2004 6:21:05 PM
Is it only necessary to call EnsureChildControls() when a control on my Page has overridden CreateChildControls()
In other words, if I never override CreateChildControls() in my controls, would I ever need to call EnsureChildControls()
Thank
Graham... more >>
boolean problem and viewstate
Posted by mark at 3/9/2004 5:46:00 PM
i have a form with buttons - when a button is pressed a boolean is set to
true
to show that the record has been edited
i have lots of buttons and i seem to lose the value on the boolean on page
reload
im using code behind in VB with asp
eg
two example buttons
Private Sub factfindcomp_C... more >>
Read text file from local machine
Posted by Grey at 3/9/2004 5:35:43 PM
How to read a text file located in client machine with ASP.NET. the =
structure of the client text file is designed as follow:
PC1 abc 123.123.324
PC2 abd 123.56.78
PC3 hkk 79.39.20
each data was separated by Tab. My question is how can I read those data =
from the client... more >>
315158 Bug fixed or not?
Posted by George Hester at 3/9/2004 5:29:27 PM
No definitive answer on this yet? Windows 2000 Sever SP32 Domain =
Controller Framework 1.1 Visual Studio.Net 2003. Fixed or not?
--=20
George Hester
__________________________________... more >>
datagrids, property builder, link columns
Posted by Lauchlan M at 3/9/2004 5:23:09 PM
Hi
I have a datagrid.
In the property builder I set a hyperlink column.
I need to make the hyperlink take two url parameters, eg go to a page
mypage.aspx?FirstVar={0}&SecondVar={1}
I tried setting the URLField to
FieldID1; FieldID2
or
FieldID1, FieldID2
but it gives me t... more >>
How to access the Session object from a new thread ?
Posted by John Smith at 3/9/2004 5:01:25 PM
As I understand it, a general rule of threading is that a new thread should
not access its owner's objects. Apparently this is why the Session object is
not available from a new thread created in an asp.net page. A generally
proposed solution involves passing a reference to the current HTTP conte... more >>
registerhiddenfield question
Posted by Ashish at 3/9/2004 4:31:05 PM
hi All,
Iam registering a hidden field on certain logic, and some java script
sets the value
while the page postback i wanna check if the field is present on the form
what iam trying to do is :
RegisterHiddenField("fldPopupSubmit","1")
and on the page load
Dim l As Object = CTyp... more >>
Change Format for Date
Posted by Phoebe. at 3/9/2004 4:30:24 PM
Hi Good Day!
I hv a DataGrid which display info from SQLServer's database. The format for
date is YYYYMMDD.
I'd like to change this format to a more readable one which is DD/MM/YYYY.
How can I set it in the dataformatstring?
<Columns>
<asp:BoundColumn DataField="OrderDate"... more >>
Print Page
Posted by ruca at 3/9/2004 4:11:54 PM
How can I print my Page?
I have a button (named Print), that when clicked I want that he prints my
ASPX Page.
Ruca
... more >>
previous page
Posted by Jarod_24 at 3/9/2004 3:52:00 PM
How to i redirect the user to the previous accessed page.
I tried the following and that didn't work
Response.Redirect( Request.UrlReferrer.ToString )
Would this also include any of the variables ( ?ID=4&s=0 ) that was with the
url?
... more >>
Names after compile in usercontrol
Posted by Blue Man at 3/9/2004 3:48:12 PM
Hello
I have a usercontrol which use a javascript on clientside, the name of a
TextArea is used for javascript.
the problem is the name of TextArea changes to "UserControlFile.ascx : Name"
after compile and javascript cant accept that name as an object's name.
how can i get rid of this ":" ?
... more >>
Date/Month display question
Posted by Blue Ball at 3/9/2004 3:42:09 PM
I am using the following to display the month.
Convert.ToDateTime(my_date).ToString("MMMM")
It works by showing the correct month name in english. How do I display
the date in French and German? I don't want to set the whole site
globalization to be French/German, only part of it needs to ... more >>
Please Wait functionallity ??
Posted by Steve Caliendo at 3/9/2004 3:34:20 PM
Hi,
After a user clicks a button, it takes a while to process information. How
can I display a web form that actually finishes loading so that the controls
are visible, and then goes off and does the calculations automatically ?
Thanks,
Steve
... more >>
Print button in Crystal Report viewer
Posted by BVM at 3/9/2004 2:29:21 PM
Hi:
I don't see the print button on the Crystal Report viewer. Do you know =
why?
Dennis... more >>
Dynamic TextBoxes
Posted by Philip Townsend at 3/9/2004 2:29:12 PM
I have a datagrid with update buttons that allow editing of records in a
database table. I would like it if when users click an 'Update' button,
all the generated textboxes are cleared. Here is my code that does not
seem to work (and does not throw exceptions)--what am I doing wrong?
protect... more >>
HTMLInput button - How to give it a Tool Tip
Posted by Michael SL at 3/9/2004 2:26:09 PM
I am developing an ASP.Net web application in Visual Studio with a Visual Basic codebehind. I have an HTML Input button
<input type=button onclick="CopySelection()" value="Copy Sel"
How do I assign a Tool Tip?... more >>
Select value for Data Binding to an ArrayList
Posted by Steven K at 3/9/2004 2:25:17 PM
Hello,
I am creating the following ArrayList to bind to a DropDownList
(ddlYearBox).
ctrFor = 0
Dim arrFor as ArrayList = new ArrayList()
For ctrFor = 2002 To 2020
arrFor.Add (ctrFor)
Next
ddlYearBox.DataSource = arrFor
ddlYearBox.DataBind
The text and values are e... more >>
PDF Streaming with IIS 6.0
Posted by damien_siviero NO[at]SPAM hotmail.com at 3/9/2004 2:08:30 PM
Hi All,
I have got the code below working fine IIS 5.1, with both IE 5.5 sp2
and 6 as client browsers. When it runs under IIS 6.0, and with IE 5.5
sps2 it does not recognize the mine type, and attempts to save the PDF
file with a .aspx extension. The PDF file is not corrupt, only the
file ex... more >>
faster? Db or XML
Posted by David Bartosik - MS MVP at 3/9/2004 2:07:50 PM
I have data in two stores, an Access database and an XML file that
duplicates the same data. ( the latter in case the former gets corrupted ;-)
In designing an asp.net page that needs to get said data I'm wondering which
would have the better performance, a while loop thru a data on the db or
... more >>
Page_Load in connection class
Posted by Steven K at 3/9/2004 1:59:33 PM
Hello,
I created a connection class that has a Page_Load event (MyClass.vb). In
the Page_Load event, I have a response.write("hello world") statement. When
I include this class in my .net page (Steven.aspx), I don't get "hello
world" on my web page. My question is, how does the Page_Load ev... more >>
Add item to top of a bound DropDownList
Posted by Steven K at 3/9/2004 1:49:05 PM
Hello,
I have created a DropDownList that is bound to data from a stored procedure.
I also need to include a value at the top of the list ("Not In List"). I
can add an item to the bottom of the bound list with the following, but I
can't figure out how to add it to the top of the list.
Any ... more >>
Opening an URL
Posted by Jeff at 3/9/2004 1:41:09 PM
I have a button on a ASPX page that need to open URL. Those URL can change dynamically and are mostly files (.xls, .doc) on the server. In Interdev, document.open('URL') use to do the job ! In .NET, I tried response.redirect('URL') with success but I'm not sure if it's the right way. Thank's... more >>
HyperLink
Posted by J at 3/9/2004 1:32:58 PM
What do I need to include with the URL, in the Navigate URL of a
Hyperlink, to launch the website in another browser?
TIA
... more >>
Highlight a selected row in ASPX Datagrid, And Get the value
Posted by olee NO[at]SPAM carmafinancial.com at 3/9/2004 1:27:29 PM
Hi there,
Is there an example on how to highlight a selected row using ASPX on
a datagrid? Written in C#?
Thanks.
Oliver... more >>
client side javscript and ASP.NET controls
Posted by francois at 3/9/2004 1:12:15 PM
hi,
In my ASP.NET page i have
2 ASP.NET TextBox and one hidden field like this following.
<asp:textbox id="TextBoxOne" Runat="server"></asp:textbox>
<asp:textbox id="TextBoxTwo" Runat="server"></asp:textbox>
<input id="InputHiddenPrice" runat="server" type="hidden">
Bascially what I want... more >>
Resolve site url
Posted by CJF at 3/9/2004 12:58:46 PM
Sometimes the tilde ~ won't work to resolve the url of the asp.net site,
such as when I need to set the path to an image property in vb.net. When
this is the case how can I get the URL to the project's site?
Thanks, Chris
... more >>
renaming file/folder destroys session variables ...
Posted by Ram at 3/9/2004 12:56:09 PM
Hello
is it true that in an asp.net application, changin a folder name causes the loss of server variables
see 'known issues' in http://www.awsystems.biz/products/filepicker/default.asp
I am experiencing the similar behaviour :(
any workarounds for this (without using state/sql servers)
th... more >>
aspnet_wp.exe stopped unexpected
Posted by feng at 3/9/2004 12:53:54 PM
Our asp.net app is getting a strange problem that the
aspnet_wp.net process stops for no clear reason. What
happens is that sometimes, most likely when I have more
than one user running, the aspnet_wp.exe process stops and
restarts by itself. The event viewer will show a
Apllication error ... more >>
run sql create scripts from setup proj
Posted by strugglingdeveloper at 3/9/2004 12:53:10 PM
I have a web application that connects to a sql database. I have create
scripts to create the needed database. I have also create a web setup
project that installs the web application on a server. Can I also execute
the sql scripts on a remote database server (not the web server) from inside
... more >>
Version 1.0 vs Version 1.1 Framework
Posted by wh at 3/9/2004 12:28:17 PM
My question is whether a web application compiled using VS.NET 2002
(targetting .Net Framework version 1.0.3705) will run on a machine with v1.1
of the .Net Framework? I'm thinking in respect of copying the .aspx files
and the .DLLs in the BIN directory from my development machine which has the
... more >>
creating a word document
Posted by Freddy at 3/9/2004 12:16:18 PM
I am trying to create a word document using asp.net through a web site.
Can anyone point me to any sample code available online.
Thanks
... more >>
problem: querystring and '&'
Posted by Nikhil Patel at 3/9/2004 12:09:03 PM
Hi all,
I am trying to read a parameter value that contains special characters
such as '&' using Request.Querystring. But it does not read the whole string
containing the value. How can I allow the link to pass parameter with
special characters?
Thanks...
-Nikhil
... more >>
calender problem
Posted by Roel at 3/9/2004 11:58:25 AM
Hello
How can I open from a page, another page on which I display a calender.
I then want that the user picks a date and the chosen date must appeat in a
textbox on the initial page.
So, the calender and the textboxes are on different pages.
Many thx for your help !
Roel
... more >>
Trace.Write
Posted by A.M at 3/9/2004 11:37:36 AM
Hi,
How can i use Trace.Write in the constaructor of Global object?
I am expecting that the trace logs be dumped into the page output that
triggers Global constructor.
Thanks,
Ali
... more >>
Browse For a File and Upload it to Server
Posted by Verde at 3/9/2004 11:33:09 AM
I need to enable the ability for users to browse for a file on their local
machine and then upload it to the Web server. What does this take?
Thanks.
... more >>
referencing a textbox created on the fly?
Posted by usenet_daughter NO[at]SPAM yahoo.com at 3/9/2004 11:06:55 AM
i'm working on a page that creates a HTML table with a variable number
of textboxes on the fly, like so:
cell = New HtmlTableCell
cell.VAlign = "Top"
TextBoxNext = New TextBox
TextBoxNext.ID = "TextBox" & iLoopRows.ToString
TextBoxNext.Text = ""
cell.Controls.Add(TextBoxNext)
... more >>
Redirect from Global ASAX
Posted by A.M at 3/9/2004 10:45:54 AM
Hi,
I have some critical initialisations in constructor of the Global class
(Exception handling system, log system, db connection string)
Upon failure of any initiliazation methods, the web app should be redirected
to fatal error page.
Is there any way to redirect the request in the construct... more >>
response.redirect with frames
Posted by Mark at 3/9/2004 10:44:22 AM
Frames. Yack, I agree. BUT, I've been mandated to use them.
Let's assume a page has a simple top and bottom frame. Is there a way using
a Response.Redirect("http://someotherurl.com/) in the bottom frame page to
redirect the entire browser window, not just the bottom frame? For example,
if y... more >>
Event Handling and IFrames
Posted by jbh at 3/9/2004 10:36:06 AM
In a "parent" web page I use a literal control to contain IFrame text. The web page displayed in the IFrame has an asp:button control (runat=server)
How do I trap and handle the button_click event of the "child's" button in the "parent" web page. Must I use a delegate
Thank you
John Hopper... more >>
"System.Security.Cryptography.CryptographicException: Bad Data" Message
Posted by Robin Thomas at 3/9/2004 10:35:29 AM
I am working with the ASP.NET Starter Portal and I don't think it is
related.
Everyone once and a while, after a rebuild, I get the following error. I am
not doing anything with Cryptography, but the portal framework might be, but
I don't exatcly what it is trying to do.
Sometimes refreshing w... more >>
Development and production url address setting in asp.net project
Posted by RA at 3/9/2004 10:27:16 AM
Hi
I use asp.net for the wen server development which includes mostly asp.net
pages and some html pages.
How can I put the url address when I use the development - it goes to
localhost - so that it will work also when I put the files on the web host.
I am looking for a way so I won't need to ... more >>
Validation deployment issues
Posted by Eldon Ferran de Pol at 3/9/2004 10:11:07 AM
Hi all
I've got a number of validator controls on a page that works absolutly fine on my development machine but not on the live. No errors occur, the validators just don't fire properly
Any ideas at all as I'm at my wits en
Eldon... more >>
how do you....
Posted by me NO[at]SPAM privacy.net at 3/9/2004 9:46:44 AM
pass some sql onto another page?
I have a query that I have a datagrid on, that has controls on it. I'm
trying to export it to excel, and I am unable to make the export work on the
page. I know I have controls on the web page (sorting, filtering, etc), and
am wanting to try to monitor my rad... more >>
.Announcement group
Posted by Chad Z. Hower aka Kudzu at 3/9/2004 9:38:29 AM
How new is the aspnet.announcement group? How many people here are even aware
that it exists?
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"... more >>
HTMLSELECT
Posted by berlicche NO[at]SPAM hotmail.com at 3/9/2004 9:17:44 AM
Hi ,
there 's a way to get from an HTMLSELECT object
the related HTML text as a string?
Alessandro... more >>
Common problem - please help explain this one
Posted by John McDonagh at 3/9/2004 9:11:11 AM
Subject: Re: ButtonColumn postback problem 3/9/2004 5:32 AM PS
By: Alvin Bruney [MVP] (search by author) In: microsoft.public.dotnet.framework.aspne
Your post went unanswered. Have you resolved this issue? If you still nee
help, please post the original question with your request
--
Regards... more >>
Default.aspx - newbie Q`
Posted by Colin Basterfield at 3/9/2004 8:40:55 AM
Hi,
My ASP.NET has Forms Authentication set up to use a login page, all
configured in the web.config. I am in the process of trying to get it
running on the site but have come across some problems. It all worked but
if you didn't type in www.mywebsite.com/login.aspx it didn't go to the login... more >>
Web Page Access
Posted by Angel at 3/9/2004 8:06:07 AM
I need to add access to a LogOut Page when the user logs out in a form authentication mode. Unfortunately the only way to access this page is when you are logged on. The following is in my WEbConfig File
<authentication mode="Forms
<forms name="MyCookie
... more >>
Refresh a combobox without a postback?
Posted by Eddy at 3/9/2004 7:26:05 AM
Dear,
First I must say that I am not very experienced with web development.
On the other hand, I am writing a web application and I need to refresh data in a combobox without a postback?
Is this possible in an ASP.NET web application?
Greetings
Eddy... more >>
add server control to stringbuilder
Posted by george_Martinho NO[at]SPAM hotmail.com at 3/9/2004 7:16:12 AM
Hi
I'm trying to add a server control to a stringbuilder and I'd like
some suggestions please.
The output of the server control is 3 html combo boxes and I would
like to add the html output to the StringBuilder and then output
everyhting as HtmlTextWriter.
Thanks in Advance if you can help ... more >>
asp:panel, should not produce html!
Posted by Fraggle_Rock_1 NO[at]SPAM yahoo.com at 3/9/2004 6:04:11 AM
If I put the following in my code
<asp:panel runat="server" visible="true" id="foo" >
</asp:panel>
I get this as html back; this is using the lovely Mozilla
<table id="_ctl1_foo" cellpadding="0" cellspacing="0" border="0"
width="100%"><tbody><tr><td>
</td></tr></tbody></table>... more >>
How to bring confirm box in asp.net.Please Help
Posted by pargat_g NO[at]SPAM yahoo.com at 3/9/2004 6:03:16 AM
Hi Everyone,
I have two listboxes and one Datagrid.On first listbox
SelectedIndexChanged i am populating Datagrid.when i select
value from second listbox, on SelectedIndexChanged of this listbox i
want to display comfirm box saying that "Are you sure you want to
rebind datagrid.... more >>
Bad Choices
Posted by Tobe at 3/9/2004 6:01:07 AM
A few weeks ago, we had a problem with pages blanking when doing a response.redirect. This only occurred when smartnavigation was on. So we tried to use server.transfer, and now there are session variables disappearing. At the unload of one page, the session variable is set and shows up when debu... more >>
Please solve this problem.. very urgent
Posted by sri at 3/9/2004 4:56:10 AM
Hi Al
I am new to asp.net frame work. My requirement is :
1. A textbox with id 'TEXTBOX1' is created on click event of BUTTON1 dynamically.
2. On the click event of another button 'BUTTON2', i am successful in displaying the TEXT of TEXTBOX1 in
let's say some label; but the TEXTBOX1 ( which was... more >>
Does anyone know how to work with a datalist and an If Statement?
Posted by Mark Sandfox at 3/9/2004 4:23:45 AM
This is my third posting on this issue. If I am asking for help on
something that cannot be done could someone please let me know this. I
cannot find any documentation anywhere on this.
What I am trying to do is:
If "EventLink is not blank" then
Insert a hypertextlink to external page... more >>
Thread and Application Domain
Posted by nppavankumar NO[at]SPAM yahoo.com at 3/9/2004 3:44:31 AM
HI,
I am developing an webapplication in asp.net using c#
..the requirement is like this.
on start of the application i have to create a application domain and
in the new
application domain i have to access database and store the value in
the Application variable of the webapplication whi... more >>
Page cannot be displayed. - IIS 6.0
Posted by Shekhar at 3/9/2004 1:41:05 AM
H
I have a problem in my web application running on IIS6.0 and .net 1.1. OS is Windows 2003 server. I get "Page cannot be displayed" error on running a time consuming process like database transaction. The query runs for 10 to 15 minutes, but I loose the page before the query completes. I checked ... more >>
Dropdown List box in a template column.....
Posted by Kim at 3/9/2004 1:00:29 AM
I have a dropdownlist box in a template column in a datagrid. How to capture
the item change event of the dropdownlist box, so that I can populate the
next cell in the grid with the corresponding description for the selected
Id(in the dropdownlist box).
Thanks,
Kim
... more >>
How to open URL in memory
Posted by Alex Sinclair at 3/9/2004 12:48:49 AM
Hi,
I'm having a problem with what should be a simple task: in ASPX, how can I
open a page while I'm at another page, without going to that page in the
browser, only programmatically.
So for example, I'm on page one.aspx, user types www.microsoft.com in a
textbox and clicks a button, the C#... more >>
|