all groups > asp.net > march 2008 > threads for wednesday march 12
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
File Upload weirdness...
Posted by Regan at 3/12/2008 9:55:05 PM
Ok,
So, I'm a .NET/AJAX web application (VB.NET) and in one of my content
screens, among a barrage of controls and panels, I have a File Upload
control... nothing fancy.
Below the control there is a standard button called aFile_btn.
This is the click event of aFile_btn:
----------------... more >>
Page Level Caching?
Posted by Bishop at 3/12/2008 9:50:20 PM
Every page of our website have dynamic database driven aspects and we are
using some datasource caching now. Even though we need a database driven
website, most of our pages would work just fine if cached for 8 or more
hours. Is there a way to cach the entire page for 8+ hours with ASP.NET, ... more >>
need the sn.exe tool
Posted by Bob at 3/12/2008 9:34:03 PM
Hi,
i need the sn.exe tool in order to sign assemblies with strong names.
I use Visual Web Dev. and i coudn't find it in the directory
c:\windows\microsoft.net\framework\v2.0.xxxxx .
Can it be downloaded from somewhere?
Thanks
Bob
... more >>
Check For Updates
Posted by Ian Semmel at 3/12/2008 8:16:03 PM
How is this usually implemented in a program ?
Do you use a web service or just a normal asp or html connection and not
display the page ?
I know nothing, but the way I see it is you :
(a) Go somewhere
(b) Authenticate somehow
(c) Get a reply giving new version and address of update
(d... more >>
Problem with html page (Firefox only)
Posted by Cirene at 3/12/2008 7:28:30 PM
I usually program in .NET, but for this site I'm using normal HTML.
Here's a temporary link:
http://www.growtechinc.com/test/savage/projects.html
In IE the page shows up fine. In Firefox the background of the main content
is CLEAR. Any ideas why?
Thanks,!
... more >>
Multiple login forms in one web application
Posted by Sergey Kuleshov at 3/12/2008 4:56:09 PM
Hello all!
Is there any way I can have two different login areas in one web
application? I have user portal, to which customers can login and I have
admin panel. Using roles doesn’t really help here, cause customers and
admins are entirely different entities. Furthermore design of the... more >>
SqlCommand Parameters.Add
Posted by RN1 at 3/12/2008 4:26:17 PM
Using SqlCommand, this is how I am updating a database table:
--------------------------------------------------------------------------------
Sub UpdateDataGrid(obj As Object, ea As DataGridCommandEventArgs)
strSQL = "UPDATE Basket SET Quantity = Qty, Total = TotAmt WHERE
BasketID = BID A... more >>
Conflict event handling.
Posted by zlf at 3/12/2008 4:24:18 PM
Hello
Currently, I'm using javascript to respond the "ENTER" button press event in
my ASPNET page.
It works fine when there is no multi-line textbox, but when multi-line
textbox is presented in page, and user enters "ENTER" button, both of my
javascript and textbox responses it.
It is unexp... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
image url problems with subfolders
Posted by Keith G Hicks at 3/12/2008 2:43:55 PM
I had the following on a page:
<asp:Image runat="server" ID="imgGradLarge" ImageUrl='<%# "ClassmatePics/" &
Eval("GradPhotoFileName") %>'></asp:Image>
The folder "ClassmatePics" was off my site's root. This was working fine.
Some people made recommendations to move folders like this (where... more >>
How to check if cookie not exist?
Posted by Bobby Edward at 3/12/2008 2:25:01 PM
How do I check to see if a cookie exists or not?
I tried these 3 but they don't work...
If Not Request.Cookies("UserSettings")("IsAdmin") Is Nothing Then...
If Request.Cookies("UserSettings")("IsAdmin") IsNot Nothing Then...
If Not IsNothing(Request.Cookies("UserSettings")("IsAdmin")) Then..... more >>
Hide footer on gridview with paging enabled
Posted by Phil Johnson at 3/12/2008 1:11:26 PM
Hello,
I have an asp.net 2.0 gridview with the paging enabled. I don't want to
display the footer, but it always displays with the page numbers displayed.
I have set the grid's showfooter to false and also tried to set the
footerstyle height to 0px, but it always seems to show.
Is th... more >>
Generate a unique ID for each page of my application
Posted by Alphapage at 3/12/2008 12:53:01 PM
Hello,
I want to generate a unique ID for each page of my Asp.Net application.
My first step is to generate a new Guid when the page is loaded for the
first time and registers, stores this new Guid in a Dictionary which is saved
in the ApplicationState, then I add a hidden field to the page ... more >>
Caching App Data
Posted by Dave T at 3/12/2008 12:51:00 PM
The data for my web app is an object model that consists of a class with a
series of properties typed as generic.list(of SomeClass). The object model
gets built up along the way by calls to SQL Server. Some of the data is
global data, some of it is user data. Instead of making multiple call... more >>
Gridview next and prior page text or image?
Posted by wildman@noclient.net at 3/12/2008 11:25:39 AM
What property do I need to set so that I see the < and > for next and
prior page in my gridview.
AllowPaging is true and I do see the page numbers and can select them
but not the prior and next page text or image.
<asp:GridView ID="gridCollaborator" runat="server"
DataKeyNames="ColI... more >>
ListBox populated with Javascript shows no members upon Callback
Posted by John Kotuby at 3/12/2008 10:49:12 AM
Hi all,
I was wondering if what I am seeing is to be expected or maybe I'm setting
things up wrong with the Update Panels. I am programming in VS 2008 with VB.
I have a page with multiple update panels. At the bottom of the page I have
an update panel with UpdateMode="Always" where I store... more >>
SQL Injection detection
Posted by GMartin at 3/12/2008 10:29:47 AM
Besides parameterizing SQL or using Stored Procedures, is there any
reliable way to test if a string has an SQL Injection attack. ...For
example, can one use the same method ADO uses when examining
parameters to detect SQL Injection?... more >>
ASP.NET Membership
Posted by David at 3/12/2008 9:33:59 AM
Hi all,
My previous Q on this didn't get answered. I may have confused matters a
little.
If I use Active Directory to authenticate users on my site, where do I
manage the other aspects of site security such as roles? Is it all done in
the active directory or the membership data in the SQ... more >>
save 2005 sqldatabase as 2000 database
Posted by Paul at 3/12/2008 8:07:01 AM
Hi just wondering if anyone knows if you can save a 2005 database as a 2000
database so it can be opened and used in 2000?
thanks.
--
Paul G
Software engineer.... more >>
WF on vs2005
Posted by Gunawan at 3/12/2008 8:03:37 AM
Hi,
I am searching for articles or guidance how to use Windows Workflow
Foundation on VS 2005.
Regards,
Gun
... more >>
Localhost -Visual Web Developer 2005
Posted by Stonewall at 3/12/2008 7:55:00 AM
I am trying to view a project using web developer 2005 on a vista laptop
using this connection string in the web.config file.
<add name="AmSoftMgt" connectionString="Driver={MySQL ODBC 3.51
Driver};Server=66.36.240.205;Database=AmSoftMgt;User=AmSoftWeb;Password=AmS0ftW3b;Option=3;"/>
But e... more >>
Need help with dynamically loaded user control losing changes... usercontrol
Posted by Rosemary at 3/12/2008 7:50:51 AM
I have been struggling with this for weeks. Each time I thought I had
it figured out, it has reared its ugly head again! :) Any help is
SO appreciated since my project deadline is Friday!!!!
************What I am trying to do:
I have a bunch of user controls that are loaded and unloaded on... more >>
Exception handling source line number
Posted by Mr Major Thorburn at 3/12/2008 7:29:02 AM
I am using global.asax to handle my web application exceptions and have
configured it to create event log entries for errors that occur and to
display an error page advising the user to contact the helpdesk.
I have an intermittent uninitialised object error that I am not able to
reproduce in ... more >>
Dataset being overwritten by multiple users?
Posted by Chris at 3/12/2008 6:02:45 AM
I've got an aspnet page (vb) that runs a stored procedure, pipes it in
a dataset, and binds to a gridview. The parameters for the stored
procedure are some URL variables. My problem is when multiple ( 2 or
more) people click on this link at the exact same time, the dataset
seems to be getting ... more >>
Dynamic GridView
Posted by pansell@douc.com at 3/12/2008 5:48:28 AM
Hi,
I have a dropdown list that is populated with table names from my
database using SqlDataSource1. When I change the selected index I can
get the table name back from the dropdown and display it in a label.
What I want to do is display the data from the table selected in the
dropdown in t... more >>
urgent need help regarding formatting/parsing
Posted by CreativeMind at 3/12/2008 4:49:23 AM
hi all,
i m using this function in javascript but there is problem.
function thousandseparator(val)
{
var regexpr=new RegExp('(-?[0-9]+)([0-9]{3})');
while(regexpr.test(val))
{
val=val.replace(regexpr,'$1,$2');
}
return val;
}
but it sometimes gives output as 1,2,345 while i use onblur an... more >>
javascirpt for popup window
Posted by stogadiya@gmail.com at 3/12/2008 4:22:26 AM
i have open on window in popup. Now i want to open new popup window by
this open window.
How this is possible.... more >>
sitemap
Posted by Claudia Fong at 3/12/2008 3:32:18 AM
I have a sitemap in my asp.net application and currently if I don't want
to show some of the buttons, I will put a comment of the node that I
don't want to be show, but I was wondering if I can control this in the
web.config instead of hard coded in the actual sitemap
Please see below the code
... more >>
ASP.NET 1.1 - monitor page hits
Posted by Phil Johnson at 3/12/2008 2:26:04 AM
Is there any easy way to monitor page hits in asp.net 1.1?
We have a pretty big asp.net 1.1 application that is about to go live and we
want to monitor the page hits?
I'm hoping for a silver bullet on this... hopefully something for web.config
or global.asax rather than something on each p... more >>
VS .Net 2008 Installation
Posted by Nishant at 3/12/2008 1:31:09 AM
Hi,
When I am trying to install VS .Net 2008 I am geting an error message
saying "A problem has been encountered while loading the setup
components. Canceling setup". I have gone through the readme document
provided by microsoft and I tried with its some of tips given, but
still I am facing s... more >>
Integration of Excel and asp.net
Posted by Simon at 3/12/2008 12:47:01 AM
I want to integrate Excel 2003 with ASP.NET 2.0 Web sites to generate
graphical reports in Excel. Is there any good sample or material on how to
accomplish it?
Thanks.... more >>
|