all groups > asp.net > july 2007 > threads for tuesday july 17
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
Cross user control communication via parent control.
Posted by zb at 7/17/2007 11:00:03 PM
Here is the page architecture:
Page loads multiple user controls (including nested user controls)
dynamically based on parameters provided into place holders. Note: The
page only has the logic to load the user controls and subscribe to
custom event exposed in the user controls.
Scenario:
Use... more >>
Adding Class .cs Files to Inline ASPX Site?
Posted by lucius at 7/17/2007 10:35:35 PM
I am working with a site that uses inline code in .aspx files and C#
code in the header area. I would like to add some HTTPModules and
HttpHandlers but am not sure where to put the .cs files and how to
reference them in the web.config - can anyone show a sample?
Thanks.... more >>
HTTP Post and ASP.Net application life cycle
Posted by Sameeksha at 7/17/2007 9:58:00 PM
I vaguely know that HTTP Post does not send all the data (hidden fields?)
along with the request.
I would like to know the stage in ASP.Net application life cycle where the
POST data is read - is it in HttpApplication.Init or at the time when
viewstate / postback data is loaded? I am not able... more >>
Pages not in root folder
Posted by Rick at 7/17/2007 8:33:34 PM
Hi,
Our website used to have all pages in the root folder, and the entry
page is "Login.aspx".
I was asked to move all pages inside a folder named "Aspx"
Is it possible to move also the default page "Login.aspx" into this
folder, or should it be left in the root folder?
"Login.aspx" is... more >>
Formivew gets blanked out after onupdated exception error.
Posted by jobs at 7/17/2007 8:01:54 PM
Inside an onupdated event of an objectdatasource for a Formview, I am
doing some error handing that is working in displaying a friendly
error message.
However, my form get's blanked out when there is an error.. and I'd
like to keep that data on screen and stay in editmode.
Thanks for a... more >>
dynamic rss not able to be subscribed to
Posted by fredd00 at 7/17/2007 7:19:27 PM
Hi
we have some page that genreate rss 2.0 feed the url is like .../
rssfeed.aspx?id=123
the page displays properly in browsers, but when we try to add the
page to a reader
like google reader , we always get an error saying : no feed available
for .../rssfeed.aspx?id=123
is there a reas... more >>
Slow download speed, large file
Posted by humbleaptience at 7/17/2007 7:15:13 PM
I have a php script that did this before, I want to move it to asp.net
I am getting ~30kbps download speeds with this asp.net code. The php
seems to be lightening fast.
Help!
HttpWebRequest webreq = WebRequest.Create(WMSReq.ToString()) as
HttpWebRequest;
HttpWebR... more >>
Dynamic Controls
Posted by at 7/17/2007 6:35:28 PM
Hello,
I'm having a problem with getting dynamic controls to work the way I
want. Here a breakdown of my situation:
1. A user adds some information. This information is added as an
object to the ViewState.
2. On Page_Load event all added objects are retrieved from the
ViewState and ren... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
httplistener, custom hosting and authentication/impersonation
Posted by Enrico Sabbadin at 7/17/2007 6:27:55 PM
Hi,
I've developed in .net 2.0 a custom web server that hosts asp.net sites
using the httplistener and applicationhost.createapplicationhost.
When I tell to the httplistener to require authenticathion it does work,
however in the the asp.net site EVEN IF I require authentication=windows /
im... more >>
Please recommend a Web Hosting Service that supports ASP.NET and SQL server.
Posted by jonny at 7/17/2007 6:13:21 PM
Please recommend a Web Hosting Service that supports ASP.NET and SQL
server. I am new at this and just signed up with Yahoo before I new
any better. It appears that yahoo does not support ASP.NET and SQL
server. (Instead yahoo offers PHP and MySQL)
Also, good site to go and get a domain name.
... more >>
GridView Formatting
Posted by Brian at 7/17/2007 5:11:49 PM
I currently have a GridView that displays information like: [Picture], Name,
Address, City, State, Notes. Right now this information is displayed in
columns but I would like it if each row in the table actually containted the
address information on the first line and the note information on a... more >>
Conflicing My.MySettings sections in web.config files
Posted by cmay at 7/17/2007 4:41:58 PM
I have an asp.net application at the root, and other applications
suchs as /WebApp1, /WebApp2.
By design, these web applications inherit the root application's
web.config file.
But, when you create a Web Reference, to a webservice, it creates a
section in your web.config file "My.MySettings... more >>
How to clear a textbox on GotFocus in a web-page ?
Posted by Radu at 7/17/2007 3:47:22 PM
Hi.
I have... well.... not very many computer-literate users to my web-
site.
For the textbox which expects an email address, for instance, I had to
enter a default text like
"Email..." because if not, they phoned me asking questions like "What
does the message 'Your email address is requi... more >>
I'm at my wit's end--beginner to VS 2005, long-standing VB6 programmer
Posted by Brent White at 7/17/2007 3:04:59 PM
The documentation provided by the people here has been somewhat
helpful, but it appears I am missing the boat somewhere.
I have a web service I designed in VS 2005 that right now is doing
nothing more than returning an XML stream to a client. Eventually, it
will post an HTTP request to an out... more >>
ConstructorInfo
Posted by JimHeavey at 7/17/2007 2:52:07 PM
I'm trying to figure out how to use the ConstructorInfo class to get the
appropriate constructor and then use the "Invoke" method to create and
instance of the class. Seems easy enough, but it is not working for me, so
it must be something simple.
Here is the code that I am using, and the ... more >>
validation control
Posted by Mike at 7/17/2007 2:50:36 PM
I have a web form that has 2 buttons and a textbox and a listbox. I need to
validate each control but only if the buttons assocaited with that control
is clicked.
example:
textbox1 = need to validated if the 'add' button is clicked
I then have a listbox that i need validated to make sure ... more >>
Membership - Log Out Programatically
Posted by Mick Walker at 7/17/2007 2:41:54 PM
Hi All,
I have a situation where I am using a login control to log a user in to
my web app.
Under the LoginButton_Click handler of the login control, I retrive some
custom user information from the database.
Based on this information, the situation may arise where I want to log
the user o... more >>
possible to use <link type="image/gif" href=... ?
Posted by PJ6 at 7/17/2007 2:31:38 PM
Embedded javascript can be served from a DLL with an include that uses a
special URL generated by the Page.ClientScript.GetWebResourceUrl method at
runtime. For example:
<script
src="/DEV-WEB/WebResource.axd?d=Fzr7sc4IZAELIE4FCpgaNkpd1YgQqgig1EfiFj9_b7U1&t=633202779231250800"type="text/java... more >>
SOAP client always returns 0
Posted by Vesna Sarajevo at 7/17/2007 1:51:28 PM
Hi all and thanx for your help in advance.
I'm using MS SOAP Toolkit V3 to call my webservice (which works) but I
always get 0 in result, whatever numbers
I send. This is just a dummy function that adds two numbers. Do you
know what I'm doing wrong?
This is the code:
-------------------... more >>
Emailing Code works fine in debug mode, BUT NOT when uploaded
Posted by at 7/17/2007 1:02:14 PM
Hi,
This code emails the contents of 'TextBox1' and 'TextBox3' to
rcv@domain.com.. this code seemed to be working fine in debug mode and
DID mail rcv@domain.com However when i uploaded the website to my
hosting account, my browser popped up and alertbox saying:
"Sys.WebForms.PageRequestServerMa... more >>
Moved from filesystem to HTTP ->net 2005..
Posted by Sriman at 7/17/2007 12:16:04 PM
Hi,
Actually i have developed one site. after some time i reliazed that i have
created that site in "File System". So, i have created a virual directory and
given path to my site. I am able to open and build the application . but when
i run the application i am getting the below error. Base... more >>
ASP.NET deployment
Posted by Sekhar at 7/17/2007 12:16:03 PM
Hi all
Is there a command that would do asp.net deployment which is similar Publish
web site(which we do manually)
Regards
... more >>
Apache...
Posted by Sebastian Klein at 7/17/2007 11:38:40 AM
Hello,
is there a way to run asp .net on apache???
thank you
... more >>
get changed value only
Posted by Mike at 7/17/2007 11:25:05 AM
I have a text box were I can enter in a list of users. I then have a button
that I verify each user. I'm running into an issue, were if I have 3 users
entered in the textbox and user #3 is invalid, I then have to re-enter the
correct ID, when I hit my
validate user button, it validates all th... more >>
asp.net 2.0 webservices deployment problem
Posted by linda.chen NO[at]SPAM faa.gov at 7/17/2007 11:16:18 AM
This is the first project I worked in Visual Studio .NET 2005.
I created a webservices by asp.net 2.0. The webservice works correctly
in my
development environment. When I published the webservice to the
default
website, even to the same machine (my default website already has a
webservices ... more >>
Event message: Application is shutting down. Reason: Hosting environment is shutting down.
Posted by Jack at 7/17/2007 11:11:49 AM
Sorry for the double post (also in the IIS group).
We've got an ASP.Net 2.0 app running on IIS6. We kept losing sessions, and
enabled health monitoring to see what was happening. This morning the got
the following in the logs. Any idea what would cause it?
Event code: 1002
Event messag... more >>
Manual .Net 2.0 Framework Uninstall
Posted by Steve Cross at 7/17/2007 9:50:37 AM
I need a procedure for a manual .Net 2.0 Framework uninstall.
dotnetfx /C doesn't work
Manaully running the .msi from the %systemroot%\installer directory doesn't
work.
It appears to be some sort of version conflict.
Any help is appreciated.
... more >>
validator for 2 fields?
Posted by HockeyFan at 7/17/2007 9:27:48 AM
Is there good way to set up a validator on 2 textboxes, so that at
least one of the two has to have something besides blanks? One
approach I thought about was to create a hidden field and use
javascript to update that field from either of the 2 textboxes, and
then set the validator on that one ... more >>
ActiveX component can't create object: 'Excel.Application' error ONLY in IIS
Posted by Steve Kershaw at 7/17/2007 8:58:47 AM
Hi,
I have a simple web page that starts Excel and fills it with some
dummy data. Using IE I can run this web page from the C: drive (IE: "C:
\startexcel.htm") and it runs fine. However, when I put the web page
in the wwwroot directory in IIS and try to run it there (IE: "http://
startexcel.h... more >>
VS' publish website feature not copying static files
Posted by schneider NO[at]SPAM rehm.de at 7/17/2007 8:01:36 AM
Hi all,
I want to publish my asp.net 2.0 website using the "publish website"
feature of visual studio 2005. everything works fine so far, but the
IDE only compiles and copies the aspx, ascx, resources etc. files to
the destination directory. It does actually not copy .txt, .htm or
graphics fi... more >>
Could not load type, 1.1 to 2.0 Upgrade
Posted by MonroeCheeseman at 7/17/2007 6:32:05 AM
I'm trying to upgrade a 1.1 project to 2.0. It's a project that uses
dynamically loaded controls. I've gone through the steps of upgrading the
project and converting it to a Web Application, everything was working ok
then all of a sudden I started getting the message "Could not load type" on... more >>
explain "instant member"
Posted by MagicKat at 7/17/2007 6:22:07 AM
Can you explain what they mean by "instant member" for instance, in the
article about arraylists, it says it's thread safe but it's instant members
are not. What does that mean?
http://msdn2.microsoft.com/en-us/library/system.collections.arraylist.aspx
... more >>
Decorating a partial class with a custom attribute
Posted by hardieca NO[at]SPAM hotmail.com at 7/17/2007 5:23:46 AM
Hi!
I decorate my unfinished classes and methods with a custom TODO
attribute (as in things To Do). Using reflection, I am then able to
parse through my classes and output all TODOs to a list I can examine
to figure out what is left to be done in my application.
The attribute is coded thusl... more >>
editing in gridview
Posted by vinodkus NO[at]SPAM gmail.com at 7/17/2007 3:50:47 AM
<asp: editCommandColumn> is not available in version 2.0 then how an
editing is possible in gridview.
... more >>
Let me present list of my available const
Posted by at 7/17/2007 1:39:54 AM
Hi,
Let me present list of my available consultants
1) Java Consultant
2) SAP SD Consultant
3) Sr. Dot Net Consultant
For more details, contact me on mailto:mandar@kraftware.com or call me
on 402 408 3687 / 402 408 6601
I
Excellent Java Const having 8+ yrs exp available for your dire... more >>
Problem while Fetching Text type of DATA in ASP.NET
Posted by Bhavesh at 7/17/2007 12:39:14 AM
Hi Bruce,
Thanks For Reply.
U were right, Needed to pass string , but also need to pass size of
Data( instead of 16, passed actual length of data). So that worked for
me & didn't get any error.
But now problem in fetching, not able to fetch data from table
correctly. Here is my code. I h... more >>
FileUpload and update panel
Posted by Mukesh at 7/17/2007 12:00:00 AM
i have coded like this
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:Label ID="Label1" runat="server">
<asp:FileUpload ID="fupLogo" runat="server" Visible="False">
<asp:Button ID="Button2" runat="server" Text="Upload"
OnClick="Button2_C... more >>
|