all groups > asp.net > august 2007 > threads for thursday august 30
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
Get Text from dropdown list using javascript
Posted by moondaddy at 8/30/2007 10:49:23 PM
I'm using the asp.net dropdownlist in a datagrid row item template. using
client side JavaScript, I need to get the text from the selected item in the
dropdown list to update the corresponding grid cell. This dropdown list
uses numbers for the values, and text as the display text, therefore,... more >>
Newbie question: Content and Master
Posted by Shelly at 8/30/2007 7:17:12 PM
I am just learning ASP and .NET (coming from a php, C, Java background) so
please bear with me.
Where can I find a simple example of a master page which references a css
style sheet, and a content file that uses that master file. I would like to
see how to include the style sheet and wheth... more >>
Login Cookie
Posted by Samuel at 8/30/2007 6:44:28 PM
Hi
I would like to set the login cookie for longer than the default 20 minutes,
how can I do that?
Thank you,
Samuel
... more >>
VS.NET 2008 beta testers: anyone else getting thousands of   strings on design view change?
Posted by Ken Fine at 8/30/2007 6:17:31 PM
I am using VS.NET 2008 and like it a lot. One of the very few things I don't
like is a bug that seems to spawn literally thousands of   strings, one
after the other, on design view changes. Sometimes I will end up with as
many as 30,000 of them. I have to do a "Replace" which is slower th... more >>
Application Directory & Deployment
Posted by zethon NO[at]SPAM gmail.com at 8/30/2007 5:56:15 PM
This is my first ASP 2.0 project and I'm running into a snag now that
I'm trying to deploy the project.
On my development machine, whenever I browse to the site via the IDE
webserver, the URL bar looks like this:
http://localhost:1234/directoryname/default.aspx
Which works just fine. Howe... more >>
workaround for FCN/directory delete bug
Posted by Andy Fish at 8/30/2007 4:45:18 PM
hi,
I have come across the problem mentioned in this blog
http://blogs.msdn.com/toddca/archive/2005/12/01/499144.aspx
it's basically the fact that in ASP.NET 2.0, the File Change Notification is
uses causes the application to unload every time a directory underneath the
webroot is delet... more >>
Problem while File Uploading Using AJAX
Posted by Ram at 8/30/2007 4:32:21 PM
hi, i'm trying to upload files.
i used <input type=file id=Uploadfile runat=server">.
i have placed the control in Updatepanel(AJAX)
when i'm trying to upload it.. it is showing Object reference is not
set to an instance of an Object.
any suggestions.
... more >>
How to edit selected row of GridView in a DetailsView?
Posted by David Ching at 8/30/2007 4:08:17 PM
I am not getting any response to my previous question on reusing a
DetailsView to insert and edit the selected row in a GridView.
So I'll ask an even more basic question. Newbie alert! ;) When the user
clicks the Edit link in a GridView, is it common to use a DetailsView to
edit that row... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Email problem
Posted by Dave at 8/30/2007 4:00:03 PM
I have the following code to send an email and I get this error:
[SmtpFailedRecipientException: Mailbox unavailable. The server response was:
<someEmail@someHost.com> No such user here]. The error is on at last line
below.
SmtpClient smtpClient = new SmtpClient();
MailMessage messag... more >>
Need to stream and zip a .CSV file to the clients browser!
Posted by Smith at 8/30/2007 3:34:08 PM
Hello,
I need to stream data from a "DataTable" to the client's machine. The data
first need to be converted to .CSV , and ziped before streaming it to the
client.
Does anyone has any experience with this? Any code snippet will be very
welcome.
Many thanks in advance
Cheers
... more >>
Context
Posted by Shelly at 8/30/2007 3:28:18 PM
I am in the process of learning aspx.net. I have programmed for about five
years in php for the back end. I am trying to replicate a recent web site
that I did, but using aspx this time (for practice only). I have run into a
problem.
I created a new master page in Visual Web Developer us... more >>
Uploading file to directories before actually saving them in the correct place.
Posted by Mufasa at 8/30/2007 1:59:32 PM
So in our system you can place an order for an item and add photos/files to
the order. So a person decides to attach 3 photos to the order before
submitting the order. Once the order is submitted the files are then saved
in a directory that includes the order number so that they can be easily ... more >>
Crystal Reports - Visual Basic UFL that implements this function is missing (or U2lcom.dll is missing)
Posted by Les Caudle at 8/30/2007 1:55:31 PM
I've converted a large ASP.NET 1.0 application (written by another developer)
to ASP.NET 2.0.
It uses Crystal Reports.
All of the Crystal Report reports work, except for one.
The version I'm using does have a U2lcom.dll with a version of 10.2.0.1093.
I'm getting the error shown below.
... more >>
asp.net wizard control
Posted by Mike at 8/30/2007 1:46:14 PM
I have a web form that I took over from a developer and he put =
everything inside a Wizard control. I now need to find a button in the =
wizard control to hide it.=20
I've done
button btn =3D wizard1.wizardstep[1].findcontrol("button);
btn.Visible =3D false;
and i get an error, I've tri... more >>
how to lock a textbox
Posted by moondaddy at 8/30/2007 1:39:41 PM
I have a textbox on a webform and based on certain conditions I wanted to
prevent a user from editing its text. I dont like the look of the texbox
when its disabled and was wondering if there is a different way to lock it
with how hiding it and creating a label to look just like it. I was al... more >>
Maximizing the Browser
Posted by Ross Culver at 8/30/2007 12:49:25 PM
This is an embarrasingly simple question, but how do you maximize the
browser when you've clicked a hyperlink that has a target of '_blank'?
Thanks.
Ross
... more >>
Problems with dynamic links in Datalist
Posted by mister-Ed at 8/30/2007 10:56:41 AM
I am displaying subcategories in my datalist, and now I have a
bizarre thing happen when I add a new subcategory record in my sql
database, the new subcategory link does not click into the next page:
Here is the code surrounding my dynamic 'subcategory':
<a href="prov-results1.aspx?county=<... more >>
Data caching question
Posted by at 8/30/2007 10:49:05 AM
I had a couple questions about data caching. We have a site that gets
a huge amount of traffic to a few specific pages that have a lot of
data on them (300k hits/hour during peak, about 6-10 data calls per
page OR 500 SQL calls per second). Most of the data doesn't change
more than once ever 1... more >>
_doPostBack jscript with dropdownList manually
Posted by Ghistos at 8/30/2007 10:12:00 AM
Hi,
I have a dropdown list in a user control with values(10) from my DB. I also
have in this ascx other controls (DatePicker, TextBox...) to be filled.
But, if the user select one particular value from this dropdown, it
indicates to me that the user control have to hide some fields and ... more >>
Visual Basic 2005 - designer.vb page problem
Posted by Goran Djuranovic at 8/30/2007 10:05:29 AM
Hi all,
I am experiencing a strange thing happening with a "designer.vb" page. =
Controls I manually declare in this page are automatically deleted after =
I drop another control on a ".aspx" page.=20
- Why is this happening?
- Can I disable automatic declaration and have everything be declared... more >>
ok,asking for C# help again
Posted by WebBuilder451 at 8/30/2007 8:32:02 AM
i have the following code that deos not work: I have done this in vb wher i
include an item as object and then am able to find it correctly. Not working
here!!!
1. trying to just find the control to get its type: if
((gvr.FindControl(objPosNeg1) == "System.Web.UI.WebControls.Hyp... more >>
Globalization not working as intended when using da-DK
Posted by Basildk at 8/30/2007 8:17:33 AM
Hi.
I have a strange problem. We have an asp.net application running on
several server with different setups.
On 2 of our servers we experience that the globalization settings are
misbehaving.
We have boiled the problem down to this: (exemplified by a very simple
page)
protected void Pa... more >>
xml and its stylesheet
Posted by rodchar at 8/30/2007 7:40:02 AM
hey all,
i have an xml doc and its stylesheet file to go along with it. i was
wondering if there is an easy way to display the contents on a simple web
page? How would i do that?
thanks,
rodchar... more >>
Working with the date...
Posted by RAB at 8/30/2007 6:53:22 AM
Hello,
Using asp.net 1.1 and VB, I would like to get the date and then fill 3
variables with data pertaining to the date.
dim day as integer
dim month as integer
dim year as integer
Dim value As DateTime
value = DateTime.Now
How do I fill the integers 'day', 'month' and 'year' with t... more >>
Questions About Session Timeout
Posted by Joey at 8/30/2007 6:23:18 AM
I have an asp.net 2.0 app written in C# and VS2005. I sometimes have
issues where users leave a page onscreen and then come back to it a
few hours later and try to continue working. Of course, it doesn't
work then. Currently they will encounter some sort of error message
because the session has ... more >>
Two user sessions
Posted by Andy at 8/30/2007 4:41:05 AM
I have an admin section of my asp.net 2 application, and I want to be
able to automatically login as a different user (Forms Authentication)
whilst keeping my current session going too. The problem is that if I
open a new browser window (via a hyperlink using target="_blank")
from my app and au... more >>
convert MM/dd/yyyy format into dd/MM/yyyy
Posted by Ashraf Ansari at 8/30/2007 2:27:25 AM
Hi,
How Can I convert MM/dd/yyyy format into dd/MM/yyyy and the date
which is converted into dd/MM/yyyy should be in DateTime format. I do
not want to store it as a string.
Please help
Thanks in advance
*** Sent via Developersdex http://www.developersdex.com ***... more >>
Flat files and ASP.NET
Posted by Navaneeth.K.N at 8/30/2007 12:06:00 AM
Hello
I am developing a system for user tracking. In this I am tracking all the
visitors that came to my website. i developed this using a HTTPModule and
storing the data in a SQL Server database. Everything worked fine till my
website gets good traffic.
When website is getting good traf... more >>
ASPNet2.0 IIS6 file download question
Posted by Jason Huang at 8/30/2007 12:00:00 AM
Hi,
In my C#.Net 2.0 aspx file, I have a HyperLink which links to a document
file for client's downloading.
However, when client click that link, then it just opens the document on a
new browser.
But what I want is not open it on the screen, I want the document to be
saved whenever client... more >>
|