all groups > asp.net > may 2007 > threads for wednesday may 2
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
ASP.Net VB Web Parts - Connections work fine, until I close, then reopen a web part.
Posted by itfetish NO[at]SPAM gmail.com at 5/2/2007 10:35:59 PM
Accidentally put this in normal ASP newsgroup, so reposting:
I'm just starting out with ASP.net, making a web parts intranet.
I'm triyng to get some basic web parts (ascx files) working on a page,
I want them to share a variable, 'StaffID' which one part generates by
looking up the windows l... more >>
How handle need for System.aspx form?
Posted by Ronald S. Cook at 5/2/2007 10:35:37 PM
I want to name a form "System", let's say. While I know I can name it
System.aspx and change the class name within to something like SystemForm, I
don't think that's a good practice.
public partial class SystemForm : System.Web.UI.Page
I tried wrapping it within a namespace "Forms" but th... more >>
Creating Powerpoint Presentation in .Net WebApp.
Posted by cp at 5/2/2007 9:15:16 PM
Is there is any way to create a powerpoint presentation on the fly in
a .net web application without using powerpoint application, say for
example using an activex ( FREE! :-) ) or something?
... more >>
problem with Maildefinition
Posted by Dave at 5/2/2007 8:48:55 PM
Hi,
i use this tag within the CreateUserWizard control:
<MailDefinition
BodyFileName="pw.txt"
From="welcome@mydomain.xy"
Subject="your passwoord"/>
The content of file pw.txt is this:
Hi,
Your passwoord is: ##password##
The eTeam
This all works, only that the text i... more >>
Membership Control
Posted by Rahul at 5/2/2007 5:45:09 PM
Hi,
How to configure and user asp.net membership controls? I have all the
required defaults in the database tables.
I get the connection not found error..
Below is my web.config
<?xml version="1.0"?>
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
... more >>
Streaming PDF to browser
Posted by Douglas McCormick at 5/2/2007 5:05:08 PM
Hello,
I am looking for the best way to securely stream a PDF to the browser (IE).
The PDF would be inside our firewall, so presumably there would have to be
some sort of middle-tier app inside the firewall that would receive a
request from a browser and then get the PDF and stream it outsi... more >>
Need help locating an ASP.Net control
Posted by Patrick Bates at 5/2/2007 4:14:48 PM
A year or two ago I saw an example on Microsoft's web site of an ASP.Net
data bound control which worked something like this: Define the control,
specify the number of columns you needed a table to be, define the contents
of each table cell, and then bind a datatable to the control. Let's sa... more >>
Get OldValue of bound field
Posted by David C at 5/2/2007 3:56:40 PM
Using ASP.Net 2.0 and VS2005. I have a GridView that is bound to an
SqlDataSource and I want to get and hold the previous value of a bound
control on the row I am editing. Below is what I am trying but the
txtOldValue.Text is not getting populated. How can I get this to work
and/or is the... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
reset password for ftp
Posted by Ken at 5/2/2007 3:37:21 PM
I tried to make a web page for reset password for ftp users.
Is these any way to change the password without using the servername but
using OU and DC ?
is there good reference for this?
... more >>
NullReferenceException question
Posted by David C at 5/2/2007 3:26:59 PM
I am using ASP.Net 2.0 and VS2005. When I debug the page I get a
NullReferenceException at the following line;
varControl = row.FindControl("ckMasterFile")
When I run the page normally in IE there is no exception thrown and all code
works perfectly. Can anyone give me help on this? Than... more >>
reusing user controls
Posted by Diffident at 5/2/2007 2:57:02 PM
Hello All,
I have a base usercontrol which has a datagrid and a virtual method to
populate the datagrid. I developed a child usercontrol which inherits the
base usercontrol and also overrides the virtual method.
I have a page on which I placed these usercontrols together. The base
usercontr... more >>
Attribute 'onchange' is not a valid attribute of element 'TextBox'
Posted by Joe Kovac at 5/2/2007 2:56:12 PM
Hi!
Using:
<asp:TextBox ID="TextBox1" runat="server"
onchange="onchange()"></asp:TextBox>
I get:
Warning 1 Validation (ASP.Net): Attribute 'onchange' is not a valid
attribute of element 'TextBox'.
How to avoid this warning? What should I do to "fix" it?
Possibly you styles or ... more >>
Reacting on events from IO.Port on WebSite
Posted by Maciej Sondej at 5/2/2007 2:50:52 PM
Hi,
I have problem. I want to react on event which come from IO.Port(RS232). I
have a class that works on console application
class Program
{
static void Main(string[] args)
{
SerialPortProgram s = new SerialPortProgram();
}
internal static void Run()
{
while... more >>
unable to start debugging on the web server
Posted by ian at 5/2/2007 2:41:50 PM
A few weeks ago I was able to run remote debugging from my local
machine (VS 2005 XP sp2) but now I get the following message:
unable to start debugging on the web server. logon failure: unknown
user name or bad password
I logged on to a neighbors computer and I can debug from his so the
se... more >>
Saving configuration items in a .config file vs in a database.
Posted by Mufasa at 5/2/2007 2:30:41 PM
Can anybody give me an opinion on which is more efficient -
Saving parameters in a database that is on the same machine as the web site
or
Reading parameters from a .config file ?
It seems like the constant opening/closing of the connection would be a
congestion spot - plus it would use l... more >>
Textbox to dislplay Time (23:59) or empty string
Posted by Joe Kovac at 5/2/2007 1:17:43 PM
Hi!
I want the user to edit a textbox which allows following values only:
- Time (Format: 23:59, HH:MM)
or
- NULL (empty string)
What can I do, so that this works kinda automatically, meaning on the
client side. It would be also nice, that not only errors would be
detected, but also that ... more >>
Reading cookies in both ASP and ASP.NET pages
Posted by Patrick Dugan at 5/2/2007 1:12:33 PM
I have a mix of ASP pages and ASP.NET pages within a web site. One of the
first asp pages creates several cookies with values. When I try to read
those same cookie values in the ASP.NET pages the values are not seen. Is
this a issue with defining the cookie path in the ASP.NET page? The ... more >>
Error after publishing site: The type specified in the TypeName property of ObjectDataSource 'PositionPostingsDataSource' could not be found.
Posted by Allan Ebdrup at 5/2/2007 1:02:11 PM
I have a asp.net v2 website that runs fine on our development server. I have
published the website to a stage server and it runs fine, but when I publish
it to production I get the following error:
The type specified in the TypeName property of ObjectDataSource
'PositionPostingsDataSource' co... more >>
DataTable.Merge()
Posted by mj2736 NO[at]SPAM yahoo.com at 5/2/2007 12:46:00 PM
I'm a little confused about DataTable.Merge(). I have two DataTable
objects with the same structure - dtOrig and dtCurrent. The end result
I'm trying to achieve is to get all the rows in dtCurrent that are in
some way different from the corresponding rows in dtOrig so those new/
modified/deleted... more >>
current version of assembly not being referenced by website appl
Posted by Steve Richter at 5/2/2007 12:05:22 PM
writing asp.net on a development system ...
I have a class library assembly that I am building every day:
c:\srprojects\DatabaseClasses\bin\debug\DatabaseClasses.dll
In my website apps I reference that assembly in its build location.
It has been working the way I want it to, but now when ... more >>
OnBlur firing when not expected.
Posted by John Kotuby at 5/2/2007 12:01:48 PM
Hello all...
I am working on an ASP.NET 2.0 application with VS2005 and VB. I have chosen
to use popup windows in some cases because it makes the user experience
better (according to all the users I have polled who will be using this
app).
In an attempt to keep the popup from disappearing ... more >>
Average
Posted by shapper at 5/2/2007 10:38:54 AM
Hello,
I have a generic list named Ratings as follows:
Dim ArticleRatings As Generic.List(Of Rating)
Rating is a class and one of its properties is RatingValue.
How can I the mean (average) of all rating values taken from
ArticleRatings?
Thanks,
Miguel
... more >>
Asynchronous programming in ASP.Net 2.0
Posted by Sriram Mallajyosula at 5/2/2007 10:33:01 AM
Hi,
I was going through the article
(http://msdn.microsoft.com/msdnmag/issues/05/10/WickedCode/) regarding async
programming in ASP.Net 2.0 but did not find much of an use with it.
Actually my requirement is that once a user logs in I need to call a web
service which will perform some a... more >>
javascript in content pages
Posted by bbawa1 NO[at]SPAM yahoo.com at 5/2/2007 10:19:48 AM
Hi,
I have a master page and content page. In content page I have to
validate the text boxes for
name,address, phone number and email address etc. But as content pages
doersn't have html section not head or body section so, where I use
this java script in content page to validate the form.
... more >>
controls get in way of viewing design page
Posted by Beemer Biker at 5/2/2007 10:14:11 AM
Data controls such as SqlDataSource get positioned at the top of the design
page and make it hard to see GUI controls. There is no style method where I
can set the position nor can I drag them and drop them down at the bottom of
the page under the grid and all other usefull GUI object.
I f... more >>
reusing user controls
Posted by Diffident at 5/2/2007 9:55:00 AM
Hello All,
I have a base usercontrol which has a datagrid and a virtual method to
populate the datagrid. I developed a child usercontrol which inherits the
base usercontrol and also overrides the virtual method.
I have a page on which I placed these usercontrols together. The base
userco... more >>
Layout Question.
Posted by Ed Sproull [MSFT] at 5/2/2007 9:46:43 AM
First I'm pretty new to ASP.NET and I'm having a simple problem. I have
small website with a header, sidebar and the the content. I want my content
to appear beside my sidebar which seems to be a pretty standard layout.
However when ever I resize my browser the content resizes below the side... more >>
looking for an ASP.NET-callable batch email product
Posted by PJ6 at 5/2/2007 9:24:16 AM
I understand that the best way of sending email in batches from an ASP.NET
application is using a multi-threaded windows service. There must be
products out there that funciton in this way, and I'm not interested in
re-inventing the wheel.
I would imagine I'm simply not serarching using the... more >>
That assembly does not allow partially trusted callers
Posted by Martyn Fewtrell at 5/2/2007 9:02:02 AM
From the amount of articles about this one I’m sure this gets asked a lot,
but I haven’t yet found a succinct article which explains what is required in
its entirety.
I work using Visual Studio 2005 SP1 mainly in ASP.Net using VB.Net 2.0.
I have an application which runs without error ... more >>
can't get aspnetdb.mdf to work on remote host
Posted by Josh Nikle at 5/2/2007 9:00:01 AM
i'm in the process of putting my first .net app on a remote server, and i'm
having no end of trouble getting the aspnetdb database (sitememberships on my
host) to work correctly.
after a lot of research, i'm able to connect to it with this connection
string in my web.config file:
<remove n... more >>
OnMouseOver, ImageMap and AJAX
Posted by BP at 5/2/2007 8:28:52 AM
Hi!
In ASP.NET 2.0, I have an ImageMap, but can't catch OnMouseOver events. I'd
like to pop up a panel (using the AJAX HoverMenu Extender or the Popup
Control Extender) when the mouse is over some hotspots. Unfortunatly those
hotspots don't have an ID associated to them.
Any ideas?
Thanks... more >>
Problem rendering a 100% width textbox on IE using XHTML 1.0 stand
Posted by wclarke101 at 5/2/2007 8:22:03 AM
Hello all,
I've created the following ASP.NET code sample which, when rendered,
displays a 100% textbox within a single cell table. The problem is that
Internet Explorer (6 or 7) truncates the right-hand edge of the textbox. The
textbox renders correctly on Firefox and Netscape.
<%@ Pa... more >>
Text based buttons?
Posted by Andy at 5/2/2007 7:59:01 AM
Hi, I'm tasked with changing the image based buttons on our site to non-image
based buttons...(!)
I can use a hyperlink but these buttons should also have a border around them.
This can't be hard can it? I'm sure I'm missing something...... more >>
Connecting to SQL 2000 database with SQL 2005 tools installed
Posted by Neil Paddock at 5/2/2007 7:54:01 AM
Using asp.net in Visual Studio 2005, we are getting an error message when
trying to connect to an existing SQL 2000 database.. This has only hapenned
since we installed the SQL 2005 client tools.
The error is:
"An error has occurred while establishing a connection to the server. When
... more >>
c# Design Patterns??
Posted by mavrick_101 at 5/2/2007 7:01:01 AM
Hi,
I would like to know more about design patterns and specifically using C#.
Can any one recommend a good book?
Thanks... more >>
How to migrate to WPF?
Posted by Robert Scheer at 5/2/2007 6:44:08 AM
Hi.
We have several internal Windows Forms applications and two ASP.NET
applications that realy heavily on CSS files. We are considering to
migrate the Web applications and some of the Windows Forms
applications to WPF. Is there any tool or guide that can help us to
migrate the presentation l... more >>
Using different version dll's
Posted by Jon at 5/2/2007 5:49:54 AM
Hello all,
We have a small problem which I'm sure there must be an answer, I just
don't know it!
We have written a server control that, as part of the package uses a
number of custom written dll's.
Below is an example scenario:
V1 of our customer control uses V1 of dllA.dll and is pack... more >>
Session Timeout Security Risk?
Posted by Doogie at 5/2/2007 5:17:33 AM
Hi,
We have a page we want to refresh every 30 minutes so that users can
get up to date info. The problem is that there is information within
the session that we need in each refresh to determine what roles the
user belongs to so that we can get the data they need.
The page times out because... more >>
treeview doesn't expand
Posted by ruthie at 5/2/2007 4:11:40 AM
Hi,
If I double click any node in the treeview (besides the root node) -
the child nodes aren't expendad automatically so I must click the
checkbox.
As I understand whenever a double click event happens, the node under
the mouse cursor is expanded or collapsed.
So - what is wrong ?
M... more >>
Many user defined controlls
Posted by etam at 5/2/2007 3:46:18 AM
Hi,
i have created Web UI Control. I need to use it many times on one
page.
My soulution was to add this controls in a loop to Panel (in
Page_Load), it doesnt work. I think it is beacause this control doesnt
have runat="server".
Any solutions? Maybe there is simpler ide?
Thanks in adv... more >>
FileUpload Control
Posted by bsm at 5/2/2007 3:31:19 AM
Hi,
I want to Set asp:fileupload Filename at runtime. When I try to do, it
shows "Readonly" error. Anyway to achieve this.
... more >>
Iterating profiles
Posted by etam at 5/2/2007 3:17:47 AM
Hi,
is there any solution to iterate through all user profiles?
Thanks in advance,
Etam.
... more >>
Last and Final boarding call for all dot net Professionals
Posted by sap oriented jobs at 5/2/2007 1:43:21 AM
Hi All
We have the following requirement for H1B visa Holders.
1. Unisys Cobol Developer (Not Mainframe)
2. Unisys Mapper Developers
3. Powerbuilder
4. Crystal Reports
5. SharePoint Portal
6. Net, ASP , C#
7. Teradata
8. DB2 DBA
9. C, C++
10. WebS... more >>
Regardin the enter key press event
Posted by Greoasy at 5/2/2007 12:02:48 AM
I have a registration page with no of text boxes and 3 buttons for
insert update and delete. and a logout button on the top of the page.
If i place my control in an of the text box and press enter key it
automatically goes to the logout button and it logouts.
Actually when i press the enter key ... more >>
Looking for a newsletter module or component
Posted by 2b|!2b==? at 5/2/2007 12:00:00 AM
I'm looking for a newsletter component for my ASP.Net website. Ideally,
this should allow me to be able to create newsletters that I can sendout
to subscribers.
Preferably, this component will be open source and in C# (but I'm not
too fussy - if its good, I'm willing to pay for a 3rd party ... more >>
|