all groups > asp.net > may 2004 > threads for wednesday may 12
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
OWC11 documentation for ASP.NET
Posted by Gerry Roston at 5/12/2004 11:59:44 PM
I'm not sure what I am missing...
According to
http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B319793,
documentation for OWC11 is found in C:\Program Files\Common Files\Microsoft
Shared\Web Components\11\1033. Sure enough, there are a pile of .chm files
there. However, these files... more >>
Bypassing validation on Cancel Button
Posted by maha_ice NO[at]SPAM yahoo.com at 5/12/2004 11:39:58 PM
Hi,
I am doing a project which uses asp.net to develop its forms. The form
uses validation web controls to validate the data entered in text
boxes. When Cancel Button is pressed which is to exit from the current
page and go to the previous page, the validation controls activate
because data has... more >>
Application Center Test
Posted by Peter at 5/12/2004 11:01:08 PM
Hi
Is there any chance to use Application Center Test with MS Visual Studio .NET 2003 professional. I understand that ACT comes with Architect and Enterprise Developer edition. However, can I download ACT somewhere for professional edition
I don't really understand why it is not included with Pro... more >>
RichTextBox Control
Posted by s_laha NO[at]SPAM rediffmail.com at 5/12/2004 10:22:35 PM
Hi,
Can I put a RichTextBox Control in a WebForm?
My objective is:
User pastes a scren shot (for online problem solving) and then
submits, it gets saved in the DB. An expert looks into this and
solves!
Could anyone please help?
-surajIT... more >>
Reduce Flickering while Refreshing
Posted by Praveen Balanagendra via .NET 247 at 5/12/2004 9:57:25 PM
Hi,
I have many server control dropdown list in aspx page, on changing of one whole page gets refresh which causes lot of flickering..this looks odd. Is their any way to reduce flickering
-----------------------
Posted by a user from .NET 247 (http://www.dotnet247.com/)
<Id>P1I/dqXiZESjQLU4t... more >>
Server Error
Posted by wance at 5/12/2004 9:46:04 PM
I have problem with my studio net 2003. My web Form content a textboox and button. I want each time click button an
textbox is empty, the message will appear suc
Button Click...procedur
IF Textbox.text="" The
msgBox("textbox must be filled...",......
...
ENDI
End Button...p... more >>
Online Help Authoring System
Posted by Ali.M at 5/12/2004 9:11:45 PM
Hi,
I am looking for an online help authoring tool for the web application I am
developing.
Could anyone refer me to a tool with a reasonable price?
Thanks!
Alan
... more >>
calculate distance
Posted by mahsa at 5/12/2004 8:41:04 PM
Hi,i want to give aa zipcode and find the distance between 2 zipcodes do you have any idea?its better i
I can find some thing free but not necessar
tanck you... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
PreRender event not firing on ImageButton
Posted by DalePres at 5/12/2004 8:22:53 PM
Does anyone know if there is a known bug or workaround, or other solution to
this problem?
I have a page with several imagebutton server controls and needed to
handle the PreRender event in C#. In all my tests, on several pages and
circumstances, the Init and PreRender events never fire for... more >>
Carriage Return, Tab
Posted by Jim Heavey at 5/12/2004 8:08:04 PM
In the Regular Expression, I can use \n for Line Feed, \t for a tab and \r
for carriage return. Am I able to use thos same expressions in a "Replace
method" of the string object? such as
NewDescrp = NewDescrp.Replace('\n', ' '); //replace Line feed with space
NewDescrp = NewDescrp.Replace... more >>
if in asp is CreateObject("Microsoft.XMLHTTP"). Is in asp.net this Server.CreateObject("MSXML2.ServerXMLHTTP") ?
Posted by Raúl Martín at 5/12/2004 7:54:17 PM
I´ve a function in asp that run correctly but If I tried to change it
forasp.net
in asp:
xmlHTTP = CreateObject("Microsoft.XMLHTTP")
And I thought to use this sentence for asp.net but the server don´t
response right.
xmlHTTP = Server.CreateObject("MSXML2.ServerXMLHTTP")
I have trie... more >>
Need Advice: HTML newsletter
Posted by VB Programmer at 5/12/2004 7:50:53 PM
I have an HTML newsletter that I want to email to a bunch of people found in
a database.
1. I want some parts of the newsletter to filled in dynamically from a
database (company, address, etc...)
2. I want to email send the HTML newletter in the BODY of the message (ie
NOT an attachment.)
... more >>
modifying web.config programmatically
Posted by vadim at 5/12/2004 7:48:30 PM
Hi,
Is there a .Net control available that allows to write into web.config file
appsettings section?
The idea is to create encrypted user name and password for database
connection and then use them from ASP.Net. The program that will create the
encrypted entries is a simple winform app.
... more >>
Xslt Transformation getting < and >
Posted by PatC at 5/12/2004 7:46:02 PM
I am converting a web deployment system from asp to aspx. The old system used the MSXML2.FreeThreadedDOMDocument and did a .transformNode. The .Net system uses XslTransform() and does a .Transform. My problem is that the resulting HTML page is slightly different in that the does not convert the
... more >>
When will we see Whidbey
Posted by Keith Selbee at 5/12/2004 7:19:03 PM
I was just reading about some of the new features of Whidbey and it sounds
great. Any ideas when this will be shipping?
Keith
... more >>
Running ASP.NET from Another Directory
Posted by Shahir A. Ahang at 5/12/2004 7:05:13 PM
Sorry for the cross-post as I am not sure which group to post this question
to. I am trying to run an ASP.NET application in IIS 6.0. If I have my
application in the c:\inetpub\wwwroot\app1\ directory, which the Default
Website is pointing to, the application works. However, if I create a new
... more >>
Problem with w3c validator in script definition of doPostBack
Posted by Alfonso Alvarez at 5/12/2004 7:02:42 PM
Hi:
I'm doing a web page using asp.net and framework 1.1. When I upload the
page to server and try it with html validator of w3c, trying with html 4.01
an xhtml 1.0, I receive an error in the script definition of __doPostBack
method because de element type is not defined. This script is auto... more >>
creating a setup to install into GAC, where can I find an example?
Posted by Bob at 5/12/2004 5:38:38 PM
Could anyone suggest me some examples/articles on creating a setup program
in VS.NET that can install the assembly into the GAC? I have done some
search and research myself and have some basic understanding on how to
create a setup program. All the articles about Windows Installer 2.0 is the
b... more >>
Request .querystring problem
Posted by mahsa at 5/12/2004 5:36:02 PM
Hi have have some link like thi
http://x.com/Shoppingcart.aspx?pn=ps50210&qty_ps50210=1&pn=excel&qty_excel=1&pn=l4504000&qty_l4504000=1&sku=PS50210&cat=laminate&action=updat
now I want to request the dat
I use this code in as
<%For Each strPartNo In Request.QueryString("pn"
lngQty = Request.... more >>
Custom handler for HttpRequest validation
Posted by Rob at 5/12/2004 5:10:42 PM
I am developing an intranet application, that has to pass interanl security
audit. The framework version that I am using is .Net framework version 1.1.
Some combinations of text entered in any text box , involving for example a
"less than" character followed by any alpha character, trigger an exc... more >>
conditional user control
Posted by suzy at 5/12/2004 5:08:14 PM
hi,
how do i show/hide a user control depending on a condition. i can't write
an IF statement because im referencing the user control from html.
i am thinking of putting a panel control on my html instead of the
usercontrol, then adding the user control to it at runtime (depending on
cond... more >>
compilation question
Posted by TS at 5/12/2004 5:06:05 PM
I have read that the first time a page is requested, it is compiled. If the
page has a code behind page, with no code on the design page, only html and
server controls, why does the page have to compile since the dll is already
compiled?
When Java script tags that point to files instead of hav... more >>
requireSSL not working on web site
Posted by javatopia at 5/12/2004 4:56:02 PM
I have a web site that is configured for FORMS authentication. I have the "requireSSL" parameter set to "true" and the authorization set to "deny" any unauthenticated users. For whatever reason, though, when I go to the site using HTTP it never redirects me to HTTPS.
What should I be looking fo... more >>
trace output stops appearing
Posted by JR at 5/12/2004 4:11:14 PM
I'm experiencing a problem where, for seemingly no reason, trace output
stops being logged (and appearing on my pages.)
trace.enabled suddenly just turns to false.
Any idea why this happens? It actually is happening on 2 machines I work on.
Thanks.
... more >>
Submit with validation problem
Posted by Alphonse Giambrone at 5/12/2004 4:05:15 PM
I have a simple login page that has two text boxes, two
requiredfieldvalidators, a couple of labels and a button. It has been
reduced down to almost nothing to troubleshoot the below problem.
Added to a project on development machine (Win XP Pro, IIS 5.1, CLR
1.1.4322), works fine.
Deployed t... more >>
architecture questions re frames, popups and user controls
Posted by martinthrelly NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/12/2004 4:01:44 PM
i started by designing my web page using frames. i had my data entry
form in an upper form and my data rows displaying in a lower frame. i
soon discovered that ASP.NET is not really meant for frames so I
changed this to a single page with both the entry form and the
display rows on it which post... more >>
2 questions re data caching and session objects
Posted by martinthrelly NO[at]SPAM yahoo-dot-com.no-spam.invalid at 5/12/2004 4:01:43 PM
2 questions please:
1. At the moment I make a connection to a database whenever a user
logs into my website. I run a few SQL's then store some commonly used
dataTables in session objects for quick access throughout my
application.
I am not caching my dataTables because each of my users are... more >>
application-wide stylesheet
Posted by MattB at 5/12/2004 3:54:05 PM
Is there a place I can specify a CSS stylesheet that will be applied to
all pages in my app? I've been adding it to the <head> of each page, but it
sure would be easier to specify it once. TIA!
Matt
... more >>
ssl certificate
Posted by R.A. at 5/12/2004 3:49:08 PM
Hi
I need some recomandation for getting an ssl certificate - 40 or 128 bit. I
wonder if other than verisign are there some other reliable certificates?
Thanks
... more >>
cataloging MS Word Docs with ASP.NET and SQL
Posted by MDB at 5/12/2004 3:48:45 PM
Once again, just looking to see if my thinking is off base (there's that
naivete again) or if there's a better approach. The requirement is for users
to create MS Word documents that will eventually find their way into a
central directory on the server. Once they're in that place, I'm looking for... more >>
Permission
Posted by André Almeida Maldonado at 5/12/2004 3:17:03 PM
Hey Guys...
I've created my SmartClient that have to print some text directly to the
printer. To do it, I create a text file and after copy it to the printer.
Perfect... But, I am having some permission problems... Look the error:
The application tried to execute a not permited operation by ... more >>
i'm hosed... i'm getting "The resource cannot be found" on remote browsers
Posted by jhill at 5/12/2004 3:16:04 PM
i have a vb asp.net application that has been working fine for a week. if on the server box i type http://localhost/theapp, everything comes up just fine
i've been continually developing. now, when i go to the web page from a remote pc like this
http://the_server/theap
i get a generic error ... more >>
Dead Buttons
Posted by Jim Heavey at 5/12/2004 3:09:20 PM
I have 2 datalist each has 3 buttons in the datalist.
One Datalist, only 2 of the three buttons work in the other one is dead
(no postback, not nothing).
I have another Datalist and on this one, all three buttons are dead (not
postback, not nothing).
To get a button to work on the DataL... more >>
creating word document in asp.net
Posted by Nikhil Patel at 5/12/2004 3:08:37 PM
Hi all,
I need to generate a word document and save it on the server from an
ASP.Net application. Basically I want to load a word template and insert
some field values from a dataset and save the final output as a Word
document. I know there are different options to do this. But I can't dec... more >>
Message Box from .aspx Code-Behind
Posted by April at 5/12/2004 2:32:04 PM
Hello,
I'm fairly new to this whole ASP.NET world, so please bear with me. I =
have an ASP.NET .aspx page. I written most of the functionality in the =
code-behind .aspx.cs file. But, now I need to pop up a message box from =
my C# code-behind code. I don't know how to do this and haven't be... more >>
DirectotyEntry and .NET Remoting
Posted by Magdelin at 5/12/2004 1:26:04 PM
Hi
I have hosted my .NET remote application in IIS 5.0 and the remote client is a ASP.NET application running on a different
Win2K server. The .NET remoting application runs with the logged on user's credentials.
Requirement
From the .NET remoting application I would like to query the Active... more >>
System.Web.UI.WebControls.Table
Posted by martin at 5/12/2004 1:14:07 PM
Hi,
I am using vb.net and visual studio 2003.
I have dragged a table webcontrol onto the designer server and configured a
few columns and cells in the editor for the table control.
Next I wanted to do things like add textbox websever controls to the
individual cells. However, the designer w... more >>
How do I change the BackColor of a Repeater?
Posted by john_20_28_2000 NO[at]SPAM yahoo.com at 5/12/2004 12:38:26 PM
I have a repeater and based upon some database results want to change
the backcolor or font color of the row at my databind statement.
I have done this before with a datagrid:
e.Item.BackColor = System.Drawing.Color.Red
But this is unavailable with the repeater. Do I have to change to a
... more >>
Sometimes error in same page
Posted by Sorin Sandu at 5/12/2004 12:31:09 PM
I have a simple page with a grid on it based on a stored procedure
Sometimes I get this error :
Request timed out.
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information
about the error and where it origin... more >>
Passing null values to a SQL Stored Procedure.
Posted by jhoge123 NO[at]SPAM yahoo.com at 5/12/2004 12:13:52 PM
Is it possible to pass a null value to a stored procedure in .net?
I have a search Sproc that can take one of two numbers to search on,
but not both. I use the code below to pass a null value to the sproc
if a TextBox is empty.
SqlCommand getLesNumbers = new SqlCommand();
getLesNumbers.Comm... more >>
hiding groups of data elements on a webform?
Posted by MDB at 5/12/2004 12:07:30 PM
This may sound like a naive question, but that's only because I'm naive
about most things ASP.NET, as my background is primarily Lotus Notes
Development, and before that, DOS-based FoxPro.
Is there a way to group elements, such as a set of textboxes and related
labels, in effect giving them a ... more >>
Link to cause postback
Posted by martin at 5/12/2004 11:57:46 AM
Hi,
I would like to place a normal link <a href=..> on my webpage and when it is
clicked for the form to be posted back.
I guess that I will have to have to link point to some javascript code and
have the javascript code "submit" the form, in order for the postback to be
initialed.
Could... more >>
ODBC DSN Connection
Posted by Karl A Mikesell at 5/12/2004 11:44:02 AM
Using ODBC DSN connection in ASP.net does not work, but same code will
execute properly as a Windows application, is this the result of .NET Code
Access Security, since user DSNs are registry based?
What would be required to allow (ASP.net) Web Application to use ODBC DSN
connection?
Bravo... more >>
Opening a new window
Posted by YouKnowIt at 5/12/2004 11:37:22 AM
When I use response.redirect or the href to open a new window the sessionID
also changes. Is there a way to open a new window from the same session ID
in C# using .Net?
Thanks!
... more >>
using Server.MapPath in vb class
Posted by MattB at 5/12/2004 11:33:49 AM
Server.MapPath works fine for me in a CodeBehind file, but when I try and
move that code to a vb class it doesn't. What do I need to change to make
Server.MapPath work from my vb class? Thanks!
Matt
... more >>
web.config location
Posted by mike at 5/12/2004 11:30:47 AM
Is it possible to move the web.config out of the application folder? I
would like it off somewhere out of the web directory
... more >>
Denial of Service Attacks/ASP.NET/Nick Berg
Posted by Peter O'Reilly at 5/12/2004 11:28:07 AM
The news of Nick Berg is shocking enough. Having his video released and
made widely available, in its _totality, including the decapitation, makes
those web site operators accomplices in this ghastly crime.
Perhaps there should be a call to arms here in this newsgroup. Folks should
post the ... more >>
what is index.dat in regards to cookies?
Posted by Jason Shohet at 5/12/2004 10:46:58 AM
I used to recall, when i started doing .NET years ago, that cookies written
in js, or .NET cookies, were placed in the cookies folder (documents &
settings, cookies). Now I just see this index.dat file getting updated
instead and I suspect the cookies are held in there somehow. How do you ge... more >>
Access Denied Machine.Config
Posted by Brian at 5/12/2004 10:36:02 AM
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Access is denied: 'courses'
Source Error:
Line 197: ... more >>
Standard way of doing ...
Posted by Lerp at 5/12/2004 10:19:20 AM
Hi all,
I am building an app that has a lot of one to many relationships and was
curious as to the best method in displaying rows of data from both tables on
the same line.
ie:
row1 of 100 for example in my datagrid:
customerid(1st table), firstname(1st table), lastname(1st table),
... more >>
Validation control
Posted by simon at 5/12/2004 10:11:38 AM
I have textBox and field validator on my panel:
<asp:TextBox id="txtID" Runat="server" Text="" Columns="5"></asp:TextBox>
<asp:RequiredFieldValidator id="Requiredfieldvalidator2" runat="server"
ErrorMessage="Enter in the typeID."
ControlToValidate="txtID"></asp:RequiredFieldValidator>
Then... more >>
Question on Reference
Posted by Wayne Wengert at 5/12/2004 10:10:31 AM
I built a project in VSNET 2003 and it initially named the first form
"WebForm1". I changed the name of the form to "Eval1" but when I look at the
HTML code I see that it still shows WebForm1 in the "Inherits" element:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="myProj.aspx.vb"
... more >>
Count lines of code in a project
Posted by Mark at 5/12/2004 9:39:19 AM
Is there a way to determine how many lines of code exist in a project?
Rough estimates without having to go through page by page would be fine.
Thanks in advance.
Mark
... more >>
sending JavaScript code from server control to client ???
Posted by ozcankanbur NO[at]SPAM yahoo.com at 5/12/2004 9:04:08 AM
How can I send a javascript code from an asp server control to client
and run that script on client
for example;
when an asp server button clicked, an alert javascript must be sent to
client and run on the client
how can I do that?
please send an example if possible,
thank you very much!... more >>
win 2003 server
Posted by Mike at 5/12/2004 8:49:45 AM
I setup my .NET web app on my IIS6 2003 Server and when I try to run my web
page, I keep getting a message telling me i'm unauthorized to view the page.
I have the permissions setup the same way another web site (non .NET though)
and i can view the the non .net site but can't view the .net site... more >>
Checking IsValid in the web form
Posted by R.A. at 5/12/2004 8:43:59 AM
Hi
If I use the client side validation control, do I need to check for IsValid
on the server side? if yes then why?
Thanks
... more >>
Is there a way to publish to my web host from vsnet
Posted by Tim Zych at 5/12/2004 8:14:26 AM
Every time I make a change to the project, I drag/drop from the app folder
to my web host. Is there a way to "publish" changes from vs.net? If so, how?
Thanks.
... more >>
Applying formating to <%# DataBinder.Eval(Container.DataItem, "some_field")%> statements
Posted by Charlie NO[at]SPAM CBFC at 5/12/2004 8:01:44 AM
Hi:
Is it possible to apply formatting to above statements which insert field
values into HTML when binding to a datasource using Repeater control? For
example, I would like to trim trailing spaces. Also, I have tried things
like this, but can't get them to work:
<%# DataBinder.Eval(Conta... more >>
secure textbox
Posted by DDK at 5/12/2004 7:46:35 AM
How would I let users input HTML in a textbox, while securing it from script
attacks with ASP.NET + C#?
Thanks,
d.
... more >>
Access custom objects from codebehind
Posted by girouma NO[at]SPAM hotmail.com at 5/12/2004 7:17:03 AM
Hi,
After using an assembly compiled into a DLL and added to the assembly
cache for several months, we decided that it was too much trouble to
maintain because of all the steps involved with every minor change
(e.g. making the change, compiling, uploading the dll to the
production server, ope... more >>
Emailing Errors from Pages
Posted by bonei NO[at]SPAM vafb.com at 5/12/2004 7:11:42 AM
I am trying to get my "Global.asax" error handling event to email me
an error description. I believe I have the SMTP code correct and
pointing it to my company's Exchange Server. I still fail to get my
"localhost" installation of my app to send emails. I have checked in
MMC to see that the Defau... more >>
Table
Posted by Jim Heavey at 5/12/2004 6:50:37 AM
I am trying to figure out how to make a Table bigger then the width of the
screen. I have tried things like "<Table width="1000px". I have also
tried to specify widths on columns, but everyghing seems to be ignored and
the table control is always displayed within the area of the screen. How... more >>
Validation Control Problem
Posted by Shathish at 5/12/2004 6:46:08 AM
Hello Al
I have several forms;in each form i have several kind of asp.net validation controls-for eg-in one form i have 2 requiredfield validators,2 compare validators and a custom validato
when i submit the form intially the first two requiredfield validators will work and after correcting them a... more >>
how do i know the frame my page is in?
Posted by dik mus at 5/12/2004 6:21:59 AM
I hope this is the right newsgoup for this question.
I give it a try,
I show my asp.net page in a frame from a page of another
application.
Everything works fine, but now (for security reasons) I
want that my .net page can ONLY be viewed as a part of
the main page.
If the page is acce... more >>
Page output display must be refreshed?
Posted by Roy Chastain at 5/12/2004 5:32:44 AM
I have the following simple aspx page hosted on a Win2k server with version 1.0 of the framework
<%@ Page Language="C#" debug="true" %>
<script runat="server" language="C#">
void Page_Load (object sender, System.EventArgs e)
{
Response.Write("value of email_return is " + ASP.global_asa... more >>
Server Error in "/" application,Object reference not set
Posted by vijay at 5/12/2004 5:31:09 AM
Hi
I am working on a web application. I have huge form where in I have filled some part of the form and after two hours again I started filling the rest of the form but I got the following error
Server Error in '/abc' Application
Server Error in '/abc' Application
>> Object reference not set ... more >>
adovbs?
Posted by bill at 5/12/2004 5:26:15 AM
I'm setting up a "backup" server with another hosting company (just to make sure my website is up 24/7)
On the new hosting server however I'm getting this error everytime the asp pages are run
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one anothe
The f... more >>
how does Style class work?
Posted by terrorix at 5/12/2004 5:13:20 AM
I have create Style class instance and set up properties like this:
Style st = new Style();
st.BackColor = Color.Black;
st.BorderColor = Color.White;
st.BorderStyle = BorderStyle.Solid;
st.BorderWidth = new Unit(1, UnitType.Pixel);
string styleStr = string.format("this.style.cssText='{0}',... more >>
Question about ASP.NET Application Dev, a good development paradigm
Posted by Rod at 5/12/2004 4:28:54 AM
The parent company where I work like to use a methodology popularized by
Fusebox, for web application development. Fusebox, from what I have been
able to gather, is best suited to Cold Fusion. I've checked Fusebox's
website (www.fusebox.org), and even they claim that the current fusebox will
not... more >>
Problem shelling to local console app from production server
Posted by jsausten NO[at]SPAM hotmail.com at 5/12/2004 2:48:09 AM
On my development machine (where the group 'Everyone' has full access
to every directory), the following code successfully shells to a
console application:
Dim objShell As System.Diagnostics.Process = New
System.Diagnostics.Process()
With objShell
.StartInfo.FileName = "C:\Project\MyApp\... more >>
IIS Intermittent access forbidden
Posted by trinitypete at 5/12/2004 2:36:07 AM
Hi all
I have a strange problem with IIS windows pass through authentication. Heres the setup
IIS running with Windows Authentication for our intranet site. ACL has been set to everyone for all web directories. This is all on a windows 2003 server. We add the intranet site to the intranet zone s... more >>
Installation
Posted by Jennifer at 5/12/2004 2:21:03 AM
Hi group
I recently installed IIS 5.0 on a Windows Server 2000. The ServicePack1 has already been installed , also the .NET Framework
Can I use the IIS now for my ASP.NET apps already or is a registering etc. necessary
Thank
Jennifer... more >>
Query is too complex
Posted by Ben de Vette at 5/12/2004 1:44:44 AM
Hi,
I'm using the querybuilder when updating a record in a table (Access).
However, I get a "Query is too complex" message.
The Primary key is autonumbered.
Why is it making such a complex update query string in stead of using the
primary key?
Thanks in advance,
Ben
... more >>
|