all groups > asp.net > february 2006 > threads for monday february 20
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
what could be wrong here?
Posted by Pinata Brain at 2/20/2006 10:51:51 PM
i get an error on the line that says currentaudit=3
<script runat="server">
Public currentAudit As Integer = 0
currentaudit=3
</script>
... more >>
Limit execution of custom validator?
Posted by Tarun Mistry at 2/20/2006 10:34:30 PM
Hi there everyone, I have a page containing dynamic user controls. The main
page contains a custom validator that checks the dynamic user controls, this
works fine.
However, I only want the custom validator to fire when the main submit
button on the page is executed, not the ones within the... more >>
Web.config session timeout
Posted by steph_mw NO[at]SPAM hotmail.com at 2/20/2006 8:48:00 PM
I have a web application and when a user opens the application (using
windows integration) and loads some data, it loads a ID number into the
session state. If for some reason they go away from their PC and come
back after 20 mintes they are receiving an error.
This error relates to the fact t... more >>
Need to add Button to DataList
Posted by Jack at 2/20/2006 7:55:00 PM
Hello,
I need to add extra buttons to a datalist, but I don't know to add them to
the control. I need to use the onCommand Functions, like OnUpdate, OnEdit,
OnUpdate, OnCanel, Etc. I would like to do this VB.Net is that is can be
done. Any help would be great, I have been trying to do th... more >>
ASP.NET 2.0 SmartNavigation vs MaintainScrollPositionOnPostback?
Posted by cmay at 2/20/2006 7:21:55 PM
I have just started created a web app in asp.net 2.0.
I am using a masterpage for header/footer stuff.
In my content page I am using MaintainScrollPositionOnPostback, and
while it does keep the scroll position there is a lot of flicker on
postback where as when I did this with asp.net 1.1 yo... more >>
Code behind
Posted by RichieRich at 2/20/2006 7:06:27 PM
Is it possible to separate the code behind in a folder on a separate machine?
Thanks.... more >>
DataFormatString not working in GridView
Posted by Alan Silver at 2/20/2006 6:53:23 PM
Hello,
I have a GridView control, and am unsuccessfully trying to format a
column to show costs. The (simplified) code is as follows...
<asp:GridView ID="grdCustomers" DataSourceID="dtaCustomers"
AutoGenerateColumns="false" runat="server">
<Columns>
<asp:BoundField DataField="Total" Data... more >>
RadioButtonList: Show selected
Posted by Øyvind Isaksen at 2/20/2006 6:00:02 PM
I'm making a page to update articles.
When a radiobuttonlist is displayed, I want the stored value to be displayed
as default (checked).
Example: I use a procedure to display the RadioButtonList. An input to this
procedure is the ID that is stored in the database. I want the
radiobuttonlis... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Shared Buttons
Posted by BobLaughland at 2/20/2006 5:46:15 PM
Hi All,
I am creating a C# ASP .NET web site.
I have an 'administration' section of the site and each page will have
the same hyperlink buttons at the top to go between the administration
pages.
Just wondering if I can use a style sheet or similar to define those
buttons only once. How w... more >>
Most common approach to inserting/updating/deleting data using a grid
Posted by John at 2/20/2006 5:44:15 PM
Hi all,
I know the above subject heading may seem stupid but I really would like to
know what the most common (and I'm assuming the most-common would mean the
best way) method is to present data to the user and allow them to add/change
and delete it through a grid control on a web form?
... more >>
Shared Functionality
Posted by BobLaughland at 2/20/2006 5:41:46 PM
Hi All,
I have an 'administration' section of my web site which will have
common buttons at the top to take you between the administration pages.
Can these be defined only once in some kind of style sheet? How would I
go about that.
Thanks,
Peter.
... more >>
<%# Bind("xxx") %> Documentation
Posted by ME at 2/20/2006 5:23:40 PM
If one wanted to find the documentation for Eval one would look at the
documentation for DataBinder.Eval. Where would one find the documentation
for the .NET 2.0 Bind method which performs two way binding? I can't seem
to find any documentation on it.
Thanks,
Matt
... more >>
Mobile Internet Toolkit for Visual Web Developer Express?
Posted by Franz Demmel at 2/20/2006 4:20:07 PM
Hi,
can I use the MIT to develop mobile pages with Visual Web Developer
Express. What can I else use?
Regards,
Franz... more >>
ASP.NET 2.0: System.Web.HttpException: Path 'OPTIONS' is forbidden
Posted by dpomt at 2/20/2006 3:22:28 PM
I have overwritten Application_Error in my GlobalAsax to handle errors.
From time to time, I am getting exceptions I have never seen before (see
below).
What do this exceptions mean? Why are they generated?
Any help would be greatly appreciated.
Dieter
------------------------------... more >>
reading CSV record in an array
Posted by P K at 2/20/2006 3:22:27 PM
I read a CSV file using a stream reader.
I read a complete line using readline. I need to get hold of each column.
I can't use split function with a comma cos the contents in the columns
might have comma too.
How best to handle this?
I have to use a reader only in this case.
Thanks
PK
... more >>
FORMAT, CURRENCY
Posted by Pinata Brain at 2/20/2006 3:21:05 PM
$8987.7600
How do I get the comma to appear?
... more >>
error - find the error
Posted by Pinata Brain at 2/20/2006 3:12:05 PM
The erring asp.net page gives a big old stack trace, but does not list the
simple line number of the erro as it would do in ASP.
What gives?
... more >>
checkboxlist and javascript
Posted by Stimp at 2/20/2006 2:53:44 PM
I have a checkboxlist (chkMyList) which is created from a (name, value)
pair from a database table.
I have a read-only textbox which will be used to hold a total of
all the numerical values of each checkbox that is checked, and this
value will change dynamically via javascript when a box is... more >>
Same directory structure on development machine and final machine....
Posted by UJ at 2/20/2006 2:51:59 PM
Is there any way to have it so that you can have different root structures
on a web site on two different machines?
For instance - on my dev machine, I want to work in c:\inetpub\wwwroot\Devo
but on the web server it's going to be in g:\inetpub\wwwroot\Prod
How can I do this?
TIA - Jeff... more >>
"Access is denied"---about word automation
Posted by Ron at 2/20/2006 2:47:13 PM
Hi there,
We have a web application written in C# that need to deal with MS word
2003. it works fine on developer's machine but when I deployed it on
web server, we got error msg says "Access is denied". So i guess the
code is OK but web server configuraion has to be changed.
I got .Net fra... more >>
loading Dataset from XML - urgent!
Posted by P K at 2/20/2006 2:45:11 PM
Hello,
I have a dataset which is already loaded with data in one table.
so dataset.tables("data") exists and has data.
Now, I have to add another table to the dataset. The source for this table
is a XMLDoc. So I have the XML in a XMLDoc and I need to create a table in
the dataset which wo... more >>
Winforms to Asp -- where to start?
Posted by D. Yates at 2/20/2006 2:31:59 PM
Hi,
I am investigating how much work it would take to convert an existing
winform application to a web based application, but need to be pointed in
the correct direction.
We have an existing winform application that attaches to a socket server to
get periodic GPS location updates from CE... more >>
An unhandled security exception has occurred.
Posted by Jay Pondy at 2/20/2006 1:47:00 PM
I have an ASP.Net 2.0 page that inherits from a class that contains a
Page_Error handler. In the Page_Error handler I use
Server.GetLastError to determine what caused the error.
Normally this works great and all of the pages use the common error
handler declared in the base class with one exc... more >>
Iteraiting through repeater
Posted by Marc Llenas at 2/20/2006 1:31:11 PM
Hi there,
I have a repeater that returns x rows from a main table.
I need to display some info stored on a secondary table that is linked to
the main using a one-to-many relationship.
Instead of using a nested repeater, I would like to manually do some checks
and display (or not) info c... more >>
Missing required parameter error
Posted by Damon at 2/20/2006 1:08:47 PM
I've distilled this down into the simplest possible code fragment and
this still doesn't make any sense. I'm trying to run a select query on
an access database, and the query has NO parameters. And yet, I'm
still getting a "No value given for one or more required parameters"
error. What gives... more >>
SmartNav and win 2003
Posted by Adrian Parker at 2/20/2006 1:02:25 PM
Framework v1.1
Can anyone tell me why SmartNav sometimes doesn't work when running under
IIS 6 on win2003? When I say doesn't work, I mean when you do a
response.redirect from a page that has smartnav enabled, it doesn't go
anywhere, just displays a white screen with nothing on it. In t... more >>
Profiles with Generic Types
Posted by Ian at 2/20/2006 12:32:59 PM
All,
I'm trying to figure out the correct way to specify a profile property
type with a generic type, where the type parameter is a type from a
generated assembly. Consider the following web.config snippet:
<configuration>
<system.web>
<profile>
<providers>
</providers>
<pro... more >>
Getting the end of a domain name
Posted by Adam Tibi at 2/20/2006 12:28:32 PM
Hello,
I want to get the right most name of the a domain name, for example:
if the domain is www.myweb.com , I want to get myweb.com
something.myweb.com --> myweb.com
www.myweb.com.au --> myweb.com.au
something.myweb.com.au --> myweb.com.au
www.myweb.tv --> myweb.tv
www.something.myweb... more >>
Silly newbe question -Forms
Posted by ampeloso NO[at]SPAM gmail.com at 2/20/2006 12:17:55 PM
Hello,
I'm trying to understand how a aspx form gets submitted to the server
when there is no action attribute. I am under the impression you would
need some kind of html valid button attribute in order to get the form
to post.Since Asp.net is browser independent ,how does the form know(
within... more >>
Developing Web Service in VS2005 on Win2003 Server: Need environment suggestions
Posted by sinisa.stokic NO[at]SPAM gmail.com at 2/20/2006 12:10:53 PM
I would like some suggestions about a particular developer's
environment problem I'm having.
I have a developer who has VS2003 installed on his "primary" machine.
(A descision has been made by the development group not to load VS2003
and VS2005 concurrently on a machine. I personally have tri... more >>
Server Transfer and Back/Refresh...
Posted by James Hunter Ross at 2/20/2006 11:48:38 AM
Apparently, our developers used "server transfer" in our ASP.NET, and
because of this Back/Refresh presses by users are problematic. Apparently
the server has information about state and other things that the browser
does not. The application could get very confused on Back/Refresh presses.
... more >>
Error Handling in a DAL
Posted by Garth Wells at 2/20/2006 11:25:10 AM
I'm trying to create a DAL and am wondering what's the proper way to
handle errors in this Insert method.
public string Insert()
{
Database db = DatabaseFactory.CreateDatabase();
string sqlCommand = "pr_testx";
DbCommand dbCommand = db.GetStoredProcCommand(sqlCommand);
try
... more >>
multiple ASP.NET web forms...
Posted by somersbar NO[at]SPAM yahoo.com at 2/20/2006 11:16:56 AM
hi,
i have a checkbox in a web form, and if its been checked, i need to
make a label in the following form visible. ive only just started web
forms so i dont really know the best way to go about passing data
between forms in general.
can anyone help please?
... more >>
New to c, simple question:
Posted by Edwin Knoppert at 2/20/2006 11:12:48 AM
Should i use string or String ?
string seems 'old-fashioned' (ansi?) c string while String is depending on
the using/system stuff.
They might be equal and can be intermixed?
Maybe it's an ansi and unicode matter?
Other vartypes are there as well like byte[] and Byte[]
... more >>
No tables visible in SQL server connection
Posted by SIMON GARE at 2/20/2006 11:07:13 AM
Hi,
i am setting up an ASP.NET site and have connected to the SQL Server
successfully.
When I click on the connection it shows tables 'none' ?? I know there are
tables just cant see them.
When I set up an ASP site and connect to the SQL with DNS all tables are
visible.
I have spent a ... more >>
How do you get this datalist more like a grided table of 3 columns
Posted by Aaron at 2/20/2006 10:33:47 AM
How do you get this datalist more like a grided table of 3 columns?
Here is what I have but it is not in true columns.
<asp:DataList ID="DataList1" runat="server" BorderColor="#006699"
DataSourceID="XmlDataSource1"
GridLines="Both" ShowFooter="False" ShowHeader="False" BackColor="White"
Font-... more >>
adding buttons to a panel...
Posted by somersbar NO[at]SPAM yahoo.com at 2/20/2006 10:12:48 AM
i am trying to add link buttons to a panel on an ASP.NET web form. but
when i drag them onto the panel, i cant reposition them on it. ideally
i would like each link button added to be on its own line, running the
vertical length of the panel.
can any one suggest wat i need to do please?
... more >>
N-Tier question
Posted by Brent Borovan at 2/20/2006 9:50:29 AM
Posted on behalf of a team member:
Our organization is in the enviable position of starting a new web-based
product with a clean slate working with the latest ASP .NET tools (VS 2005
Pro using ASP 2.0). We have been researching the best practices for creating
an N-tier application and have f... more >>
Dynamic User Controls Question
Posted by npverni NO[at]SPAM gmail.com at 2/20/2006 9:08:00 AM
I have a fairly complex form that needs to load and maintain the state
of several different dynamic user controls. Here is the workflow:
1) A series of editable user controls (each containing basic web form
elements: textboxs, buttons, etc) are loaded from an xml file.
2) The user can eit... more >>
ASP.NET 2.0 Form
Posted by dm1608 at 2/20/2006 9:00:19 AM
I have a form that once users select various options, it will postback to
itself and display a datagrid.
The form is in one panel and the datagrid is in another panel.
Within the formload event, I'm enabling or disabling the panel.
One of the challenges that I'm having is that I would lik... more >>
Validators on dynamic UserControls
Posted by rgparkins NO[at]SPAM hotmail.com at 2/20/2006 8:52:35 AM
Hi
I am currently having problems with Validators in a user control. I am
creating a wizard sign-up process which have the allocated step
(hyperlinks" at the top of the page. A user can also click
next/previous. Dependant on the current step in the sign-up process I
am loading a new user cont... more >>
VB.NET Newsgroup
Posted by Progman at 2/20/2006 8:49:48 AM
Is there a VB.net newsgroup? which one?
... more >>
File DownLoads
Posted by Otis Mukinfus at 2/20/2006 7:56:04 AM
Can someone show me the code required to download a zip file to a user?
Thanks,
Otis Mukinfus
http://www.otismukinfus.com
http://www.tomchilders.com... more >>
AJAX Javascript file problem
Posted by Terry Smith at 2/20/2006 7:28:28 AM
I have individual Javascript files at the component level for components that
need to make AJAX calls to the server. The server returns a list of XML
elements with the name of the control whose contents will be updated and the
HTML of the new content. My client-side callback handler is generic... more >>
getElementById question
Posted by akis at 2/20/2006 7:26:28 AM
Hello,
I have one button in the aspx page called btnSubmit which i need to disable
using javascript
the document.getElementById("btn_Submit").Enabled=false returns an error
and the
document.getElementById('_ctl0_ContentPlaceHolder1_btnSubmit').Enabled=false
works fine but how can i get that... more >>
MARQUEE
Posted by Marek G at 2/20/2006 7:20:30 AM
Hi,exist in .Net Framework equivalent for html:MARQUEE as server control ?
thanx
... more >>
ajax and dotNet
Posted by maxlego NO[at]SPAM gmail.com at 2/20/2006 1:51:23 AM
Hi!
I tryed to buid my own AJAX framefork, but when i do postback via
XMLHttpRequest i get following error "The HTTP verb POST used to access
path '/WebSite1/' is not allowed.".
What could be the problem?
Has anyone else experienced such problem?
--
Max
... more >>
mouseover effect on asp:imagebutton - is it possible
Posted by Dariusz Tomon at 2/20/2006 1:46:47 AM
Hi
I got task to make my application much more attractive :(
First of all I have to add hover (mouseover) effect to several buttons -
imagebuttons - I only know manner with Java Script - but it does not work
with ASPNET objects.
Any ideas?
Darek
... more >>
Dynamlic create Webpart Pages
Posted by milmus tender at 2/20/2006 1:00:29 AM
Hi,
is it possible to generate dynamicly new WebPart Pages?
Each user of my application should have the possibility to save many
different Views (WebPart Pages).
Thanks,
Milmus... more >>
asp:CreateUserWizard control
Posted by BobLaughland at 2/20/2006 12:15:46 AM
Hi There,
Just wondering about the asp:CreateUserWizard. I am using Microsoft
Visual Web Developer 2005.
What I would like to do is be able to add users, but also specify which
roles they belong to.
E.G. at the moment I can add a user 'bob' but I cannot set whether he
is part of the 'use... more >>
.NET Framework 2.0
Posted by Pierre at 2/20/2006 12:00:00 AM
Hello,
Is it possible to use the .NET Framework 2.0 with VS 2003 ?
If yes, how to install it ?
Or is the 2.0 reserved for VS 2005 ?
Thank you.
Pierre.
... more >>
Fill method for Dataset
Posted by Marc Llenas at 2/20/2006 12:00:00 AM
Hello all,
I'm new to ASP.NET and I have a question regarding the fill method of a
dataset.
Here is my code
1 Dim objConn As OleDbConnection
2 Dim objAdapt As OleDbDataAdapter
3 Dim strConn As String
4 Dim strSQL As String
5 Dim objDataSet As New DataSet
6
7 'Build the connect... more >>
partial class namespace in ASP.NET 2.0
Posted by TotySantana at 2/20/2006 12:00:00 AM
Now i am trying to change the namespace for the web page class by =
putting the page class between namespace myCustomNameSpace {} , but when =
i do this with a web page class i got the following error
Error 2 'ASP.Default_aspx.FrameworkInitialize()': no suitable method =
found to override =
c... more >>
Server Application Unavailable Error ?
Posted by Luqman at 2/20/2006 12:00:00 AM
When I try to view any asp page on server running Windows 2000 Server, it
says:
"Server Application Unavailable"
I checked, IIS is installed, frontpage server extension is installed, what
else could be wrong ?
Best Regards,
Luqman
... more >>
Is JSF ready to take on ASP.NET?
Posted by Patrick.O.Ige at 2/20/2006 12:00:00 AM
http://www.javalobby.org/articles/jsf-asp/
Patrick
... more >>
webcontrol and <form> tag
Posted by Dariusz Tomon at 2/20/2006 12:00:00 AM
Hi
In my project I have got several webcontrol (ascx). How can I handle with
the problem:
I would like to have some ASPNET object (DropDownList, InputBox etc.) in one
webcontrol (this webcontrol is a part of Default.aspx page where I have
<form runat=server> tag. But this tag does not cover t... more >>
|