all groups > asp.net > march 2008 > threads for wednesday march 5
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
is session.end fired always?
Posted by Michael at 3/5/2008 11:58:00 PM
I am using asp.net 2.0 and trace session.start and session.end. Sometimes I
found that session.end is not catched. Is it a normal behavior, or why it
happens?... more >>
Totally confused
Posted by Lloyd Sheen at 3/5/2008 9:46:23 PM
Ok I have a web control which is used to input search terms. It works
really well on one page.
Now I need nearly the same functionallity on another page and I take the
pieces and move them to the new page (no web control). I have a button with
a click function which populates a repeater. ... more >>
Towards Completely Demystifying ASP.NET Requests
Posted by Robert Cramer at 3/5/2008 9:27:38 PM
After having worked with ASP.NET for several years, I believe I understand
the high-level sequence of events that occur when a page is requested. But
now I want a deeper level of understanding. In short, I want to fully
understand *everything* that happens with a request, from the time IIS get... more >>
can't reference textbox inside details view
Posted by Bobby Edward at 3/5/2008 8:23:44 PM
What am I doing wrong?
When it gets to the "MyTextBox.Text = Now" line I get "Object reference not
set to an instance of an object."
PARTIAL HTML:
<asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False"
CellPadding="4" DataKeyNames="ID" DataSourceID="adsObitDetai... more >>
Gridview inline edit mode
Posted by jaydev at 3/5/2008 8:09:18 PM
Hi, Is it possible to make the gridview editable on mouse click and
save the changes on tab out? like the todo list in google widget?
http://www.google.com/ig/directory?q=to+do&hl=en&root=%2Fig&dpos=top&url=www.labpixies.com/campaigns/todo/todo.xml
Thanks for the help... more >>
where to set a development variable?
Posted by Keith G Hicks at 3/5/2008 8:05:07 PM
In my windows apps I always set a global development variable so that I can
toggle certain blocks of code back and forth between production and
development settings. I'll run some startup code that sets something like
DevVar = TRUE or DevVar = FALSE and then do this in code where needed:
If De... more >>
Exception handling
Posted by a.mustaq@gmail.com at 3/5/2008 7:40:01 PM
Hi Guys,
I am developing a asp.net application.In this I have
to handle exceptions in application level. When ever an an exception
occurs in any part of the application it should be hanldeld at a
single point. If some type of exception occurs the execution flow
should continue... more >>
A testing post on my MSDN managed NG support
Posted by Michael at 3/5/2008 7:20:01 PM
This is a test post to see whether I have set up my email account correctly
for MSDN managed NG support. Thanks.... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Trying to send an email
Posted by Lars at 3/5/2008 6:14:14 PM
Hi
I'm trying to send an email using the following code in an ASP.NET 2.0 form.
Can some one tell me why the email doesn\t arrive at the destination and wy
the form tries to update but never finishes updating. THe progress bar in
IEs status bar never finish. There's no exception or any thin... more >>
Adding Membership Database to already hosted database
Posted by cs_in_va at 3/5/2008 6:08:38 PM
I currently have a database with tables and data hosted with GoDaddy
and now I want to add ASP.NET membership to restrict access and have
people login etc. I have watched several videos on this from ASP.NET,
but they are always working with a local installation not a remote
hosted installation.... more >>
How to call function from one aspx page from another
Posted by Jonathan at 3/5/2008 4:48:16 PM
ASP VB.Net
How do I allow a function e.g. bolLoggedIn (the code of which resides in
startpage.aspx) to be accessed from other aspx pages so that I don't need to
duplicate the code in all pages that use bolLoggedIn?
TIA
P.S.
I haven't ever used a code behind page so to date am not reall... more >>
Using GMail with ASP.Net: error: The remote certificate is invalid according to the validation procedure.
Posted by Carmine [www.thetotalsite.it] at 3/5/2008 4:29:44 PM
Hi,
I'm trying to use gmail smtp server for an asp.net application, but when I
try to send an email I get this error:
"The remote certificate is invalid according to the validation procedure."
Of course, I have enabled ssl (enableSSL = true) and inserted the network
credentials for my acc... more >>
How to get Datakey from gridview row?
Posted by jc at 3/5/2008 4:01:32 PM
Duh..
How do I do this? CreditId is my datakey, but I can't seem to get to
it.
Dim dgItem As GridViewRow
For Each dgItem In gridEmployeeCredits.Rows
If dgItem.DataItem("CreditId") = 0 Then
Dim textboxCreditDate As TextBox =
CType(d... more >>
Response.BinaryWrite Not Returning Result
Posted by Steve Harclerode at 3/5/2008 4:00:19 PM
Hi all,
I have a web application that uploads a file into a SQL database as a stream
of bytes.
On another page of the app, I retrieve the same byte stream from SQL, and my
ultimate goal is for the user to see the "save" dialog so that they can
download it as a file on their own computer.... more >>
Programming languages
Posted by Paulo at 3/5/2008 3:22:02 PM
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
Can not ASP.net be considered a programming language? Just a platform?
... more >>
Dynamic ASP style sheet not working
Posted by Suba at 3/5/2008 2:47:02 PM
I am using a asp page to dynamically create a stylesheet
my asp page creates the following css element when i call the asp page my
typing the url in the browser. My asp page works fine............
body {
font-family : Arial, Helvetica, Sans-Serif, Verdana ;
margin : 0 ;
padding : 0 ;
} ... more >>
Thoughts about using Session variables for login security?
Posted by Bobby Edward at 3/5/2008 2:33:20 PM
I am creating a simple website with a login page and some "admin only"
pages.
In my login page's submit button I just say if the "password is correct"
then...
session("IsAdmin") = True
In my admin only pages I check if session("IsAdmin") = True
If it's NOT then I redirect them to the log... more >>
IsPostBack
Posted by RN1 at 3/5/2008 2:20:35 PM
Consider the following code which displays data in 2 columns in a
Repeater (data in the 1st column are LinkButtons where as the data in
the 2nd column is just plain text):
<script runat="server">
Sub Page_Load(ByVal obj As Object, ByVal ea As EventArgs)
If Not (Page.IsPostBack) Th... more >>
Dynamic Ajax Controls and Postback
Posted by Peter at 3/5/2008 2:03:02 PM
I am adding web controls dynamically and everything works fine until I've
tried to add CalendarExtender from ASP.NET Ajax library. The
CalanderExtender gets added and works fine until I submit the form and then
I get the following error:
Microsoft JScript runtime error:
Sys.WebForms.Page... more >>
Validation Breaks Postback
Posted by william.oram@gmail.com at 3/5/2008 11:46:36 AM
I have a few controls on a basic form I'm working on that make use of
postback: for example, click a checkbox to make Panel1 and its
subcontrols visible.
I've since added clientside and serverside validation and suddenly
postback is broken. Only if 'Submit' is clicked does the form update
wit... more >>
hosting recommendation - email issue
Posted by Keith G Hicks at 3/5/2008 11:17:44 AM
I'm putting a site together for my high school reunion (in asp.net 2.0 with
Ajax and using MS SQL 2005). Lots of hosting companies offer packages to
accomodate that. But I need to be able to send out close to four or five
hundred emails at once to our classmates (there were about 600 but we don't... more >>
Enable control after validator error
Posted by Peter at 3/5/2008 10:59:45 AM
I have a button on webpage which gets disabled after user clicks on this
button, but the problem is I also have validators on the page, so when
there's an error and the validator displays the error the button is already
disabled and user can not click on it again. How do I re-enable the butto... more >>
Repeater woes
Posted by hardieca@hotmail.com at 3/5/2008 10:53:19 AM
Hi,
I have bound a repeater to an objectdatasource to display comments at
the end of my blog. People may enter their email or omit it.
When the repeater is rendering, I would like to evaluate for the
existence of the email address, and if it exists, write:
<a href="mailto:bob@email.com">B... more >>
Display data as URL String
Posted by cs_in_va at 3/5/2008 10:18:32 AM
I have a database that lists the company and website. The entry in
the website is like "http://www.mysite.com, but when the information
is displayed in a gridview it is not "clickable" meaning that if they
try and click on it to go to the web site it does not work.
I need to make the entries ... more >>
REPOST System.Data.DataTable
Posted by John Smith at 3/5/2008 9:59:42 AM
This works:
Dim dt As System.Data.DataTable
Dim r As System.Data.DataRow = dt.Rows.Item(i)
i = r.Item(2)
But, I would like to retirive column value by entering
column name not by index ( r.Item(2)
). The problem is that I don't know column name and I would like somehow to
list all colu... more >>
Display Images with Repeator
Posted by cs_in_va at 3/5/2008 9:52:50 AM
I have been reading info on putting images inside vs out side the data
and just using a path name. I want to use the later, but having some
difficulties. Here is what I have. I have a database with a path
column name "path" and all my images are under /images/projects/
file1.jpg so in my pat... more >>
404, SEO, robot.txt?
Posted by David Lozzi at 3/5/2008 9:24:17 AM
Howdy,
A lot of my sites are data driven pages pulling from SQL using url
rewriting. Works great. some sites that i have changed are getting hits on
the old pages that no longer exist from search engine bots. I have my site
setup so that if someone tries to get to a page that isn't in the d... more >>
Basic authentication Fails
Posted by kpg* at 3/5/2008 8:46:22 AM
Hi all,
In a web service I make a call to a remote server using
basic authentication.
On my development machine it works fine, but on the production
server I get an exception:
"The request was aborted: The request was canceled."
when I make this call:
Dim myWebResponse As WebRespons... more >>
This shouldn't be this hard
Posted by Ty at 3/5/2008 8:08:25 AM
Hello,
I need to connect a treeview control to and Access database.
It seems that I can only use a site map or a XML file. I cannot
figure out why there is not a choice for any other databases.
I was thinking about using ADO.net code but I wanted to find out if
there is a better way. I ... more >>
Slow loading time. Extension 3.5
Posted by msch.prv@gmail.com at 3/5/2008 4:59:22 AM
I have been experimenting with VWD Express Extension 3.5 and noticed
that quite often it takes up to 1..2 min to load external js or css
files. This occurs often after rebuilding the site. The problem seems
to be linked to retrieving small ( approx 200 bytes) graphics files,
as evidenced in Fire... more >>
Form Authentication question
Posted by ckkwan@my-deja.com at 3/5/2008 4:45:42 AM
Dear All,
ASPNET 1.1 web page using Form authentication.
I have a need to display more than one aspx pages before the user
login (not *.html but *.aspx pages).
Is it possible?... more >>
How to read Windows Address Book from asp.net
Posted by sajit at 3/5/2008 4:40:13 AM
Hi Folks,
I am currently working on Electronic Mail System. There is a need to
access Window Address Book from my project and store the values from
WAB to Sql server. Right now I am working with asp.net 3.5 with c#.
Any help is appreciated.
Regards,
Sajit... more >>
OleDbException: Data type mismatch in criteria expression.
Posted by Bobby Edward at 3/5/2008 12:46:04 AM
Using Access db with VS2008 (ASP.NET/VB.NET)....
On the INSERT command I get this error: System.Data.OleDb.OleDbException:
Data type mismatch in criteria expression.
I haven't found a solution yet in my research. Any idea what I might be
missing?
**************
Datasource setup as fo... more >>
Question about autorun some code.
Posted by lichaoir at 3/5/2008 12:44:23 AM
I'm writing a log system for my website. I want to run some
functionality everyday, let's say, read some data from files and store
it into database. How do I implement this? Someone had told me to use
the system service, is there any other way? Shall I use global.asax
and System.Threading.Timer?... more >>
|