all groups > asp.net > october 2006 > threads for thursday october 26
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
Bank Payment
Posted by Badis at 10/26/2006 10:47:01 PM
Hi,
I have sent question before about having my webpage accepting payment from
customers and I have been advised to use PayPal service for that but my
question now is, Can do it with BPay!!!? because I went to Optus website and
bill payments it looks like they are using BPay services becaus... more >>
Ultimate URL rewriting engine
Posted by craigkenisston NO[at]SPAM hotmail.com at 10/26/2006 9:53:12 PM
According to this guys here:
http://tinyurl.com/ygjxry
"You can use different URL styles:
* http://www.myweb.com/products/nokia
* http://www.myweb.com/products/nokia.aspx
* http://www.myweb.com/products/nokia.htm
* ... or virtually any other extension
The URL rewriting eng... more >>
How to set windows integrated security vs2005 built in web server?
Posted by tomix at 10/26/2006 7:18:16 PM
Hi,
I want to use windows integrated security and i only have vs2005 built
in server
Is there a way to configure this server to use windows integrated
security?
Thanks in advance.
... more >>
how to show empty gridview
Posted by foo at 10/26/2006 5:29:13 PM
this is a test message, please ignore.
... more >>
creating a new vs 2003 project based on another
Posted by jkwasson at 10/26/2006 4:51:52 PM
I have a web application that is complete and published. I want to do some
major enhancements, but I want to start a new project so I can continue to
do maintenance on the current one without having all the new code scattered
throughout.
My question is the best way to do this...if i create ... more >>
Masterpage Content Controls Throwing Off Content
Posted by Barkster at 10/26/2006 4:40:05 PM
How do I keep a content control from throwing off the size of my pages?
When I drop a content control in my header it resizes the cell to a
larger size and when I publish the page it is now sized to the height
of the content control. I've tried embedding the content control in a
sized div and s... more >>
Collection of Profiles
Posted by Jeff at 10/26/2006 4:37:23 PM
Hey
asp.net 2.0
I want to populate a GridView with the profile properties off all users
registered on a website!
For example like this:
<profile enabled="true">
<properties>
<add name="FirstName" type="string"/>
<add name="LastName" type="string"/>
<add name="Gender" ty... more >>
Page Generation Time
Posted by Nick Ashley at 10/26/2006 4:28:10 PM
I am wanting to include a message in the footer of my application which
displays the server-side page generation time. An example of what I
want is at http://p2p.wrox.com/ (This page was generated in x seconds.)
I am aware that I can find this information by adding trace="true" to
the page dir... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Special Characters in web page
Posted by Nick at 10/26/2006 4:24:02 PM
Hi All:
I have a textbox in my web page, when user input "A & B" in this textbox,
then click save button, then in the database it store as "A & B", which is
good.
Bu the problem is when i select this field data and display to this textbox,
it change to "A & B". Anyone know how to han... more >>
Application_AuthenticateRequest
Posted by Diffident at 10/26/2006 4:00:02 PM
Hello All,
Does the Application_AuthenticateRequest event get fired for every request
made to the application? According to my understanding, YES it does get fired
for each and every request. Please correct me if I am wrong.
But does the event get fired multiple times for the same request?... more >>
not page postback condition ignored?
Posted by Carlos at 10/26/2006 3:13:29 PM
Hi all,
I have an app that has 2 similar webforms. each populate a
combo box. The problem is that even though the code is very similar,
one of them behaves as if the not page.postback() condition is ignored.
That is, it populates the listbox twice. I do not know what is causing this
to happ... more >>
Links in master page
Posted by Samuel Shulman at 10/26/2006 2:58:24 PM
Since the master page is used in pages located in many folders how can I add
relative links to the master page?
Thank you,
Samuel
... more >>
Get Data
Posted by shapper at 10/26/2006 2:51:24 PM
Hello,
I have an SQL database table with 20 fields: Field_01, Field_02, etc.
I am creating a string with StringBuilder.
I want to include in my string the fields of one record of the
database.
The SQL procedure "GetOneRecord" gets one record when its ID is givem.
So my problem is how to ac... more >>
Update message on web page while processing
Posted by Mark at 10/26/2006 2:50:35 PM
I'm building a web utility to do some processing that will run for several
hours. Assume I have a valid reason for using the web for the utility.
During the process I'd like to display an update on the job's status while
not stopping the process that is running. It does not need to be pretty... more >>
DetailsView Index out of Range?
Posted by Timothy H. Schilbach at 10/26/2006 2:49:16 PM
Hi Everyoine,
I am populating a DetailsView with a record from a user and everything
runs fine. What I want to do on the databinding is to go through each row
and make sure there is data beign displayed. Now I have setup the following
routine to do just that:
Protected Sub Details... more >>
newbie: GridView problem
Posted by Jeff at 10/26/2006 2:24:21 PM
Hey
asp.net 2.0
I've got only one column in my GridView (see code below), but when I run
it... I see more columns in the GridView. These are the columns I see:
- UserName
- ProviderName
- IsOnlne
- LastPasswordChangedData
- PasswordQuestion
- IsLockedOut
- Comment
- UserName (again, ... more >>
Multiple Web Forms
Posted by james.wren NO[at]SPAM gmail.com at 10/26/2006 2:17:02 PM
Would someone please explain how I can use multiple <form runat=server
/> tags in asp.net? What If I want to use multiple forms on a page,
with pressing enter submitting the proper form? Am I misunderstanding
things?
Thanks!
James
... more >>
.ASPX Page Displays .GIF Images But Not .JPG!!
Posted by Altemir at 10/26/2006 2:15:13 PM
Why can't I get a simple .jpg image to display as the banner of my
..aspx page? I added an image control to the page from the Toolbox of
Visual Studio and entered a valid image URL. Here's the code that it
created for me:
<asp:Image id="Banner" BorderStyle="None" runat="server" Width="898px"... more >>
disable JIT debugger
Posted by Jon Paal at 10/26/2006 2:14:57 PM
how can I turn off / disable JIT debugger ?
... more >>
Masterpages css problems
Posted by MarkAurit at 10/26/2006 2:14:02 PM
Im having a masterpages meltdown. I previously did an app where the
masterpage and aspx pages were in the same folder, no problems. In a second
app, for esthetics, I put the masterpage in the root and the aspx pages in a
/Pages folder. If I hard-code the css <LINK statement in the masterpa... more >>
How to hide a GridView column when the column's Visible property does not support databinding?
Posted by Keithb at 10/26/2006 1:33:17 PM
I need to hide a GridView's "edit" column if the user's role does not
support editing. However, the column's Visible property does not support
databinding. Is there a workaround?
Thanks,
Keith
... more >>
Question about DataList
Posted by jobo at 10/26/2006 1:21:05 PM
Hello,
I'm trying to assign a NavigateURL in my HyperLink in my DataList from
the backend. Here's my code:
<asp:DataList id="ItemsList"
OnItemDataBound="oidb"
BorderColor="black"
CellPadding="5"
CellSpacing="5"
RepeatDi... more >>
image button as a back button
Posted by Chicagoboy27 at 10/26/2006 12:51:48 PM
Seems like and easy question but I am running into problems getting it
to work. I have a form where users enter search criteria and then
displays results based on the search. I am wondering how can you create
an image button that acts like a back button. like the browser back
button. I have tri... more >>
UpdateCommand Event won't fire
Posted by SAL at 10/26/2006 12:24:01 PM
Hello,
I created a datagrid where I set the Events to there associated functions
(i.e. Grid1_UpdateCommand, etc.). All these Events I have established work
as they are suppose to except for my Grid1_UpdateCommand.
I load my datagrid via a Select query. When my DataGrid is populated I hav... more >>
asp.net page seems never finish loading
Posted by Vlad at 10/26/2006 12:18:01 PM
Greetings:
Here is scenario I hope to get help with.
ASP.NET 1.1 page:
page_load(){
...
btnSave.Attributes.Add("onclick", "MyClick()");
}
on button btnSave server click event:
Server.Transfer("another_page.aspx");
Javascript inline code:
<script language="javascript">
fun... more >>
Please help me how to call this Javascript
Posted by settyv NO[at]SPAM gmail.com at 10/26/2006 12:17:50 PM
Hi,
Below is the Javascript function that am trying to call from asp:Button
control.
<script language="javascript">
function ValidateDate(fromDate,toDate)
{
var fromDate=new Date();
var toDate=new Date();
var diffDate = Math.round( ( toDate-fromDate ) / 864e5 );
alert(di... more >>
? How to - Stream audio and/or video via windows media player ?
Posted by hzgt9b NO[at]SPAM nopost.com at 10/26/2006 11:55:02 AM
Using VS 2003, VB.NET and/or ASP.NET 2.0,
BACKGROUND
I have a window forms based application that contains a TreeView control and
a WebBroswer (AxSHDocVw.AxWebBrowser) control. The TreeView is populated with
nodes that when clicked play an audio clip from specified local or web URL
and nav... more >>
The name 'UserName' does not exist in the current context"?
Posted by Michael at 10/26/2006 11:26:02 AM
Hi, I am getting a strange error. Last night when I left work this was
working perfectly. This morning when I try to run this code in VS2005, it
comes up with an error saying "The name 'UserName' does not exist in the
current context". I don't know what to do about it. The field is there. ... more >>
.NET decompiler
Posted by tascien NO[at]SPAM gmail.com at 10/26/2006 11:25:24 AM
anybody knows where i can get a program that will take my dotnet
framework 1.1 and turn it into .vb code?
My dev server accidently went up in smoke when I was testing my nuclear
device, I've lost all my .vb files, but i have the dlls and exe on my
production servers...
thanks in advance.
... more >>
appending a unique id to the url
Posted by Sridhar at 10/26/2006 11:19:02 AM
HI,
I have a question regarding the sessions. When I go to home page in my
website and if I look at the url in the address bar, it is saying something
like
https://www.mywebsite.com/(rn5qci45z5a4vhnsuierdeei)/home.aspx
But I am not knowing how it appended the id (rn5qci45z5a4vhnsuierd... more >>
ValueChanged Event Doesn't Fire
Posted by rfinch at 10/26/2006 11:01:02 AM
I'm trying to pass two values from client script (Javascript) to the
code-behind for a page using three hidden fields - two to hold the values and
a third to fire the ValueChanged event.
I have tried every method I can think of to get the event to fire, but it
will not, so either I am missi... more >>
How can I get the user DateTime
Posted by David Thielen at 10/26/2006 10:36:02 AM
Hi;
When I get a request how can I get the user's local DateTime? I can get
ultureInfo.CurrentUICulture.Calendar for a calendar but I don't see any way
to turn that in to a DateTime (although you would think that would be
possible).
Also, is there any way to set IE to have a different ti... more >>
Alternate Control Validation
Posted by AG at 10/26/2006 10:15:04 AM
ASP.NET 1.1 app.
Can anyone point me to a sample of how to require entry into either of two
textboxes?
TIA
--
AG
Email: discuss at adhdata dot com
... more >>
popup window "This resource cannot be found"
Posted by studen771 at 10/26/2006 10:05:02 AM
Thanks in advance to anyone who can help :):
I have an .aspx page that creates javascript on the fly within a button
click event handler. The script creates a function AND CALLS THAT SAME
FUNCTION that opens a new window which will contain another .aspx page. The
new popup window opens just... more >>
Add Window control library to web page
Posted by RK at 10/26/2006 10:00:01 AM
I have a window control library with a user control abd I need to add this
dll to the aspx web pag.
How can I do this.
Thanks,
RK... more >>
Binding a GridView to a custom object
Posted by Greg at 10/26/2006 9:59:03 AM
Hello,
I am trying to bind a GridView to a custom object I have created. First,
here is what I'm trying to do:
I have a wizard for adding/editing Users. When the wizard begins, a User
object (custom class) is created, and properties are populated in each step
of the wizard. In one of ... more >>
Fill GridView
Posted by shapper at 10/26/2006 9:45:05 AM
Hello,
I am working on an Asp.Net 2.0 web site.
In have a GridView which I want to fill using a DataSource Function.
What data type should I use to how to get the data from the database?
Here is my DataSource function with "??????" on the 2 places where I am
having problems.
Function Dat... more >>
Feature requests, please vote
Posted by Brennan Stehling at 10/26/2006 9:33:22 AM
I have posted 4 feature requests here...
https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=232161
Please vote for them if you think they would be useful. I really think
it would make Visual Studio much more helpful as I write code.
Brennan Stehling
http://b... more >>
groupbox missing from my toolbox
Posted by Beemer Biker at 10/26/2006 8:53:42 AM
I cannot find a groupbox. It is not under "Standard" nor in "HTML". When I
right click on the toolbox and select "choose items" it does show up with an
[x] and is associated with "System.Windows.Forms". OK, maybe web projects
with C# do not have a groupbox? Is that right? However, other i... more >>
storing database connection strings
Posted by djc at 10/26/2006 8:43:20 AM
is it still customary to use web.config and global.asax to store connection
strings? For example storing the string in web.config and using application
start procedure in global.asax to declare a global app variable?
I'm an off and on hobby programmer and this was the last method recommended ... more >>
Time related functionality...
Posted by RAB at 10/26/2006 8:30:23 AM
Hello,
I am looking for a function that will be executed when the the server
clock ticks past midnight into a new day. I only want this function to
fire the one time each day. How would I do this do this?
Thanks,
RABMissouri2006
... more >>
How to hide a GridView column?
Posted by Keithb at 10/26/2006 8:28:05 AM
What is the best way to hide a GridView column?
Thanks,
Keith
... more >>
Uploading Files from Client
Posted by Roger at 10/26/2006 8:12:01 AM
I know how to use the FileUpload control. But, my problem is that is loads
one file at a time and postsback.
What I am trying to accomplish is I have a grid and would like to user to
specifiy all the files that want to upload. And once they attached all files,
they would click the save butt... more >>
Using customvalidator control in asp.net 1.1
Posted by settyv NO[at]SPAM gmail.com at 10/26/2006 7:53:01 AM
Hi,
I need to use customvalidator control for calculating datedifference
and need to alert if fromdate is greater than todate.Please let me know
how can i do that using this control in asp.net.
Thanks in advance,
Vishnu
... more >>
why does Response.ContentType = "text/plain"; not work correctly?
Posted by letuce dance at 10/26/2006 7:51:02 AM
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs"
Inherits="Default2" %>
public partial class Default2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.ContentType = "text/plain";
Response.Write("help");
... more >>
Gridview with link in header
Posted by jobs at 10/26/2006 7:48:59 AM
Is this possible?
... more >>
Directory.Delete of a non empty dir fails in ASP.NET application
Posted by Olivier GIL at 10/26/2006 6:53:01 AM
Hello,
The method Directory.Delete(path, true) of .NET 2.0 called from within a web
app does not work correctly if the initial directory is not empty : all the
files inside the root directory and subdirectories are actually deleted, but
the leaf subdirectories in the tree remain "locked" (t... more >>
Enter text or Select from the dropdownlist box in asp.net 2.0
Posted by Ted Ngo at 10/26/2006 5:55:00 AM
Hi All,
I did create a dropdownbox and populate the data from the database.
I want the user able to enter the text or select data from the
dropdownlist box. When the user enter the text and if it match the data
in the dropdownlist box then those data will display.
I want to do something l... more >>
Cannot add web form to project with output type class library
Posted by studio60podcast NO[at]SPAM gmail.com at 10/26/2006 5:45:29 AM
I have a solution I inherited from previous developers that includes
web projects whose output type = class library. I need to add web
forms and web user controls, but when I try to add them, it wants to
add the .cs file, not the aspx or ascx files.
How do I do this?
Thanks!
Jason
... more >>
trouble connecting to remote SQL server for authentication
Posted by brian.newman NO[at]SPAM wpafb.af.mil at 10/26/2006 4:37:01 AM
I've got an app which provides data based on the user who is logged in.
So, I need the user data to be on the same db server as the other
data. I'm trying to do this using the membership API. I've set up the
tables and sprocs and so forth using the aspnet_regsql.exe (though, for
some reason, ... more >>
Use image in web control
Posted by shapper at 10/26/2006 4:20:26 AM
Hello,
I am creating an Asp.Net 2.0 project.
This project includes various custom web controls.
I need to use a few images in this custom web controls.
Then I want to to compile everything into a DLL.
My questions are:
1. What should the build action (In the properties panel) of these
ima... more >>
Open Outlook using C#
Posted by C at 10/26/2006 4:10:02 AM
Hi,
From my ASP.NET application when the user clicksa button I want to be able
to programmatically open Outlook, create a new mail, add attachments and set
the body text.
Is this possible?
C.
... more >>
JavaScript confirm
Posted by rn5a NO[at]SPAM rediffmail.com at 10/26/2006 2:01:52 AM
I have gone through a no. of posts in this NewsGroup regarding my
problem but alas, couldn't come across one which would have helped me
in resolving the issue. My problem is this:
An ASPX Form has a Button. When the Button is clicked, I want a
JavaScript confirm dialog to pop-up with the optio... more >>
shared personalization in asp.net 2.0
Posted by fscali at 10/26/2006 12:48:27 AM
Hi, in asp.net 2.0, is there any out of the box provider that I can use
in order to persist to a SQL Express Database some site settings?
I have a webpart page where only authorized users can add/modify/remove
webparts (in shared mode) and I would like to give them the ability to
set even the th... more >>
Data Cache Question
Posted by Stan SR at 10/26/2006 12:10:31 AM
Hi,
Some newbie questions.. :-)
First, what is the namespace to use for the Cache class ?
When I use this bit of code I get an error
if (Cache["myUserList"]==null) Cache.Insert("myUserList",userlist);
I don't know which namespace to use.
And, is it possible to create a Data Cache f... more >>
Format
Posted by Ken Wood at 10/26/2006 12:08:16 AM
Pls how can I print out date in long format i.e May 5, 1999.
(5/5/1999)
*** Sent via Developersdex http://www.developersdex.com ***... more >>
|