all groups > asp.net > may 2006 > threads for friday may 19
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
Getting sample code to work from a 'Wrox' book...
Posted by RAB at 5/19/2006 9:11:59 PM
Hello,
I downloaded the VB samples from the 'Wrox book' website at the
following address
http://www.wrox.com/WileyCDA/WroxTitle/productCd-0764558900,descCd-download_code.html
I installed MSDE 2000
I put the downloaded folder in my ...wwwroot folder and did the setup
In the setup log I ... more >>
java scripting
Posted by LeAnne at 5/19/2006 8:28:56 PM
i know this isn't the right newsgroup for this query, but nevertheless.
I'm looking for a help file or the like with all details or the functions,
and object PEMs available in Java scripting.
... more >>
Remote management of ASP.NET web applications
Posted by dejavue82 NO[at]SPAM yahoo.com at 5/19/2006 7:47:12 PM
Hi!
I was wondering how one is able to manage ASP.NET apps running on
IIS/win2003 remotely. PHP/Apache apps can be configured remotely via
linux's remote command line console (I guess). However, since windows
isn't based on this idea, how is this possible with ASP.NET/IIS/Win2003
in a shared/... more >>
Exposing Unmanaged C++ Windows Service code as a ASP.NET service.
Posted by shyam at 5/19/2006 7:44:02 PM
I have a C++ COM based windows service which have more than 30k lines of code
and which is stablized over years. We need to take the advantage of the
..NET framework for this project, especially the GUI for this service and the
other
windows non gui .NET clients.
What's the best migaratio... more >>
Hide ASPX Extension
Posted by Matt at 5/19/2006 7:02:58 PM
Does anyone know how to hide the ASPX extension of web pages in ASP.Net =
2.0?
Thanks,=20
Matt... more >>
How can we access a text box in a "sub" that has been created in another "sub" dynamically
Posted by loga123 at 5/19/2006 5:57:52 PM
Hi All,
I am new to .net. I am creating a text box in a "button1" "click
event" dynamically based on user input. Name of the text box and ID of
the text box contro are set dynamically in the server side code.
How can make this text box accessable in another "sub" or "button2"
click event?
A... more >>
Newbie Question
Posted by Samuel Shulman at 5/19/2006 4:28:06 PM
1 What is .ascx file (is that the new .css file)
2. I added the text below the this type of file
<font face ="Comic Sans MS" size="4" color="green"><li>
<%# DataBinder.Eval(Container, "DataItem.title" ) %>
</li></font>
and I referenced (as instructed) this file as a template to a repe... more >>
Stopping the Server Side code from running ?
Posted by Jon Delano at 5/19/2006 4:23:58 PM
Hi
I was wondering if it were possible to somehow stop a page from posting back
to the server and running the server side code.
I have a datagrid and the first column is basically a button.
I have added a javascript function to the button :
Dim btnView As LinkButton = e.Item.Cells(0).Con... more >>
Don't see what you're looking for? Search DevelopmentNow.com.
Bind CheckBoxList to Business Object
Posted by Larry R at 5/19/2006 3:38:52 PM
Can anyone tell me how to bind a CheckBoxList to a Business Object
(class) using the ObjectDataSource?
Thanks in advance..
Larry
... more >>
Write to content page
Posted by Dst at 5/19/2006 3:15:31 PM
Using Visualstudio 2005, masterpage/contentpage layout.
I have a old asp page which i need to display in a content page in a
aspx page.
I tried this:
Get the webpage into a string.
In page load do Response.Write(strPage);
But this doesnt work, it gets written at the top of the page.
S... more >>
Changing order on Datagrid
Posted by Stephen at 5/19/2006 2:33:25 PM
Hi,
How do i let a user change the order of some parameters on a web page?
suppose by default when the web page is loaded, suppose he sees this like on
a grid
PK Rule
1 Rule 1
2 Rule 2
3 Rule 3
4 Rule 4
Now I want him to change the order anyway he wants an... more >>
complaint
Posted by Support at 5/19/2006 2:25:35 PM
Hello:
I have an asp.net page that implements a file upload and then triggers a
lengthy analysis process located in a SQl Store Procedure
(Sproc_ProcessFile).
If I call Sproc_ProcessFile from the code behind, the web application times
out, because it takes too long, WHICH results in the cha... more >>
Get DateTimeFormatInfo for user?
Posted by Claes Bergefall at 5/19/2006 2:06:43 PM
I would like to format dates etc in the format that the user browsing the
page would prefer according to his language setting. The DateTimeFormatInfo
class provides all the information I need, but how do I get an instance of
it (or something else that has the info)?
Using DateTimeFormatInfo... more >>
nt security
Posted by js at 5/19/2006 2:02:35 PM
hi, I have a .net web applicaiton, how to set it up so valid nt user can
access(will popup a window login...) ? how to do that? many thanks.
... more >>
The process cannot access the file "" because it is being used by another process.
Posted by RSH at 5/19/2006 2:02:18 PM
Hi,
I have an ASP .Net web page that creates a temp directory on the server then
it is using the File.Copy command to move a file to a temp download
directory, Then I am doing a response.Redirect to that URL.
The problem is that whenever I run the page the script fails on the
File.Copy()... more >>
Deploy ASP.NET 2.0 Website File Not found
Posted by mschelstrate at 5/19/2006 1:56:02 PM
I upgraded an ASP.NET 1.1 website to ASP.NET 2.0. The site runs correctly on
my local machine. I published the website to the Web Server into a virtual
directory that I created. When I browse to the site, I am receive error 404,
"Page Not Found" even though Default.aspx file is there and desig... more >>
Nested usercontrols - system.page not reachable?
Posted by Sue at 5/19/2006 1:03:02 PM
Web app: asp.net 2003, IE, IIS, VB
top: system.page
-first level: placeholder
--second level: usercontrol
---third level: user control containing a datagrid
Datagrid itemdatabound assigns:
Dim button As LinkButton = CType(e.Item.Cells(0).Controls(0), LinkButton)
e.Item.Cells(1).Attributes("... more >>
Help adding a "rank" column to a sortable GridView
Posted by rusmo1 NO[at]SPAM gmail.com at 5/19/2006 12:56:49 PM
I have a GridvVew in which all of the columns are sortable. I want the
first column to display the position of the row in the sorted order
regardless of which column I've sorted or which direction it is
currently sorted. This "rank" column should always display like so:
1
2
3
4
5
etc...
... more >>
Problems using both Server.Transfer & Response.Redirect
Posted by Microsoft at 5/19/2006 12:22:29 PM
Error for Server.Transfer:
Error: Error Executing Child Request
MSDN: http://support.microsoft.com/default.aspx?scid=kb;en-us;320439
Says to use Response.Redirect but get this error here:
Error: The resource cannot be found.
I would like to use Server.Transfer as it is a better ... more >>
Changing default selected value in formview dropdownlist
Posted by Ben at 5/19/2006 12:21:02 PM
I have a formview with a few dropdownlists (software version, database
version, etc). When a software version is selected, the database version
dropdownlist updates itself accordingly. When in edit mode, everything works
fine - the selected value in each list defaults to the value from the
... more >>
Modifying Form Action Attribute - How?
Posted by Matt at 5/19/2006 11:47:12 AM
I have a client that requires a custom extension to all of the aspx =
pages. I have created an HttpHandler to receive the custom extension =
but where do I capture the response of the form with an action attribute =
to change the extension. For example a form is rendered to the browser =
with ... more >>
Web Form Panel Position Problem
Posted by Burstock at 5/19/2006 11:39:01 AM
I have a page that uses a Panel server control with a vertical scroll bar. It
is in a table on the page that uses a Master page for it basic layout.
Occasionally, when the page displays in IE (not tried other browsers), the
DIV that is derived from the panel displays halfway down the page.
If ... more >>
Publish web site wrror
Posted by simonZ at 5/19/2006 11:28:22 AM
When I publish my web site and open the page I get the following error:
[NullReferenceException: Object reference not set to an instance of an
object.]
izpisTV.OnInit(EventArgs e) +84
System.Web.UI.Control.InitRecursive(Control namingContainer) +316
System.Web.UI.Page.ProcessRequest... more >>
Are cookies encrypted by default
Posted by Thirsty Traveler at 5/19/2006 11:26:41 AM
If session id is stored in a cookie by default, does anyone know if this
cookie is encrypted by default?
... more >>
Transaction and TypedDataSEt
Posted by liming at 5/19/2006 11:12:13 AM
Hi,
I know it's possible to have transactions with Typed DataSet, but I have yet
to find an example of it.
For example, I have two typed TableAdapter
CommerceDataSet.xsd
CustomerTableAdapater
Insert(@CustomerName)
OrdersTableAdapater
Insert(@CustomerI... more >>
Showing footer in an empty GridView...
Posted by Stu Lock at 5/19/2006 10:37:48 AM
Hi,
I've spent the last hour trawling google for this - but all I find are
people asking the same question!
I have a gridview which is being databound to an empty datasource. I can
display the 'EmptyDataText' no problem, but the header and footer do not
display. The header I can live wit... more >>
ASP.NET 2.0 Custom Controls and Skins
Posted by aspnet20vb_mike at 5/19/2006 10:20:22 AM
I have a Custom Control which inherits from GridView.
I call it GridViewSort and it is in a namespace "PDS.WebControls".
I add it to the Toolbox, drop it on my WebForm and it shows up and
works fine. But when I define a skinID for this Custom Control, I am
getting an error when it compiles.
... more >>
Page.User.Identity.Name
Posted by luna at 5/19/2006 9:53:04 AM
Where does this function get the name from ?
reason i ask is, a user wanted their name changing on the domain,
i fixe everything else (email,login etc etc) but this function still
displays the old name
cheers
mark
... more >>
How to access ASP.NET Calendar control from javascript?
Posted by Ben at 5/19/2006 9:50:47 AM
I have a javascript code in the ASP.NET page.
I want to access Calendar control that is inside ASP page and is "run
at server".
I try to use following code but it doesn't work.
<script language="javascript">
function valSubmit()
{
document.getElementById("... more >>
<customErrors> confusion
Posted by Jayyde at 5/19/2006 9:36:27 AM
New to this so please bear with me...
I set up the:
<customErrors mode="On" defaultRedirect="~/Unavailable.aspx">
</customErrors>
And what it'll do is redirect to the Unavailable.aspx page, but then bring
up ASP.NET errors saying how it can't display what's going on and in order
for... more >>
ASP.NET Session Lost (SQL State Server)
Posted by alex.callea NO[at]SPAM sellys.com at 5/19/2006 9:28:26 AM
Hi there,
We have an asp.net (1.0) web application running on a 6 nodes web farm
(Network Load balancing windows 2003 iis 6.0) using a sql state server
(SQL 2000 running on windows 2003).
Sessions are generally working quite well but we are sometimes
experiencing session problems: all se... more >>
Parsing text with code and ASP.NET
Posted by Steven Berkovitz at 5/19/2006 8:15:02 AM
I am trying (without any luck) to find a way to parse a string and output its
processed results.
ie:
string text = "This is text from a CMS tool <asp:Label runat=\"server\"
id=\"test\" text=\"Hello World\" />";
OR
string text = "Current date is: <%=DateTime.Now.ToString() %>";
Res... more >>
config file and custom XML Tags
Posted by serge calderara at 5/19/2006 8:12:02 AM
Dear all,
Let say that I have developped a funcionnal library that I distribute for use.
That library can be integrated in a project by referencing it and then use
it by calling function and setting properties. So far so good.
I would like that some function behaviour can be customized with... more >>
IIS and seting .aspx page as default?
Posted by Rob R. Ainscough at 5/19/2006 7:46:22 AM
I'm having a problem with my web server and application -- I set it up using
XCOPY (done this many times before on other servers) but for some reason
when I navigate to the site it returns a 404. I heard a rumor that for
Win2K3 IIS 6.0 that one has to use an html page as the default (with a
... more >>
Session Problems
Posted by Andyd at 5/19/2006 7:41:56 AM
Hi everyone,
I have an ASP.NET 2005 application that uses COM interop to talk to a 3rd
party application server.
basically we submit a search to the app server via COM and wait for results
to be returned. This is working fine in my dev environment, however in teh
live environment, it se... more >>
Autocomplete Works in older Web site version, not new
Posted by thubba2000 NO[at]SPAM gmail.com at 5/19/2006 7:17:43 AM
We have a web application developed using IBuySpy. In older versions,
Autocomplete on all web forms works. In our latest version, it stopped
working on all clients.
I have gone through all the groups and tried a bunch of things. Two
main areas I keep seeing are,
1. Browser Settings not set ... more >>
q: .net 1.1. to 2.0
Posted by JIM.H. at 5/19/2006 6:16:02 AM
Hello,
My current application work on .netfgramework 1.1. Should I be expecting any
problem upgrading .net 1.1 to .net 2.0?
... more >>
Forms Authenticiation Cookie Problem
Posted by Rick Gamble at 5/19/2006 5:46:17 AM
I have an app using the ASPNET.MDF approach to handle security.
The application works properly security wise if run on the production
server, behind a firewall, or outside the firewall only if IE's
Internet/Tools privacy tab is set to lowest; "accept all cookies".
When I use Internet Explo... more >>
q: call asp page from aspx
Posted by JIM.H. at 5/19/2006 5:06:02 AM
Hello,
Can I call a web site with asp pages from and aspx project? Any example will
be greatly appreciated.
... more >>
Error: "Please specify the assembly explicitly in the type name" while migrating web project 1.1 to 2.0
Posted by Lucky at 5/19/2006 5:04:36 AM
hi guys,
i got an error while i was migrating one of the webproject developed in
1.1 to 2.0. i got error in one dll reference in global.asax.
it says
"The type 'Ims.Tmpc.Global' is ambiguous: it could come from assembly
'C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Fil... more >>
debugging a web service
Posted by Julia at 5/19/2006 4:09:01 AM
Hi
I have developed a small web service in VS 2005. I have also made a small
client (also VS 2005) that are using this service. I know that when I did
this using VS 2003 I was able to debug the web service code from the client.
Is it possible to do that from VS 2005 and how do I do?
Tha... more >>
Invalid Characters, Posting XML Data, Webrequest
Posted by romiko2000 NO[at]SPAM yahoo.co.uk at 5/19/2006 1:15:45 AM
Hi Folks,
I got a weird problem, I create an XMLWriter to post a document via the
webrequest stream and after running a network trace, I notice the data
is prefixed with 3 invalid characters!
The invalid characters are: ef bb bf, at the top of the stream, which
are =EF=BB=BF. Why is this ... more >>
Hot to handle "Directory not found" from ASP.NET?
Posted by Casper Stendal at 5/19/2006 12:58:23 AM
Is it some how possible to handle a "directory not found" error through
ASP.NET (or ASP), without having to make speciel a setup for the application
in IIS, when it comes from an URL without extension, like this:
http://www.mywebpage.com/folder/notfound/
Any comments are preciated?
... more >>
A serious bug??
Posted by ad at 5/19/2006 12:00:00 AM
am use VS2005 to develop Web application.
I put some DataTableAdapters in a ClassLibrary. When the Web Application
need to deal with data, it call the methods in the ClassLibrary.
It run ok in the VS2005 IDE. But when I deployment my Wep applicaotn to Web
server, my WebApplicaiton fail to update... more >>
determine sql decimal precision in .net
Posted by Sam at 5/19/2006 12:00:00 AM
Hi,
I would like to be able to read the scale & precision of a decimal type
contained in a sql server table from vb.net.
I would like to set some properties (like width,format) of a gridview's
field based upon the width (scale,precision) of the database column.
Previously, in VB6 with AD... more >>
CSS apply only in design mode
Posted by spp at 5/19/2006 12:00:00 AM
I have an web app wich uses a css file.
At design mode it works fine but when I preview my pages it's not apply.
I use VS.NET 2005.
... more >>
|