all groups > asp.net > december 2005
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
open a second IE window, set margins...
Posted by Eric at 12/31/2005 11:21:37 PM
For my VS.NET 2005 webapplication I need it to open a second window and show
an image in it.
Then it needs to set the margins of that IE window and then print it
contents.
After the printing it can be closed.
How can I do this, if at all possible?
rg,
Eric
(btw: Happy New Year!!)
... more >>
Any hints on how to do frames in ASP.Net 2.0?
Posted by Jim at 12/31/2005 10:08:47 PM
What would be cool as hell, would be a designer interface like Dreamweaver -
with drag and drop elements like frames and such.
Why isn't ASP.Net as easy to use as Dreamweaver. Certainly Microsoft has
looked at them (if nothing more than as competition for FrontPage). What
would be the rea... more >>
Can we authenticate if not EnableSessionState
Posted by ad at 12/31/2005 9:52:07 PM
If I set EnableSessionState to false in Web.config to false.
Can we use login controls to authenticate user?
... more >>
problem creating a custom control
Posted by Lloyd Dupont at 12/31/2005 8:52:24 PM
I'm creating an 'owner drawn ASP.NET control' where all the HTML tags are
written in the Render() method.
In this control there would be 2 links: Edit & Comment.
I would like to use a <A HREF='...'>
But in the HREF tag I would like to write the special URL which will call:
RaisePostBackEvent(s... more >>
Text Box Control MaxLenght Property Is Not Working
Posted by Dhana at 12/31/2005 6:32:32 PM
Hi All,
I have developed one web application.
In that I used aspnet web textBox control.
I have set maxlength property for that text box 300 and TextMode property as
multiline .
When i typed more than 3 or 4 line each line contains 30 to 40 characters,
If i clicked button for passing t... more >>
Can I debug Javascript
Posted by Andrew Chalk at 12/31/2005 6:30:17 PM
My ASP.NET v.1.1 application generates some Javascript that isn't working (I
see "Error on Page" when a custom control is clicked). How can I debug this?
Many thanks.
... more >>
I need a "Profile_MigrateAuthenticated" event - ASPNET 2.0
Posted by alain.hogue NO[at]SPAM gmail.com at 12/31/2005 6:01:59 PM
I known that by using the "Profile_MigrateAnonymous" event I can
migrate my anonymous users profile to their authenticated account
profile, but I would like to carry over some of the properties of their
authenticated account profile back to anonymous profile when they
logout.
How can I do tha... more >>
2.0 Assembly Information - how?
Posted by MarkAurit at 12/31/2005 5:18:01 PM
In vs.net 2005 web apps, now that we no longer have the assemblyinfo file,
how do we set assembly information (such as version,description,company, etc)?
Thanks, Mark... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Absolute url from relative path
Posted by Andreas Zita at 12/31/2005 3:44:22 PM
How do I get the absolute url for a file from c#-code?
I have the path "~/file.aspx" and I want
"http://www.mydomain.xyz/myapp/file.aspx"
Basically I want to get the complete app-path url including the domain from
the current app, but I have only found ways of getting the physical path and... more >>
Sessionstate timeout and Forms Authenticatin timeout
Posted by Sosh at 12/31/2005 2:44:39 PM
Hi,
I'm a tad confused regarding the difference between an asp.net session and
an authentication session and their timeouts. Do the two types of session
exist independantly of one another? If so, what happens if one expires
before the other? Any info appreciated. PS. Using asp.net v2
... more >>
2.0 DataSources vs. TableAdapter/Datasets
Posted by GaryDean at 12/31/2005 2:29:31 PM
We have been noticing that questions on vs.2005/2.0 don't appear to get much
in answers so I'm reposting some questions posted by some of the programmers
here in our organization that never got answered...
There are articles on the new TableAdapters where it says that a key new
advantage is th... more >>
2.0 controlling Databinding
Posted by GaryDean at 12/31/2005 2:23:37 PM
We have been noticing that questions on vs.2005/2.0 don't appear to get much
in answers so I'm reposting some questions posted by some of the programmers
here in our organization that never got answered...
In 1.1 we always did our own myDataAdapter.fills and we liked that control
for lots o... more >>
Best practice for creating a user control base class in asp.net 2.
Posted by balystyk at 12/31/2005 12:25:02 PM
Are there any possible issues with creating a base class (adding common
properties) for a user control using a class file and not a user control
(.ascx and code-behind) in asp.net 2.0? I have successfully tested using a
class that inherits UserControl and it seems like the best way to go but ... more >>
NEW Web Application Project [VS 2005]
Posted by Chris at 12/31/2005 10:56:57 AM
I installed this new BETA component for VS 2005 and it really helped with
the migration from vs2003, but now I cannot deploy the project. Compiles
fine, but there is no option to Copy the project, and that new Web
Deployment Project update does not work on Web Application Projects so I
cant... more >>
Monitoring concurrent users in ASP.NET v1.1 app
Posted by Bill Manring at 12/31/2005 9:03:02 AM
I have an ASP.NET application which my company sells comercially. We license
on a concurrent user model, but we currently rely on the "honor" system for
the customers to give us their best guess as to the maximum number of
concurrent users they will need. We do this because, so far, we have ... more >>
Possible unintended reference comparison
Posted by sotec at 12/31/2005 5:51:03 AM
erroe message and code portion is like this....
how can i change this code to not occur to error
if (page.Session["UserId"] == null || page.Session["UserId"] !=
userId )
{
UserStatusSetting(page, userId);
}
Warning 2 Possible uninte... more >>
Can Visual Studio 2005 be installed and run in addition to Visual Studio 2003?
Posted by Robert Rotstein at 12/31/2005 3:39:52 AM
I have a "Microsoft Visual Studio 2005 Team System Beta 2" disk, along
with Visual C#, Visual Basic, and Visual Web Developer 2005 disks. Also
VS 2005 Team Foundation Server, SQL Server 2005 Developer Edition
Community Technology Preview, and VS 2005 Team Suite. Can I safely
install these w... more >>
XAML
Posted by Jeff at 12/30/2005 10:19:08 PM
How important is XAML? (or how important is it expected to become during the
next 5 years?)
Looking for informed opinions.
Thanks!
... more >>
suggestions for smart card or biometric web authentication?
Posted by HK at 12/30/2005 9:32:41 PM
Anyone have suggestions for biometric or smart card or key fob or [whatever
else] authentication of a future public facing website? For example, a
customer could do something to authenticate themselves and the computer
passes some data in the background of their browser session so a user can be
... more >>
playing with ASP.NET & SqlServer express
Posted by Lloyd Dupont at 12/30/2005 9:25:00 PM
I never really use SQLExpress before...
Anyway I'm trying to something a bit 'advanced' and I'm failing =
miserably.
I have written a BlogEngin a while ago using SqlServer & ASP.NET 2.0 =
Beta 2 and try to rewrite it from scratch (and copy paste). It's hard as =
I forgot all about ASP.NET...
... more >>
Web.sitemap and target of the URL
Posted by Joe at 12/30/2005 8:39:02 PM
I have a web.sitemap file that has the url title and description. I then
have this attac attached to a menu. I want some of my menu choices to open
up in a page in a new window ie _blank as target. How do I do this with a
web.sitemap file ... more >>
Problem with MSDN Custom AccessSiteMapProvider Example
Posted by gerry at 12/30/2005 7:34:03 PM
I wrote up a couple of simple SiteMap providers based on the MSDN
documentation and examples, in particular the AccessSiteMapProvider example
found at http://msdn2.microsoft.com/en-us/library/ms178434.aspx
I keep running into the same problem - the root node cannot be found.
So I went back and t... more >>
ASP.NET bug in SMTP
Posted by 00_DotNetWarrior at 12/30/2005 7:25:52 PM
I followed this article to do authenticated SMTP, it works fine with port
25. (using .NET framework 1.1)
http://support.microsoft.com/default.aspx?scid=kb;en-us;555287
However, if I change the port number to 10025 (my email server is running on
this port too). I got error message "Fields u... more >>
Control to grab a web page and all it's components?
Posted by nospam NO[at]SPAM nospam.sss at 12/30/2005 7:22:33 PM
There are tools like WebCopier which grab webpages with the html, css, js,
images..etc, transform the links so the page can be viewed offline from the
HD.
I was wondering if there's a control or component that does the same
functionality which I can use in my own programs. While I probably can... more >>
Referencing files
Posted by R Riness at 12/30/2005 6:02:02 PM
I'm building my first ASP.Net site, and wonder about the best way to
reference data in files. Should I store documents in SQL Server, and provide
the file from there, or store a string providing the file location in SQL
Server and include a folder with files on the web site? Thanks for your h... more >>
Is this possible...
Posted by Daniel at 12/30/2005 5:46:17 PM
Hi,
Does anyone know if it is possible to put an aspx page inside of another? OR
run an aspx page and capture the output as a string and then write this out
to a page....
So for example say you have a page that takes an id number as a query string
and displays different things based on t... more >>
problem with webclient.downloadfile method
Posted by Purva at 12/30/2005 5:16:11 PM
I want to download a file from my webapplication to client computer.I am
trying this method but this is just copying the file from one location to
anothor on server only,.
Any help is appreciated.
Thanks
Purva
... more >>
GridView without DataSource
Posted by Jim Katz at 12/30/2005 5:09:02 PM
I have an application that updates a strongly typed data set at run time.
I'd like to dynamically create a table that connects to a run time data
table. For displaying the data, this works well. I just set the
GridView.DataSource once, and call DataBind();
I'd like to drive the applicati... more >>
Tiff file view problem
Posted by Bala at 12/30/2005 5:00:02 PM
Hi
I try to download the tiff files from my server. Its get downloaded but I
cannot open with windows fax viewer. its says "No preview available"
thanks
bala
here is the code which I am using
Dim ext As String = Path.GetExtension(path1)
If UCase(Right(ext, 3)) = "TIF" T... more >>
Page level security with attributes - bad idea?
Posted by Nathan at 12/30/2005 4:15:07 PM
I've spent a good part of the afternoon searching Google and the newsgroups
for some sort of answer - so I apologize if I'm asking something that has
already been asked and answered.
I'm using ASP.Net 1.1 (unfortunately 2.0 isn't an option right now) and I'm
working on the design of a secur... more >>
Error Messages
Posted by Aziz at 12/30/2005 3:14:56 PM
Hi,
A web applications error output is like this:
[NullReferenceException: Object reference not set to an instance of an
object.]
Gor.Forms.Page.SecurityCheck(Object sender, EventArgs e) +40
System.Web.UI.Control.OnInit(EventArgs e) +67
Agromax.main.OnInit(EventArgs e) +50
[...]
... more >>
Pre_Init for User Control is not firing in ASP.NET 2.0
Posted by Michael at 12/30/2005 1:52:24 PM
Hi,
I'm using ASP.NET 2.0. I have code like:
protected void Page_PreInit(object sender, EventArgs e)
{
// do something
}
The Page_PreInit is not firing. Is it supposed to work for User Control? I
should not need to explicitly wire the event, do I? I don't for Page_Load
for example,... more >>
Client Script in ASP.net 2005
Posted by Vivek Dubey at 12/30/2005 1:12:40 PM
I want to use RegisterSlientStartupScript but it is not working properly.
please help me
Regards
-Vivek
... more >>
Request received well, returning it results in loss of data!
Posted by Edwin Knoppert at 12/30/2005 12:46:32 PM
I'm doing a simple test, about 100 lines of data of ~200 bytes each.
I'm using WebRequest() and HttpWebResponse() calling a generic handler.
What i pass to the webserver (tried local as not local) i return directly
using Response.Write() per line.
The server receives the data 100% ok.
Both... more >>
ASP to ASP.net -- Include Files?
Posted by Phillip Windell at 12/30/2005 12:39:18 PM
I have a site done in Classic ASP that I may want to rebuild with ASP.net
(VS2005). But I have a lot of knowledge gaps. What is the ASP.net
counterpart to the old include files? The site currently uses Include Files
for the Header accross the top, Menu down the left side, and footer at the
bot... more >>
ASP.NET webservice & Javascript
Posted by Karl at 12/30/2005 12:21:43 PM
Can Javascript code catch an exception thrown in an ASP.NET webservice?
(Using XMLHTTPRequest object to send the SOAP message to the webservice.)
If so, what't the Javascript syntax please?
TIA... more >>
HTTPModule does not run
Posted by Erik Cruz at 12/30/2005 11:06:21 AM
Hi.
I wrote an HTTPModule to log errors from my application. The component works
well on all the development machines running Windows XP or Windows 2000 and
VS.NET 2003. When I run the application on the server, a Windows 2003 box,
the HTTPModule does not run. If I change the component to a... more >>
Accessing Session variables when using SQL Server for Session state
Posted by Michael at 12/30/2005 11:05:03 AM
Hi,
If I use SQL Server to store session state, whenever I call
Session["myvariable"] is there a call to SQL Server? Even if I call
Session["myvariable"] a few times in the same Web page, or even the same
code block?
I'm asking because if there is one SQL Server call every time I have
... more >>
How do I copy App_Data info to production server?
Posted by Paolo at 12/30/2005 11:05:03 AM
I have been following a few walkthroughs that came with VS 2005, and they
work fine (I had to change the machine.config files to work with my SQL 2005
Pro version, instead of the SQL 2005 Express). Pages dealing with logins,
New users, etc... locally work fine, I am able to add users, log in ... more >>
Content Place Holder Question
Posted by Brian at 12/30/2005 10:21:00 AM
Hello...
I've created a master page in Visual Web Developer and it creates a content
place holder. That's fine and all but I can't seem to resize it. Any
suggestions?
Thanks,
Brian
... more >>
Case in Join
Posted by tshad at 12/30/2005 9:39:45 AM
Can you put a Case statement in a Join?
My problem is that I have 2 possible fields I want to join to the same
table. If one is null, use the other.
For example:
Create Table Position
(
UserID1 int,
UserID2 int
)
Create Table Logon
(
UserID int,
UserName
)
I... more >>
what's better?
Posted by rodchar at 12/30/2005 8:32:04 AM
hi all,
is it better to set an html table's width property to percent or pixels?
thanks,
rodchar... more >>
Novice question: AJAX for ASP.NET and all that Jazz...
Posted by Blue Streak at 12/30/2005 8:26:32 AM
I am trying to wade into the waters of client-side scripting to be
integrated with ASPdotNET.
Are there any ready-made tools for use wth dotNET? I am assuming that
is what ajaxnet and ajaxnet-library are for...then, of course there is
Atlas by Micro$oft. Ugh! I'm suffering from information ... more >>
PDF rendering
Posted by Nautilus at 12/30/2005 7:35:57 AM
Hi there!
We are rendering some PDF reports from an ASP.NET application, directly
to the IE browser. Those reports are beign generated from a SQL
Reporting Services server. We have the requirement of displaying the
reports inside the browser. In order to do that, we have this:
Response.Clea... more >>
Multiple customized versions of web.config
Posted by Mike Kelly at 12/30/2005 7:29:02 AM
Hi.
I've got a standard setup with a web app (ASP.NET 2.0) that I develop on my
machine, deploy to a QA server for testing, and then on to a PROD
environment. To facilitate the deployment process, I am utilizing our SCM
tool and things are working just fine. I make a change on my machine, c... more >>
Query data from multiple tables and saving back
Posted by mimo at 12/30/2005 6:56:03 AM
Hello,
I have seen samples on how to pull data from one table and save back to it
using the Form View control.
How do I pull from multiple tables and save back to multiple tables on one
screen? Is there a sample of this somewhere?
For example I want to create a Name and an Address from... more >>
Common Website Issues
Posted by JJ at 12/30/2005 6:52:40 AM
Hi,
We have two websites that are almost identical except for the
frontend. The business rules and the databases are the same. We want to
basically use one website for our different clients but the look of the
website would be different for each client. How can we design the
frontend to add... more >>
Calendar Control
Posted by mimo at 12/30/2005 6:49:03 AM
Hi,
I trying to develop an application that will have a calendar control that
will allow me to put hyperlinks in the days of the calendar. And I need to
be able to do this in a day, week, and month view.
Is there a 3rd Party control that will allow me to have access to certain
dates to... more >>
How to speed up file upload in 2.0
Posted by Mike Kelly at 12/30/2005 5:01:01 AM
Hi. I've built a page using standard ASP.NET 2.0 features and when I upload a
large file (>20MB) to our intranet server, I get a paltry 100KB/s on our
100Mb/s LAN. Simply copying the file, I get around 7MB/s.
I'm using a FileUpload control on an .aspx page, and then I'm writing the
MyFileUp... more >>
drop down listboc in grid
Posted by OscarArg at 12/30/2005 4:11:02 AM
Hello
asp.net , VB.net
Version 1.1
I have aspx page with a grid with a drop down list in a column. The DDL
causes postback. I need to put some code to be executed on the server when
the postback is caused by the DDL (and identify the table row) . However,
this control does not cause a grid_... more >>
|