all groups > asp.net > december 2005 > threads for tuesday 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
The active schema deos not support the element <...>
Posted by Kim at 12/20/2005 11:47:02 PM
I had no problem with compiling my webpage with the following statement added
to the HTML view until recently:
<asp:repeater id="rp1" runat="server">
<tr><td><%# DataBinder.Eval(Container.DataItem, "Title") %></td></tr>
...........
...........
</asp:repeater>
The intellisense in... more >>
page load/post back
Posted by rjl at 12/20/2005 11:32:18 PM
I have a routine when a page loads it runs through a bunch of stuff
then I have a method to check something. if this thig I am checking is
false, I want to reload the same page, if it is true, then redirect. I
have the redirect working, but how can I cause my page to reload:
if (true){
//red... more >>
Open .RDL in ASP.NET without ReportServer
Posted by Chris at 12/20/2005 10:05:06 PM
Is it possible to simply add an .RDL to an asp.net project, and access the
report dynamically without any report url or anything.
I just want to pass the database authentication to the .RDL [reportViewer?]
and a few parameters, and run the report. But I do not want the report to
exist in a... more >>
dropdownlist.OnSelecteItemChanges,,,,
Posted by genc_ymeri at 12/20/2005 9:59:18 PM
Hi over there,
I didn't expect not to get this right a way but the problem I'm having is
this :
I have a Webform with a a dropdownlsit [two items {Yes, No}] Of course I
have the dropdownlist a serverside control.
How can I pop up a message dialog on the client-side when the user select
Yes... more >>
Creating case-sensitive passwords
Posted by Showjumper at 12/20/2005 9:38:46 PM
How can i go about doing case sensitive passwords w/ forms auth, vbnet and
asp.net 1.1?
I found an msdn mag article that used cast as varbinary in the sql statement
but i cant get it to work. Is the sql approach best? What other approaches
are there?
Ashok
... more >>
Is the Datagrid obsolete now ?
Posted by drewdr NO[at]SPAM yahoo.com at 12/20/2005 7:58:32 PM
Or are there still scenarios where datagrid > gridview ?... more >>
System.Runtime.InteropServices.COMException: Word could not fire the event
Posted by Microsoft NEws at 12/20/2005 7:40:13 PM
i am getting this error when creating a new document using asp.net
your thoughts
... more >>
Handling Drop Down Selected Item
Posted by John Walker at 12/20/2005 7:07:02 PM
Hi,
On an ASP.NET page I have a drop down list control. When the user pulls
down the list and makes a selection, I perform validation, and if the
validation fails I want the selected item in the drop down box to go back to
what the value was before the user tried to change it, but at that ... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
A tabbed navigation web control that supports SiteMapProvider?
Posted by RCS at 12/20/2005 5:38:30 PM
Does anyone know of a tabbed navigation control that supports
SiteMapProvider (the same way the menu, breadcrumbs and treeview do in
2.0)??
I'm looking for www.amazon.com style tabbed navigation, but something that
will plug it seamlessly with my exisitng navigation provider. Thanks!
... more >>
w3wp.exe process crashing.
Posted by msnews.microsoft.com at 12/20/2005 5:37:11 PM
Hi all,
I have a problem which I've seen mentioned quite a few time around the net,
but nothing seems to work.
I've created a web service with one method (see code below). It's running
under IIS set to Windows Authentication. Calling the web service from a
client application or the bro... more >>
2.0 has no DataSet!!
Posted by Tina at 12/20/2005 5:31:05 PM
The docs I am reading says that the dataset/datatable are no longer
supported in vs.net 2005 and .net 2.0. There were lots of great things the
dataset allowed us to do that I don't see a replacement for.
For instance I found the best way to produce a crystalreport was to source
it from an ... more >>
Has there Page unload event available?
Posted by ABC at 12/20/2005 5:11:23 PM
Has there Page unload event available? I want to write some codes to
release memory. But I can not found the Page_Unload event.
... more >>
Session abandon. New page loaded but not new SessionID
Posted by James at 12/20/2005 4:48:47 PM
My web application is comprised of a Login page and then several other pages
nested in a masterpage. I am using a cookiless="UseUri" session configuration.
I have a linkbutton on the masterpage for logout and when the user clicks
this, code is run that does Session.Abandon() and Server.Transfer("... more >>
Cannot open asp.net 1.1 web project with VS.net standard edition
Posted by Shailesh Patel at 12/20/2005 4:36:46 PM
Hi,
I have VS.Net standard edition installed on my computer. I get the following
error when creating new web application:
"visual studio .net has detected that the specified web server is not
running asp.net 1.1. you will be unable to run asp.net web applications or
services."
Thank you... more >>
How to filter file types when using the HTMLInputFile control...
Posted by Asela Gunawardena at 12/20/2005 4:21:57 PM
On my Web Servers, I don't want to allow visitors to upload executables.
There are many types of files that i want to ignore (for instance: exe,dll,
bat, cmd .etc). I have an ASPX page with an HTMLInputFile control which
uploads the files. Is it possible to set a filter when the user clicks the
... more >>
Impersonation Issues. ASP.NET Webform works only on Local Machine
Posted by Rocky at 12/20/2005 4:00:02 PM
I have a problem.
I have a webform, which uses impersonation. My iis is set to windows
integrated authentication and anonymous is disabled.
My webform connects to active directory and retrieves user information. This
webform works great on the local machine. But if i run it from a remote
... more >>
Need Help with cookies
Posted by Phillip N Rounds at 12/20/2005 3:52:05 PM
I'm having trouble with using cookies to monitor the stages of login.
I have a two stage Registration page ( register.aspx ) and my target page
( MyPage.aspx )
I'm using a cookie named LoginStatus to tract the stage of the login
process.
LoginStatus = "1" denotes that the first part of the lo... more >>
Will Session automatic clear memory when I unload web page?
Posted by ABC at 12/20/2005 3:42:32 PM
Will Session automatic clear memory when I unload web page?
... more >>
Using session variables in .cs file
Posted by dana lees at 12/20/2005 3:27:49 PM
Hello,
I am using session variables in a cs class file. I am inserting a sortedList
to a session variable like this:
System.Web.HttpContext.Current.Session["EventsList"] = EventsSortedList;
Later on, when i want to use this value by:
EventsSortedList =
(SortedList)System.Web.HttpContex... more >>
Hidden Form Field Value not Persisting
Posted by xenophon at 12/20/2005 3:16:23 PM
I added a Hidden Form Field to a form in the code behind.
The value is being set in JavaScript client-side, but it is not
persisting to the server in the PostBack.
I know the value is being set properly because it displays in the
document.write method.
Create a simple page and paste the... more >>
Add-ons
Posted by Mantas Miliukas at 12/20/2005 3:12:23 PM
Hi,
We have developed a web solution using ASP.NET.
Now, there is a need of add-ons for our web solution.
We want to allow third party companies write their own code and put it to
our web solution.
But there is one problem :)
Let's say our website contains dlls of 1.0 version.
The th... more >>
Does the framework need to be in place for a local ASP.NET App?
Posted by jonefer at 12/20/2005 3:01:02 PM
I would like to develop an application that doubles as a served application
when SQL server is visible on the network, and a Local Client app (Like a
windows app that uses the browser) that connects to --say Oledb Jet 4.0
(Access) when the SQL Server is not visible, (or any internet connectio... more >>
Can't install sqlserver express due previous beta
Posted by Edwin Knoppert at 12/20/2005 2:41:43 PM
Afaik, i removed all beta parts.
I do work with free VWD express version since nov-7th !
All installed fine except for the SQL server part.
This might be since i removed an existing sql server version rather
drastically, it wouldn't uninstall.
What should i remove to allow installing?
I mean ... more >>
Web Deployment Projects error
Posted by Justin Martin at 12/20/2005 2:32:34 PM
Hi,
I've just started to use the beta of the web deployment tool. However, it
keeps failing with the following message:
"aspnet_merge.exe" exited with code 1. Can anyone shed any light on this
message?
thanks
justin
... more >>
validationSummary controls
Posted by NuB at 12/20/2005 2:32:24 PM
How can i hide a grid and textboxes if the page is not valid?
... more >>
Process Call to Windows application
Posted by Stephen at 12/20/2005 2:11:15 PM
Hi,
I have created an app that executes another app using Process Class.
I can execute a Cosole based application but
I cannot execute a windows based application
Can someone please tell me why?
Stephen
... more >>
default submit button
Posted by tim djossou at 12/20/2005 1:46:17 PM
How do you define a default submit button on a asp dotNet form
Thanks
... more >>
Bind DataGrid or DataList to a collection?
Posted by Charlie NO[at]SPAM CBFC at 12/20/2005 1:37:14 PM
Hi:
Can the DataGrid or DataList be bound to a strongly typed collection?
Thanks,
Charlie
... more >>
Creating a file that can be seen in the browser
Posted by David Thielen at 12/20/2005 1:18:02 PM
Hi;
My ASP.NET app (C# calling J# under .net 2.0) creates a png file in a
subdirectory to display as part of the created page. However, the bitmap will
not display due to a security violation.
Everything is the default settings I believe. IIS is running under Local
System. In IIS the Def... more >>
ScreenSaver
Posted by NewToDotNet at 12/20/2005 1:16:44 PM
Hi,
I am new to windows programming. I created a screensaver program using
..net. I have the executable. How do I add it to the screen saver list.
Thanks.
... more >>
WebForm_PostBackOptions Error
Posted by Brad at 12/20/2005 1:08:37 PM
Per one of Microsoft's conversion suggestions (MSDN step by step guide to
converting web projects) we have configured our test web servers to run
ASP.NET apps using 2.0.....but we are still developing the apps in VS2003/
ASP.Net 1.1.
Though I've found this isn't quite the "quick switch" one... more >>
Browser based app - Architecture sizing.
Posted by Chris at 12/20/2005 12:50:44 PM
Hi,
I need to develope a browser based application that will support around 80
users probably around 50 concurrent.
Most of the users will be performing simple data enry tasks. A small number
will need to produce reports and data exports.
The app will use ASP.NET and SQL Server 2000 or 20... more >>
Hebrew Calendar (Jewish)
Posted by isacc manit at 12/20/2005 12:36:02 PM
Hoe do I add a HebrewCalendar Control to my website.
and get the hebrew month names.
(Is it possible to the Parsha)?
--
VB.NET... more >>
Themes + Picture relative url + Master Pages
Posted by Roel at 12/20/2005 11:48:15 AM
Hi All,
I have a treeview in my master page where I use custom pictures for.
I have defined a new theme in the App_Themes folder, and all my pages use
this theme.
In my TreeView.Skin file i have following entries:
CollapseImageUrl="themeimages/icon_bg_lightgrey.jpg"
NoExpandImageUrl="them... more >>
GetThumbnailImage Question
Posted by rhungund NO[at]SPAM gmail.com at 12/20/2005 11:42:55 AM
Hi all. I'm using a simple thumbnail generating script in VB.NET/GDI.
It uses the GetThumbnailImage method.
It works great when resizing gifs. But when I resize a jpeg the
quality looks terrible. Here's a code snippet. Thanks.
Dim fullSizeImg as System.Drawing.Image
fullSizeImg ... more >>
windows app vs web based app
Posted by Robert Lie at 12/20/2005 11:41:25 AM
Dear All,
I want to develop enterprise scale application.
From the performance perspective, which one is better web based
application or windows based application?
Is there any white paper about it?
Thanks
Robert Lie... more >>
Registry problem
Posted by fabrice at 12/20/2005 11:33:36 AM
Hello
I have a little problem by reading personal registry key. I get an error
System.NullReferenceException even if the key exist.
This is my code.
Dim objKey As RegistryKey
objKey = Registry.CurrentUser.OpenSubKey _
("Secure\test", False)
response.Write(Convert.ToString(objK... more >>
Using Custom DropDownList in UserControl
Posted by Joe at 12/20/2005 11:31:06 AM
Hello All:
I have created a class (UpdatedDropDown) that inherits from DropDownList and
I have included the following code in this class:
Public Class UpdatedDropDown
Inherits DropDownList
Protected Overrides Sub RenderContents(ByVal writer As HtmlTextWriter)
For c As In... more >>
ASP 3.0 Passing HTML to ASP.NET 1.1
Posted by Ryan Ternier at 12/20/2005 11:14:24 AM
I have an ASP page that needs to pass a string object full of HTML to a .NET
iframe within that page.
The String might be over 5000 characters of HTML.
Reason we're doing this is to incorporate our HTML editor in our Portal
Software. Currently it works perfect with regular strings, but onc... more >>
Authorization Form
Posted by rlrcstr NO[at]SPAM newsgroups.nospam at 12/20/2005 10:46:06 AM
When completing certain types of transactions, the users of my app will need
to have the clients sign an authorization form. I want to add a button to
the page that allows them to print the auth form customized with the
client's name, etc... I was thinking of using MS Word and automating it
wi... more >>
Implementing a tagging system in .net
Posted by darrel at 12/20/2005 10:44:05 AM
Has anyone built a tagging system for their .net application akin to way
flickr or del.icio.us implement it?
We're building an internal CMS and all of the structured content will be
organized into categories (basically, folders of information). This is
needed to create a specific structure ... more >>
Authentication for documents
Posted by Gerhard at 12/20/2005 10:40:03 AM
Hi,
I have an application where I want to store reports (.pdf, .doc) in a
reports subdirectory. Within the reports subdirectory, I am creating other
subdirectories (with a job number) where I store the reports for a job. I
can access the reports fine through my application.
However, if... more >>
ASP.NET 2.0 Resource Satellite Assemblies (Bug?)
Posted by gjenglish at 12/20/2005 10:39:34 AM
I have recently migrated an ASP.NET 1.1 web application to ASP.NET 2.0.
In this application I am storing all my resources in satellite
assemblies and I am accessing them via the ResourceManager object.
However, the ResourceManager is no longer returning the resources from
the satellite assemb... more >>
System.Web.HttpException: Invalid_Viewstate
Posted by dima at 12/20/2005 10:18:26 AM
Hi All,
I know some of you had this problem in production.
Did anyone find out how to fix this problem or what is the cause of it?
System.Web.HttpException: Invalid_Viewstate
System.Web.HttpException: Authentication of viewstate failed. 1) If
this is a cluster, edit <machineKey> configurat... more >>
My business class methods are not being exposed in my presentation layer :(
Posted by Learner at 12/20/2005 10:14:09 AM
Hi there,
I am just trying to set up 3 tier architecture. When i add my
Datalayer project to the Business layer project the methods are exposed
to in my business class. But in the similar way when i add the
Businesss layer project to my presentation i don't see the methods of
BL exposing in m... more >>
Session Question Need Confirmation
Posted by JJ at 12/20/2005 10:12:15 AM
Ok need clarification here. If I open up a IE browser window to an
asp.net app, I of course would have 1 session started. If I open up
another IE browser window to same asp.net app "Do I" or "Do I not" have
another session started. Am I using same session from First IE browser
window open?
... more >>
AuthenticateRequest event and Roles
Posted by Dave at 12/20/2005 10:06:03 AM
I'm using code similar to below. Is there a way to check if the Current.User
object has roles assigned already. This event fires on every page request and
I only need to have it fired once since it makes a call to the db everytime.
Thanks.
Sub Application_AuthenticateRequest(sender As Obje... more >>
showing control in frameset
Posted by dana lees at 12/20/2005 9:52:07 AM
Hello,
I have a frameset that contains 2 frames - a header and a body frame. The
header contains some gifs and controls. Among them, there is a user control
which i want to be displayed on top of the lower frame as well.
Now it is cutt off where the header frame ends and i would like it to app... more >>
static filestream for saving Xml file, intermittent WinIOError exceptions..
Posted by Tim_Mac at 12/20/2005 9:48:20 AM
hi,
i'm not sure if i have chosen the best approach, but it seemed quite
good to me.
i have a collection class, containing business objects. the collection
class is static and remains in-memory all the time the app is running.
it is persisted to an Xml file when necessary. i keep a static
fi... more >>
User Control Page Load not firing (nor event handlers) in VS 2005
Posted by Dood at 12/20/2005 9:37:24 AM
I have a page that has a tab control which toggles which user control
is loaded into a placeholder. The user controls that are loaded into
this place holder have other user controls in them, making 3 levels.
When I select a drop down list that is in the 3rd level user control,
it causes a post b... more >>
General Security Question
Posted by roy anderson at 12/20/2005 9:20:23 AM
Hey all,
I'm not new to web development, but totally clueless regarding web
security/logins and such. I have a website which requires users to
login, checks their info against a SQL Server backend, then saves their
login as a session variable. As they browse through the various pages of
the sit... more >>
Client Script for Server control?
Posted by Mike Labosh at 12/20/2005 9:17:19 AM
I have a WebForm that has, among other things, the following:
ASP:TEXTBOX txtCorrectedName
ASP:LISTBOX lstCorrectedNames
The list box gets loaded with all the "correct" names of cities, and the
textbox is blank. The idea is that the user can pull up a record with bogus
address info, and ... more >>
can cassini be configured to run in the root?
Posted by Tim_Mac at 12/20/2005 9:13:42 AM
hi,
for various reasons (navigational, relative paths etc.) i want the web
site to always run from a root directory, i.e. http://localhost:3038/
and not http://localhost:3093/Virtual/
can cassini be configured to always run from the root? i know you can
launch it from command line, with /vpath... more >>
Force Download PDF Problem
Posted by gaubo79 at 12/20/2005 8:40:44 AM
I am wishing to force the Open|Save dialog box for a PDF and Excel
file.
I am using the following code:
Response.Clear();
Response.ContentType = "application/octet-stream";
Response.AddHeader("Content-Disposition", "attachment; filename=" +
saveFilename );
Response.Flush();
Response.Writ... more >>
E-Mailing a Web Form in HTML format.
Posted by Mattyw at 12/20/2005 8:39:41 AM
Hi,
I have a WebForm that just consists of TextBoxes and Labels and I am
wondering what would be the best way to send the WebForm as an HTML
e-mail when the user clicks on a button event.
I am using VB and have so far been able to send the contents of a text
box in an e-mail's body using th... more >>
File Manager Application
Posted by Craig at 12/20/2005 8:06:03 AM
Does anyone know of a good File Manager application that is available for
ASP.NET? Something that would allow the bulk uploading of files that would
be available for download, and that would incorporate security and file
details possibly? Has anyone had any experience using anything close ... more >>
Namespace in Master Page?
Posted by Brian.ONeil NO[at]SPAM MCDean.com at 12/20/2005 8:00:53 AM
Hi all,
Trying to use the "Corporate" template downloadable from Brian
Goldfarb's pages. I want to add my own Namespace declaration to every
class. But I can not find the setting in Project Properties, and not
sure what the rules are here. I added an NS declaration to 3 classes
and the whole ... more >>
OT: Need Project Tracking software
Posted by Antonio at 12/20/2005 7:57:03 AM
Hi, sorry for the OT question but the readers opinions will matter more
to me.
I team lead a small development team of .net and sql programmers.
There is another team in our group like ours. We are tracking our
project requests and statuses in Excel as it is shared with people
ourside our te... more >>
wss, aspnet_client not accessible to aspnet application for valida
Posted by cindy at 12/20/2005 7:46:02 AM
i posted this to dotnet.framework
the answer was does file really exist. yes it does
then WSS is in way
In order to make the full path to the .js file defined as excluded I cannot
use / character to define path so do I create virtual directory for
aspnet_client in local project is not the asp... more >>
Object Reference Error Message
Posted by tjonsek NO[at]SPAM phenom-biz.com at 12/20/2005 7:24:54 AM
When executing the following code, I get this error message:
Object reference not set to an instance of an object
It bombs out on me rigth at the cmdWO.CommandText statement.
If you have any ideas, please share them!
Dim strWO As String
Dim rdrWO As System.Data.SqlClient.SqlDataRe... more >>
asp.net page won't work with dll, what am I omitting?
Posted by BLACKDOG157 NO[at]SPAM LYCOS.COM at 12/20/2005 7:02:32 AM
I bought a dll, put it in my website's BIN directory, and then put a
line in my asp.net page as follows:
Dim MyCrypt As BeanSoftware.Components.CommonCrypt = New
BeanSoftware.Components.CommonCrypt()
I don't have visual studio, so I put the line in with notepad.
But when I loaded the asp.net pa... more >>
SqlDataSource - Stored Procedure
Posted by benoit at 12/20/2005 7:01:02 AM
Hi,
I have an SqldataSource which calls a SP. that SP returns two datatables.
If I bind my SqlDataSource to a Gridview, it shows the first DataTable,
which is logical.
How can I retrieve the next Datatable?
I would like the results of DataTable1 to be shown in the Header of my Grid,
and ... more >>
how to have return key cause postpack?
Posted by ChrisA at 12/20/2005 6:29:02 AM
I want the Return Key to do a postback of an ASP.Net form. What's the
right way to set that up?? I don't want to interfere with the asp.net
framework.
I guess my options are to set the ACTION attribute or inject some
javascript.
This is under 1.2, not 2.0 yet.
Thanks... more >>
Move the App_Code directory
Posted by I2 at 12/20/2005 5:58:24 AM
I am new to .net and am stumped as to how to use "include" files in my
asp application.
Currently I have created classes in the app_code directory that are
shared between various aspx pages and this works fine. The problem,
however, is - I am trying to include aspx functionality as part of a
... more >>
Button events
Posted by Jimmy Jazz at 12/20/2005 5:39:02 AM
Hi,
I have created a control with some buttons an alphabet. When one of these
buttons are pressed it posts back and in the postback event for the button
pressed a list of tems is created with a list of buttons next to them to
delete the term. My problem is that the delete button has a delet... more >>
session storage in real high volume e-commerce site.
Posted by sikander at 12/20/2005 2:31:03 AM
Hi
I am aware of asp.net session related facilities.
But I want to know how things are done in real world.
If anyone love to reveal it, would be of great help.... more >>
application-level dataset
Posted by Sergei Shelukhin at 12/20/2005 1:50:59 AM
Hi :)
I need to store some data in application level dataset. Once a month, a
huge query is performed against a set of big tables and the result is
stored. The dataset is stored in applicaton level variable and is used
to display some report.
However there's a problem, the app might restart... more >>
Lost session variables
Posted by ramendra at 12/20/2005 12:01:01 AM
Hello,
I am having some trouble with passing session variables from one aspx page
to another aspx page through an applet.
Let me clarify the problem more ...
I have an aspx page which contains a button on click of which i call an
applet to do some work. Once the applet finishes its job... more >>
|