all groups > asp.net > february 2004 > threads for wednesday february 11
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
update record & show form
Posted by radha at 2/11/2004 11:43:34 PM
hi friend
Could somebody please tell me how to update an access record having two primary keys?(vb.net, asp.net, access
Also how do we show a page from another page,for eg i am in page1.aspx and i have a button inside and if i click on that button it should open a new page,page2.aspx for me. i... more >>
Tooltip text for a listitem
Posted by (rejoy_j NO[at]SPAM rediffmail.com) at 2/11/2004 11:23:30 PM
Hi,
Is it possible to set tooltip text for a listitem in a dropdownlist(webcontrol)?.If so how??
Regards
RJ
**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collectio... more >>
Losing session variable
Posted by smariafrojd NO[at]SPAM hotmail.com at 2/11/2004 11:17:17 PM
Hi,
I've got two pages, page1.aspx and page2.aspx.
I've got a problem when I'm trying to access the
session variables in the second page. The session state is
null when I'm trying to get the values.
Code for page1.aspx
------------------------
Session.Add("str", "test");
Response.Redire... more >>
Web Hosting
Posted by Jim Heavey at 2/11/2004 9:54:33 PM
I am not sure this is the forum for this question, but here goes...
I connect to the internet via a cable modem where the cable modem is
connected to a Linksys Router(BEFSR41) and my workstation, as well as
others are connected to the Linksys Router.
Anyway, I have heard that I could expose ... more >>
dealing with radiobuttonlist???
Posted by msn at 2/11/2004 9:32:47 PM
I am trying to update my database with the code below, but I have a problem
it neither buton is selected???
<asp:radiobuttonlist id="BDec1" runat="server" RepeatDirection="Horizontal"
ForeColor="#1e60a2">
<asp:ListItem Value="y"></asp:ListItem>
<asp:ListItem Value="n"></asp:ListItem>
</asp... more >>
enter Key to submit a query
Posted by Dave at 2/11/2004 8:59:02 PM
I have a web page with a text box and a query box that submits a query to a
database that fills a datagrid.
I want the enter key to submit the query - sof far I haven't found a method
to it.
When i hit enter - it looks like focus is on the datagrid.
... more >>
displaying data
Posted by Rod Snyder at 2/11/2004 8:54:47 PM
I am not having trouble setting up datagrids and returning data, but I'm at
a loss in how to take a dataset and return individual items from it at
various points of the aspx page.
Do you do it through a label, panel?
What I am trying to do is have in html a heading like
Listing 1
(return fie... more >>
Display a Multiline Textbox in an email correctly?
Posted by Mark Sandfox at 2/11/2004 8:03:15 PM
The abjective is to allow the user to enter multiple lines of a material
list into an ASP form that will be emailed the the supplier. The user side
works fine, but the resulting email loses its EOL format in the email. Here
is a portion of the code where I think the problem is but I can not fin... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Q: Share Header
Posted by Soul at 2/11/2004 7:43:54 PM
Hi,
Initially I have created a User Control which display a standard header
(consist of image and external JavaScript) for all my pages, this work fine
when all pages are in the same application boundary. Now I have another
virtual web which is a new web application, I understand that User Con... more >>
Call an ASP.NET DLL from PHP or ASP?
Posted by Bruce W.1 at 2/11/2004 7:38:55 PM
What does it take to call an ASP.NET DLL from PHP, ASP, or some other
scripting language?
I found this article which puts the .NET assembly in a COM wrapper, then
calls it with PHP. Is this the only way it can be done?
http://www.devarticles.com/c/a/PHP/Using-the-.NET-Assembly-in-PHP/1/
... more >>
Centering ValidationSummary in a cell of a table
Posted by NWx at 2/11/2004 7:35:55 PM
Hi,
I use a table to arrange my form, and on the last row I have all cells
joined together in a single one.
In that cell, I have a ValidationSummary.
The cell has the attribute
align="center"
In design mode, I see the ValidationSummary control centered in the cell.
But at runtime, it... more >>
CausesValidation of editcommandcolumn
Posted by George Durzi at 2/11/2004 7:28:49 PM
I have an editcommandcolumn in my datagrid, as follows.
<asp:editcommandcolumn ButtonType="LinkButton" UpdateText="Update"
CancelText="Cancel" EditText="Edit">
I'd like to set the CausesValidation property of the Update portion to
false. Can't seem to get it to work. The Edit and Cancel linkbu... more >>
DataGridPaging
Posted by wanda.love NO[at]SPAM fmr-dot-com.no-spam.invalid at 2/11/2004 7:25:09 PM
Hello,
I am new to asp.net and have been using "ASP.Net for Dummies" to
create my blog. I want to limit the number of blogs that are
displayed on my site to 5. I have been able to do that but the
problem I'm having is only the blogs for the current month displays
so if there are less than 5 t... more >>
Composite control with dynamic composite controls
Posted by sleigh NO[at]SPAM olywa-dot-net.no-spam.invalid at 2/11/2004 7:25:09 PM
Hello,
I'm building a web application that will build a dynamic form based
upon questions in a database. This form will have several different
sections that consist of a panel containing one to many questions.
To keep it simple, I'll describe the basics of what I'm trying to
design.
I've... more >>
Password control
Posted by Jerry at 2/11/2004 7:16:54 PM
Is there a webforms equivalent to the HTML password box control?
I don't see one in the toolbox.
Regards
... more >>
ASPSTATE issues
Posted by Kevin Jackson at 2/11/2004 6:28:42 PM
We are stress testing our application. We see 100 SPIDS connected to the
ASPSTATE and then the pages request per unit time slow down to barely
nothing.
It appears that somehow the ASP.NET session stuff is not returning
connections to the pool and that these SPIDS are being orphaned just like
... more >>
The 'Location' attribute is not supported by the 'OutPutCache' directive????when i set in the directive
Posted by .NET Follower at 2/11/2004 6:28:02 PM
--
Thanks and Regards,
Amit Agarwal
Software Programmer(.NET)
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.583 / Virus Database: 369 - Release Date: 2/10/2004
... more >>
how to mix 2 recordsets into one result table?
Posted by AFN at 2/11/2004 5:48:32 PM
Hi. I'm pretty comfortable binding a single recordset result to a
datagrid. But now I have a more unique problem. I have 2 really long
stored procedures that cannot be combined at the SQL Server level (please
don't ask why, but it can't, and even if I could, it would take 10x longer
because... more >>
mspx?
Posted by Samuel Shum at 2/11/2004 4:55:38 PM
Hi, I'm just wondering what is .mspx? Thanks!
Samuel
... more >>
WebForm Enter Key
Posted by Dirk at 2/11/2004 4:51:08 PM
I am sure this has been asked before but I cannot find it...
I would like to assign the Enter Key to one of the buttons on my web form. I cannot see a property or anything in the SDK. ... more >>
height property of HTML table
Posted by Sebastiano at 2/11/2004 4:39:26 PM
I have written a simple page with a 1x1 HTML table. I have set the two
property height and width of the table to 100%. I have named this page
test.htm and I try to see it using my IIS 5.0 (in Windows 2000 pro) and IE
6.1. My machine have installed .NET Framework 1.1 too. I see my page right,
the... more >>
javascript and label
Posted by bob d at 2/11/2004 4:26:06 PM
I have a form in which i am resetting the value of a label using javascript. I have another button on the form to save the record. However, when the record is saved, it is still taking the "old" value that was formerly on the form instead of the updated value that was provided using the javascript... more >>
trouble with DataReader
Posted by Bernie V at 2/11/2004 3:55:06 PM
Hi group,
I'm trying to use a DataReader but I get an error.
This is my code:
private void Page_Load(object sender, System.EventArgs e)
{
SqlConnection oCon = new SqlConnection("server=server;uid=id;" +
"pwd=pwd;database=database");
SqlCommand oCmd = new SqlCommand("SELECT nieuwsid, dat... more >>
Authenticate and session
Posted by TruongLapVi at 2/11/2004 3:34:33 PM
Hi
I am using Forms Authentiaction. In Login Page, after authenticate, I read
from database some info and save them into session.
I set session time out 1 minutes, after that time, session will be destroy
but authentication info still alive. When user request again, his
authentiacation info... more >>
opening a second page without closing the previous one
Posted by ton at 2/11/2004 3:28:02 PM
Hi,
can someone please tell me hou to open a second webpage, I tried:
Response.Redirect("WebForm1.aspx", False)
but this replaces the existing page with the new one. All I want is a second
page.
(I write everything in VB.NET)
Many Thanx
Ton
... more >>
Problem in the Execution of server Script - ASP.NET
Posted by ElanKathir at 2/11/2004 3:26:35 PM
I am faceing problem in the Execution of server Script. Error and Code =
pasted here..
Please help me !
Thanks & Regards,
Elankathir.
---------------------------------------Code------------------------------=
------------------------------
Private Sub Button1_Click(ByVal sender As Sys... more >>
running aspx file another computer
Posted by Selen at 2/11/2004 3:23:52 PM
I have a aspx file in my computer.I want to run it another computer in
network.
I write http://computername/filename
but it doesnt work.Why can it be ? How can I solve the problem
Thanks
... more >>
ASP.NET vs ASP
Posted by Vitaly at 2/11/2004 3:21:05 PM
Hi
I’m migrating a standard ASP application to ASP.NET. When I designed the ASP app, I tried to perform as much processing on the client side as possible, so I don’t have to make too many trips to the web/database servers, etc
Now in ASP.NET, if I would use all the new features and server cont... more >>
Using VlaidationSummary control
Posted by NWx at 2/11/2004 3:15:14 PM
Hi,
I have a form with few controls, few validation controls and a validation
summary control
I set-up appropriate Messages in Validations controls.
However, if validation fails, I just want to display a * in validation
control (or any other character), and instead display all validation
m... more >>
How to disable as:Checkbox in Netscape 7
Posted by Kekec at 2/11/2004 3:09:03 PM
I have several disabled asp:checkboxes in my table, but when i open this
page in Netscape 7, Disabled property is ignored. Offcourse in IE is all
perfect!
Can someone help me with this one?
... more >>
Create Object Error
Posted by J P Singh at 2/11/2004 2:54:04 PM
I am getting the following error when using CDONTS to send an email.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/submitauth.asp, line 42
800401f3
We have recently moved the application from a windows 2000 server to a
windows 2003 server with DOT net framewor... more >>
Big Form Question
Posted by Steve Bishop at 2/11/2004 2:20:57 PM
I may need to build a huge form with 135 input controls of various
types. Can ASP.Net/VB.Net handle that? This data will be making an entry
in a SQL database. Help appreciated.
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for i... more >>
How do I use the ClientID with a dropdownlist?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/11/2004 2:17:54 PM
I have datagrid. On this datagrid there is a button and a
dropdownlist.
When I press the button, I want the selectedIndex of the dropdownlist.
There is a button and a dropdownlist for each datagrid row that is
populated from the database. Example, five rows returned, five
buttons, and fiv... more >>
WinForms controls
Posted by JezB at 2/11/2004 1:59:20 PM
What are the issues and limitations regarding embedding Windows Forms
controls into ASP.NET web pages ?
A reference to a good web article would be appreciated.
... more >>
DataGrid Inside Repeater
Posted by Scott Schluer at 2/11/2004 1:52:00 PM
Hi All,
I have a functioning datagrid on "Page 1" that displays order information
for a single order (this is for an e-commerce site). It's actually a
combination of a couple datagrids to display all of the information.
I now have a need to drop this datagrid into a repeater on "Page 2". The... more >>
best way to check whether postback or form action submit?
Posted by Jiho Han at 2/11/2004 1:40:45 PM
What is the best way to check whether the page is simply a postback or the
form has been submit with the intention of doing something?
In the olden days, I used to check for a form field name used for the submit
button:
<input type="submit" name="saverecord" value="push me to save">
Then ... more >>
Filling in HttpWebRequest object with form data
Posted by Erik Jensen at 2/11/2004 1:26:04 PM
I am looking to post to a banking site form data in process to do with a checkout
I see that the HttpWebRequest object can befilled with header information and form data so that programmatically i can post form data and then process the HttpWebResponse however, I cannot find any examples of how to... more >>
Checking file upload size
Posted by Vicky at 2/11/2004 1:25:29 PM
i have specified 10000 kbytes iin maxrequestlength , now if a file having
size more than the limit is selected and upload button is pressed then page
not found error comes.
How to check file size and restrict user before this error occurs
Vicky
... more >>
Using templates in a datalist
Posted by ajaymehra at 2/11/2004 1:15:38 PM
Hi,
Im confused with using templates for my datalist.
Can anyone suggest some good sites for examples...
Also, lets say I have one column of data :
Date
------
02/01/2004
02/02/2004
02/03/2004
How do I specify a template to display these rows horizontally
like
02/01/2004 -----... more >>
leading space in dropdownlist
Posted by TJS at 2/11/2004 12:48:25 PM
I am populating a droplist control from a query.
each line of content in the dropdownlist gets "trimmed" automatically .
how can I force a leading space to a line in a dropdown list ??
... more >>
Form Level Authentication
Posted by Arvind P Rangan at 2/11/2004 12:33:00 PM
Hi,
In Authentication Type="Forms"
Which redirects all the pages to login page if not authenticated.
Can we open few pages which does not need authentication.
Few pages should not be re-directed to Login Page.
Thanks.
Arvind.
... more >>
file upload size limit
Posted by Vicky at 2/11/2004 12:18:27 PM
i am uploading a fiel in asp.net to web server. WEll it works fine for files
having size of around 1 - 2 mb but as i upload file of 5-6 mb it does not
work.
Is there any limit of file size and how can we overcome it.
Thanks
... more >>
Logging
Posted by A.M at 2/11/2004 12:05:34 PM
Hi,
What would be the best approach to log different items (SQL, Exceptions,
Security, ...)
I have a simple Logging function that adds log string to the end of a text
file.
Is there any application block for that? Should i do the logging into SQL
server table ?
Any help would be apprecite... more >>
delete contents of text file
Posted by Poppy at 2/11/2004 11:55:30 AM
I use the following code to append a line of text to a text file :
Dim myFILENAME As String = Server.MapPath("/ABACUS/cvdocs/" & fileName)
Dim objStreamWriter As StreamWriter
objStreamWriter = File.AppendText(myFILENAME)
objStreamWriter.WriteLine(csvline)
objStreamWriter.Close()
The code ... more >>
Per-session memory consumption in ASP.NET worker process
Posted by jcampbell NO[at]SPAM vibrantsolutions.com at 2/11/2004 11:23:02 AM
Hello,
Is there any way to find out how much memory each web session is
consuming within the ASP.NET worker process (aspnet_wp.exe)? Further,
is it possible to find how much memory is consumed by session
variables alone?
- Jim Campbell... more >>
Text in a textbox
Posted by (pphillips NO[at]SPAM rattanconsulting.com) at 2/11/2004 11:20:10 AM
On my webform I have a textbox. When the page loads I put some text in the textbox. The text is 2 sentences and all I want to do is to put the sentences on different lines.
It use to be so simple:
textbox1.text = "Sentence1." & vbCrLf & "Sentence2."
The above doesn't seem to work the sent... more >>
Restart Web Application in Global.Asax?
Posted by localhost at 2/11/2004 11:09:33 AM
In the Application_OnStart, I make some data calls and place the
results in the HTTP cache. Sometimes, the database is not available
when the application starts up, so I want to sleep for 20 seconds and
then restart the entire application.
What is the best way to do that?
Thanks.
... more >>
Moving files in Visual Studio ??
Posted by Poppy at 2/11/2004 10:44:18 AM
(VS.net 2002)
I moved an aspx file and code behind from one folder to another in Visual
Studio and when I compile/run the application the compiler keeps saying that
it cannot find the code behind page.
Why is this ?
Whenever I move or copy files in Visual Studio I always get grief.
... more >>
Calendar in Datagrid maintain state!!
Posted by Jay at 2/11/2004 10:41:42 AM
Hello,
I have Calendar inside a datagrid.
Whenever user clicks the edit button in the datagrid calendar is visible.
The problem occurs when user navigates to a particular month and picks a
date. The Calendar control does a postback and it reverts it back to the
default month.
How can I... more >>
Asp.net and web hosting problem...plz help
Posted by Arsalan Ahmad at 2/11/2004 10:21:06 AM
Hi all,
Please check http://www.eroshni.com/WebApplication2/WebForm1.aspx
Recently I have been working on this project hosted by a standard webhosting
company. The problem comes when I try to get to the aspx page that I
developed and deployed to the server. It gives me a plain error statin... more >>
Dates As Function Parameters - Why so Convoluted?
Posted by Jordan at 2/11/2004 10:18:00 AM
I'm working with a Repeater using a custom function inside the
<itemtemplate> to return a text string. The parameters SHOULD be (DateTime,
DateTime, Int16) but the difficulties in getting DateTimes to be evaulated
is odd. It's much easier to do (String, String, Int16) and convert the
Strings bac... more >>
InProc session memory reclaim
Posted by Ashish at 2/11/2004 9:37:13 AM
hi All,
I have heard from some sources that there is a known issue with asp.net,
in that its not able to effectively reclaim session memory, when using
the InProc mode, I know VLO bug, but we are not using VLO in our
sessions objects , but still the looks like memory is not being
reclaime... more >>
postback problem maybe
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/11/2004 9:27:25 AM
I have a problem. I have a form where data is input, etc. and put in
a database. The form immediately populates again from the values I
just entered.
Sometimes, the form does not populate. I populate the form from a
database. It just doesn't show up. The database is filled with the
value... more >>
How do I move a dropdownlist to a selectedindex value?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 2/11/2004 9:17:16 AM
I know how to set the ddl.selectedindex = x. That is not the problem.
I have a dynamically populated DropDownList populated from a database.
I use the onitemdatabound to populate the list when the edit link is
clicked. What I want it to do is put the dropdownlist's selectedindex
at the valu... more >>
aspnet_state - protocol ?
Posted by Eric Barr at 2/11/2004 8:56:29 AM
I was looking at the aspnet_state.exe (sessionState mode = SessionState)
option for caching. I understand its benefits and limitations of using a
service that is in memory, can sit on a remote machine.
What i was curious about is how ASP.NET communicates with the state server.
Only thing i... more >>
Website Login
Posted by Jerry at 2/11/2004 8:43:31 AM
If I have a public website on a server with SQL 2000 and wish to allow
customers and employees to have a login screen with special menu items only
for them, what is the best practice for storage of the username and
password? Do I store the usernames and passwords in active directory on the
serv... more >>
Is it possible to do Authentication with ASP.NET / C# over IIS ?
Posted by martin NO[at]SPAM strojek.de at 2/11/2004 8:28:29 AM
Hi,
I try to solve a problem: Some folder on an IIS Webserver should be
protected with username and password. So I switched off anonymous
access and do Authentication. So far so good. But I want to have a SQL
database with the users which are allowed to login and just ONE System
account who i... more >>
Does anyone have a sample administration site solution?
Posted by Leo Muller at 2/11/2004 8:08:09 AM
Hi,
I am fiddling around a lot with ASP.NET, but still haven't found the best
way of doing things. I was wondering whether anyone can give me a small
sample solution, in which there is:
- database row retrieval + update. Should be a list of items, for which each
item's details should be updat... more >>
Is there a way to hid your web page name and content?
Posted by Trint Smith at 2/11/2004 7:41:41 AM
Is there a way to hid your web page name and content when a person is
viewing your site?
Thanks,
Trint
.Net programmer
trintsmith@hotmail.com
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!... more >>
Stack trace specifies the name of the development server?!?
Posted by Gal Moshitch at 2/11/2004 7:26:06 AM
Hi,
I developed an application which writes errors to the event viewer whenever an exception is thrown (this is done at the application_error event).
Except for the exception message, I also write the stack trace to the event viewer entry.
I was suprised to know that the stack trace includ... more >>
Looking for work in the Arkansas and Louisiana Area....
Posted by twilliams NO[at]SPAM hongkongexpressions.com at 2/11/2004 6:16:43 AM
My apologies, this is way off-topic....
Im un-employed, looking for employment. The IT market is almost
non-existent and jobs are scarce in Arkansas.
If you are located in the Arkansas or Louisiana area. I have
experience working with Infragistics and DataDynamic ActiveReports
controls in C... more >>
Work in VB.NET, ASP.Net, Networking
Posted by twilliams NO[at]SPAM hongkongexpressions.com at 2/11/2004 6:11:22 AM
My apologies, this is way off-topic....
Im un-employed, looking for employment. The IT market is almost
non-existent and jobs are scarce in Arkansas.
If you are located in the Arkansas or Louisiana area. I have
experience working with Infragistics and DataDynamic ActiveReports
controls in C... more >>
Length of a string
Posted by George W. at 2/11/2004 6:11:09 AM
Hi all
I need the length of string. If the string is longer than my button I need to cut it. What is the best solution to find this?
Thank
George... more >>
Athentication cookie problem
Posted by Alireza Ziai at 2/11/2004 5:31:06 AM
I use forms authentication in my solution and in my web.config file I set timeout to 30 but when i check my cookie expiration date its sometime in 50 years later
Even I try to check the expiration by request.cookie and then add it agan by response.cookie but none of them worked
Need some help.Tha... more >>
Under what context Application events run in Global.asax
Posted by rampabbaraju NO[at]SPAM yahoo.com at 2/11/2004 3:45:36 AM
(I am running .NET Framework 1.1)
I have a timer(System.Timers.Timer) running in my Global.asax page. In
the timer.elapsed event I am trying to access an object I stored in
the Cache.
HttpContext.Current.Cache("xxx"). I am getting an error saying that
HttpContext.Current is nothing.
I also... more >>
Sub Query in ASP.NET ?
Posted by Ismail Rajput at 2/11/2004 3:41:38 AM
How to create SQL Sub-Query in ASP.NET , if the sub query retrieves records
from another database ?
For Example i have a Database A table A in one database B and a table B.
I want to receive some records from Database B table B and save into
Database A table A
... more >>
binding a repeater
Posted by francois at 2/11/2004 12:07:49 AM
Hi,
I have a little problem
I am using a stored procedure to retrieve my date.
What I want to achieve is to be able to "skip" some row from the resultset i
retrieve back from the stored procedure. To be clear, when I Bind my
repeater I want to be able to skip some records in my repeater and... more >>
|