all groups > asp.net > april 2006
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
Switching to ASP.NET 2 cased exception
Posted by Shimon Sim at 4/30/2006 9:17:39 PM
I just switch my asp application to .net 2 and got this error. Any reasons
why?
Thank you.
Server Error in '/RAFEmployee' Application.
--------------------------------------------------------------------------------
The specified module could not be found. (Exception from HRESULT:
0x800... more >>
2 Problems (INDIGO + ASP.NET 2.0)
Posted by Mr. Murad Jamal at 4/30/2006 8:37:01 PM
Hi all,
I will highly appreciate your help to me if you help me with one (or both)
of the following 2 problems:
I have the following on my machine (Windows Vista build 5308) successfully
installed:
1) VS 2005 Standard
2) Sql Server 2005 Standard
3) Windows SDK February CTP (5308)
4) Mic... more >>
ASP.NET 1.1 debug=false
Posted by msnews.microsoft.com at 4/30/2006 6:59:22 PM
We are deploying a large .NET 1.1 web app. We are using SP1 of the .NET 1.1
framework. Our build system compiles all of our components in release mode.
We deploy on Windows Server 2003 Enterprise SP1
We noticed the other day that our web.config said debug=true. We read some
articles and ... more >>
"Unable to open the physical file" error
Posted by phil at 4/30/2006 6:56:30 PM
Hi,
I use aspnet 2.0 and i'm learning about data-bound controls. Sometimes, i
get this error below, but the code of the aspx page is ok because i ran it
several times.
I use indeed a .mdf file located at that place.
What's the problem and how to solve it?
Thanks
Phil
Unable to open the... more >>
ASP.NET 2.0 WebPart
Posted by Fabio at 4/30/2006 5:50:41 PM
Hi all,
working with webparts I receive the message "The specified display mode =
is currently disabled on this page. Make sure personalization is enabled =
for the current user. Parameter name: value". The same message appear =
with auth method "windows" & anonymus user disabled.
Someone has... more >>
Link to item on same page
Posted by LeoS at 4/30/2006 5:32:31 PM
What is the ASP.NET 2.0 way to create a link to an item on the same page? I
am creating data driven pages that have a datalist populated with all the
items for a particular page and at the top of the page I would like to
create an index that scrolls the user to that item on the page without a... more >>
Max. Thread Amount of Windows XP and / or Windows Server 2003
Posted by schuetz NO[at]SPAM gmail.com at 4/30/2006 5:20:50 PM
Hi @ll,
I'm working on a web project which has to use multiple channels to
connect to receive several sources at once. The problem is, that I'm
not aware of the maximum amount of Threads i can allocate to my
channels.
Can i open 10 threads, 100 threads even 1000?
is there a general answe... more >>
Multiple Codebehind Pages? Possible/Practical?
Posted by Ranginald at 4/30/2006 4:59:25 PM
This question is about how to handle an .aspx page that references
multiple methods and where to store these methods (e.g. one codefile or
multiple codefiles).
PREFACE
========
I have a simple category/product asp.net/C# web site I am coding in
web dev express and laying out in dreamweave... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Invalid postback or callback argument.
Posted by Robak_2 at 4/30/2006 3:46:50 PM
I have problem with Button in DataList.
protected void Page_Load(object sender, EventArgs e)
{
string categoryId = this.Request.QueryString["CategoryID"];
ProductsList1.DataSource = GenericDataAccess.ProductList(categoryId);
ProductsList1.DataBind();
}
I used ItemCommand from datalist Eve... more >>
Cascading Style Sheet Hazard
Posted by Radium at 4/30/2006 3:22:23 PM
Cascading Style Sheet [.css] is hazardous to your privacy. It allows
others on the internet to see your monitor and files. It allows them to
copy images on your monitor to their computers. It also allows them to
copy files from your computer to their's. It is dangerous. Avoid at all
costs.
CS... more >>
ASP.Net MySQL ODBC question
Posted by Gef.Mongoose NO[at]SPAM gmail.com at 4/30/2006 2:32:21 PM
Hi all,
I've been trying to get ASP to work with MySQL using the MySQL ODBC
3.51 Driver. I can connect to the database fine but i'm having trouble
with parameters.
I've discovered I need to use '?' to delimit a paramter in the query
string rather than '@<paramname>'. if this is true, how do... more >>
Can't create a new web project.
Posted by UJ at 4/30/2006 2:19:05 PM
I'm attempting to create a new project on my local machine and am getting a
'HTTP/1.1 500 Internal System Error' when I try and create a new project. I
know IIS is up and working because I can access an already existing project.
I can't even find anything in the event logs to tell me what is w... more >>
RegisterStartupScript not creating a <SCRIPT> block
Posted by Alex Maghen at 4/30/2006 12:41:01 PM
When I do this in my page...
ClientScript.RegisterStartupScript(this.GetType(), "SomeScript",
"alert(\"Hi there\");");
it doesn't work AND when I view source, the alert() line is dumped into the
HTML but with no <SCRIPT> block around it. Why would this be happening?
Al... more >>
Using XMLTextReader with Asp.net
Posted by Robert W. at 4/30/2006 12:17:01 PM
I've ported some XML reading code from my WinForms app to my ASP.net app but
can't get it to work. Here's the code:
// Just testing locally for now
XmlReader reader = new XmlTextReader("http://localhost/TestApp/Menu.xml");
DataSet ds = new DataSet();
ds.ReadXml(reader, XmlReadMode.Auto);
r... more >>
GridView and ButtonField type
Posted by jhaidon NO[at]SPAM gmail.com at 4/30/2006 11:14:01 AM
Hi everybody,
I want to fill in a GridView with a dataset.
So I created the list of fields that I want to see in the gridview.
And I added a column (in first position in the gridview) as a
ButtonField column (ButtonType: button).
My records are loaded correctly.
During the RowDataBound event... more >>
Membership Provider Error
Posted by eckseeker NO[at]SPAM gmail.com at 4/30/2006 9:39:08 AM
Hi there,
I am using asp:Membership to control authentication and role management
in my site.
The Membership wizard locate the users and roles in a SQL file(SQL
express) locally, but I need to upload the DB in my server and users
and roles are not there even if I copy the DB file.
My questio... more >>
Elegant Way to Handle "Are you Sure" Dialog on Client
Posted by Alex Maghen at 4/30/2006 8:43:01 AM
Let's say I have a web forms button which performs a Delete or something. I'd
like a click on the button to pop an "Are you Sure" dialog on the client side
and then only execute the button's OnClick operation on the server side if
the user had clicked Ok (as opposed to Cancel) on the pop-up di... more >>
creating a weblog site with asp.net 2.0 and c#
Posted by Cornelis at 4/30/2006 7:40:01 AM
Does anyone konw a free example of a weblogproject in asp.net 2.0 c#?
Hope to get a suggestion soon.
Cornelis... more >>
CheckboxList\LabelWidth
Posted by gh at 4/30/2006 7:06:59 AM
I am using .net v1.1. I have a checkboxlist control that is populated
from a datasource. The label for each checkbox varies in length and
some of them wrap. How can I set the width for the checkbox labels, to
allow for longer text without wrapping?
TIA
... more >>
creating a data entry screen without the gridview.
Posted by hazz at 4/30/2006 6:10:10 AM
I want to display 'n' records for a table-driven data entry page.
The first column should be readonly and the 2nd column, a checkbox WRITABLE
(NOT READONLY).
I can't use the gridview because it creates -> checked="checked"
disabled="disabled"
What I need is more like this;
<form id="form... more >>
Resource files --> 'Classic' ASP
Posted by Zark3 at 4/30/2006 5:43:23 AM
Hi all,
Probably not the best place to ask this, but considering I'm more of a
..NET-guy thinking in .NET-patterns, here goes anyway.
I was handed an ASP-project to internationalize (read: create
multi-lingual user interface). Should this have been a .NET-site, I
would have easily created s... more >>
display processing image when uploading files
Posted by jessnair NO[at]SPAM gmail.com at 4/30/2006 2:22:39 AM
Hi,
How do you display a busy/status image in a web application when you
upload files to the server.
Using vb.net
thanks in advance
... more >>
is mysql fit for asp.net 2?
Posted by aspnetdir at 4/30/2006 1:07:25 AM
i setup this asp.net 2 powered portal site to initially use mysql, i've
run into so many problems most especially connection crashes, memory
errors, etc.
has anyone successfully implemented a mysql/asp.net 2 site? this is the
address of my portal if you want to take a look
http://www.aspnetdi... more >>
How to do for a web page which have header(top), content (datagrid) with scroll bar, footer(bottom) using HTML's DIV Tag under ASP.NET?
Posted by abc at 4/30/2006 12:00:00 AM
I don't know How to use HTML's DIV Tag to do that web page which have header
(Top), content (datagrid) with scroll bar, and bottom footer.
How should I do?
... more >>
changing font of textbox?
Posted by Peter Rilling at 4/29/2006 9:47:20 PM
I have controls on a page such as a textbox where I would like the font to
match the rest of the page. The CSS style applied to the <body> tag does
not seem to be used by the textbox. Can the textbox font be changed? Also,
same thing for buttons.
... more >>
POST data truncated in Internet Explorer 6
Posted by Ian Lotinsky at 4/29/2006 7:09:09 PM
I had a really weird bug recently. I had a drop-down user control that
would not fire the onselectedchange event server-side. After nearly
twenty hours of debugging, I finally setup a local proxy (WebScarab,
which rocks by the way) and noticed that IE was deciding not to POST
the key/value pair ... more >>
GridView binding - how to stop initial binding
Posted by Amit at 4/29/2006 5:32:23 PM
Hello,
I have a simple search screen, with two drop-downs and a text box. There's
also a GridView control that is using a SqlDataSource control to show the
matching results. The SqlDataSource uses the control values in its query as
parameters. Two questions:
1. When the Find button is clic... more >>
Best Use of Master Pages - dynamic content and event handling
Posted by LilC at 4/29/2006 5:12:56 PM
I'm creating an application that has a standard layout for all pages.
The information that is displayed in the layout will be dynamic based
on the user that is logged in. Thus when a page is browsed to, I need
to check to see if the user has logged in or not. Then if they have
logged in, I need ... more >>
Using Auto-Generate Fields with Gridview, how to set column alignment???
Posted by gwhite1 NO[at]SPAM kc.rr.com at 4/29/2006 2:50:55 PM
I am using the auto-generate fields option because my query can be
different based on what the user selects. But I would still like to set
the column alignment but I can;t seem to access the columns in code
after the data has loaded. Any ideas?
... more >>
DATAGRID PROBLEM
Posted by Savas Ates at 4/29/2006 2:32:07 PM
First When I Bind my datagrid It returns --Unisex-- value for my
GENDER_NAME field. When I click Edit , Write UNI to update UNÝSEX value and
Click Update button i catch
UPDATE TBL_GENDER SET GENDER_NAME='Unisex' WHERE GENDER_ID=1
with response.write ..
Why it doesnt return me current val... more >>
ASP.NET 2.0 Return Values
Posted by Kevin at 4/29/2006 2:15:25 PM
Have the following code to extract the ID of a member once a new member has
been inserted into the SQL 2005 Express database.
Dim myID As String = ""
Dim myConnString As String =
ConfigurationManager.ConnectionStrings("ConnectionString").ToString
Dim mySelectQuery As String = "SELECT IDENT_... more >>
Server.Transfer Question
Posted by Ranginald at 4/29/2006 1:56:46 PM
Is there a disadvantage to using the Server.Transfer technique -- eg.
vs. Response.Redirect?
Thanks
... more >>
IIS and Skype Conflict
Posted by Robert W. at 4/29/2006 11:27:01 AM
I've observed that everytime I reboot my computer, IIS will not start. I've
tracked this down to a conflict with the well known product, Skype. Shut off
Skype and I can start IIS.
I'm curious to find out if anyone knows what the conflict is between these
two pieces of software?
--
Ro... more >>
Un-Beveled Pull-Down Lists
Posted by Alex Maghen at 4/29/2006 7:08:01 AM
I don't seem to be able to do anything to change the border style of my
standard pull-down list controls on a page. I've messed with the Style
property, the Border-Style property, everything. Nothing seems to have any
effect. Any idea why? Is this even possible? All I want is to change it from... more >>
foreach ImageButton problem
Posted by Varangian at 4/29/2006 6:47:57 AM
Hello
how come foreach(ImageButton imgbtn in Page.Controls) doesn't work ?
whats wrong in that statement? what should I do? I need to go through
each ImageButton in the Page, without going through all the other
controls.
thanks
... more >>
Two way databinding using variable names
Posted by cab0san at 4/29/2006 6:21:56 AM
Is it possible to use a publicly scoped string vaiable as an argument
to the bind method?
A normal bind method works like this:
<asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("CustID")
%>'></asp:TextBox>
I get an error when I try this:
Public strCustIDFieldName as String="C... more >>
Preserving data within a whole application.
Posted by Omega at 4/29/2006 6:19:56 AM
I just recently recieved my full copy of Visual Studio 2005
(excited!!!), and have gone head first into writing my first
application.
Sadly, I've hit a design barrier.
>From what I can see, ASP.NET 2.0 has no facility that is instantiated
upon deploying an application - similar to servlets.... more >>
Problems Passing Parameter from web page 1 to web page 2.
Posted by Ranginald at 4/29/2006 5:58:49 AM
Hi,
I'm having trouble passing a parameter from my default.aspx page to my
default2.aspx page.
I have values from a query in a list box and the goal is to pass the
"catID" from default.aspx to a stored procedure on the details2.aspx
page.
I can successfully pass the values from the listb... more >>
Data conversion Error
Posted by Reggie at 4/29/2006 2:42:21 AM
Hi and TIA. I have a dataset that I fill from an Access table. Some
integer and date fields are null. I'm iterating through the records and
sending them to an SQL database table. The problem I'm having is I get an
error: (FormatException: Input string was not in a correct format.]) when it... more >>
How to clear Viewstate in aspx (or ascx) page
Posted by asgars at 4/29/2006 12:40:34 AM
hi friends,
i am having an aspx page. i want to clear its viewstate on a particular
condition.
Is that possible? If yes, how can i do so?
Plz help me.
... more >>
Website Images Broken
Posted by Jon B at 4/29/2006 12:00:00 AM
Hi There!
For some reasons, some images of my ASP.NET website are cannot be displayed
in the browser (even tho they exists on the server). They are just normal
JPG and PNG images and the website has been working fine before. I tried
re-upload the original files to the remote server but stil... more >>
Response.Redirect in v2
Posted by Mark Rae at 4/29/2006 12:00:00 AM
Hi,
I have a fairly simple site, the vast majority of which is available to
everyone on the public internet.
However, the site has one section which requires logon via the standard
username-password combination. The usernames and passwords are stored in
encrypted form in SQL Server 2000.... more >>
support language
Posted by sachin_himcs at 4/28/2006 11:52:50 PM
sir
I want to know that
...net support many language .is java one of them language.
--
sachin_himcs
------------------------------------------------------------------------
Posted via http://www.codecomments.com
---------------------------------------------------------------------... more >>
Sending data over internet using web service
Posted by Jonathan Woods at 4/28/2006 9:18:13 PM
Hi there,
I have encountered problem of losing data sending over internet using
web service. I consume web service that connected Oracle Database. I
submit 687 SOAP Messages to 1 Web Method concurrently. (With
synchronize method)
[WebMethod]
public bool SubmitDPSuccessResult(string dpNo,... more >>
Get session variable in javascript
Posted by joe at 4/28/2006 7:48:01 PM
if i create a session variable name session('abc') in asp.net
how to get it in javascript... more >>
Leaving FormView state without cancelling
Posted by sck10 at 4/28/2006 7:45:13 PM
Hello,
I have a LinkButton that I use to open a FormView in ReadOnly mode
"ShowList", and a LinkButton to open the same FormView in the Insert mode
"NewRecord". If the user clicks "ShowList" then a GridView opens up and
they can then select a record to view the record in the FormView. If the... more >>
table layout problem.
Posted by jae lee at 4/28/2006 7:31:01 PM
Hello,
I am using visual web developer express. I have created a simple login
page, and i am using tables to control layout. The design view is
different than browser view. In the design view, it looks perfect, but
the actual browser display is ugly. I can't seem to control actual
brow... more >>
Upload and dropdownlist from folder
Posted by Bob at 4/28/2006 5:44:42 PM
I've made an upload function saving to a specific folder and dropdownlist
reading and listing files from the folder.
When I upload, the list is rendered a second time in the dropdownlist with
the uploaded file only being displayed in the second list. I would like to
avoid the dropdown being f... more >>
GetWebResourceUrl and dynamic resources
Posted by Jeremy Chapman at 4/28/2006 4:50:22 PM
Normally I would use GetWebResourceURL which would which would return the
WebResources.axd url of a resource in my assembly. I would put that in my
aspx and at run time the browser would do a get on that url and the
resources would be streamed back to the browser. What I want to do though
... more >>
ASP.Net 2.0 class library?
Posted by instruo at 4/28/2006 4:31:01 PM
Hi there,
I've created a class derived from System.Web.UI.Page that I'd like to be
able to put into Reference Assembly for easy sharing between subwebs.
However, I can't seem to find any way to create such a class library for
ASP.Net 2.0. (Creating a windows class library doesn't work bec... more >>
|