all groups > asp.net > june 2006
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
Need Asp.Net .....Help.....
Posted by commerical at 6/30/2006 11:59:40 PM
Hi,
I am working with ASP.NET. I need to get the information as to which
user has currently logged in. Is there anyone to help me out for the
same.
----------------------------------------------------------------------
SBalan Group
[url]http://www.sbalanprojects.com/[/url]
--
commer... more >>
Calling asp.net 2.0 from an 1.1 application
Posted by Cheval at 6/30/2006 11:52:01 PM
Hi. We are unable to upsize an asp.net 1.1 application to 2.0 at the moment,
but were wondering if we can redirect to the 2.0 application from the 1.1
application for the time being? Each application will have it's own
application pool which we thought might be the show stopper. Is this true?... more >>
How do you log in to an email server using vb.net v1.x
Posted by JimO at 6/30/2006 11:25:10 PM
I'm trying to use system.web.mail to send a confirmation registration. I
keep getting an exception. The support at the hosting site says I need to
log into the server first. I'm finding a lot of stuff on sending mail but
nothing on how to login first - unless I want to buy something. It c... more >>
Unrecognized escape sequence
Posted by Jeff at 6/30/2006 9:49:15 PM
Hey
asp.net 2.0
I'm developing a website using visual web developer 2005 express. In this
project I'm trying to connect to the aspnetdb.mdf database (the project's
own database created by wvd).
This is my connection string:
SqlConnection conn = new SqlConnection("Data Source=.\SQLEXPRE... more >>
Visual Web Developer Express 2005 question
Posted by barry at 6/30/2006 6:37:19 PM
I had Visual Web Developer Express 2005 and Visual Studio 2005 installed on
my computer.
Realizing that I did not need Visual Web Developer Express 2005 since I had
VS 2005 I removed it.
My question could this be a possible reason that the ASP.NET configuration
tool is not
working in VS 200... more >>
JavaScript to Reset page ASP.NET 2.0.
Posted by sck10 at 6/30/2006 5:47:04 PM
Hello,
I have a table with some controls in it, but it is not rapped in a form. I
also have a button for reseting the page. When I click the button, the page
resets, but I get the following error: "Done, but with errors on the page".
I am trying to figure out a way to use JavaScript in my... more >>
Help with UrlMapping
Posted by Dave at 6/30/2006 4:57:10 PM
Hello,
I would like to have the address
http://localhost/dl/123456/anyName.mid
redirected to
http://localhost/dl/download.ashx?id=123456&type=mid
how can I do this by using UrlMapping?
thanks in advance.
... more >>
sum of column in footer
Posted by Smokey Grindle at 6/30/2006 4:48:55 PM
Is there a way to sum all the columns values in a gridview and show it in
the footer of that column? anyone try this before? thanks!
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Seeking a Conceptual Approach Please
Posted by Thom Anderson at 6/30/2006 4:22:29 PM
Hi. I have been asked to create a web tool for my company. Basically an
employee will use a user control (a tree view containing information about
our company) and when they get to where they want on the tree, the will
click a node. The node click event should go to the (database, cache,
... more >>
Get object from DropDownList bound to object
Posted by Grant Merwitz at 6/30/2006 3:26:03 PM
Hi
I have an array of object.
I am binding this array to a dropdownlist
On the dropdown's selected index changed, can i retrieve the object from the
selected value.
I know i can get the text and value, but is it possible to get the object
from the datasource
something along the lines ... more >>
file upload maximum allowed size error handling
Posted by J055 at 6/30/2006 3:24:22 PM
Hi
How do I tell the user he has tried to upload a file which is too big...
1. when the httpRuntime.maxRequestLength has been exceeded and
2. when the uploaded file is under then httpRuntime.maxRequestLength
For point 1. it would be good to at least display a nice error page. IE
seems ... more >>
SEE RESULTS OF ASPX FILE ON COMPUTER
Posted by dancer at 6/30/2006 3:24:20 PM
I cannot see the results of an aspx file at my http://localhost, even though
I can see results of an asp file. I CAN see the results of the same file
when I publish to my website.
I am using XP Professional.
I have IIS installed.
I have downloaded the Microsoft.net/framework file, sav... more >>
Framework 2.0 and 1.x
Posted by dancer at 6/30/2006 3:16:21 PM
What is the difference in framework 2.0 and 1.x?
... more >>
If you can't 'deliver' a .Net 1.1 web site, what's the point in 'including' files in the project.
Posted by UJ at 6/30/2006 3:01:55 PM
I've got a web site that has all kinds of things mixed in the directories -
backups, old code, ...
So how can I copy only the things I've actually included in the project to
my final web site? If I copy the entire directory structure, it takes up a
lot more space.
Also - I've been told t... more >>
Customize ASP .NET?
Posted by Matrix at 6/30/2006 2:45:01 PM
I have vendor application within our organization which is vendor product. It
is written in ASP and ASP.NET. As we are getting new releases more and more
coding being migrated to ASP.NET by vendor.
Now as I had some customization done in some of the ASP pages (as all the
page behind wasn't... more >>
Unable to get certain usernames from AD
Posted by furiousmojo NO[at]SPAM gmail.com at 6/30/2006 2:44:16 PM
The problem: Most usernames show up in the dropdownlist, but a random
few do not show up. Why? If I put the filter below into my Users and
Computers snap-in as an advanced search, it finds all of them.
Here's the meat of the ldap search:
Private Function GetUsernames() As DataTable
... more >>
problem with textboxes
Posted by Jeff at 6/30/2006 2:08:33 PM
Hey
ASP.NET 2.0
I have a webpage which in the Page_Load event loads values into 2 textboxes,
these textboxes shows the values in these Profile properties. But if the
user changes the text in these textboxes and click on the save button (see
btnSave_Click ) the value saved are the values ... more >>
Help with encrypting connection strings
Posted by girthyvhf NO[at]SPAM earthlink.net at 6/30/2006 12:43:57 PM
Hello all,
I am trying to use the example for encrypting connection strings
called:
How To: Build And Run the Protected Configuration Provider Example.
This is located in VS 2005 help at:
ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.VisualStudio.v80.en/dv_aspnetcon/html/=
=AD7ed8b347-c79... more >>
inherits HtmlControl
Posted by zino at 6/30/2006 11:44:02 AM
my asp.net page need to display links (<a></a>) as tabs.
I create a class that inherits from HtmlAnchor as:
Public Class Tab
Inherits System.Web.UI.HtmlControls.HtmlAnchor
'(inheriting from HtmlControl is good or bad ????)
Private _Id As String = "myId"
Private _inner... more >>
DataBase vs Cache
Posted by vze1r2ht NO[at]SPAM verizon.net at 6/30/2006 9:28:42 AM
I have a UserCollection that contains User objects that map to a User
table.
There could be potentially, 50-100K users in the table.
Should I load all the users into a Cache and just read/write from
there? (Everytime a write is made, it also writes to the DB). If I do
so, will it be memory ... more >>
App_Code folder....
Posted by PhillipLad at 6/30/2006 9:28:02 AM
Hello,
I am using Visual Web Developer Express, and I am new at using it. I have
built an application where default.aspx.cs references a method in
Utilities.cs. I have put Utilities.cs in the App_Code folder. It runs fine
in the development environment, but when I upload it to my host wh... more >>
3-tier Design
Posted by Demetri at 6/30/2006 9:16:02 AM
I have a 3-tier design question, in particular the Business layer.
Allow me to illustrate in order to convey what my question is.
Lets say we have a database with two tables. The Orders and OrderDetails
table.
Lets say we have two pages:
Page1: Has a grid that shows a list of orders.... more >>
"Compiling" an ASP.NET 2.0 Web Site?
Posted by Alex Maghen at 6/30/2006 7:47:03 AM
It seems like, the way ASP.NET 2.0 works, I should be able to build a
pre-compiled version of my site so that none of the code of the site would be
accessible by the people for whom I developed it.
If I've built a site in VS 2005 that has lots of ASPX files, a few ASCX
files, both with .CS ... more >>
MultiView display "Untitled" as title
Posted by Jav at 6/30/2006 7:17:02 AM
Asp.Net 2.0
When I drag a Multiview control from the ToolBox onto a WebPartZone, The
MultiView displays a title of Untitled immediately above the Multiview title
bar. When I show the form in the browser, the word Untitled displays again
above the View that I placed in the Multiview.
How c... more >>
Session state and browser process
Posted by Stefan at 6/30/2006 7:15:46 AM
Hello,
I am running .NET SQL Session state (V 1.1 blah blah) on a IIS6 server.
The problem is that my application spawns a new window via javascript
once the user logs in.
The user logs in on the main page and the info is stored in a session.
However, on some browsers, the act of openin... more >>
Best practice for binding the 50 states to a combo box
Posted by Ethan V at 6/30/2006 6:22:09 AM
I have a few options regarding populating the state combo box
1. On page load, get the 50 states from the database
2. On application start, get the 50 states from the database and cache them
in application cache. On page load, get the states from application cache
3. Create a class in App Cod... more >>
Removing Session variables
Posted by Holysmoke at 6/30/2006 5:33:02 AM
I have a Product Search Page, which serves and returns a Product object (via
session) to many pages. I have used some session variables in this page which
is called by many other pages.
Once the product is selected, I save it in session and then value is
retrieved in all other calling pages... more >>
Need help on popping up a java script popup box when clicked on a LinkButton.
Posted by Learner at 6/30/2006 5:23:14 AM
Hello,
I have two buttons on one of my VehicleDetails.aspx page. Obiviously
these two buttons takes the user to two different pages. Now my client
is interested in having a linkbutton instead of the two buttons. Once
the user clicks on the linkbutton a javascript dialog box popsup that
says ... more >>
Editing Data in a Web Form / Locking the DB Record
Posted by C at 6/30/2006 4:29:02 AM
Hi,
I have a popup window (aspx) which allows users to edit a database table
record.
If a second user tries to edit the record I want to check if it is being
currently edited / updated and display a message to the user stating that it
is currently being updated.
What is the best way t... more >>
Custom Collection and Filtering Data
Posted by Shawn Ramirez at 6/30/2006 3:27:01 AM
As with most web applications speed is a huge deal to me in my applications.
My customers don't really care if my app is a true 3 tier application or not,
they just want it to be faster then it was yesterday. Because of this I try
to limit my calls to the database by using a loading lookup d... more >>
ASP.NET 2.0 - Site branding for different layouts
Posted by Knoxy at 6/30/2006 2:59:44 AM
Hi folks,
Just a quick post to see if anyone had any thoughts on branding a
website for completely different website designs. I have a site at the
minute that gets installed with another application on customers
networks. It's ASP.NET 2.0 but written in a combination of old ASP.NET
1.1, AJAX wi... more >>
Creating extra classes
Posted by Nathan Sokalski at 6/30/2006 2:13:45 AM
I recently upgraded from VS 2003 to VS 2005. In VS 2003 all I had to do to
make an extra class was put the following in a *.vb file:
Imports System.Web.UI
Imports System.Web.UI.WebControls
Public Class MiscExtras
Public Shared Sub AddRollover(ByVal img As Web.UI.WebControls.Image,
By... more >>
Log on to webapp with multiple accounts
Posted by kederstedt NO[at]SPAM rocketmail.com at 6/30/2006 1:45:48 AM
I have a webbapplication(c# ASP.net vs2003) that uses Windows
Authentication(IIS 6.0).
I would like to create a button that opens a new InternetExplorer
window but loggs on as a different user, so I have two windows to the
same application but different users.
Is this possible? Does anyone ha... more >>
Architecture best practise
Posted by Rich at 6/30/2006 1:44:29 AM
Hi,
I would welcome any opinions on the best approach to developing a web
app in order to meet the following requirements:
a) the user interface can be easily styled by a graphic designer.
b) the content pages can be embedded in other apps if needed (E.g.
Outlook).
My personal view (bein... more >>
Get Confirm response in code
Posted by chris at 6/30/2006 1:23:01 AM
Hi,
In ASP.NET page, when my user tries to edit a record in gridview, I
need to display a confirmation message, if another user is editing the
same record. Since the confirmation message will not be displayed on a
button click, I am using the following:
'check whether another user is editin... more >>
Sorting when the page is loaded the first time
Posted by Patrick Jox at 6/30/2006 12:00:00 AM
Hi,
I have am using ObjectDataSource and GridView to display data on my ASP.NET
webform. I also implemented a comparer class to be able to sort the data by
clicking on the column header.
My problem is that the first time the page is loaded the sort paramter is
passed a zero lenght string. So... more >>
Problem with FileUpload control and doPostback
Posted by Marko Vuksanovic at 6/30/2006 12:00:00 AM
I am trying to implement an upload progress indicator using atlas, using =
the following workaround:
http://forums.asp.net/thread/1321664.aspx
This is the code in FileUpload.apsx file is as follows:
<html xmlns=3D"http://www.w3.org/1999/xhtml" >
<head id=3D"Head1" runat=3D"server">
<title> d... more >>
ASP.NET: VSNET2003 to VSNET2005
Posted by Nathan Sokalski at 6/29/2006 8:07:55 PM
I just upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005.
There are several questions I have about the code differences between them
(I use VB.NET for as my language of choice):
1. 2003 used "Public Class classname" and 2005 uses "Partial Class
classname". What, if any, diffe... more >>
Global.asax.vb in Visual Studio .NET 2005
Posted by Nathan Sokalski at 6/29/2006 7:43:07 PM
I recently upgraded from Visual Studio .NET 2003 to Visual Studio .NET 2005.
Visual Studio .NET 2005 does not create the Global.asax files that Visual
Studio .NET 2003 did, which I used for variables such as the location of my
database. What is the conventional way of creating global variables... more >>
ASP and a ligthweight version of SQL Server
Posted by mmcnurlin NO[at]SPAM usfamily.net at 6/29/2006 7:40:46 PM
I have succsessfuly downloaded MSCDEX (which I guess is a kind of
lightweight version of SQL SERVER 2000). It doesn't have much of GUI.
I have Windows XP peronal edition.
I have book I called ASP.NET UNLEASED" by
Stephan Walther.
This is the code that I am trying to run.
conP... more >>
IIS log and Server.Transfer
Posted by Chris at 6/29/2006 7:07:31 PM
I am thinking of creating a custom 404 page which does a server.transfer to
a variety of different pages. My question is what shows up in the log, which
the web statistics are based on?
1. The non existent page, which is requested?
2. The custom 404 page?
3. The page it gets transfered to?
... more >>
how to track line number of a text file through coding?
Posted by Sandeep Singh Sekhon at 6/29/2006 6:44:42 PM
I am creating an application in which i am parsing an XML file. I want
to show that a certain XML Tag has error in the file on a certain line.
How can I keep track of line number in file and show it to the user. How
can i get line number through coding?
Thanks,
Sandeep... more >>
Solid managed forum for our site
Posted by mazdotnet at 6/29/2006 6:32:47 PM
Hi,
Anyone knows a good/solid managed discussion forum (forum hosting)?
Sorry I know this the wrong forum to do this.
Thanks
Maz.
... more >>
Stopping login abuse in a load balance scenario
Posted by Paul at 6/29/2006 3:53:01 PM
Hi,
The problem....
We have 2 webservers, behind a Load Balancer.
We have set the website on both boxes to store sessions in SQLServer.
To prevent people sharing the logins, we have utilised the following
article http://www.eggheadcafe.com/articles/20030418.asp (Which stores
logged in ... more >>
Sortable datagrid
Posted by jack58 at 6/29/2006 3:51:13 PM
Hello everybody,
I have a sortable datagrid on a page. On this same page, I have a
series of textboxes that the user can use to filter the datagrid's
data. However, whenever I sort, I lose the state of the textboxes. Does
anyone have any ideas on how to maintain the state of my textboxes when
... more >>
create instance of new datarow
Posted by Albert via DotNetMonster.com at 6/29/2006 3:47:45 PM
Hi,
Let’s say that I have a class (MyRow) that inherits from System.Data.DataRow.
Is there a way to be able to add a parameter-less constructor and to
instantiate MyRow as follows:
class MyRow : System.Data.DataRow
{
MyRow(){
}
}
----
MyRow r = new MyRow().
I know the a... more >>
Capture Session.Abandon Event?
Posted by CK at 6/29/2006 2:52:22 PM
Hi All,
How would I write an event to trap the Session.Abandon() method? We are
getting a strange bug that closes the session. I put a breakpoint in
Session_End and I see it's being fired. I am trying to see what's making
this happen. I have read that Session.Abandon() calls that event. I am ... more >>
Expand Selected Node on Page (re) Load
Posted by Dave at 6/29/2006 2:29:52 PM
I have a TreeView on a Web Page. OK...Big Deal. It's based on a
Web.sitemap. Everything's ok so far. Works Great...except when a
person selects a specific Node, the new page loads Tree is all closed
up again. Is this a Bug? I've been trying to figure this out for a
couple of days now. I c... more >>
VWD2005 How to place an Input control with a table cell
Posted by IanO at 6/29/2006 2:09:11 PM
I am following Example 4-1 in Dave Mercer's ASP,NET A Beginner's Guide.
He asks the reader to create a table 9 rows 2 columns with captions in
the left column and Input controls in the right column.
I am using Visual Web Developer 2005 and I haven't found a way to
insert nested controls.
... more >>
Export Documents from SQL Database to Local PC or Server
Posted by manmit.walia NO[at]SPAM gmail.com at 6/29/2006 1:50:53 PM
Hello All,
I am stuck on a task that I need to complete. What I have is a SQL 2005
DB running with a Table called Docs. The table structure consists of
the following:
Table Structure for Docs
------------------------------------
DocID int - Primary Key
ClientID int - CustomerID
Cre... more >>
|