all groups > asp.net > june 2006 > threads for thursday june 29
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
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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
web deployment, dll's and .compiled files...
Posted by Jay at 6/29/2006 12:39:49 PM
Is there any way to control the name of the .compiled files to be named
just their own original filenames instead of that GUID/hash name
appended to the end of the file?
What I have been doing seems to be working fine, but I want to make
sure I'm not setting myself up for trouble in the future... more >>
Call VB Code Behind Function from JavaScript???
Posted by jason.gyetko NO[at]SPAM epower-inc.com at 6/29/2006 12:10:42 PM
I'm using JavaScript to capture a keypress in my web form. Right now
all it does is post an alert message box. Is there a way to have it
call a function in my VB code behind? All I really want to do is open
another web form when a certain key is pressed. I guess I'd also like
to be able to g... more >>
If no ASPNET user account, can I use Global.asax for application-level error trapping?
Posted by Doug at 6/29/2006 11:59:14 AM
Using Visual Studio 2005, SQL Server 2000, and ASP.NET/VB.NET for a Web
Application.
We have a System DSN using Windows NT authentication defined on the
development box to connect to the SQL Server (both SQL and IIS are on
the 192.168.1.2 server).
We have "Identity Impersonate=true", and "... more >>
Issue with public variables
Posted by rk2008 NO[at]SPAM gmail.com at 6/29/2006 11:47:42 AM
I have an ASP.NET application, which needs to initialize a memory
location and update it multiple times in different projects in the same
solution. I have used a public static variable and I could achive what
I want. The problem is when User1 opens the application and starts
updating the variabl... more >>
MembershipUser object...
Posted by Smokey Grindle at 6/29/2006 11:41:00 AM
Im trying to write a custom membership provider but in the GetUser method it
returns a MembershipUser, but when i create an object called that it says
overload resolution failed... no accessable 'new' accepts this number of
arguments... even though my argument list matches up...
Dim _user As ... more >>
Problem with authentication on a web site - allowDefintion='Machin
Posted by WinDev at 6/29/2006 11:21:02 AM
One of my guys is trying to move an application from our test box to our
production server cluster and is having problems. He had moved over
everything, set up the new site including making the web site an application
through properties. He even made a virtual directory that is in the web site... more >>
HtmlEncode? Other Alternative?
Posted by Groove at 6/29/2006 10:30:16 AM
Hey guys. I'm working a large project that has dozens of forms to collect
user input. A lot of the fields are text and capture long text from the
user. It writes to MS SQL 2000.
I've built a simple "replace" function to replace and encode harmful
characters on the server side such as sin... more >>
Deleting_row_from_GridView_causes_ArgumentOutOfRangeException_during_System.Web.UI.WebControls.Grid=ADView.set=5FSelectedIndex(Int32_value)
Posted by loga123 at 6/29/2006 9:58:26 AM
Hi All,
I am using Link Button for DELETE on the gridview. When I click on
DELETE link, I get the ArgumentOutOfRangeException. But...it deletes
the record from table in the database.
On Gridview_rowdatabound, I am dynamically building hyperlink control
based on the values in the other fields... more >>
Order of events: Page_Load in page and base page?
Posted by cmay at 6/29/2006 9:36:04 AM
Can someone advise on this issue?
We are seeing a page where, on the first load the base page (the class
our page inherits from) fires it's PageLoad event first, followed by
our Page's PageLoad.
On postback we see the reverse order taking place, with the Base Page
firing last.
Can someon... more >>
DataGrid, SortCommand and toggled sorting
Posted by Mark Gilkes at 6/29/2006 9:22:02 AM
Hi,
I have an aspx page in which I am building a DataGrid control in the
code-behind dynamically. The DataGrid is declared along with BoundColumns and
bound to the datasource, then added to a panel control in the OnInit method
of the aspx Page. I am trying to implement a bidirectional sorti... more >>
Character Trim
Posted by danielst.clair NO[at]SPAM gmail.com at 6/29/2006 9:15:18 AM
I'm pulling customer testimonials from an SQL database onto the
homepage of a site. I want to set a trim that will not allow more than
250 characters of the testimonial to show. Anything over 250 would be
cut of and replaced with "..." I already have a link below that will
take them to a page ... more >>
I need my CSS in the master page to get reflected in content page
Posted by pushpadant NO[at]SPAM gmail.com at 6/29/2006 9:11:13 AM
Hi,
I have one master page which has some table inside one of the <td> i
have my contentplaceholder.
on the <head> tag of the master page i have specified link to a global
CSS (stylesheet.css) file.
On my content page i have a textbox inside the contentplaceholder.
What i want is my al... more >>
Access denied for a web project to "Temporary ASP.NET Files"
Posted by SalamElias at 6/29/2006 9:00:02 AM
I have a VS 2003 VB web project which works fine, in IE, debug....After
several browsing in IE or debugging several ti;mes I start to get the ugly
error "Configuration Error ", Access is denied: 'mydll', and the following
line in red color in the ouput
"Line 200: <add assembly="*" />... more >>
How to set DateTime variable to Null in C#?
Posted by Reza Solouki at 6/29/2006 8:50:02 AM
Hello,
I have a system where it gets its data from a file that is provided
periodically. There are cases where many values such as dates are blank.
Considering DateTime variable doesn't accept null, and SQL Server doesn't
accept DateTime.MinValue...
What is the solution to deal with th... more >>
How can I Run a file without a messagebox
Posted by Torres at 6/29/2006 8:48:27 AM
Hi all,
I use this "HyperLink1.NavigateUrl = "\\aoui\myeoe\testing.bat" to run
the batch file. The windows will show a messagebox "RUN" "SAVE" OR
"CANCEL". I want to run the batch file directly and without any
prompted action.
pls help !!
thx
... more >>
column sort order image on gridview
Posted by Smokey Grindle at 6/29/2006 8:46:36 AM
does anyone know of a good example of asp.net 2.0's gridview showing a sort
order arrow in the column header correctly and working? I cant seem to get
what ive found on google to work (see previous post called (sort expression
always = "" in gridview on 6/28/2006)... any help would be great.. ... more >>
Deploying .NET 2.0 Web App from WinXP Pro to Server 2003: 404!
Posted by Christian Nunciato at 6/29/2006 8:38:02 AM
Hi there:
I'm a veteran to ASP.NET 1.1, but new to 2.0, and I'm using VS 2005. When I
run the app on my local machine, using the built-in Web server, I have no
problems, but deploying the site to a 2003 Server machine (which is also
running several 1.1 sites) throws a persistent 404.
I'... more >>
Missing a virtual directory but which one - MachineToApplication error.
Posted by UJ at 6/29/2006 8:11:44 AM
I am in the process of deploying my .NET 1.1 app from a test server over to
our cluster. I think I have everything set up correctly but when I start the
app, when I get past my login page, I get the following error message:
It is an error to use a section registered as
allowDefinition='M... more >>
Edit and Continue in ASP.Net
Posted by Diane Yocom at 6/29/2006 8:11:13 AM
I'm using VS2005 and am trying to get Edit and Continue to work while
debugging. I've gone to the Tools-Options-Debugging dialog box and made
sure "Enable Edit and Continue" is checked, but when I start debugging and
try changing the code, it just ignores any changes I've made. If I add a
... more >>
password reset email
Posted by Dabbler at 6/29/2006 7:06:01 AM
My password reset emails aren't getting through so I have two problems,
getting the email to work and resetting the passwords from users who have
already missed their reset email.
My health emails are getting through which puzzles me.
<system.net>
<mailSettings>
<s... more >>
login control remember me doesn't work
Posted by Dabbler at 6/29/2006 6:54:02 AM
I have a login page which requires all users to login everytime they visit,
the remember me feature isn't working. We all have cookies and js enabled.
Any suggestions on how to diagnose this?
My login aspx:
<asp:Login ID="Login1" runat="server" BackColor="#FFFFCC"
BorderColor="#5400A8... more >>
FileSize - HowTo
Posted by mosscliffe at 6/29/2006 6:24:39 AM
I get a list of filenames from a directory with the following code, but
I can not work out how to get the filesize of the filename I have just
found.
I guess it is fileinfo.length, but I can not see how to turn my
filename(string) into a statement which would give me the filesize -
the brain ... more >>
3-Tier Application
Posted by Sachin Thamke at 6/29/2006 4:05:01 AM
Hi
I understood the 3-tier application but i have some questions
Step- UI->Business Process Layer
1.Howt to Pass the data from UI to middle layer
a. object.property=textbox.value
b. create middle tier as sqlobjectsource/Data Table
3. array/test/xml file
2. From Middle Layer to Data ... more >>
aspx do not work: App-Domain could not be created
Posted by AlexCZ at 6/29/2006 3:52:01 AM
After restart some time is everithing ok. After some hours - some
days, problem start. Only in pool, where dll VB6 is used, aspx pages
(asp ok) does not work.
Event:
Failed to execute request because the App-Domain could not be created.
Error: 0x8007000e Not enough storage is available to com... more >>
How to Debug and Trace asp.net 1.1?
Posted by danielsanberger NO[at]SPAM googlemail.com at 6/29/2006 2:51:41 AM
Hi all,
I am a complete beginner to asp.net and have to maintain an application
on the 1.1 Framework, written in VB.NET.
I would like to know, is it possible to debug the .aspx files of the
application (javascript) in some way. I read in a book and on the
internet, that it is possible. I tr... more >>
accessing .mdb file
Posted by karnati at 6/29/2006 1:51:48 AM
hi group
i got one problem, is it possible to access the .mdb file from client
system
i.e when client says browse and selects the mdb file the data in it
should be accessd without uploading it to website
have a nice day
thanks in advance
karnati
... more >>
Combining a graphic with text on a button
Posted by Rod at 6/29/2006 1:08:11 AM
Hi,
Does anyone know of a way to combine an icon with text on a pushbutton
without venturing too deeply into the murky world of the graphics library.
The icon is a gif loaded from a file but the text is read from a resource
and may be in any one of several languages so I probably need to c... more >>
saving picture to a user profile!
Posted by Jeff at 6/29/2006 1:00:28 AM
Hey
(and thank you for reading my post)
In visual web developer 2005 express edition I've created a simple website
project..
At this website I want users who register to be able to upload a picture of
themselves to their profile... I admit that I'm a newbie... but this is how
I unders... more >>
Force .doc to be open by Word
Posted by fab at 6/29/2006 12:50:27 AM
Hi,
I'm developping a web-application on an intranet.
I've got a datagrid with a button on each line. Each line represents a
document (MS Word doc). These documents are on a share so that they
can be saved directly on the file server.
When i click on this button, it opens another windows wi... more >>
how do i include a class file?
Posted by Kuldeep at 6/29/2006 12:17:10 AM
Hello All,
Framework: Visual Studio 2005
I have a class file in my project with a namespace nmArticles
Now, I need to add this namespace into my article.aspx.cs page
so that i can accesss the methods available in the class file under the
namespace nmArticles
How do i do this??
Apparently, ... more >>
dynamic css file
Posted by Daves at 6/29/2006 12:00:00 AM
what would be the easiest way to create a dynamic css file to link to eg
....
<head>
<link type="text/css" rel="Stylesheet" href="lis.aspx" />
</head>
....
this one quite clumsy since it's creating a whole Page class to simply
create dynamical output (text file)?
... more >>
Fixed Name Assemblies
Posted by Vishal Dalsania at 6/29/2006 12:00:00 AM
Hello all,
In asp.net 2.0 we have option for the pre compilation. While i publish a
website with that option it create a different name dll each time i publish
website. There is one option to create fixed name assemblies but it create
so many assemblies as i have 200-300 pages and it create... more >>
How to specify the sort column?
Posted by ad at 6/29/2006 12:00:00 AM
I use a GridView to display data , the datasource of my GridView is from a
ObjectDataSource.
How can I specify the sort column?
... more >>
Urgent - I got problem with AJAX Atlasx and Ultragrid
Posted by mdthanh at 6/29/2006 12:00:00 AM
Hi All!
Please help me. I got problem with AJAX atlas & Ultragird, atfer sorting the
column my webpage get Javascript error.
Anyone have experience on this on please help. I falled on them 3 days and
can not get out of that borken thing, event I searched a lot from
Microsoft/Google/Infragi... more >>
|