all groups > asp.net > march 2007 > threads for tuesday march 27
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
WEB page to read a single lined text file
Posted by JMG at 3/27/2007 11:00:23 PM
Hi All,
I have no idea if this is the correct place to post this question, but
I'm hoping so :). My problem is that I have a text file containing 5
sets of passwords on a single line space delimited line, which is used
to change passwords on a daily basis via DOS batch files (don't get me
star... more >>
asp.net out of memory on transform why? Is there thread limit?
Posted by Donald Adams at 3/27/2007 8:00:44 PM
I'm creating Word 2007 reports in asp.net 1.1 via xml transform.
I get data from the SQL server in .5 sec., first transform takes less than a
sec. and uses 10MB.
I have 900MB free memory of the 2GB memory.
On following reports generations, I get out of memory on the transform
command and only... more >>
Drag and drop web parts like live.com
Posted by Dave at 3/27/2007 7:59:02 PM
I'm trying to drag and drop web parts like on http://www.live.com/. I've got
basic drag/drop working for webparts between zones, but can anyone tell me if
it's possible to drag and drop without a postback like this in asp.net 2.0?
Thanks, Dave
... more >>
Are Postback and Round Trip to the Server the same thing?
Posted by Tony Girgenti at 3/27/2007 7:36:16 PM
Hello.
I'm trying to undetrstand ASP.NET 2.0 and javascript.
When i have a button and i click on it and i see the web broswer progress
bar at the bottom do something, does that mean that there is postback
occurring? Does that mean a round trip to the server occurred?
I keep reading jav... more >>
DataAdapter select assuming integer
Posted by tshad at 3/27/2007 7:10:17 PM
How do I tell DataAdapter that Column 2 and 3 are string and not integer?
Following is the example data that comes from the .csv file
FEDERAL TAX,1084,0000
COREHCR,1084,0000
CLIENT P,1084,0000
The select is:
Dim da2 As New OleDb.OleDbDataAdapter("Select * from " &
"CorelandGLConversio... more >>
Javascript problem
Posted by Diffident at 3/27/2007 7:04:41 PM
Hello All,
I am trying to offer "Print" functionality using an HTML button with the
help of "window.print()"
This button works fine in Firefox but not in IE7. I am dumping the entire
content of the page which has this HTML button code onto a different page
using document.write. Everythin... more >>
Mail Merge & DataSets
Posted by Badis at 3/27/2007 7:03:11 PM
Hi,
how can I use a dataset (as my datasource) to perform a Word Mail Merge?
maybe methods like wrdMailMerge.OpenDataSource()!? or
wrdMailMerge.DataSource...!? could help but I don't know how to do it.
a simple example could realy help.
Thanks... more >>
Check to see if a value is a DateTime
Posted by Jon at 3/27/2007 6:13:44 PM
Hello all,
I've written the below but am aware it's not the best way to do it. Does
anyone have any other example please? The method simply checks to see if the
value is a date.
try
{
p.Value = DateTime.Parse(coll.Get(i)).ToString("yyyy-MM-dd");
}
catch
{
p.Value = coll... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Ajax Error Message - 12031
Posted by mcimaging at 3/27/2007 6:05:41 PM
We have recently applied AJAX to our web site, nothing particularly fancy,
just some update panel, progress images and collapsible panels, just the
basics to improve the user experience.
The project has gone fantastically well except we have ran into a strange
error when accessing the site ... more >>
visual web developer
Posted by rodchar at 3/27/2007 5:49:38 PM
hey all,
in vs2003 i could switch from debug to release when i was ready to deploy.
can someone please tell me how to do this in visual web devloper 2005 express
edition?
thanks,
rodchar... more >>
Can't run the Web Site Administration Tool
Posted by sumwun at 3/27/2007 5:21:25 PM
Why is it that whenever I try to run the Web Site Administration tool from
Visual Studio 2005 by selecting Website->ASP.NET Configuration, I always get
a browser window with the following message: "An error was encountered.
Please return to the previous page and try again." ? This happens no ... more >>
Asp.net name convention
Posted by nkw at 3/27/2007 5:13:37 PM
I usually name the controls as txtSomething, ddlSomething, gvSomething.
However, the FXCop indicate it's an error and Pascal convention is preferred.
Any good suggesion on ASP.Net control name convention?... more >>
Looping nested queries? (DataReader woes)
Posted by Greg Stevens at 3/27/2007 5:12:46 PM
I am connecting to an Oracle database using an OleDbConnection. I am using
DataReader objects to get query results. However, this limits me to only
having one reader open at a time, which is a problem for one of the
operations I am doing.
I have a table with hierarhical data (only 3 level... more >>
Failed to access IIS metabase.
Posted by Jibey Jacob at 3/27/2007 5:03:18 PM
Hi:
I'm getting this error when I try to browse to a .aspx page that is located
on a virtual directory located on my Win XP Pro machine. There's more text in
the page that is displayed that says "the process account used to run ASP.NET
must have read access to the IIS metabase (e.g. IIS://s... more >>
deploy win2000 server
Posted by rodchar at 3/27/2007 4:57:42 PM
hey all,
i have an application i'm deploying to my win2000 server that has the same
identical Application variables and session variables (because base on a
template sort of) as another application on the same web server. Will this
cause undesired results in anyway?
thanks,
rodchar... more >>
ASPX page is in memory
Posted by Arunesh Mohan at 3/27/2007 4:54:25 PM
Hello All:
I have an ASPX A.ASPX where I am displaying realtime data using embedded
ASPX page B.ASPX. When I go to next page/previous page from A.ASPX page, I
am able to go to next/previous page but when I try to perform any action on
next/previous page, it gives me an internet explorer er... more >>
ImageTag Inside Dataview
Posted by MikeB at 3/27/2007 4:31:08 PM
Hello All, can someone please help me with the correct syntac of this?
<asp:Image ID="image" runat="server"
ImageUrl="~/Photos.aspx?UserImage=Y&Height=200&Width=150&ImageSource=<%#
Eval("PhotoPath") %>" />
If I right click on what is displayed, it isn't usig the Value of <%#
Eval("Ph... more >>
Repeater Variables
Posted by nickname at 3/27/2007 4:22:32 PM
<%
int currentYear = 0;
%>
<asp:Repeater ID="RepeaterEvents" runat="server"
DataSourceID="SqlDataSourceEvents">
<ItemTemplate>
<% Response.Write(currentYear); %>
</ItemTemplate>
</asp:Repeater>
I have the above code, for each record ... more >>
Record a "how to" video of app
Posted by NH at 3/27/2007 4:22:07 PM
This isnt really a pure asp.net question but here goes. I want to create some
type of small video file to show users how to do things in my asp.net app.
How do you do that? Any suggestions on what software I need?
For example I would like to create a 3-5 second clip showing the IE broswer
... more >>
Web content access
Posted by I am Sam at 3/27/2007 4:18:35 PM
Hello everyone,
It has been a while and I need some help. I need to access specific
information on a third party web site and return that specific information on
a web site I am working on. Is there a library or namespace I can use that
will provide support for such a feature or do I have... more >>
Macintosh browser buttons disabled.
Posted by Chris Davoli at 3/27/2007 4:17:40 PM
Deveoped a ASP.Net web site that works perfect on IE. Tried on a MAC and it
won't allow buttons to be pushed. What can I do to allow buttons and drop
downs to work?
--
Chris Davoli
... more >>
Cannot delete user with Web Site Administration Tool
Posted by Roger Martin at 3/27/2007 4:10:40 PM
When using the Web Site Administration Tool, I get the following error when
trying to delete a user in a web application I configured to use membership,
roles, and profiles:
"An error was encountered. Please return to the previous page and try again.
The following message may help in diagn... more >>
Mail Merge in Cache Database
Posted by Badis at 3/27/2007 4:03:54 PM
Hi,
I'm trying to do mail merge to word document where the data source is from a
database called "Cache" from intersystems using this code:
public CacheConnection cnCache;
string cacheConnectString =
ConfigurationManager.AppSettings["CacheConnectionString"];
cnCache = new CacheC... more >>
Sandcastle and ASP.NET
Posted by MarcG at 3/27/2007 4:00:51 PM
Is there a relatively straightforward way to get Sandcastle hooked into the
asp.net 2.0 development process? I have a C# app I'm developing that has code
in both the root and App_Code directories.
Sorry for the post here - only confilicting info in the various blogs.
Thanks,
Marc... more >>
complete newbie question
Posted by Darren at 3/27/2007 3:27:48 PM
Hi,
Having just downloaded & installed VD2005 Express Edition, read through some
tutorial & worked though a sample or two I copied the tutorial files into a
directory under IIS (running XP Pro SP2).
When I ran/debugged the pages under VS2005 the pages displayed with no
issues. When the f... more >>
MS AJAX 1.0 (newbie) - getting values from controls on page
Posted by lawrence.farrell NO[at]SPAM gmail.com at 3/27/2007 2:09:52 PM
I have a page with a grid and multiple DropDownLists. I would like
the grid to update on selected index changed on all DDL. I know how
to get at the page method on the page to update the grid, however, I
can't access the values of the controls on the page when I change the
method to webmethod.... more >>
Automatic authentication Problem
Posted by cyrusthevirus2007 NO[at]SPAM gmail.com at 3/27/2007 2:05:17 PM
I'm having a lot of difficulty finding any info on this. Maybe there
is different approach. I have a web application X that uses form
authentication. I want to be able to automatically login another web
application Y into X through a user name and password. So for e.g. if
a user is in Y there w... more >>
bug - calendar control and .css
Posted by Keith at 3/27/2007 2:05:07 PM
I came across what appears to be (and there are several discussions in
this group that seem to agree) a bug with the calendar control and
it's use (or lack thereof) .css
I changed the DayStyle .cssClass property but it is ignored - .NET
still renders each day with style="color:Black".
Anyon... more >>
Access is denied - Win2003, IIS6, VB.NET, WORD COM object
Posted by royan at 3/27/2007 2:01:45 PM
Help please! I have the same problem which this post
http://groups.google.com/group/microsoft.public.vsnet.vstools.office/browse_thread/thread/91275741fa1e100f/164638c6d6ba3872?lnk=gst&q=System.UnauthorizedAccessException%3A+Access+is+denied.&rnum=1&hl=en#164638c6d6ba3872
When I deploy our ASP... more >>
How to use response output with a stringwriter?
Posted by darrel at 3/27/2007 1:25:47 PM
I'm creating an RSS feed based off of this tutorial:
http://www.uberasp.net/ArticlePrint.aspx?id=17
In a nutshell, they are doing:
Response.Clear()
Response.ContentType = "text/xml"
....use xmltextwriter to create xml...
response.end()
I want to do the same, but instead of using an ... more >>
System.Net.Mail versa System.Web.Mail
Posted by Frank at 3/27/2007 12:46:24 PM
Hi,
I am hoping to find out the differences between the
System.Net.Mail and System.Web.Mail.
Can some nice folks post the differences; or some urls which show the
differences?
Great Thanks
Frank
... more >>
Easiest way to make drop down list and textbox the same width
Posted by Greg at 3/27/2007 10:59:32 AM
Embarassingly simple this one :(
The below html renders the drop down significantly shorter than the
textbox. Which setting (border etc) is the correct way to get these 2
controls to appear the same width?
<select name="DropDownList1" id="DropDownList1" style="width:
100px;"></select>
... more >>
Wierd problem with session ending in ASP.NET 2.0 with VS ASP.NET Development Server
Posted by Ken Varn at 3/27/2007 10:50:54 AM
When I am running my ASP.NET 2.0 application using VS.NET 2005 ASP.NET
Development Server, the session state seems to be getting lost at various
times without warning. I am not sure why this is happening. It is not
related to timeout because it occurs way before the default of 20 session
t... more >>
ASP.NET Forms Authentication Cookie
Posted by tdavisjr at 3/27/2007 10:26:44 AM
Hi,
Does anyone know how to force asp.net authentication to create a new
session cookie after using the FormsAuthentication.SignOut() method.
ASP.NET_SessionId is the name of the session cookie that is use,
however, after logging out, the value of this session cookie remains
the same and user... more >>
IIS Directories on-th-fly
Posted by John at 3/27/2007 10:21:07 AM
Hi
Sorry if this appears twice but I posted yesterday afternoon (March 26th)
and it appears to have been lost in the wind.
On to my problem. I am creating virtual directories for IIS in my code but I
need this directory to redirect to a URL. You can set properties up for the
folder such ... more >>
Session State Providers - Which One?
Posted by johnhjonesjr NO[at]SPAM gmail.com at 3/27/2007 8:22:13 AM
I just published a website that uses ASP.NET 2.0 login controls. The
SQL Server instance has been configured to use the membership and
roles, however I am confused as to what session state provider to use
(InProc, OutOfProc, or Sql). Do I have a choice and if so, which is
easiest to configure?... more >>
browser compatability IE6, Mozilla, css, and master pages
Posted by Harry at 3/27/2007 7:41:28 AM
Master pages look ripping in IE7, and css works well, but of course not in
any other browswer. Forget Safari, no css is evident, and in IE6 you cannot
align the content placeholder at the top of the page if any other div has
something in it.
Any idea where to go to solve this type of problem?... more >>
Ajax NumericUpdownExtender - How do I use it?
Posted by mark4asp at 3/27/2007 7:17:25 AM
Hi,
Does anyone understand how to get the NumericUpdownExtender working?
The documentation is very terse and there seems to be no tutorial or
example provided.
Help please.
... more >>
Live Video Streaming
Posted by Asif at 3/27/2007 6:48:55 AM
Hi all,
Can any one help me out about how to do live video streaming in
asp.net page similar to YouTube.com?
Thanks a lot
Asif
... more >>
dataset
Posted by shapper at 3/27/2007 6:48:54 AM
Hello,
I have a dataset with only one record.
I need to access the value in each column given its name.
How can I do this?
Thanks,
Miguel
... more >>
Generic List
Posted by shapper at 3/27/2007 6:12:43 AM
Hello,
How can I convert a Generic.List(Of String) to a single string where
all elements are separated by a comma?
My string would become:
"item1,item2,item3"
Thanks,
Miguel
... more >>
Accessing the page from dynamically loaded control
Posted by Alexey Smirnov at 3/27/2007 5:12:51 AM
I have a web form, which load a web control by using the LoadControl
method
void Page_Init(...)
{
Control ctl = LoadControl(Request.QueryString["module"]+".ascx"); //
url = default.aspx?module=control1
Panel1.Controls.Add(ctl);
}
Now, I want to add to the web form a DropDownList control,... more >>
xBrowser CSV Content Types
Posted by trullock NO[at]SPAM hotmail.com at 3/27/2007 5:07:59 AM
Hi,
Ive got a button on a page which creates a CSV and writes it to the
response stream for the user to download...
private void btnCSV_Click(object sender, EventArgs e)
{
Response.ContentType = "text/plain";
Response.AddHeader("content-disposition", "attachment; filename=
\"List.... more >>
Default Namespace
Posted by TARUN at 3/27/2007 5:05:37 AM
Hi, Is there a way to change the default namespace "ASP" in ASP.NET
when I
try to create a project of UserControls?
Many Thanks
Tarun sinha
... more >>
Debugging
Posted by Zeba at 3/27/2007 4:29:34 AM
Hi guys!
I need some help with debugging my website. I ran the debugger as
usual (F5). I believe the aspx page is supposed to display before the
control goes to the code-behind ( where I have put break points),
rite ?? The page does not load. Firefox just shows a "Waiting for
localhost" stat... more >>
server application unavailable
Posted by Francesco Spegni at 3/27/2007 4:05:40 AM
hallo,
i'm going to ask a solution for a "classic" problem. actually i read a
lot about possible solutions to it but i was not able to solve it.
the "patient" is:
- a test server where i have "limited" power (alias, i cannot re-
install everything i want :-/)
- windows 2000 sp 4 w/ iis 5.0... more >>
Question about UpdatePanelAnimationExtender
Posted by Victor at 3/27/2007 12:45:39 AM
Hi guys
I tried to use UpdatePanelAnimationExtender in my login form. I want to hide
my asp login control after user click the login button. My problem is if the
user input the wrong username or password. I want the login control to be
display again so that the user can correct their input. b... more >>
Active Directory - Remote Web server
Posted by Paramasivan at 3/27/2007 12:09:58 AM
Hello All,
I have developed an ASP.Net application for my client which is using
Active Direcotry Authentication and to get some other details of the
user from Active directory.
Now the client has decided to host all his application using his
separate hosting premises which is not in his... more >>
ASP.Net Book recommandation
Posted by Rudi Hausmann at 3/27/2007 12:00:00 AM
Hi!
Which books would you recommand for studying ASP.Net?
Following topic interest me:
- Creation of Custom Controls (incl. Custom Events, States, etc.)
- BussinessObjects (N-Tier-Applications, especially design
recommandation so that the business objects work together with GirdView
an... more >>
customvalidator do not work with empty fields
Posted by Eric Layman at 3/27/2007 12:00:00 AM
Hi everyone,
I noticed that customevalidator won't work with empty fields. But I do not
want to put in another requiredfieldvalidator
Any workarounds?
I've tried
if args.Text.trim.length() = 0 then
args.isvalid = false
exit sub
end if
Posted Via Usenet.com Premium Use... more >>
customvalidator to return 2 different error messages
Posted by Eric Layman at 3/27/2007 12:00:00 AM
Hi,
Are there ways for customvalidator to have 2 different error messages?
eg: i have 2 conditions to check using customvalidator
depends on condition, i would need to return 2 different error msg
but the CustomValidator ErrorMessage attribute only allows one error msg.
Am I mistaken ... more >>
already an open DataReader associated with this Command which must be closed first
Posted by Bart at 3/27/2007 12:00:00 AM
Hi,
i get the error:
"There is already an open DataReader associated with this Command which must
be closed first"
Thanks
Bart
-----------------------------------------
Imports System.Data.sqlclient
Imports System.Data
....
....
sql = "SELECT count(*) FROM pc where lokl='" & w & "';"... more >>
System.Collections.Generic.List
Posted by Kuldeep at 3/27/2007 12:00:00 AM
Framework: Visual Studio 2005, ASP.NET
Programing Language: C#.NET
I am using a Generic List Collection to fetch a particular master data from
the database. Once collected, I use this Collection to bind it to a
DataGrid.
Now that I am using a Generic List Collection to populate the DataGrid... more >>
ANN: Bricksoft Fast IM COM SDK V1.5 released!
Posted by Jianmin Wu at 3/27/2007 12:00:00 AM
ANN: Bricksoft Fast IM COM SDK V1.5 released!
Bricksoft Fast IM COM SDK ChangeLog
v1.5.20070327
Fix not call from Microsoft Visual Studio 2005.
Fix some memory leak in ICQ.
Add one VB.NET demo.
v1.2.20070122
Fix Unicode message bugs.
v1.0.20070113
Initial version release.... more >>
|