all groups > asp.net > march 2008 > threads for monday march 10
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
pound sign trouble
Posted by jaems at 3/10/2008 9:24:46 PM
my code
<font size="2">Approx </font> £ which I intend to display as:
Approx £
Displays as
Approx £
Any help welcome
Jaes
... more >>
ie dynamic rendering 'feature'
Posted by gerry at 3/10/2008 8:44:35 PM
I was playing around with ajax control extenders and created a simple
FrameExtender.
Basically it takes a panel and puts it inside a div that includes other divs
arranged in a frame around the original panel - pretty standard stuff.
Only the target panel exists on the server , all other divs a... more >>
404 redirects not working
Posted by BobLaughland at 3/10/2008 7:28:49 PM
Hi All,
I am trying to get my website to redirect all 404 errors to the
sitemap page, but I am having trouble.
The first thing I am doing is this,
<customErrors mode="On" defaultRedirect="~/en/Sitemap1/?id=72">
<error statusCode="404" redirect="~/en/Sitemap1/?id=72" />
</customErro... more >>
E-mail and SSL
Posted by Ed at 3/10/2008 7:10:03 PM
Hi folks,
It seems that it is required to authenticate against an exchange server
(relay), if you want to send e-mail using SMTP in ASP.NET 2.0. But how do
you ensure that the credentials you are sending are not clear text over your
network. Does this require the installation of a digital... more >>
Data Bind Form
Posted by Ben at 3/10/2008 6:35:13 PM
I'm new to VS2008 (and ASP.NET in general).
I'm trying a simple example, i have a class that exposes a DataSet and
want to populate 2 textboxes on a web form...
how can i bind from the datasource? (and have it update it after
clicking a Save button)
I've seen some examples refer to a Bind... more >>
A few file upload questions
Posted by Keith G Hicks at 3/10/2008 5:48:03 PM
asp.net 2.0
When I first set up the app I'm working on, it was not in teh inetpub
folder. Instead, VWD put it in the VS folder in My Documents. I was brand
new to all this when I started working on this project. At the time, I
created a page that allowed for uploading images. It's simple enoug... more >>
Remembering textbox values on postback
Posted by Louisa99 at 3/10/2008 5:47:00 PM
Hello. ive just read some posts on the age old issue of losing dynamic
control values on postback. Most people say recreate the controls on the
onInit, but i just dont think this serves my purpose. if i could explain: i
have a list of reports in a datalist. a user clicks a report link. it goes... more >>
Previous page title
Posted by tucson at 3/10/2008 4:40:00 PM
Is there a way to get the page title of the previous page from an HREF link
without using Javascript (something server-side)?
<a
href="javascript:location.href=test.aspx?t='+escape(encodeURIComponent(document.title))">Go to next page</a>
This passes the document title but when I try to get... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Access network share from ASP.NET
Posted by Yuriy Galanter at 3/10/2008 3:50:57 PM
Hi all,
I need to access a file on a network share from an ASP.NET application
(using methods like file.readalltext). Of course ASP.NET doesn't have access
to that share. But I do have both UserID and password of a user who does
have access. How do I use them to supply credentials for file... more >>
Dynamic menus
Posted by Lloyd Sheen at 3/10/2008 3:49:03 PM
I am trying to use the menu control to add a history function to a page.
When the user selects an item (thru search or navigation) an item is added
to the "History" menu item. Now while testing this I am getting a
cornucopia of problems.
Sometimes it will allow the add. Sometimes it will... more >>
-p and -v parameters to aspnet_compiler
Posted by Andy Fish at 3/10/2008 3:06:45 PM
hi,
can anybody tell me what the -v flag does on aspnet_compiler when -p is
specified also.
the documentation says you need to supply both, but the example says the
metabase is not used when -p is present. when I specify -p, it seems to be
working whatever value i put for -v
i want to... more >>
Localization - Automating Button Text + Button Width
Posted by Robert Cramer at 3/10/2008 1:55:23 PM
I'm looking to "internationalize" a new ASP.NET application (.NET 3.5) and
I'm considering various localization issues. In particular, the default
languagte will be English, but when localizing for some cultures, the text
will of course be longer than the English equivalent.
With respect to... more >>
Ajax DropDownList
Posted by Chris Fink at 3/10/2008 1:00:01 PM
I have a general question regarding VS2008 and Ajax Toolkit 3.5.
Currently I have a dropdownlist populated from the database. When the user
selects and item, the OnSelectedIndexChanged event fires (does a postback to
the server) and then loads the selected item's value into an asp:textbox
... more >>
Help with GridView
Posted by MitchW at 3/10/2008 12:41:03 PM
Hello,
I am am having trouble with the GridView control in conjunction with a
SQLDataSource control with ASP .NET 3.5 and C#. When the form loads I want
the current GirdView to only display information from the logged in user. (I
can do this with a SessionParameter no problem). Now I would ... more >>
pop up alert
Posted by James Page at 3/10/2008 12:08:01 PM
I have a aspx page where the user selects a image to upload to a sql
database. In the code behind on the item_inserting event i am halting the
insert event if the user has not selected an image file. Here's the select
case code:
Select Case fileExtension
Case ".gif"
... more >>
DataPager
Posted by shapper at 3/10/2008 11:24:46 AM
Hello,
I am creating a DataPager TemplatePagerField at runtime and trying to
replicate the following paging:
http://www.frequency-decoder.com/demo/table-sort-revisited/paginate/
At the moment this is not working very well. A postback is made every
time I click a button or a number.
I t... more >>
Repeater Question
Posted by JJ297 at 3/10/2008 8:12:42 AM
Plamen Ratchev helped me set up my stored procedure which is working
well, thanks again Plamen!
Create procedure GetByDate
@FromDate datetime,
@ToDate datetime
AS
select * from spslist
where pmtdate between @fromdate and @todate
My problem:
I have two text boxes FromDate and ToD... more >>
calculation within datatable question
Posted by Mike at 3/10/2008 7:58:25 AM
I'm creating a datatable (see below) that is going through each row of my
dataset and add new rows per each column created. Is there a way to store
the GrossSales figures so I can use
those numbers in for a calculation within the Expenses row?
My data for the dsSales dataset like this:
ye... more >>
rassdk:// added to path when connecting to a crystal report from w
Posted by kkarre at 3/10/2008 12:57:01 AM
We have an issue with connecting to a Crystal Report in a web page.
Our ReportDocument instance's Load method protests due to our
Filename property (which is set with a relative path to the web app).
If we hardcode the path it works, but with relative addressing... somehow we
get
rassdk://
ad... more >>
Permissions needed for user to upload file to an App_Data subfolder
Posted by Paul Shapiro at 3/10/2008 12:37:33 AM
I saw a recent note here that user file uploads should be directed to a
subfolder of App_Data to avoid site recompilation each time a file is
uploaded. That worked fine on my development machine, but when I deployed to
a test site at my web host, it fails:
Access to the path '...\App_Data... more >>
|