all groups > asp.net > january 2004 > threads for saturday january 31
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
Total user count in Web-application
Posted by KS at 1/31/2004 11:53:48 PM
I have made a WebForm with log ON/OFF off users.
There is a label that shows the total count off users logged on stored in
Application("UserCount")
It works fine if the users logs out WITH THE LOG-OUT BUTTON, but what if a
user "logs out" by closing with the X-button ?
If I count down the... more >>
ASP session vs. ASP.NET session
Posted by Ed at 1/31/2004 11:43:14 PM
Is it possible to define a SESSION("userid") in ASP and then retrieve its
value from ASP.NET? (Suppose I have an application in both ASP and
ASP.NET.)
Thanks.
... more >>
Border Attribute on Table Webcontrol
Posted by Unknown at 1/31/2004 11:35:15 PM
When I create a Table webcontrol programmatically (no static table tag in
the aspx file), it renders in the HTML with a border attribute set to "0".
If I add my own border attribute--MyTable.Attributes.Add("border",
"1")--with a value of "1", the border attribute shows up twice in the HTML
tag... more >>
asp & js
Posted by DzemoT. at 1/31/2004 10:16:57 PM
i have this
<div id="container"
style="width:215px;height:200px;overflow-y:scroll;overflow:-moz-scrollbars-v
ertical">
<div id="sc" style="position:relative"><img src="pic1.jpg" /><br />
<img src="pic2.jpg" /><br />
<img src="pic3.jpg" /><br />
<img src="Golf-4.jpg" /><br />
<img... more >>
Multiple Dropdowns in a user control
Posted by Damon at 1/31/2004 9:57:23 PM
I am working on a site in which I would like to have two dropdowns that will
allow a user to navigate through the administrative pages of the site. The
first would allow the user to choose the particular site that they would
like to edit. The second would allow the user to select which admin scre... more >>
Javascript client-side post and keep viewstates?
Posted by Bruce W.1 at 1/31/2004 9:39:43 PM
I need to do a post on the client side (with an html button) to another
aspx URL, while keeping the viewstates.
So I made an html button with
onClick="location.href='whatever.aspx?state=true'"
This works but I lose everything that was in my textboxes and other
controls. I think this onClic... more >>
Major security issue?
Posted by Keith at 1/31/2004 8:37:13 PM
I have found what I believe to be a serious security
issue in ASP.Net. If you have:
1. Your website configured for anonymous access
2. Elect under web.config to set the sessionstate
attribute of cookieless to true
Anyone from any IP address or across another browser can
copy the URL an... more >>
hyperlinkcolumn
Posted by Shawn at 1/31/2004 7:18:20 PM
Hi.
I have a DataGrid with a hyperlinkcolumn, like this:
<asp:hyperlinkcolumn datanavigateurlfield="prr_id"
datanavigateurlformatstring="test.aspx?prr_id={0}"
datatextfield="full_name"></asp:hyperlinkcolumn>
How can I get the value of it's datatextfield (full_name) from my code? If I
try d... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Adding a line break to a Panel-Object
Posted by Thomas Reichgruber at 1/31/2004 6:33:39 PM
Hi,
does anybody know how to add a linebreak dynamically to a Panel?
In the code behind file aspx.cs my webapplication dynamically adds
WebControls to a Panel defined in the .aspx file. This looks like this:
Button MyButton = new Button();
MyPanel.Controls.Add(MyButton);
This works great... more >>
DirectoryServicesEntry - Problem on Windows NT workstation
Posted by Günther Rühmann at 1/31/2004 5:13:51 PM
Hi,
I´m not sure if i´m right int this group...
My problem:
I made a vb .net application that reads from AD via
System.Directoryservices.Directoryentry.
The appliocation enumerates group members.
It works fine on W2k - machines. It works on a WinNT 4 - server, too, but it
stops with a runtime... more >>
What to upload to my ISP ?
Posted by KS at 1/31/2004 4:15:28 PM
When I'm trrough with test of the solution, let's say "MyFirstWebApp", -
what
1) has to be uploaded to my ISP ?
2) where can I find it locally ?
3) How can I upload it ?
KS, Denmark
... more >>
better approaches
Posted by Vicky at 1/31/2004 3:56:51 PM
which one is better approach among the two listed below
1. Opening connection on each web page for doing some database transaction
2. Opening connection once and store it in application object, and then
refering this application object on each web page.
Thanks
... more >>
Data Type conversion error.....
Posted by Smith John at 1/31/2004 3:46:13 PM
Here is my ASP.Net code
"If CustomerCMD.Parameters("@Checkout").Value = 0 Then"
Since I set the option strict on.... It is throwing type missmatch error.
@Checkout is a "tinyinteger" in SQL Server.
Please advice.
Thanks,
Smith
... more >>
Include HTML into ASPX and buttons
Posted by Hai Nguyen at 1/31/2004 3:41:31 PM
Hi everyone
I'm an situation that I don't know how to solve. First, I have several files
which will be generated from database and saved under html format and store
in a different folder (this was created by so else which does not include
buttons for me).
Because I need to include those fil... more >>
Multiple recordset from a stored procedure
Posted by Jon Spivey at 1/31/2004 2:58:30 PM
Hi,
using vb.net/sql server 2000 migrating an app from asp to asp.net. I have a
stored procedure that returns 3 recordsets. In asp to move to the next
recordset I'd just do
<%
set rs = rs.nextrecordset
' display data
set rs = rs.nextrecordset
' display data
'etc
Is there an equivalant to... more >>
Ref the last page without use of Session
Posted by ElanKathir at 1/31/2004 2:56:40 PM
Hi !
My ? is I want the last page Contols data in Current page without use of
Session object, If it is +, How many long it takes, Mean How many down
like's.
Thanks & Regards,
Elankathir
... more >>
Open Excel sheet with ADO - problems
Posted by Dan Brussee at 1/31/2004 2:33:39 PM
I am able to open an Excell (2000) spreadsheet using ADO.NET, and for
the most part, it works well. However, partway through the records,
the data stops coming in for the column.
The column should be read as a text field, although many of the
records are all numeric. For example, in the record... more >>
Code Reusability -- Extending web Application
Posted by popsovy NO[at]SPAM rusmex.com at 1/31/2004 1:26:07 PM
Hi,
This is a code reusability question. I want to include a function that sends an email message from my site. I want to include the code for the function only once and then be able to call this function from any of my pages.
I am aware that there are a number of different solutions to this pro... more >>
Left Align Text In Server Button
Posted by DM at 1/31/2004 11:11:37 AM
Is there any way to left align the text in a server control button?
... more >>
Web Form resize ? Urgent.
Posted by Daniel Khor at 1/31/2004 7:56:06 AM
Does anyone know how to make the content in the web form resize together when the browser is being adjusted ?
Your help will be appreciated ..
Daniel Khor.... more >>
Error while trying to run project: Unable to start debugging on the web server. The project is not configured
Posted by kenls1957 NO[at]SPAM yahoo.com at 1/31/2004 7:13:53 AM
I spend more time tweaking this stupid computer than I do
programming!!!! Although I love working in .NET when I finally get
the chance - I absolutley hate its fragile nature. What a mess....
Anyway, I've googled the crap out of this error message and there are
at least a half a dozen non-re... more >>
querystring and going back in browser
Posted by tony collier at 1/31/2004 5:58:04 AM
Hi all
I have a shopping cart which I have had to use querystrings to
add/remove items rather than a form. for example, i have a page with a
list of items and next to each one is a button which when clicked refers
to the same page with a different querystring item=12, item=33 etc.
My pa... more >>
2 Browser Instances sharing the same session (using Ctrl-N)
Posted by Augustin Prasanna. J at 1/31/2004 3:21:08 AM
Hi,
When the user opens a new browser instance using 'Ctrl-N' and logs in with a different user login, both the browser instances begins to share the same session. Any suggestions on how to handle this issue ?
Thanks,
Augustin... more >>
webpages
Posted by reiks at 1/31/2004 1:56:06 AM
I want to get a pop up menu up on the click of my mouse in my web page.
How can I acheive this?... more >>
WebForm Template
Posted by Yoramo at 1/31/2004 1:42:32 AM
hello
I have created a WebForm and I would like that some of my pages will use it
as a base design (template).
can I inherit the layout of this WebForm in another WebForm? How do I do
that?
Yoramo
... more >>
Difficult to maintain the scroll position..... ASP.Net and IE 6.0
Posted by Smith John at 1/31/2004 12:29:40 AM
I am developing web based application using ASP.Net.
When the user clicks on the last button in the screen(scrolled down screen),
screen postback happens, and display at the start of the page.
1. How to maintain the scrolled position in the web form.
2. I made the following changes in web.conf... more >>
|