all groups > asp.net > may 2004 > threads for friday may 14
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
multiple directories but one application
Posted by mike at 5/14/2004 11:50:46 PM
I've been pulling my hair out today :(
I'm making an e-commerce shop but am trying to add in multiple shops,
session and Querystrings to identify the individual shops I thought would
not be a good idea, so I'm thinking along the lines of directory where 1305
is the ID of the current shop
... more >>
JavaScript\PopulateTextbox
Posted by JR at 5/14/2004 9:32:36 PM
I have a 3rd party asp.net grid. It has some clientevents that allows
the user to attach js code to. I have js in one of the events, when
fired I want to populate an asp.net:textbox control. The script works
for the event, but I can' t get it to populate the asp.net:textbox.
This should b... more >>
restricting non asp.net files while using form authentication
Posted by amit at 5/14/2004 8:39:36 PM
hi,
I have a web application using forms based authentication. I want to
restrcit even the non asp.net files from forms authentication i.e I do not
want that my clients should be able to access the word files, ,xls, pdf etc
from outside project. Actually these files appear as links like :
ht... more >>
Text size on development system and on client?
Posted by grawsha2000 NO[at]SPAM yahoo.com at 5/14/2004 8:35:55 PM
Greetings,
How should I adjust my text size on my 21(inch) screen so it looks
nicely fit on client's 17(inch), all are with IE 6? I use 'Larger'
text size but it appears large on client's and affecting the overall
look of the aspx page.
MTIA,
Grawsha
ps We all use the same resoluti... more >>
User control question
Posted by Stan Sainte-Rose at 5/14/2004 6:30:50 PM
Hi guys,
I have a page with several textboxes..
In the same page, I set a user control with a button.
I would like to know how to catch the different values from the textboxes
when I click on the button.
Stan
... more >>
<asp:EditCommandColumn/> bugs in PushButton?
Posted by angus at 5/14/2004 5:03:50 PM
Dear All,
I am using VB.net
It is found that the <asp:EditCommandColumn/> wouldn't fired an event for
OnEditCommand
If pushbutton has been used:
that is:
<asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update"
CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>
... more >>
Problem with Server.Transfer
Posted by john at 5/14/2004 4:46:03 PM
I have an app that uses Server.Transfer from page1 to page2. page2 needs to be able to read all the values from page1's form. The problem is, if the user clicks the back button on page2 after a Server.Transfer, the user gets a page has expired error.
Is there a way to keep using Server.Transfer... more >>
Setting Up Progress On ASP.NET VB
Posted by Daniel Friend at 5/14/2004 4:37:19 PM
I have 4 labels and a command button.
When the user clicks the command button, I want the command button visible
property to be false then while it is running script on the server side,
have each of the lables change the text property to what section the script
is executing... when finished...... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
EditTemplate
Posted by simon at 5/14/2004 4:30:02 PM
When user clicks the edit button I would like that panel is inserted between
the rows in datagrid.
In this panel I have all the fields for some record, I update them and then
rebind the dataGrid.
In fact, now you have to write <EditItemTemplate> for each item, but I would
like to write some k... more >>
Small problem with repeater
Posted by Simon Harvey at 5/14/2004 4:22:45 PM
Hi all
I'm hoping someone can help me with the following problem.
I have a repeater control that needs to display a textbox in a couple of the
columns. The problem is I don't know how I can uniquely identify each
textbox when it comes to doing the processing once the confirm button is
press... more >>
Adding Logic including Container.DataItem in the HTML code of DataGrid??
Posted by Lars Netzel at 5/14/2004 3:51:01 PM
Why Can't I use something like this?
<%# If Container.DataItem("id") = 0 then%>
bla bla bla
<%end if%>
I've been messing around with a IIF statement as well but it does'nt do it
for me either!
/Lars
... more >>
Properties, Styles and StyleSheets for a web control
Posted by JezB at 5/14/2004 3:46:34 PM
A web control can have a ForeColor property, a Style collection which can
define a "color" property, and a CssClass property which also defines a
"color" property.
Which takes precedence?
Is there any programatic examination and manipulation of these properties
allowed and if so where ? eg.... more >>
Handling Events from Data Grid
Posted by Rich at 5/14/2004 3:41:04 PM
I'm working on a Data Grid app. For a number of reasons (mostly aesthetic) I don't want to use the standard approach with Button Columns for doing updates on a row-by-row basis. I know I can create Template Columns that contain Web Controls. I want to handle postback events (TextChanges on a Text... more >>
Pushing the limit of PHP vs ASP.NET
Posted by James Macbell at 5/14/2004 3:36:38 PM
I think I have pushed ASP.NET to the limit, I am not sure if I have done
anything wrong in the code because I am trying to make 2 pieces of code (C#
vs PHP) using the same algorithm. Anyways, here is the my test.
How: Create a HTML page with 2 hyper links to these files (posted below).
Right ... more >>
Hosting asp.net site
Posted by jungeriusblom at 5/14/2004 3:31:33 PM
Hi all,
I was thinking to host my own website on an old pc.
What do I need to host an asp.net site?
Only the framework (and ofcourse IIs)?
Is it easy to combine 'normal' asp and asp.net?
Cheers,
Hulte... more >>
Hosting asp.net site
Posted by jungeriusblom at 5/14/2004 3:14:22 PM
Hi all,
I was thinking to host my own website on an old pc.
What do I need to host an asp.net site?
Only the framework (and ofcourse IIs)?
Is it easy to combine 'normal' asp and asp.net?
Cheers,
Hulte... more >>
Calling script code
Posted by IMRAN SAROIA at 5/14/2004 2:40:48 PM
Hi!
How can I call the Javacript or Vbscript code from
Web form provided that the Script code resides on
the same web form.aspx
Regards
Imran
... more >>
Scrolling Table
Posted by Shawn B. at 5/14/2004 2:29:17 PM
Greetings,
I am trying to create a table that has a scrolling body. The problem I'm
experiencing is that if the columns in the "body" part of the table exceed
the width of the "header" then they columns lose their alignment. Can
anyone help me correct this?
<div style="WIDTH:500p... more >>
.text Property always empty on postback
Posted by Benjamin Bittner at 5/14/2004 2:10:31 PM
Hi all,
i have a simple user control (domaincheck.ascx):
<%@ Control Language="vb" AutoEventWireup="false"
Codebehind="domaincheck.ascx.vb" Inherits="loopline_prod.bb.domaincheck"
TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<table>
<tr>
<td>
Domain name: <asp:TextBox ... more >>
postback for dynamically created table
Posted by martin at 5/14/2004 1:48:40 PM
Hi,
I have the following code in my page load event that creates a table on the
web page.
The trouble is that after a postback such as a button click on the page the
table is not retained but ignored.
If Not IsPostBack() Then
Response.Write("This is NOT a postback<br>")
... more >>
asp.net webpage needs to communicate with db on user computer
Posted by Neil at 5/14/2004 1:36:04 PM
I am aiming to creat an ASP.NET webpage that will communicate with a database on the users computer. the user will go to my site, select his db from his computer and my webapge will run an algorithm on it and save the changes to the db stored on the user computer..
How can I get about to this. I h... more >>
Dispose pattern in ASP.NET pages
Posted by mircu at 5/14/2004 1:19:49 PM
Hi,
I'm using managed wrappers that contain unmanaged code in my web pages.
As I have some problems with memory (the memory grows and is not
returned to the OS) though I delete unmanaged c++ objects in destructors
I want to explicitly destroy objects using Dispose. But the problem is
when... more >>
should I upgrade to 2003
Posted by Leon at 5/14/2004 1:18:13 PM
I currently program with 2002 and everything is working
fine. However, just wanted to is upgrading to 2003 worth
the trouble. I'm currently working on a few web applications that built
around the 1.0 .net framework.
... more >>
How to know is connection is secure in the page_load event?
Posted by R.A. at 5/14/2004 12:54:10 PM
Hi
Is there a way to know if the connection is secure in the page_load event?
Thanks
... more >>
ASP.NET Server.ScriptTimeout being ignored
Posted by Chris at 5/14/2004 12:46:05 PM
I've created an aspx page that should time out every time it is executed, yet it never does. It seems as though the value of Server.ScriptTimeout is just being ignored by asp.net - I've also set executionTimeout in Machine.Config and Web.Config to = "3", which is also being ignored. I've tried reboo... more >>
Configuration File
Posted by Thom Little at 5/14/2004 12:45:08 PM
I have an ASP.NET application that I am trying to run on my local server. I
have administrator privilege.
It contains:
private void btnThomButton_Click(object sender, System.EventArgs e)
{
EventLog eventLog = new EventLog("Application" );
eventLog.Source = "Application" ;
e... more >>
AppDomain.CurrentDomain.BaseDirectory in ASP.Net for UNC path.
Posted by George Nevsky at 5/14/2004 12:40:11 PM
My ASP.Net application installed in IIS virtual folder which points to some
shared folder on network. Everything works fine except
AppDomain.CurrentDomain.BaseDirectory method. It returns
E:\WINDOWS\system32\apokrifpc\Services\Release\cnLogger\ instead of
\\apokrifpc\Services\Release\cnLogger\.
... more >>
BrowseForFolder in asp.net
Posted by starbuck at 5/14/2004 12:17:04 PM
Hi
Does asp.net have a way of browsing for a folder
Thanks in advance
---
Outgoing mail is certified Virus Free, so am I.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.682 / Virus Database: 444 - Release Date: 11/05/2004
... more >>
LeftMargin parameter
Posted by Stan Sainte-Rose at 5/14/2004 11:55:26 AM
Hi,
I don't understand why on several asp.net pages I get errors with vs.net
2003 about parameters.
With the intellisense I don't have the LeftMargin parameter with the <body>
tag, same thing with Background parameter with the <td> tag.
Stan
... more >>
Server space allocation and security question
Posted by mike at 5/14/2004 11:47:06 AM
Hi for those who can help me...
I am dutch and try to use my best English. I do not know if thi is the
right group to asked my question. I am bussy with makeing a wensite where
people can upload there stufff and other people could see what they are
sharing pictures documents etc.... etc.... B... more >>
Usercontrol Properties in Property Pannel
Posted by A.M at 5/14/2004 11:38:36 AM
Hi,
I can not see the properies of my user control in IDE's property pannel.
Is it possible to have them in property pannel ?
Thanks,
Alan
... more >>
interfacing with data layer
Posted by headware NO[at]SPAM aol.com at 5/14/2004 11:29:16 AM
I'm relatively new to ASP.NET and ADO.NET, but I have a basic design
question regarding the use of web services and APS.NET applications.
Right now we have an application that uses web services to access the
database layer. However, the code works in a pretty cumbersome and
ungeneric way. Basica... more >>
vbrun access denied
Posted by Stan Sainte-Rose at 5/14/2004 11:22:36 AM
Hi,
I have a problem with the vbrun.dll.
My application works sometimes and sometimes it doesn't..
I get this message..
Any idea ?
Stan
=== Pre-bind state information ===
LOG: DisplayName = Interop.VBRUN
(Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/aocalc1
LOG: Initial Priv... more >>
List box problem
Posted by Asp Net via .NET 247 at 5/14/2004 11:18:49 AM
(Type your message here)
--------------------------------
From: Asp Net
Hi all,
I have list box in web form. I am populating 2 coloums in the list box. My problem is I need space between two coloumns.
lstList.Items.Add(Coloumn& " " & Coloumn) this is not working. What to do?
Thank... more >>
Netscape problems
Posted by Vik at 5/14/2004 11:02:06 AM
1. In IE 6.0, I can open a Web page http://localhost/MySite/MyPage.aspx,
which connects to an SQL Server without asking for log in.
In Netscape 7.1, the page requires log in. Provided the Windows user name
and password, the page can connect to the database only if the page is
already opened in... more >>
Set a default property in a user control?
Posted by Dave at 5/14/2004 10:56:05 AM
I'm not even sure if what I'm doing is possible. I created a simple control that will be reused throughout the site. It will accept a large amount of HTML with bulleted lists, et
I want to implement like
<uc1:KeyFeatures id="KeyFeatures1" runat="server"
Large amount of Inner Html content goes... more >>
More Elegant Column Widths in ASP:Table Objects?
Posted by Alex Maghen at 5/14/2004 10:56:03 AM
Whenever I create tables in HTML, I have to specify the widths of the CELLs within each row. It's incredibly repetative because it seems I have to repeat these seem cell-width values in each row of the table
I'd much rather be able to specify the column widths for the entire table in one spot. Am ... more >>
Dynamic Control Event Wireup?
Posted by localhost at 5/14/2004 9:57:03 AM
In my ASP.NET page code-behind, I have added a textbox like this:
(C#)
System.Web.UI.HtmlControls.HtmlGenericControl div1= new
HtmlGenericControl( "div" );
div1.ID = "divNewTextBox";
TextBox txt1 = new TextBox();
div1.Controls.Add( txt1 );
Now I want to add the TextChanged event ... more >>
Setting a Custom Control Property that is an enumeration (or other non primative type) from aspx page
Posted by Earl Teigrob at 5/14/2004 9:54:43 AM
I have a property set in my templated custom control as follows
public System.Drawing.Color tableColor;
public System.Drawing.Color TableColor
{
set
{
tableColor = value;
}
get
{
return tableColor;
}
}
In my Page Code, I would like to set the proper... more >>
Style of panel control
Posted by simon at 5/14/2004 9:54:18 AM
I have linkButton:
<asp:LinkButton CommandArgument='<%#
DataBinder.Eval(Container.DataItem,"con_ID") %>' CommandName="contact"
ID=lnkContact Runat=server><li><%#
DataBinder.Eval(Container.DataItem,"contact") %></li></asp:LinkButton>
and panel:
<asp:Panel style="position:absolute;top:100;le... more >>
Display CSV file in browser
Posted by Mei Qin at 5/14/2004 9:37:25 AM
Hello,
I created a csv file on the server. I want to display it
in the browser and user can download the file to local
machine. Then I will delete the file from the server.
Here is my code:
Fname = "myfile.csv"
Response.ClearContent()
Response.ClearHeaders()
... more >>
Using Mappoint in Asp.Net
Posted by Ivo Luyckx at 5/14/2004 9:05:52 AM
I've been trying to build a .NET application that references the
MapPoint Type Library.
I've succeeded to implement and run a .NET Windows application
MapPoint.Application app = new MapPoint.ApplicationClass();
This works just fine, but when I try the same in a ASP.NET web application
... more >>
User Control doubt:
Posted by CSharp at 5/14/2004 8:43:28 AM
Hello all,
I have in my project this user control I made:
public class PollControl : System.Web.UI.UserControl
I have properties on its code-behind like:
****************************
private string _name;
private ArrayList _choices;
public string Name
{
get {return _name;}
... more >>
Basic ASPNet authorization question
Posted by dgk at 5/14/2004 8:40:45 AM
I'm trying my first website on my home PC and I keep getting a logon
screen (part of windows) asking for a username and password when I
access it remotely. The with the little face in the username screen.
How do I have to set it up so that users won't get that? I can't even
figure out what usern... more >>
Question: Rich Text Editor and HTML message body
Posted by VB Programmer at 5/14/2004 8:38:48 AM
I want to create an email message with a HTML body and email it out. I know
how to create/send the email (for the most part.)
1. Any ideas or examples of using an ASP.NET rich text editor so that a
user can edit rich text, then save the results as an HTML page (either
straight to a page or i... more >>
Object reference not set to an instance of an object error
Posted by Tim Zych at 5/14/2004 8:34:56 AM
A web form in my app is not running anymore. Whenever I try to do an action,
I get an error:
Server Error in '/codelib' Application.
----------------------------------------------------------------------------
----
Object reference not set to an instance of an object.
weird thing is that... more >>
Can't write to db, Connectionstring problem?
Posted by Lars Netzel at 5/14/2004 8:33:25 AM
I'm using this string
Provider='Microsoft.Jet.OLEDB.4.0';Data
Source='C:\Inetpub\wwwroot\organon_foie\db\foie_webdb.mdb';
I can't seem to be able to write to the database, only read ! Can the
connectionstring I have be modified in anyway to let me write to the db or
does that not have anythi... more >>
web farm session sharing
Posted by Daniel at 5/14/2004 8:01:02 AM
Hi
I am having a problem sharing session between SSL and non-SSL asp.net pages
I have F5 BigIP with sticky sessions working fine, but the problem is tha
sticky session applies at the port level (80 vs. 443) so when a user goes t
a SSL page I lose session vars because it's on another server on t... more >>
DropDown-Parent child
Posted by Shathish at 5/14/2004 5:56:02 AM
hai ther
i want to populate a dropdown list with data from the table ; the data is like pareant ac-->some clients ac
i want to show the data in a tree like fashion within the dropdow
any idea
thank
... more >>
@ Application directive in global.asax
Posted by Marek at 5/14/2004 5:44:11 AM
Hi,
Global.asax can be configured to use code-behind class. In order to do that
"Implements" attribute has to be declared within @Application directive. I
have read that the base class (derived form HttpApplication) to inherit from
must be precomiled and stored in the \bin folder of the applic... more >>
Edit data in a repeater?
Posted by Steve at 5/14/2004 3:56:02 AM
Hi All
I am trying to find a way of displaying data in a datatable in such a way that ALL rows (only about 5 - 10) are editable and are updated from a single button press. I thought the best way would be to use a repeater to display the data in textboxes, then when the button is pressed to iterat... more >>
.replace for linefeeds?
Posted by Grant Mills at 5/14/2004 2:11:56 AM
I'm trying to get linefeeds to display correctly in a datagrid (text is
taken from a database of text that has been htmlencoded)
By default it doesn't display them. But <br/> tags display fine.
however, when I do
validated.Replace(vbCrLf, "<br/>")
or
validated.Replace(chr(10), "<b... more >>
|