all groups > asp.net > december 2004 > threads for monday december 20
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
Data Adapter Binding Help
Posted by BG at 12/20/2004 11:45:59 PM
I have a datagrid with paging. Using the following code, it loads data
initially as expected. When I click the next/previous buttons several times,
the table will eventually disappear. It's in the binding but I don't see it.
Any and all suggestions are welcome.
Thanks
G
Sub Page_Load
... more >>
Where can I find MS IE WebControls?
Posted by Kenneth P at 12/20/2004 11:45:02 PM
Hi,
This link works but when you try to download IE WebControls you'll get to
page that doesn't exist.
http://msdn.microsoft.com/workshop/webcontrols/overview/overview.asp
Anyone who could help me get the IE WebControls download link?
TIA
Kenneth P... more >>
Collaborating With Dreamweaver Designers
Posted by Art Vandelay at 12/20/2004 11:01:17 PM
Does anyone have any real world experience or recommendations of how to let
our hardcore designers use Dreamweaver, CSS, and Templates(the pretty part)
while letting our hardcore programmers develop the "Code" part using Visual
Studio?
To do cutting edge stuff, we really need a way to let b... more >>
access denied on a web service
Posted by Edward W. at 12/20/2004 10:56:36 PM
I wrote my web service and I have no problem browsing to the asmx file and
seeing the public methods. I can even invoke them with no problem. But in
my asp.net application I get this error message "The request failed with
HTTP status 401: Access Denied. "
BUT when I add this line to my co... more >>
Help creating new web project
Posted by Donald French at 12/20/2004 10:53:55 PM
I have posted this before and got n real help.
I have been beating my head against the wall over this one. Everytime I try
to create a new web application I get this message. I have done the
following
uninstalled IIS
removed Inetpub
reinstalled IIS
ran aspnet_regiis
followed the directi... more >>
Slow Database Connection Initiation with ASPX on Local Server
Posted by Nathaniel Sherman at 12/20/2004 9:38:55 PM
Alright, folks, here's the deal...
I'm working on migrating a classic ASP website to an ASP.NET codebase.
At the heart of the site is a MySQL database.
To make sure an "in-process" program doesn't screw up the live site, I
run a local IIS webserver on my XP Pro (AMD XP 2500+, 512MB DDR RAM... more >>
Page loading time?
Posted by Scott Reynolds at 12/20/2004 8:41:46 PM
Hello!
How I can calculate and display page loading/generation time?
Thanks!
Scott
... more >>
Post data via the Post method in asp.net? (URGENT)
Posted by Vishal at 12/20/2004 7:16:51 PM
Hello,
I need to send some data via the post method from my
web aspx page to an asp page. Does anybody know how I can
do that?
Please advise me.
Thanks... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Postback/Validation in a framework
Posted by AIM48 at 12/20/2004 7:13:02 PM
Hi.
We have a framework that we work with for our project. So far we
have had very good success – basically the frame work wraps many day to day
tasks so that they are all included in the project. The framework is built on
a modified Page Controller pattern in which a aspx page ... more >>
Validation
Posted by Franck Diastein at 12/20/2004 6:31:24 PM
Hi,
How can I securely validate the Id's I receive with QueryString ?
This is what I do now:
if ( Request.QueryString["ID"].ToString() != string.Empty ) {
m_TaskID = int.Parse(Request.QueryString["ID"].ToString() );
mystuff();
}
With this I only validate that I'm receiving somethi... more >>
Trace Problem in ASP.NET 2.0
Posted by Fabian at 12/20/2004 6:26:04 PM
Hi,
my Web-App works with MasterPages.
When I add the "Trace=true" property in the aspx-Page I get an "Object
reference not set to an instance of an object." Error. On a single aspx-page
the tracing works fine.
What I must do, that the tracing works with MasterPages too?
Thanks for help
... more >>
Disable Right Mouse-Click Menu
Posted by Beryl Small at 12/20/2004 6:20:55 PM
I need to stop users viewing my web application from be able to download the
pictures on the web site. How can I do this using VB?
... more >>
Multiple stored procs for dataadapter
Posted by AKJTR at 12/20/2004 6:11:01 PM
i'm trying to save on calls back to the db by combining stored procs in one
dataadapter. I know they work alone but when i combine the i get an error
" Could not find stored procedure
'usp_wp_BuildingAmenities;usp_wp_BuildingPrimaryDetails'
for this line
Dim mydataadapter8 As New S... more >>
public vs. shared
Posted by darrel at 12/20/2004 5:28:34 PM
I'm still trying to sort out in my head the differences between public and
shared when referring to declaring properties or variables. This is my
understanding:
shared - akin to a 'global' variable for the application. Any other code
within the application can access it.
public - can be share... more >>
VB substitution question
Posted by MattB at 12/20/2004 4:52:09 PM
Not exactly asp.net, but I bet you people know this.
I used to like using command substitution in VFP where I could build a
string of VFP code and then execute it by putting a '&' in front of that
string.
Like this:
lcX = 'MyTable'
Use &lcX
In VFP the above would be equivalent to
Use... more >>
launching a modal dialog from serverside
Posted by Craig G at 12/20/2004 4:36:31 PM
i have a form which on the save performs a check. if this check returns true
i want it to launch another form within a modaldialog to force the user into
an action within the modal form
but im unsure of how to call the form from the codebehind?
Cheers,
Craig
... more >>
Parser Error Message: Could not load type 'Consumer.Global'
Posted by pmud at 12/20/2004 2:49:07 PM
Hi,
I have an ASP.NET project using C# code. But when I hit key F5 so that the
project is compiled & run, I get the error ::
Parser Error Message: Could not load type 'Consumer.Global'.
Source Error:
Line 1: <%@ Application Codebehind="Global.asax.cs"
Inherits="Consumer.Global" %>
Sou... more >>
Forms authentication & AD: logging in seems to take a long time
Posted by Rod at 12/20/2004 2:47:11 PM
We've just put out our first ASP.NET application which uses forms
authentication with Active Directory. (Yeah!)
One thing I've noticed is that it takes a long time for a user to log in.
Why is that?
Rod
... more >>
attributes.add question
Posted by Jennyfer J Barco at 12/20/2004 2:36:15 PM
Hello in a grid when the user selects the Delete column I need to ask "are
you sure" and then if the user anwers "yes" I need to make another question
regarding to some security procedure like "was this approved?" and be able
to keep this answer for our records. Is it possible to do this? right n... more >>
timer to delay execution of event
Posted by Jason Shohet at 12/20/2004 2:27:54 PM
Lets say I want a button to execute 10 seconds after I press it, not
immediately.
Any ideas how to cause that, in a code-behind. IMO its only server side
code, I don't think javascript needs to get in to the equation (?)
... more >>
HTML Table CSS
Posted by Andre at 12/20/2004 2:20:05 PM
Hi,
I have a <ItemTemplate> with a HTML Table inside, "id=commercial" who
display Ads on our site.
But for each Store, i have to put a different CSS Class name to my
Table, but all the table have the same name "commercial", so my Javascript
function does'nt work.
I try differ... more >>
Can't remove cookies!
Posted by Stephane at 12/20/2004 1:59:03 PM
Hi,
I have a login page where if the user wants his access codes to be saved are
set into a cookie. In the logout page, I want to delete those cookies. I
tried this and this is not working at all:
if (Request.Cookies[COOKIE_USER] != null
&& Request.Cookies[admin.COOKIE_PSWD] != null)
{
... more >>
CSS in DataGrid Header
Posted by Maziar Aflatoun at 12/20/2004 1:55:28 PM
Hi everyone,
I have a DataGrid with sort functionality enabled so that users can sort
each column by clicking on the column name. Can someone please tell me how
I can add CSS to my headers? no matter what I do I can't get class='' to
appear in my <a ...class=""></a>
Example
I want to ap... more >>
Computer Name To IP
Posted by Frederik at 12/20/2004 1:43:19 PM
Hi all,
Situation:
- 2 computers behind router/switch;
- dhcp enabled on router;
- computer name 1 = cpuA (WinXP Pro);
- computer name 2 = cpuB (WinXP Home);
- cpuA and cpuB can access each other's resources;
- cpuA runs IIS with asp.net website;
- cpuA and cpuB are in the same workgroup a... more >>
Re page hangs
Posted by AMD Desktop at 12/20/2004 12:58:24 PM
Hi,
I have a problem and not sure what is going on here, may be the coding is
not proper.
This is a simple page with calendar events.
Everything works fine until I click on View Week link. Then page hangs.
Clicking on a day or Next Month or Previous Month work just fine.
Here is the code:
... more >>
A question about form layout
Posted by Joe at 12/20/2004 12:37:05 PM
Hi,
I have a MS Access DB in which a record has just too many fields to be able
to allow users to do inline editing in a datagrid. So I want to display as
First Name: Text box where first name is displayed and can be edited.
Last Name: Text box where last name is displayed and can be ed... more >>
Pass through credentials to web service
Posted by cmueller NO[at]SPAM online.nospam at 12/20/2004 12:36:04 PM
Hey all -
I'm in a bit of a bind concerning web services and integrated
authentication. I'll give you a little background as to what I'm trying
to do ...
I have a client application that calls a web service. The web service
uses integrated windows authentication (with identity impersonation... more >>
can a code-behind self-destruct?
Posted by Jason Shohet at 12/20/2004 12:06:16 PM
Is there a way for a code-behind to delete the dll after an expiration, or
if a user doesn't enter the right password. ie, lets say i license
something to someone for 3 months. After that time, I want the dll
(representing the c.behind) to become corrupt, or delete itself so it
cannot be... more >>
Access Data Without Downloading?!
Posted by ACaunter at 12/20/2004 11:31:05 AM
Hi all,
I was wondering if there was a way a client's machine could play audio or
view a word document which is stored on the server, without having them
download it first.
This will be done over the web with an asp.net application.
--
AdamPC@hotmail.com... more >>
Why is there not a View---->Tab Order when working with Web Forms?
Posted by klj_mcsd NO[at]SPAM hotmail.com at 12/20/2004 11:18:20 AM
Why is there not a View---->Tab Order when working with Web Forms?
Is it not necessary? Huh?
... more >>
Detect if client has .NET framework installed
Posted by fernandez.dan NO[at]SPAM gmail.com at 12/20/2004 11:06:02 AM
Hi
I was wondering if there is a way to detect if the client has the .NET
framework? I want to create an embedded Windows User Control. If the
user doesn't have it installed I could then redirect the client to a
different web page. Thanks
Danny
... more >>
LinkButton : How to navigate to a child in another page
Posted by Bazza Formez at 12/20/2004 11:04:41 AM
Hi,
The intended functionality is as follows :
I want the user to be able to click on the LinkButton for an individual row
in a datagrid, server side sub grabs id for item selected, stores in session
& reirects user to new page which retrieves id from session & loads its own
grid accordi... more >>
Help on Mouse over feature/Click event
Posted by Stephen at 12/20/2004 11:01:12 AM
Hi,
I have a datagrid with a column which displays image after unstreaming data
from the database. I want to have a mouse over feature or a click feature
that will redirect to another page and display the details of this image and
other features. How can I do this?
this is a part of the HTM... more >>
Need help with Datagrid
Posted by Joe at 12/20/2004 10:53:12 AM
Hi,
I’m new to asp.net. I want to create an asp.net page that allows user to
edit the data. I have pasted my code below. I am able to display the data in
a datagrid. At the bottom of the page there are two buttons “Save Changesâ€
and “Cancelâ€. When “Save Changes†button is cli... more >>
WSDL.exe missing
Posted by tshad at 12/20/2004 10:32:01 AM
I am starting to work with Web Services and need to use wsdl.exe and was
told it would be in the following folders:
a.. C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\
b.. C:\Program Files\Microsoft.NET\SDK\v1.1\Bin
The problem is that it isn't there.
I am running on an XP and working with... more >>
explanation of excerpt from article
Posted by rodchar at 12/20/2004 10:19:02 AM
hey all,
i was reading this article on validation controls and came across this
paragraph:
Server Side Validation
ASP.NET will always execute validation checks on the server when a button
click event arrives requiring validation. You can disable any of the
validation controls by setti... more >>
how to reach a control in a dynamically extended HTML Table
Posted by buran at 12/20/2004 10:07:18 AM
Dear ASP.NET Programmers,
I have a HTML table (running as server control with the control ID:
tblInsertSP). The table has 16 rows with textboxes. Depending on the value
of the ddlSPType, which is a dropdownlist control on the page, I add
dynamically extra rows to the table. For instance, if th... more >>
web.config custom config handler is not flushed
Posted by Mads Brydegaard at 12/20/2004 8:57:05 AM
Hi,
I have created a custom Config handler for reading a custom config section
in my .config file(s)
It works very well!
I have placed a web.config in my root directory and then I use sub files in
sub diretories overriding various settings in the config file. Very nice
strategy which re... more >>
configuration error
Posted by scottrm at 12/20/2004 8:19:06 AM
We have two developers, call them A and B, (on Windows XP) developing a
number of asp.net web sites on a shared server (Windows 2003). Everything has
been ok but recently for no apparent reason whenever developer A builds a
particular project (which builds with no errors) and then tries to acc... more >>
button click event when keyboard's enter key is pressed
Posted by Diffident at 12/20/2004 7:51:05 AM
Hello All,
How can I force the control to go to click event handler if a keyboard's
enter key is pressed instead of the user clicking the button. I remember that
we need to create a hidden textbox or something of that sort but could you
please guide me in this process?
Thanks,...... more >>
Cache problem with SQL server
Posted by Dave at 12/20/2004 7:29:07 AM
I have a page which displays a sum of numbers from a table.
Also on this page is a textbox and button that causes an update to the table
that will affect this sum.
However, when I make the change to the database the change is not updated on
my page. I have simultaneously run sql query anal... more >>
Reading web page
Posted by lorenzo.viscanti NO[at]SPAM gmail.com at 12/20/2004 7:26:30 AM
Hi, I have a problem while reading the text of a web page.
I use the following code:
System.Net.WebClient webc= new System.Net.WebClient();
webc.Headers.Clear();
//Here I add some headers...
byte[] bytes=webc.DownloadData(url);
System.Text.UTF8Encoding deco... more >>
Fax integration in .NET
Posted by Dev at 12/20/2004 5:07:02 AM
I have a situation where in my .NET Windows Service should check for the
incoming faxes and read the headers, convert all the faxed documents to any
of the electronic file formats (tiff, pdf, doc etc).
Can we achieve the above functionality using ASP.NET or thru any third party
component?
... more >>
Imports
Posted by jsale at 12/20/2004 4:11:02 AM
If I put
imports xxx.ModuleName
at the top of my asp.net page vb code, does this create an instance of the
imported module that is unique to the page or does it just allow shared
access to the module's functions?
cheers,
jsale... more >>
Help: IIS no longer running after SP2 and VS.NET 2005
Posted by ~~~~ .NET Ed ~~~~ at 12/20/2004 4:10:12 AM
Hi,
I had IIS running perfectly on my WinXP Pro laptop. It also had VS.NET
2002. Some time before my trip I removed VS.NET 2002, installed SP2 for
WinXP, installed the Microsoft Web Studio 2005 Beta/trial. Then I installed
VS.NET 2003 as well.
The problem is, now I am unable to do any w... more >>
mass adding parameters t sql procedures
Posted by Renjith Chembakarayil at 12/20/2004 4:03:02 AM
ive this procedure which needs some 10+ inputs as parameters. if i go by the
normal method of passing params to procedures in asp.net like
this(http://support.microsoft.com/kb/320916/EN-US/) it'll be really long.
isnt there some shorter way to specify the parameters like when we do EXEC in
... more >>
Insert and Variables driving me crazy! Newbie...
Posted by Tim::.. at 12/20/2004 2:03:02 AM
Hi,
Can someone please help me with what I presume is probably a relatively
simple problem! I am trying to return two values (PageID and OfficeID) and
then insert them into another table. My problem is that the values for
PageID and OfficeID are contained in seperate Subs and I don't know ... more >>
Session Quicky
Posted by jsale at 12/20/2004 1:57:03 AM
What (if there is one) is the limit for the amount of data that can be
referenced in a session? I (think I) understand that session is like a
pointer, referencing data rather than actually storing it, but is there
actually a limit of how much can be referenced?
Cheers,
jsale... more >>
Problem for IE 6 / ASP.NET with Smartnavigation
Posted by Anders K. Jacobsen [DK] at 12/20/2004 1:46:25 AM
Im developing an ASP.NET application in .net 1.1.
I have a page where i have a dropdownbox in top. The page have added 4 user
wich all are hidden. According to the selection in the ropdown i show a User
Control.
My problem is, when enabling Smatnavigation, that some of my javascripts
sud... more >>
Open a JavaScript Window from a Web User Control and return a valu
Posted by Jorge Ponte at 12/20/2004 1:29:02 AM
hi
I have a Web User Control (ascx) - lets call it "My_WUC" - in a Web form. In
that WUC I want have a textbox and a button. I want to click on the button
and open a popup (I use javascript for that), the popup window will have also
a text box and a button. when the User click on the button... more >>
|