all groups > asp.net > march 2007 > threads for wednesday march 21
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
Stupid Caching question
Posted by Chris at 3/21/2007 10:31:33 PM
I periodically, once every week or so, get an error when trying to read an
XML doc stored in cache. I get an 'object not set to a reference' I have a
gut feeling it happens when the app is under strain and the moment between
testing the cache and returning the cached xml doc it expires. I have... more >>
A problem of dynamically creating a control
Posted by s9213037 NO[at]SPAM gmail.com at 3/21/2007 9:48:48 PM
Use case scenario:
I have a panel with ID "Upload_Panel", where there is a FileUpload
control with ID "FileUpload1" and a button with ID
"More_Upload_Files", both of which are added at design time.
When users click the "More_Upload_Files" button, a new FileUpload with
ID "FileUpload2" c... more >>
GridView ( TEARING HAIR OUT )
Posted by Just Me at 3/21/2007 8:17:17 PM
* Remember this is a ASP.NET web application *
Ive been fu**ing about with this for a day or two now as and when Ive had
the time, and I cannot get it to work.
OK, I have created a DataTable Table adapter, this works fine and fill the
grid OK, I can cause and edit event to fire and bri... more >>
asp.net, vs2k5, getting started connecting to databases... I'm confused
Posted by itfetish NO[at]SPAM gmail.com at 3/21/2007 7:52:14 PM
I've been programming a bit in PHP and then recently learnt classic
ASP for projects at work, now I'm working on another project that they
want done in .net. I've got my head around web parts, that wasnt as
complicated as I thought it would be.
Now I want to create a web part, that connects an... more >>
Transfer Database Output To Another Website
Posted by rn5a NO[at]SPAM rediffmail.com at 3/21/2007 7:43:55 PM
Assume that there's a website named www.abc.com. There are 2 ASPX
files & one MS-Access database file in this site. The 1st ASPX file is
named "SearchForm.aspx" & the 2nd ASPX file is named
"SearchResult.aspx". "SearchForm.aspx" houses a Form with a select
list & 2 TextBoxes. The select list is... more >>
Newbie question
Posted by Kevin Audleman at 3/21/2007 6:01:21 PM
Hi,
I've got a page with a form that submits to another page on my site
where I parse the data. I then want to transfer to an external page on
another company's website with the form data. I thought I could use
Server.Transfer, but that's only for internal pages. Response.Redirect
doesn't app... more >>
Is the aspnet account called "aspnet" for all non-English versions of Windows and IIS?
Posted by torus NO[at]SPAM tpg.com.au at 3/21/2007 4:49:47 PM
Is the aspnet account called "aspnet" for all non-English versions of
Windows and IIS?
... more >>
barcode creation? how?
Posted by patrickdrd at 3/21/2007 4:16:00 PM
Hi everyone!
Does anyone know what do I need (control or anything else) in order to
provide it with a number (fixed digits) and let it created a barcode for me,
which I could scan later using a scanner and produce that number back?
Thanks in advance!... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Where did I write the file
Posted by Lloyd Sheen at 3/21/2007 3:58:01 PM
I forgot a line of code in a routine to save a file on request from client.
File is to be saved on server and a link presented to him to download the
file if wanted.
The code does not append the folder so it has just a file name. I cannot
find the file and a File.Exists shows that it (with... more >>
URL Parsing - Can you point me in the right direction?
Posted by Jay Pondy at 3/21/2007 3:28:38 PM
Given these two virtual paths
http://mysite.com/ABCCompany/SomePage.aspx
http://mysite.com/XYZCompany/SomePage.aspx
Is there any way in ASP.Net 2.0 to parse out the 'ABCCompany' and 'XYZCompany'
strings from the URLs listed and have SomePage.aspx be common to both paths
WITHOUT upsettin... more >>
the first disappointing thing I find in ASP.NET
Posted by gustav at 3/21/2007 2:28:49 PM
I can´t believe thath with ASP.NET we loose the ability to make POST
requests to another webforms in another application...
I say this because of my last question "Redirect by POST method to another
applications" , which had two answers, but none of them so simple like in
the old ASP:
<f... more >>
Hiding and Showing Columns in Editable GridView
Posted by Josh Schmidt at 3/21/2007 2:15:18 PM
I have a gridview that is being used for managing inventory. The default
view shows the stock currently available. When editing I don't want the
stock to be directly edited, rather the user will enter the amount of items
being added/removed.
When the user clicks the 'Edit' link I want to ... more >>
Many to many
Posted by Marcos Galaviz at 3/21/2007 2:02:19 PM
Hi i need a many to many select, for example i need a control to select many
clients and after that to select all the details for that clients, but i
dont know how to do it. ¿can you suggest me a control to do that and how to
make that?
Thanks
... more >>
AJAX newsgroup ?
Posted by John Grandy at 3/21/2007 1:59:07 PM
I don't see a Microsoft newsgroup for AJAX. Does one exist ?
... more >>
Newbie question - Runtime Button and EventHandler
Posted by Mr Not So Know It All at 3/21/2007 1:50:46 PM
I'm new to NET. This is probably a simple question. I have a table i
build at runtime (in the page CS file). inside the table is a button.
i built a simple click event handler that isnt firing (not getting the
"I'm Back" response write"). can someone please help me figure out
what im doing wrong... more >>
Direct Data Access
Posted by coolego1 at 3/21/2007 1:43:48 PM
Hello,
I am new to ASP.net programming. I know a bit about ASP, but not so
much the new .NET framework. I have been playing with the data
controls that are available, but I have not figured out how to get a
simple dataset out of the controls. I would like to select data one
row at a time and... more >>
ASP.NET AJAX and the QueryString
Posted by Christian Nunciato at 3/21/2007 12:20:13 PM
Hi there:
I'm using ASP.NET AJAX and liking it, but I've run into an issue I'm not
sure how to address.
I'm building a very simple image browser I'm sure you've all seen before --
one asp:Image tag and a couple of Next/Previous LinkButtons -- and
everything's working just fine, but of ... more >>
Class from Panel
Posted by DanWeaver at 3/21/2007 12:19:51 PM
I have a panel on an asp page that has about 20 controls on it, an
ajax update panel within it- text boxes, listboxes, imgbuttons etc.
I would like to be able to copy this panel- ie put similar but
independent functionality elsewhere on the page - it seems like a
class but information on the web... more >>
Polymorphism question
Posted by Kees de Winter at 3/21/2007 11:58:26 AM
HI,
How can I access the fields and methods of a subclass in a variable that was
declared as a parent-class and instantiated as a subclass.
Public Class Communication
Public Response As Message
some more stuff
End Class
Public Class Message
some fields, methods etc.
End ... more >>
Calling SQL to create XML from Javascript (Google Maps)
Posted by jobo at 3/21/2007 11:27:36 AM
I'm sure there's some way to do this simply but I'm new to
Javascript.
So I'm creating an application that interacts with google maps and
everytime the user pans around the map I want it to send its
coordinates back to the server to generate an XML object with a bunch
of markers that google m... more >>
Datagrid Nav buttons and numeric buttons
Posted by Jeremy Jones at 3/21/2007 11:18:21 AM
is there a way to get both the nav buttons of next and previous, as
well as the numeric buttons?
... more >>
ASP.NET 2 Data Binding with SQL 2005 XML
Posted by Greg Collins [Microsoft MVP] at 3/21/2007 11:15:59 AM
I am starting a project where I will be using the XML data type in SQL =
Server 2005, and ASP.NET to display and update the content of the XML.
I've been digging around for a bit trying to find some sources that will =
explain the process of doing data binding in ASP.NET with the SQL XML, =
bu... more >>
XSLT document() and URL Rewriting via custom 404 error
Posted by Greg Collins [Microsoft MVP] at 3/21/2007 11:14:53 AM
I have a site that uses a custom 404 error page to perform URL =
Rewriting. This works excellent for all my needs except for one area.
When transforming XML, I have some XSLT code that uses the document() =
function to load some dynamic XML from a SQL database via an ASP.NET =
page. I am able ... more >>
Problem on display many XML files in web broswer IE
Posted by david at 3/21/2007 11:12:20 AM
I use datagrid to store XML file information for selecting a XML from
database, and a textbox, txtXML, for displaying a selected XML.
When I dispaly a XML in the textbox at firstime, it OK. But when I select
another one to display, I got an error message and a security warning in the
follow... more >>
Check session status
Posted by Paul_E21MEDIA at 3/21/2007 11:10:40 AM
I have a search form on my home page. However, I only wanted logged in
users to see the search results. It currently allows anyone to view
the search results. Have tried using something like:
If Session("UserID") = 0 Then response.redirect("/notloggedin.asp")
<form action="searchresult... more >>
Losing a session variable
Posted by Abbas at 3/21/2007 11:03:29 AM
Hi,
Currently there is a web user that always gets an error on our
application due to a missing session variable. All other session
variables are still in tact, but this one seems to disappear and hence
the user can no longer access everything on the site.
Any ideas as to where this value ... more >>
Request.querystring
Posted by nina297 at 3/21/2007 10:54:00 AM
Hello I'm a newbie to .net. and having problems posting a value to the
next page. I have this in my code behind page:
url = "BookCategories.aspx?classificationid=" &
Request.QueryString("classificationid") & ""
I go to the next page but it's not getting the classificationid. What
am I doi... more >>
How to response from custom HttpHandler with "204 No Content"?
Posted by Alexander Smirnov at 3/21/2007 10:33:24 AM
I'm developing asp.net 2 web application and need to make a custom
http handler which sometime must send response with "204 No Content"
code.
I set HttpResponse.Status="204 No Content"; But asp automatically adds
headers such as "Content-Length: 0".
This causes an error on the client. HttpRespo... more >>
Scriptaculous + ASP.net AJAX postbacks for 1.1 framework?
Posted by darrel at 3/21/2007 10:32:00 AM
I've been working on a side project off and on (more off than on) for a year
or so.
Overtime, it's become a bit of a frankenstein. It uses the Scriptaculous
javascript library for a lot of drag-n-drop functionality. However, I'm not
using any AJAX postbacks.
This is been fine, as most of... more >>
HttpContext.Current.Request.Cookies error
Posted by cashdeskmac at 3/21/2007 9:33:21 AM
Hi,
I have a page which creates a cookie and adds it to the cookies collection.
On the next page it is retrieved, but trying to do so throws an exception,
"Object reference not set to an instance of an object".
The line it fails on is:
if (HttpContext.Current.Request.Cookies["Master"][... more >>
Webservice that returns an xml document instead of an array
Posted by Pim75 at 3/21/2007 9:26:27 AM
Hello,
I've written a webservice that returns an array. The output of the
webservice has to be consumed by a classic asp application.
As classic asp can't read the returned array I want the webservice to
return a xml document instead of the array.
Can anyone tell me how I can output the a... more >>
Asp.Net 2.0 Web Application Project Inherited Base class?
Posted by gabe at 3/21/2007 8:49:01 AM
Hi,
Is it possible using Web Application Projects with Asp.Net 2.0 Sp1 to
have a partial class code behind inherit from a base class that could
be used for all the pages on a web site?
The site uses a Master page, but there are some tasks I'd prefer to be
done elsewhere. For example there a... more >>
Clear data(html) in a usercontrol
Posted by boomcreation NO[at]SPAM gmail.com at 3/21/2007 8:45:17 AM
Hi,
When I load a userControl, I check if I have a variable session.
If my variableSession1 = "A" and do nothing.
but if my variableSession1 = "B", I want clear the html in my control
and write:
"You need to do this or that"
If I use this code:
Current.Session.Abandon()
Current.R... more >>
How to remove cached userCOntrol for OutputCache
Posted by ABCL at 3/21/2007 7:26:54 AM
Hi All
I have usercontrol on the page that I have added at design Time
and cached it
How can I remove the cached Usercontrol from outputcache.
I want to remove cached version in session start event
I have tried to remove it using
"HttpResponse.RemoveOutputCacheItem(path);" b but it doesn'... more >>
How can I redirect Console.Writeline to Response.Output?
Posted by AAOM Tim at 3/21/2007 7:08:05 AM
shouldn't this work?
Posted by rodchar at 3/21/2007 6:58:51 AM
hey all,
i have a gridview with an image inside an item template. the imageUrl
property looks like this:
(Eval("Gender")=="Unknown")?"~/images/failed.png":"~/images/success.png"
for some reason it always evaluates false which isn't the case for all my
values. any ideas?
thanks,
rodcha... more >>
Firefox Problems and Host
Posted by DanWeaver at 3/21/2007 6:43:01 AM
I am about to launch a site using Ajax, ASP, SQL (Built using
SQLExpress) & Client side javascript.
I have the following uncertainties:
1) My page is a mess in Firefox having been written using Vis Studio
2000. Things like img buttons are not rendered at all, sizing is all
wrong and javascrip... more >>
WMI Query returns empty resultset
Posted by stigwulff NO[at]SPAM gmail.com at 3/21/2007 3:25:52 AM
I have made a ASP.NET ver. 2 webservice that runs on an Exchange 2003
server.
In that webservice I want to get the size of the mailboxes on the
Exchange server.
I try to use WMI and the System.Managment in C#.
But when I call the Get() method on the ManagementObjectSearcher
object it returns a... more >>
ASP.Net connection to Oracle TNS Timeout
Posted by Woolli at 3/21/2007 2:21:32 AM
Hello,
Ive written an asp.net application which is to run on an intranet. The application is working fine on my locan maschine, but Im getting a tns timeout when runnng it on the webserver.
when I logonto the webserver I can send a secsesful tnsping to the oracle database.
Could it be that Im ge... more >>
on webparts
Posted by Rahul at 3/21/2007 12:00:00 AM
How to get webparts working step by step ...
Rahul
... more >>
System Sizing + Capacity Planning
Posted by Logu Krishnan at 3/21/2007 12:00:00 AM
Hi,
I'm looking out info on how to perform System Sizing and Capacity Planning
for a product built using ASP.NET...
is there any specifics ? any pointers to these will be highly appreciated.
thanks.
--
Logu Krishnan
... more >>
GridView
Posted by New Bee at 3/21/2007 12:00:00 AM
I have some questions related to the new GridView control.
I dont seem to be able to get any values fromt he gridvieweventargs in the
row_updated or row_updating events.
Both the new and old values proeprties return a count of zero even though
the row contains values.
Any ideas, example... more >>
|