all groups > asp.net > july 2007 > threads for thursday july 19
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
Should I use Viewstate?
Posted by Froefel at 7/19/2007 11:59:37 PM
One of my web pages is a page that allows the user to create or modify
a project definition. It displays a feedback message when you've
performed certain actions that causes the page to post back to itself
(similar to Gmail's feedback messages). For instance, when you select
several items from a... more >>
ViewState or QueryString
Posted by Froefel at 7/19/2007 11:34:03 PM
One of my web pages is a page that allows the user to create or modify
a project definition. It displays a feedback message when you've
performed certain actions that causes the page to post back to itself
(similar to Gmail's feedback messages). For instance, when you select
several items from a... more >>
Error 1804?
Posted by Cowboy (Gregory A. Beamer) at 7/19/2007 9:25:29 PM
I am getting this error when attempting to preview local sites (I have been
documentation for the past few weeks, so it is likely something that I added
in that timeframe).
Message in Event Viewer:
--------------------------
aspnet_wp.exe could not be started. The error code for the failure... more >>
ASP.NET Conditional Statements
Posted by Brian at 7/19/2007 8:36:03 PM
I have an ASP.NET page that uses a FormView and SqlDataSource. Within my
page I want to change a string if a column within my database record is a
certain value. Here is some sample code:
<asp:Content ID="Content2" ContentPlaceHolderID="Main" Runat="Server">
<asp:FormView ID="FormView1... more >>
NEED HELP AND FAST
Posted by Brent White at 7/19/2007 8:30:09 PM
I have been posting all over the 'net and no one seems to know how to
help. I have a web service that I have been trying to write to using
SOAP and now I'm getting this cryptic Internal Server Error message
with no information as to why. This is my web service:
Imports System.Web.Services
I... more >>
An AJAX question
Posted by JC at 7/19/2007 7:46:52 PM
I have a form with a few UpdatePanels and each has an associated
UpdatePanelAnimationExtender which causes fade-in and fade-out. In addition
2 of the animations disable the 2 buttons which trigger them in the Updating
event and then enable them again in the Updated event. I was surprised to ... more >>
SiteMap Example with Inline ASPX?
Posted by lucius at 7/19/2007 6:05:09 PM
I have a .NET 2.0 web site that is made up of .aspx pages that are
done in the Clasic-ASP-looking "inline method".
I need to add a SiteMap Control to the pages in the site, and need to
see an example of how to do so, since there is no codebehind or
compiled thing to use.
Thanks.
... more >>
Gridview Sort Header
Posted by MikeB at 7/19/2007 5:26:55 PM
Hello All, I just added sorting to my gridview and it messed up my headers.
I do not want the test to display as blue and I can not seem to figure out
what I need to do to get it back to my normal formatting. Here is what I
current have the style set to, can any one help me get it back to my
... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
which is the better way to store small files
Posted by chenhong at 7/19/2007 5:19:05 PM
I'm building a website.I have 2000 files(pdf,tif,etc) which users can
download.
And the files will increase in times.
should I put the files into a database table or just put them into a folder.
TIA
... more >>
Problems storing upload file in session (ObjectDisposedException)
Posted by J055 at 7/19/2007 4:55:59 PM
Hi
I have the following code. I upload an XML file using the FileUpload object,
store the stream in a session so the user gets the chance to confirm some
options then pass the stream from the Session to an XmlReader.
if (performImport == false)
{
Session["__xmlImportFile"] = fileUpload1... more >>
Querystring or ViewState question
Posted by Froefel at 7/19/2007 4:32:26 PM
Hi group,
One of my web pages is a page that allows the user to create or modify
a project definition. It displays a feedback message when you've
performed certain actions that causes the page to post back to itself
(similar to Gmail's feedback messages). For instance, when you select
several... more >>
Not able to declare variables in custom user controls
Posted by stevong at 7/19/2007 4:16:01 PM
Hi,
I've a custom user control:
'user1.ascx
<script language="VB" runat="server">
Public str1 as string
Dim conn as System.Data.SqlClient ' But this line hits and error.
What should I do?
</script>
Hello World
I will hit compilation error. What should be the next step? Also,... more >>
ASP.net does not execute
Posted by john_smith_nebraska NO[at]SPAM excite.com at 7/19/2007 4:07:59 PM
I am using VISTA . I have IIS enabled .
I installed VS 2005 successfully.
Under old ASPX you knwo you go to inetpub wwwroot and run a test
default.aspx file to see if it executes properly.
I pulled a starter program from Microsoft site and pasted it into VS
2005 at the default.aspx pag... more >>
Session variables and reference
Posted by Vince13 via DotNetMonster.com at 7/19/2007 3:22:52 PM
I am trying to set up a page where the user can change data, and then click
cancel and the data will not be saved. Currently, I am saving the data in a
Session variable that is an array of a class I created:
public class cut
{
public cut()
{
ParallelDim = 'G';
cutPoint = ++numC... more >>
verbs for custom http handler work only on dev machine?
Posted by PJ6 at 7/19/2007 3:02:57 PM
I have this little tidbit in system.web in my web.config file, to allow
the handling of requests ending in ".res":
<httpHandlers>
<remove verb="*" path="*.res"/>
<add verb="*" path="*.res" type="DEVTEST.Resources+HttpHandler"
validate="false"/>
</httpHandlers>
This works fine on... more >>
asp.net 2.0 roles not working when deploying to web server
Posted by Homer at 7/19/2007 3:00:46 PM
Hi,
I'm developing my first ever web application and I'm running into a
lot of problems. My problem I'm encountering now is how to make roles
work when I deploy my web app to my company's server. It's an
Intranet application. I used forms authentication and I enabled the
role manager in th... more >>
Arithmetic overflow error converting numeric to data type numeric.
Posted by darrel at 7/19/2007 2:34:41 PM
I'm getting this error:
Arithmetic overflow error converting numeric to data type numeric.
Triggered on this line of my code:
objOleDbAdapter.Fill(DS, "rss")
Everything works when this is pointed at one DB server (our staging server)
but when we point it at another DB server (our product... more >>
loading to session after response is sent.
Posted by kyong at 7/19/2007 1:52:03 PM
hey,
i'm trying to figure out how i would load items to the session after the
reponse has been sent out.
(1) so user goes to /default.aspx
(2) server does it's thing and sends response back
(3a) /default.aspx loads ( yay! )
(3b) while the client is loading the page.. we continue to add it... more >>
Writing directly to ContentPlaceHolder
Posted by Slawomir at 7/19/2007 1:47:42 PM
Hello.
I have a simple question: it is possible to write directly to
contentplaceholder just like to the page? I'm looking for a way to put
text directly in the same way like Response.Write("Some example text"),
but can't figure out how to do it. For now I created the Literal control
and ... more >>
DLL Question.
Posted by Joe at 7/19/2007 1:42:59 PM
Alright after much researching, I've come to the conclusion that I
need to post this here hoping to get a solid answer. I'm looking to
create a DLL that is capable of being used on all platforms that I
mentioned in my subject (1.1 framework, 2.0 framework, old ASP) I'm
hoping to be able to cre... more >>
Are ASP.net contact forms subject to form spamming as much as PHP ones?
Posted by darrel at 7/19/2007 1:27:53 PM
We built out own CMS a few years ago. One of the features was a contact
form. Nothing fancy, just a handful of form fields (name, address, etc) that
when submitted, I grab and then send to a recipient via the SMTP server I
specify. Works great.
What I find odd is that in the years it's been... more >>
How to set a gridviews columns wrap property to false programatica
Posted by Kevin at 7/19/2007 1:02:17 PM
I have autogeneratecolumns set to yes but the columns I am bound to to are
not in the collection (using c#). How would I access them to set their wrap
property to false.
Please help I am stumpped on this one...
Thx.
Kevin... more >>
.NET COm Interop in IE?
Posted by super todd at 7/19/2007 12:59:13 PM
Im trying to package two dll files to be used as a web control.
Im using a C# class that is exposed through com interop that I
created in Visual studio 2005 to add some business functionality.
That depends on a third-party dll: MAPI33.dll http:/
www.mapi33.adexsolutions.com.I'm trying to pac... more >>
UserControl reference problem
Posted by mAbZ at 7/19/2007 11:34:43 AM
I neeed to instantiate an UserControl in an aspx page like this:
<MyNamespace:MyControl ID="ctrl1" runat="server" MyParent="<%# this %>" />
where "this" is the current aspx page and should be assigned to
property Parent contained in MyControl class.
Above code is contained in a PlaceHolder.... more >>
Alter the HTML output before it's sent to the web browser, possible?
Posted by Brian Simmons at 7/19/2007 11:12:15 AM
Hi,
Long story short: I've got a website built, and we moved it over to the
production server, which is an SSL-required (https://...) server.
A third party component that I'm using makes use of an <iframe>.
Unfortunately they set the SRC attribute to "".
This causes Internet Explorer to d... more >>
Explicit Localization Syntax - One Works, Other Does Not
Posted by Chris Walls at 7/19/2007 10:57:51 AM
We have created two (2) global resource files in App_GlobalResouces:
Global.resx
Global.es-MX.resx
In an ASP.NET page, we use two different syntaxes to set text on the page,
depending upon the context.
Syntax 1: <% =Resources.Global.QuickSearch%>
Syntax 2: <%$Resources:... more >>
know value of invisible column in gridview
Posted by Mariano at 7/19/2007 10:55:41 AM
Greetings, pls help me friends...somebody knows how could I see the value of
a cell belong to invisible column in gridview? I have a table with fields
like that : name, last name, address. I show in grid view name and last
name but address is invisble, how i see the value of these cells in a ... more >>
ASP.NET 2.0 - is there a new solution for simple Web form fields to database?
Posted by chadpaynter NO[at]SPAM gmail.com at 7/19/2007 10:26:36 AM
A lot of the work I do in web development tends to be a set of web
forms allowing a user to apply for a product or service which has
usually resulted in me writing code behind to read the form field
values and then create business objects which are commited to the
DB.
In ASP.NET 2.0 i know th... more >>
Exporting GridView data to Multiple File Formats
Posted by feltra at 7/19/2007 10:18:07 AM
Hi,
The following is from my friend who has only restricted net access
from his office and hence cannot post....
--------------------------------------------------------------------------------------------------
I am trying to export a GridView data to multiple file formats. The
requirement... more >>
file upload timing out or something
Posted by David Thielen at 7/19/2007 9:30:01 AM
Hi;
When using the FileUpload control, if the file is over 4M and the connection
from client to interent is a DSL line (and then on to the web server), when
the page is submitted it goes for a bit and then returns "The page cannot be
displayed".
Is this timing out or is it another issue?... more >>
How do you reference a dll that is not in the GAC on a .net Web Si
Posted by Zorpiedoman at 7/19/2007 7:14:04 AM
I use a third party compression tool from XCEED. I have copied the two
files, “Xceed.Compression.Formats.dll†and “Xceed.Compression.dll†into the
App_Code folder on the web site. I have these lines in my web.config file:
<assemblies>
<add assembly="Xceed.Compression, Version=3.3... more >>
How to see GridView data in JavaScript?
Posted by Steve Kershaw at 7/19/2007 7:02:24 AM
Hi
I have an ASP.NET web page I'm working on and I need to see the
GridView Cell data in a javascript function. <%= %> doesn't work. Am I
missing something here?
Thanks
Steve
... more >>
web services
Posted by AVL at 7/19/2007 5:54:03 AM
hi,
i need to check the availability of my web service....
how can i do that.
i dont want to call any of the methods present in web service to test
availability..
i just want to ping to the web service....how can i do that....
... more >>
Have an Empty Grid Show In Asp.net page
Posted by Doogie at 7/19/2007 5:45:09 AM
Hi,
I am trying to create an asp.net page for a web site and would like to
put a grid on the page that won't be filled until a user clicks a
button. But I want the grid to be visible before the user clicks the
button. I've tried the data grid, table, etc and cannot find one that
does this. I... more >>
Static Class - Thread Safe?
Posted by at 7/19/2007 5:26:10 AM
I am developing an application using asp.net 2.0. I created all my
business objects in my app_code folder. As of right now, all my
classes are public.
In my aspx pages, I am declaring the class like so
static Person myPerson;
The static declaration is working for me, for It keeps the inst... more >>
web service availability checking
Posted by AVL at 7/19/2007 5:06:03 AM
hi,
i need to check the availability of my web service....
how can i do that.
i dont want to call any of the methods present in web service to test
availability..
i just want to ping to the web service....how can i do that....... more >>
IIS 403 error
Posted by guy at 7/19/2007 4:46:03 AM
I have a web app that works fine.
I am now trying to port it to another server. To test the install I am
attempting to run it on a virtual W2K3 server (under XP)
whenever I try and run the app I get a 403.1 Forbidden: execute access is
denied error
I have checked in IIS and execute access... more >>
Interview Question & Answer
Posted by nivedita at 7/19/2007 4:12:33 AM
Hi All,
I want to dot net interview question with answer if any one have
question with answer please send me..
i am fresher
Thanks in advance..
Nivedita
... more >>
Two buttons on same page
Posted by Mike P at 7/19/2007 1:56:12 AM
I have a Submit button for a page which uses validation controls, and
now I want to add a Logout button to a user control at the top of the
page. But whenever I press the Logout button, the validation associated
with the Submit button occurs. How can I prevent this from happening?
*** Se... more >>
Getting event/method name
Posted by Vikram at 7/19/2007 1:30:05 AM
is there any object available in c#/asp.net which can give me event name in
that eevnt only. Like if I am in Page_load event, i should get Page_Load or
if I am in Button_click event I should get Button_Click. SO that I can logg
it in my cutom log file with a generic logic.
Thanks... more >>
Data Binding Issues
Posted by Swagener at 7/19/2007 12:55:29 AM
Hi all, I can't seem to get rid of this error whatever I do to have a
successful connection:
``````````````````````````````````````````````````````````````````````````````````
Explorer Error:
Server Error in '/' Application
DataBinding: 'System.Data.Common.DbDataRecord' does not contain a
prop... more >>
Membership database problems
Posted by Michael Lang at 7/19/2007 12:00:00 AM
Hi there,
I have a web application that works fine on my local dev machine. However
I'm having less success on my hosting environment.
When I detach the database for this site, copy it to my hosting environment
and attach it through their interface, I can connect to the database in my
h... more >>
Querystring or ViewState question
Posted by Froefel at 7/19/2007 12:00:00 AM
Hi group,
One of my web pages is a page that allows the user to create or modify
a project definition. It displays a feedback message when you've
performed certain actions that causes the page to post back to itself
(similar to Gmail's feedback messages). For instance, when you select
several... more >>
|