all groups > asp.net > february 2006 > threads for thursday february 9
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
File Upload Issue.
Posted by Kalpesh Modha at 2/9/2006 10:34:12 PM
Hello.
If I upload a 1MB file this works ok. However if I try to upload a 10MB
file, I get a IE page saying page can not be displayed. I am running IIS.
Is their a limit on a allowed file size ?
thanks
Kalpesh Modha
... more >>
IE's view source not showing what is actually being displayed
Posted by jwwishart NO[at]SPAM gmail.com at 2/9/2006 9:24:20 PM
For some reason I'll view an aspx page and...
1. Scripts that I add (using the RegisterStartupScript method of the
Page object) dont show up in the source(IE->View Source)even thought I
know that the scripts are registering fine in every other page.
2. I can see (for example) a div tag with ma... more >>
How to get valid XHTML from the framework????
Posted by Alan Silver at 2/9/2006 8:54:59 PM
Hello,
I thought that ASP.NET 2.0 was supposed to output valid XHTML 1.0. I've
just spent a very frustrating time trying to fix all the validation
errors in framework-produced code.
I posted previously (but haven't had any replies yet) about the
framework adding a "name" attribute to the fo... more >>
disabling filename input
Posted by Vikram at 2/9/2006 8:01:20 PM
How can i restrict user from entering anything in file name of input type
file (upload) control. I want user can ionly select file using browse button
... more >>
Usercontrols passing data back to the Page object
Posted by Tarun Mistry at 2/9/2006 7:43:27 PM
Hi, i have a page with a user control on it, the uc is a form with a submit
button.
On submitting, how do I make the call get picked up by the webform the user
control is in?
Alteratively, is it possible to post to a different .aspx page?
Thanks,
Taz
... more >>
Issues With User Control Embedded Into Web Page Since Installing .NET 2.0
Posted by Markus Kling at 2/9/2006 7:15:37 PM
Hi,
I have a rich Forms UserControl which is embedded into a web page. Since
installing .NET 2.0 on the clients, the control stopped loading completly.
- I disabled security completly using caspol -s off => no effect
- I enabled fussion logging => no single entry generated
- I enabled the ... more >>
ASP.NET adds invalid attribute to the form!!
Posted by Alan Silver at 2/9/2006 7:06:54 PM
Hello,
I am just trying (and failing miserably) to massage my pages into valid
XHTML. One problem I am having is that the framework has added a "name"
attribute to the main form, and XHTML doesn't have a "name" attribute.
Anyone any idea why? The content of the master page looks like...
... more >>
http or https - detectable?
Posted by VB Programmer at 2/9/2006 6:39:32 PM
Is there a way (ASP.NET) that you can tell whether the users browser url is
using the secured https protocol or the usual http protocol? Thanks...
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
setting the focus to a textbox in a user control
Posted by Sridhar at 2/9/2006 6:22:28 PM
Hi,
I have a question. I have created a user control which contains a
textbox and a button. we will enter some search word in the textbox and hit
the button. Then we will get a pop-up with the listbox that contains the
matches. Once I select one of the matches, it will close the pop-up... more >>
datagrid columns
Posted by R Riness at 2/9/2006 5:39:19 PM
I have a datagrid that's using a dataread to display rows from SQL Server. I
have autogenerate columns turned off. When I add columns in code behind (VB),
I don't get the columns displayed correctly. If I add the columns in the web
page as part of the html, it works. I have other grids that wo... more >>
Gridview - conditional formatting
Posted by Not Me at 2/9/2006 5:02:07 PM
Hey,
In order to customise rows on my gridview control, I've some code in the
RowDataBound event, that works on each row, altering it's attributes..
for example I have:
If gvResults.DataKeys.Item(e.Row.RowIndex).Values.Item(1).ToString() =
"True" Then
e.Row.BackColor = Drawing.Color... more >>
Basic JavaScript Question
Posted by Grant Merwitz at 2/9/2006 4:50:36 PM
hi
I am using Javascript to do my validation
This is so i can display a loading message after a form is submitted.
Now, currently i do so like this.
I have a button, textbox and label like so:
<asp:textbox id="tb" runat="server"/>
<asp:Button id="btn" runat="server" text="Submi... more >>
ISSUE WITH CONFIGURATION - ASP.NET 1.1 /2.0 Side by Side
Posted by RHP_74 at 2/9/2006 4:45:27 PM
I have the following application structure on my web server:
-- (http://localhost) - Root application: ASP.NET 2.0
----- (http://localhost/folder): Virtual Directory - ASP.NET 1.1
Both apps have been configured to use the correct version of the framework,
but the child application fails st... more >>
DLL Question
Posted by Jesse Johnson at 2/9/2006 4:38:29 PM
I am somewhat new to ASP.NET with C# and have a questio nabout DLL's I have
been looking for. How would I take my class and turn it into a DLL to
reference it from my .net web forms? Some people say when you build the app
it will be in the bin folder but I cant find it. Could someone help? Tha... more >>
Global.ASAX using Statements?
Posted by xenophon at 2/9/2006 4:37:12 PM
I tried to put "using System.IO;" in my global.asax and Visual Studio
2005 would not let me compile. Why?
Thanks.
... more >>
ASP.NET 2.0 Namespaces?
Posted by xenophon at 2/9/2006 4:26:50 PM
I have a simple ASP.NET 2.0 site. I have created one page in the site
root, and another within 3 subfolders.
The first page has a namespace signature of "TestSite". The second
page is "TestSite.dir1.dir2.dir3".
In the first page, I try to get an instance of the second page, but
when typin... more >>
inline code in a server control
Posted by Gentian at 2/9/2006 3:37:27 PM
I have a datalist bound to a dataset.
In the Items template I have a Image which was supposed to changed depending
on a certain value retrieved from the dataset.
I have the ImageUrl attribute for the Image which I want to change
ImageUrl='...images\' <%# DataBinder.Eval(Container,
"Dat... more >>
VSS 2005 and VS 2003 question
Posted by Learner at 2/9/2006 3:11:55 PM
Hi there,
I have one another question on VSS 2005 and VS 2003.
We had few projects built in VS 2003 and we had all of those projects
under the VSS 6.0 until now. But as part of our development environment
up gradation our idea is slowly move few projects from VSS 6.0 to VSS
2005. As a tes... more >>
ASP.Net 2.0 - refering to the web page class
Posted by Nick Zdunic at 2/9/2006 3:05:26 PM
Just loaded up ASP.Net 2.0 and found that I can't refer to a specific web
page class from another class.
For example:
Partial Public Class _Default
Inherits System.Web.UI.Page
End Class
In another class defined in tha project, I get a Not Defined error
Public Class Class2
... more >>
Profile.IsAnonymous problem
Posted by Marco Assandri at 2/9/2006 3:03:26 PM
Hi everybody,
I have a problem with this code.
'An anonymous username copied from the Username column of Aspnet_Users table
with IsAnonymous = True
dim SurelyAnonymousUsername = "b8119428-6420-4609-958b-ac0504f6f88b"
dim p as ProfileCommon
p = Profile.GetProfile(SurelyAnonymousUsername)... more >>
2 projects under 1 solution
Posted by CsharpGuy at 2/9/2006 2:51:15 PM
I currently have a web project that references another projects DLL (its the
datalayer), and I have the DLL (copy to local = true) but when I make a
change to the datalayer DLL (project) I have to phyiscally copy the DLL to
the bin folder of my web application. Is there a way to have 2 project... more >>
add Another row to GridView Footer-
Posted by NewTel at 2/9/2006 2:27:01 PM
Hi
This code works great but it only adds the one row. I need a second one.
How?
Thanks!
Protected Sub grdExcel_RowDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.GridViewRowEventArgs)
If e.Row.RowType = DataControlRowType.DataRow Then
' add the UnitPrice ... more >>
add a second row to footer of gridview
Posted by NewTel at 2/9/2006 2:06:34 PM
Using this code only gives me one new row. I need a second for some other
calculations. How?
Protected Sub grdExcel_RowDataBound(ByVal sender As Object, ByVal e As
System.Web.UI.WebControls.GridViewRowEventArgs)
If e.Row.RowType = DataControlRowType.DataRow Then
' add the UnitPrice and ... more >>
treeview and firefox-mozilla
Posted by Alex D. at 2/9/2006 1:24:25 PM
does the treeview fully suport firefox-mozilla? maybe I am doing something
wrong but my + and - node expand node images dont switch when are clicked,
and it seems that the node expanded status wont persist between postbacks
for that reason.
any help?
... more >>
get an output value from a stored procedure using sqlDataSource
Posted by michelle at 2/9/2006 1:13:06 PM
I am trying to get an output value from a stored procedure using
sqlDataSource in asp.net 2.0. But I only get a null value for the
output. Can someone please help?
The sqlDataSource:
<asp:SqlDataSource ID="DataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings: ConnectionSt... more >>
unable to run project
Posted by dirk van waes at 2/9/2006 12:57:39 PM
Hello
At work, I made an asp.net solution in the map c:\inetpub\wwwroot\mysol.
Then I copied this map on my memorystick and placed all the files in the
same map at home.
Now I can look at my project in vs.net in designmode, but I can not debug or
run the project anymore. I always get the err... more >>
Bug when attaching data to thread
Posted by Mike W at 2/9/2006 12:43:29 PM
I am using thread.GetNamedDataSlot and thread.SetData to attach data to a
thread inside of a class library which in turn is used by an asp.net 2.0
application. For the most part it works but we are getting sporadic problems
where the data that was just set on the thread cannot be retrieved (... more >>
retrieving private property from shared public function
Posted by Jon Paal at 2/9/2006 12:19:54 PM
In a 2.0 vb code class, I have a private property and a shared public function
The property value has already been passed into the class, now I am trying to use a public finction which also needs the property
value.
How can I use the private property from within the shared public function, w... more >>
Need Help with user control
Posted by WW at 2/9/2006 12:14:22 PM
I have created a web user control and it work fine from my aspx page and I
can access its valuse from my aspx page using Run at server attribute.
BUT there are some page where I am using code behind files. The problem is
that when I try to access it from code behind files..then I get the... more >>
No download from link, when pg opened via window.showModalDialog( )
Posted by John at 2/9/2006 12:01:01 PM
Hi,
I'm having a problem opening / downloading csv files when called from a page
opened with window.showModalDialog( ).
To isolate this problem, I've written 3 files (see below).
1. main.htm allows the user to open the page containing the link in a
regular window or one opened via window.... more >>
Datalayer .NET 1.1
Posted by hecsan07 at 2/9/2006 11:54:18 AM
Hey
I am looking for an article or a tutorial to creating a DataLayer utilizing
..NET 1.1. Everything I dig up lately is only for .net 2.0. We are not quite
ready yet to implement that in my company.
Can someone giveme a hand on this?
Thanks
HS... more >>
asp.net visual web developer 2005 express code align to left
Posted by NewTel at 2/9/2006 11:51:51 AM
in code view- all my code is aligned but it is shifed half way across the
page- it is an eror. how can i fix?
thanks
... more >>
No Web Site Administration Tool after Deployment??
Posted by cmay at 2/9/2006 11:41:44 AM
I am finding this hard to believe...
Is there really no way to access the Web Site Administration Tool when
a site is deployed?
I know I can open it on my local computer running VS.Net, but what
about live production sites that are supposed to use this technology?
Do I have to write my own ... more >>
problem with <asp:HyperLink ------
Posted by newhorizon at 2/9/2006 11:40:01 AM
I am trying to let the users test if their web adresses are working or
not. so they input their web adress and click a button and then the
asp:hyperlink will point to their website. the problem is when they
click asp:hyperlink points to
http://www.mysite.com/myWorkingDirectory/www.userWebSite.... more >>
GridView -Running sum
Posted by NewTel at 2/9/2006 11:37:27 AM
Hi - I'm using gridview
One of the fields needs to be totalled at the bottom.
How can I do that?
thanks!!!!!
... more >>
Basic question
Posted by gralet at 2/9/2006 11:15:28 AM
Hi,
How can I make a default button in asp.net for a web form? (when I press
ENTER it calls the event click of the button) thnks.
--
__________________
Luis Graillet Ramos... more >>
Internet - Intranet Data Dilema
Posted by asdf at 2/9/2006 11:07:30 AM
Hi,
Currently, I have one database for Intranet clients on the server behind the
firewall. But I was asked to allow the extranet users to access the same
data. From the security perspective what is the best way to make that data
accessible.
Should we have two databases one for Intranet and ... more >>
Make folders/subfolder on server
Posted by Øyvind Isaksen at 2/9/2006 11:05:41 AM
I try to find som information about creating folders (and subfolders) on the
webserver using asp.net (1.0).
I have made a filuploader, and all files are now saved in the same folder on
the webserver. It had been smart if the users can make new directories in
this folder and save files in diff... more >>
Process continues after stop
Posted by Chip at 2/9/2006 10:52:01 AM
Can somebody explain to me why my process continues to run after I halt
execution? This plays havoc with debugging. I expect to be starting a new
instance at the beginning of a loop and the first break point hit is
thousands of itterations into the process (from a previous instance). I get
a... more >>
Anyone have the secret to Layout Position on web pages?
Posted by Rob R. Ainscough at 2/9/2006 10:23:25 AM
I'm at a new level of frustration just trying to get my controls to line up
and stay in place.
I'm using a MultiView containing 4 views - some views have Panels. I can't
use absolution position on my controls because in MultiView that means when
the views are switched (ActiveViewIndex) the... more >>
"Failed to access IIS metabase" on XP
Posted by Clint at 2/9/2006 10:04:29 AM
All,
I can't seem to find a solution to this problem. I'm not sure if this is a
Visual Studio problem, a .NET Framework problem, an IIS problem, or an
ASP.NET problem, so please stick with me ...
I had Visual Studio (the original) installed on my XP workstation. When
Visual Studio 2003 c... more >>
Passing nulls to cmd parameters
Posted by dew at 2/9/2006 9:27:02 AM
I am using sql to modify data, using parameters. However, if I set the
datatime to any other than a varchar, it bombs if the user enters a null
value. How am I supposed to handle this. Set param.Value to ???
param=cmd.parameters.add("@DueDate", sqldbtype.smalldatetime)
param.Value = txtDu... more >>
web.config errors after adding <profile> section
Posted by VB Programmer at 2/9/2006 9:08:55 AM
My 2.0 webapp works great.
I added a profile section and all of a sudden I get a slew of "Could not
find schema information for the element...." errors/messages.
Any ideas why? Here's part of my web.config....
:
<customErrors mode="Off" defaultRedirect="GenericErrorPage.htm">
... more >>
Web service that is able to receive a xml "POST" and process it
Posted by Jay at 2/9/2006 8:52:36 AM
Hello all,
I was wondering if someone can point me to a tutorial that show me how
I can set up a web service that can listen for me to send a POST from a
client? like so
Client sends http POST to http://www.mysite.com/processTheRequest. The
data being sent across is XML like so "<request><d... more >>
Basic ASP.NET application scope question
Posted by pinorama123 NO[at]SPAM gmail.com at 2/9/2006 8:27:22 AM
I have an ASP.NET application that contains a few classes that I have
built. One of my objects is a user object. I have a pretty basic
question about how this would work.
If I have multiple users logging into my application and using the user
object do they all share the same object or does AS... more >>
What should I do webapp or webservice + webapp?
Posted by jhooper71 NO[at]SPAM yahoo.com at 2/9/2006 8:15:31 AM
It's been recommended to me to use a webservice and XML for the data
manipulation layer for web applications in .NET 1.1. I was thinking I
could use the web service to extend the database interface to a Smart
Phone/Treo solution eventually.
I would like to create our apps in the most current ... more >>
DropDownList: MaxDropDownItems ???
Posted by Kimon Ifantidis at 2/9/2006 8:10:30 AM
Is there any way to set the maximum number of items of a DropDownList
when dropped down? I tried but could not find out how to do that.
Thanks
Kimon
... more >>
Download Application Center Test.
Posted by CdSlc at 2/9/2006 8:01:30 AM
Is there some way that I can download only the Application Center Test tool
rather than going through the .NET 2003 Enterprise CD?
Thanks.... more >>
Anonymous profile - how is uniqueidentifier handled? cleanup?
Posted by VB Programmer at 2/9/2006 7:59:08 AM
ASP.NET 2.0....
The new features ROCK!
When using anonymous profile settings.... (using for shopping cart)
1. How does each profile record uniquely identify itself? (Equivalent to a
UserId (newid() in a table.) Do I have to keep track of it or is it handled
internally?
2. Is the asp... more >>
Manually creating HTML... ASP.NET
Posted by ukbrainstorms NO[at]SPAM gmail.com at 2/9/2006 7:57:44 AM
Hi everyone, I have what is usually a familar problem but unsure about
how to solve it in ASP.NET.
I have an array of objects containing information, I would like to
create a table of these objects in my HTML page.
So in PHP, typically I would iterate through the objects generating the
html... more >>
read csv
Posted by P K at 2/9/2006 7:39:52 AM
what do you think would be the best way to read a csv
containing thousands of records...validating those records and transferring
them to a SQL Server database??
I mean ...use a streamreader then a dataset/datatable or anything else??
... more >>
Table Cell height 100% causes scroll??
Posted by jslaybaugh NO[at]SPAM gmail.com at 2/9/2006 7:37:25 AM
I'm working on an ASP.NET 2.0 application and am having trouble with a
very simple table layout. Using ASP.NET 2.0 it defaults to XHTML 1.0
Transitional and I am trying to comply. However, I cannot seem to get
my table to render properly, so I pulled out all the server controls
and just made a... more >>
Creating plug ins for an ASP.net app
Posted by ThePinkPanther at 2/9/2006 7:28:28 AM
Hello.
I would like to build my app in sort of a "plug and play" way and i dont
know how.
I would like to have a directory on the server with DLL files, each
including a class (derived from some base class i will use),
and my program will iterate these classes and by creating an instance of ... more >>
Disabling ASP.net 2.0 Membership
Posted by Paul Keegstra at 2/9/2006 7:22:45 AM
Hi,
I am currently working on an asp.net 2.0 web site that is a replacement of a
classic asp web site. The current web site uses a Commerce Server 2002
database for storing user information. It does not currently use any of the
Commerce Server 2002 functionality with the exception of the... more >>
ASP.NET 2.0 navigation control
Posted by bli2001 NO[at]SPAM gmail.com at 2/9/2006 7:07:57 AM
Hi All,
it's not uncommon to have the main menu control on the left-hand side
of a page and another menu across, say, the top of the page.
Is it possible to have one navigation control programmatically control
another on the page?
Some sample code?
Thanks in advance,
CodeSharp
... more >>
how to transform a list form of hyphens to an html unordered list
Posted by ibiza at 2/9/2006 6:56:30 AM
Hi all,
I have a question which I have no ideal of the answer...I am currently
working on a web application and at some time, I have a string
representing a short text. This could be a simple example :
"This is my list :\n\r-list item 1\n\r-list item 2\n\r-list item
3\n\r\n\rThis was a grea... more >>
display time needed for creation of the page
Posted by Xavier at 2/9/2006 6:45:28 AM
hello,
what is the best way to display display the time needed for rendering the
information. I must get the difference of time from the start of rendering
till the finish rendering the page - but any ideas how to do it?
My customer want to have such a info on every page, somthing like 0,1... more >>
hashtable to pass to proc
Posted by CsharpGuy at 2/9/2006 6:31:28 AM
I took over an web app (C#) were the developer put everything in a has table
then called a method to execute a stored procedure, now I'm running into some
issues were if I do an update and a NULL is passed that the field in the db
is left empty and NULL is not entered in. So how can I pass a N... more >>
Question. What to charge to teach a class
Posted by dfetrow410 NO[at]SPAM hotmail.com at 2/9/2006 6:27:21 AM
A local community collage called me to teach 2 1 1/2 hour classes on
Basic .net ideas. I am not sure what to charge. Anyone have experience
in this?
Dave
... more >>
A Thank You
Posted by Joe at 2/9/2006 5:52:40 AM
Hello All;
I just want to officially express my gratitiude to this group and to the
members who have helped me throughout the years. I really do appreciate your
insights and willingness to share your experience.
Once again, thank you.
--
Joe... more >>
Obtain Data from Populated Repeater
Posted by madfisher at 2/9/2006 5:04:09 AM
Hi,
I am trying to extract the data from a repeater after a post.
This is my repeater.
<asp:Repeater ID="PreviousBuilds" Runat="server">
<ItemTemplate>
<tr>
<td><%# DataBinder.Eval(Container.DataItem, "BuildNumber")
%></td>
</tr>
</ItemTemplate>
<... more >>
Stream in a new window
Posted by Suedois at 2/9/2006 4:42:30 AM
Hi,
I use a Crystal Report Viewer to export a report in PDF. This is done by a
code behind procedure like this:
private void ExportReport()
{
MemoryStream oStream = new MemoryStream() ;
oStream = (MemoryStream)
currentReport.ExportToStream(CrystalDecisions.Shared.ExportFormatType.Por... more >>
asp.net controls open new window!
Posted by Steve at 2/9/2006 4:16:57 AM
I have a javascript button which is opening an aspx page in a new
window (using the showModalDialog Method). The window size is specified
by the javascript, also specified no menubar etc. So far so good.
When I put controls on this aspx page (i.e. the new window), whenever I
click on them they... more >>
Checking web site is running or not.
Posted by pradeep_TP at 2/9/2006 2:51:25 AM
hello all,
I want to know how can I check whether a web site us running or not. I have
used HttpWebRequest but when I give a web site address, It takes few number
of seconds to throw exception if the web site is not running. Is there any
easy method of doing the same. I do *not* want to use... more >>
Changing Request.Form collection values
Posted by Kobi.Pinhasov NO[at]SPAM gmail.com at 2/9/2006 2:44:33 AM
Hello,
I'm using HttpModule to capture requests to the web server. Before
processing the page I'd like to check the values contained in some keys
of the Request.Form collection and according to some logic change if
necessary. I'd like to do this when BeginRequest event is fired. The
problem i... more >>
Questions for Desginers\Archiects
Posted by NH at 2/9/2006 2:10:27 AM
Hi,
I'm looking for some opinions and advice on designing ASP.Net apps. Let me
explain my approach to how I currently design and hopefully you can give me
some advice.
I create systems for a medium sized business's (200+users) using SQL Server,
ASP.Net 1.1 and 2.0. Generally I am very go... more >>
Manipulating HTML Output of Placeholder and Child Controls
Posted by Thomas Bandt at 2/9/2006 12:44:53 AM
Hi all.
I am filling some stuff into a PlaceHolder Control in my
WebForm, i.e. UserControls and WebControls. So far so good.
Now I want to manipulate the HTML output of this control
and its child controls. I want to parse the HTML code for
hyperlinks by regular expressions to extract them a... more >>
App_offline.htm and 404: why?
Posted by fhtino NO[at]SPAM gmail.com at 2/9/2006 12:11:44 AM
App_offline.htm is a very usefull feature during web site updates. But
I don't understand why asp.net engine returns a 404 status code instead
of a "normal" 200.
I created a simple app_offline file:
<html>
<body>
Apllication off line!
</body>
</html>
I put it in the root of my... more >>
Treeview imageset XPFileExplorer fails
Posted by Edwin Knoppert at 2/9/2006 12:00:00 AM
The last node not having childs get's a document image.
How can i get these nodes the folder image as well?
Even js might be a solution to me.
Thanks,
... more >>
ASP.net Load Balancing HELP
Posted by Nigil LaVey at 2/9/2006 12:00:00 AM
I have a server configured for load balancing
main server domain name is myserver.com and IP is 192.168.0.60
shadow server domain name is myserver.com and IP is 192.168.0.69
so if I keep on reloading a page or just trying to access to page, will
Figure 2 comes into scene where
Top Frame IP f... more >>
I've got a Null Reference Exception Error... help me out~!
Posted by ¿À¼º¿µ at 2/9/2006 12:00:00 AM
I got a Error as below :
System.NullReferenceException:
143: width="800" border="0">
144 Line: <TR height="100%">
145 Line: <TD style="WIDTH: 807px"
vAlign="top"><FONT face="±¼¸²"><farpoint:fpspread id... more >>
|