Groups | Blog | Home


Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
all groups > asp.net > september 2005 > threads for thursday september 22

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

datime
Posted by ae at 9/22/2005 11:26:03 PM
is it possible to set a clock that tics in seconds in asp? ...more >>


DataGrid with id could not automatically generate any columns from the selected data source.
Posted by Beffmans at 9/22/2005 10:55:03 PM
Hi I am lookin for a solution for this problem? ch B. *** Sent via Developersdex http://www.developersdex.com ***...more >>

Encrypt Error
Posted by SJ at 9/22/2005 9:58:31 PM
Hello, I'm trying to use Cryptography to encrypt/decrypt data in my application. It was working just fine on my old computer, but now I've switched machines, and I get the following error at Runtime. ICryptoTransform transform = des.CreateEncryptor(desKey, desIV); [CryptographicException:...more >>

is there a way to do this...unsure about this concept
Posted by rodchar at 9/22/2005 9:03:02 PM
hey all, i have a plain aspx page (page1) with 1 textbox on it, i hardcode sample text in the textbox. i have 1 button and in the codebehind button click event i response.redirect to page2. i try to do a request.form("TextBox1") on page2.aspx and it doesn't have the contents of the textb...more >>

Ajax makes a round trip doesn't it?
Posted by needin4mation NO[at]SPAM gmail.com at 9/22/2005 7:49:42 PM
I understand this is a asp.net group, but thought I would post this here for comments. I admit I have used this post in another group, but it has less traffic. Here's to hoping I'm just blind to the obvious: I have been reading a lot about AJAX. I want to use it and will. But I keep readin...more >>

LoadControl and "Unable to Cast"?
Posted by Shawn Wildermuth at 9/22/2005 6:48:53 PM
I have some simple code that loads a control with LoadControl and casts it to the codebehind object: Control ctrl = LoadControl("~/Controls/BlogEntryViewer.ascx"); BlogEntryViewer entry = (BlogEntryViewer)ctrl; About 80% of the time this fails in the cast. The BlogEntryViewer.ascx file...more >>

Problem retaining form data
Posted by antonyliu2002 NO[at]SPAM yahoo.com at 9/22/2005 6:09:46 PM
This was originally posted as a reply to a thread, but it soon sunk to the bottom, and nobody was paying attention to this. My problem is how to effectively retain user-supplied form data. Say, on form1.aspx I have: ************************* Form1 | Link_to_Form2 | ----------------------...more >>

How to detect users refresh in my asp.net page
Posted by J-T at 9/22/2005 3:44:03 PM
Is there a way to detect if a user has refreshed a page in asp.net? Thanks a lot ...more >>



client side way
Posted by rodchar at 9/22/2005 3:36:02 PM
hey all, i have an asp.net page that has a drop-down list databound to a table. i like the auto postback feature in that as soon as a user selects an item in the dropdownlist it takes that value and places it in a summary textbox. however, i don't like the fact that it has to make trip to ...more >>

problem in calling javascript function in radiobuttonList
Posted by novice_developer at 9/22/2005 3:02:51 PM
Hi All, there is a radiobuttonlist having 2 list items (state & zipcode). when i select state radiobutton the zipcode textbox should be disabled and when i select a zipcode radiobutton the state textbox should be disabled. And i need to handle this in client side only. i'm not able to call ...more >>

How to clear the rows from the grid?
Posted by John Smith at 9/22/2005 2:38:57 PM
What are all the options to clear the rows in a datagrid? ..Net Framework 1.1. ASP.Net Thanks, Smith ...more >>

Producing an image from HTML.
Posted by UJ at 9/22/2005 2:38:33 PM
I've got some HTML that produces what I need. I need to make an image of it to display on pages of my web site (I won't go in to why - just trust me - I need the image of it). The user enters some stuff that can include HTML code that I need to convert on the fly behind the scenes. Is there...more >>

HttpRuntime, threading, cache, and Server.MapPath
Posted by Random at 9/22/2005 2:14:37 PM
I am running some threaded operations within my ASP.NET app, in order to add some data to the Cache. I know enough to use the HttpRuntime.Cache instead of the HttpContext.Cache, but my operations need to reference a file on the server. Normally, I'd use Server.MapPath to get the file referen...more >>

Refresh Carrys out Click Code
Posted by Adotek at 9/22/2005 2:12:40 PM
Hi All, I've built a simple page that populates a datagrid from an access database. On the page is a form, with a button. When the button is pressed, the contents of the form are added to the database and the new data is displayed. Great - Works fine! BUT...If the user then refreshes the pa...more >>

Posting Large Data to Querystring
Posted by apiringmvp at 9/22/2005 1:55:44 PM
I am trying to post a large amount of data from an XmlSerialized Arraylist that is converted into a string of hex values. When I pass it to a querystring sometimes its gets truncated. Is there another way to hash an XmlSerialized byte array, instead of just converting it to a string of hex v...more >>

asp.net calling Unix script
Posted by Alan Wang at 9/22/2005 1:43:40 PM
Hi all: I am just wondering if it's possible to call Unix script from asp.net application. Thanks in advanced Alan ...more >>

Canceling Subsequent events from page_load
Posted by DazedAndConfused at 9/22/2005 1:37:28 PM
How can I prevent subsequent events from firing when I have an error in the page_load event? ...more >>

.net vbc : error BC30138 Unable to create temp file
Posted by robwharram NO[at]SPAM gmail.com at 9/22/2005 1:09:35 PM
Hi, I'm quite frustrated in the fact that I can't even display a simple "Hello World" message on .Net. I've been through all of the groups and searched all over the place and haven't been able to figure out the solution to this problem. First off, the server is Windows Server 2003 - Web Ed...more >>

Is URLRewriting what I want?
Posted by darrel at 9/22/2005 12:50:07 PM
I'm building a site template that, hopefully, will be just one single ASPX page. There are 10 main districts (each getting a variation of the template), and I could easily pass that info via a querystring: mysite.com/default.aspx?district=3 But I'd like to be able to have the URL define t...more >>

Can VS.NET automatically create property declarations?
Posted by Charlie NO[at]SPAM CBFC at 9/22/2005 12:46:36 PM
Hi: I'm getting tired of typing get/set property definitions especially when my class has a lot of fields. Is there a way to have the VS.NET IDE declare them automatically? Thanks, Charlie ...more >>

Return inner exception from asp.net
Posted by a_newcomb NO[at]SPAM yahoo.com at 9/22/2005 12:43:44 PM
I am using a HttpWebRequest object to a custom webhandler. When processing the request on the server side, I need to return exceptions to the web request. Whenever the exceptions are thrown, web request always receivesSystem.Net.WebException: The remote server returned an error: (500) Internal...more >>

ALL datagrid rows to excel (not just current page)?
Posted by The Colonel at 9/22/2005 12:37:41 PM
Man this export was easy to setup, but it only exports the current page. Any way to get it to export ALL rows? I tried playing with the PageSize before exporting, but no luck. <snip> Public Sub btnExport_OnClick(ByVal sender As Object, ByVal e As EventArgs) Response.Conte...more >>

how to check all check boxes in repeater control
Posted by kris at 9/22/2005 11:29:35 AM
Hi All , I am using a repeater control to display set of records. Now on the header template of the Reapeter control there is a Check Box . For each record that will displayed there will be a check box assigned to it. now when i cllick the Check box on the header template all the check b...more >>

Asp .NET applications + windows credentials
Posted by Stephen Noronha at 9/22/2005 11:21:59 AM
Hi, Questions 1. Has anyone encountered a situation to create an application using "windows authentication" only and the first call to the web page caused the Windows authentication dialog box to pop up, log in and then navigate around. 2. Set a timeout value, so that the "Windows credential...more >>

Datagrid question
Posted by thewhoracle at 9/22/2005 11:15:26 AM
I have a datagrid, and I have a column that must do the following. -if each row's data member in this column has a certain sequence of characters, it must have a link associated with it that goes to a website that uses the data in this member as part of the address. I'm new at asp.net. I...more >>

Compare access db birthday date field with date
Posted by CZ at 9/22/2005 11:06:54 AM
Hello, I have a list of employees with their birhtdays. I would like to to have a datagrid list employees with birthdays on the current month on a web page. I tried select * from tbldate where month(bdate) = month(date()) but it does not work. can you guys please help me? Thanks ...more >>

Response Redirect
Posted by Jim Heavey at 9/22/2005 10:47:01 AM
If I instantiate a new class from a web page, can that class call the Response.Redirect? Do I need to pass the page object into this class as part of that classes constructor? What library do I need to add a reference to or what using statement should I use to have access to the Response obj...more >>

application session
Posted by simon at 9/22/2005 10:35:24 AM
In global.asax.vb I have: Sub Application_Start(ByVal sender As Object, ByVal e As EventArgs) ' Fires when the application is started Application("OZN") = "HUF" End Sub But then on some the page nothing shows: <%=Application("OZN")%> What that could be? No error message and nor...more >>

Need a generic filling form generator.
Posted by Jensen bredal at 9/22/2005 10:33:18 AM
Hello, I need to write different kind of forms that the customer can use to enter data and save the data into database. (The data access will be hand coded) My problem is that the form may vary . I therefore need an engine , that can produce the form based on let say an xml file. The f...more >>

session lock out
Posted by Paul at 9/22/2005 10:01:04 AM
I have an asp.net application using forms auth with a login window. I have datanames and encrypted passwords in data tables and after 3 unsuccessful user login attempts the user is directed to an access denied page. I was just wondering if for example a user named Tom makes 3 failed login at...more >>

Porting ASP (WInDNA) application to .Net
Posted by Ritesh at 9/22/2005 9:42:55 AM
Hi All, It will be great if any one of you can suggest which strategy to take for porting an Asp application to Asp.Net. Just to give you an idea about the present architecture of the application: GUI: is in Asp COM: some business components are used which are core to functionality bu...more >>

IIS on XP Pro is now so slow it's not usable.
Posted by WebBuilder451 at 9/22/2005 9:31:04 AM
Has this happened to anyone here? I first thought that it was a Vs.net problem but i now see it take a good min. to load an html page. The aspx pages load very slowly in vs.net, but i think this is related to iis slowing down. Any Help would be appreciated. thanks kes -- thanks (as alway...more >>

WinXPro IIS from another PC on LAN
Posted by JDP NO[at]SPAM Work at 9/22/2005 9:28:10 AM
I've seen similar posts regarding remote debugging, but I'm not sure if that's what I'm looking for. FYI: My laptop has one of those low & wide monitors which never quite matches my clients CRT. What I want to do is open the ASP.Net web in... First to just view the page output in the brow...more >>

Keeping dynamically created data on Postback
Posted by Tim at 9/22/2005 9:28:07 AM
Hello All, Hope someone can point me in the right direction here. I have a ASPX page that is being created dynamically. My function adds Labels and Text Boxes to a Table ready for the user to fill them in. Once the user has entered their information I need to be able to store it all in...more >>

Customize Textboxes in EditCommandColumns
Posted by Will Lastname at 9/22/2005 9:26:10 AM
I am working on an EditCommandColumn for editing/deleting items from a datagrid. I am wondering if it is possible to specify height, width, and other various attributes to the textboxes that are generated. Dim Item As TextBox = CType(e.Item.Cells(3).Controls(0), TextBox) How would I go about...more >>

LDAP with ASP.NET 2.0
Posted by jfer at 9/22/2005 8:46:19 AM
I recently ported an ASP.NET 1.1 web application to ASP.NET 2.0 Beta 2. This is a VERY basic application that utilized the DirectoryServices namespace. However I cannot get it to work in asp.net 2.0. When I launch the web application I receive the following error: "Exception Details: System...more >>

Impersonation
Posted by Jim Heavey at 9/22/2005 8:06:04 AM
My goal is to upload/download files to a shared folder. I have been granted a "generic" account to be used for this purpose. I have designed a page which will do this download. My quandry is when the user access the page, I retrieve their "User.Identity" and log activity to that user on thi...more >>

Directory Browsing from Web Page
Posted by Stuart Ferguson at 9/22/2005 5:54:06 AM
I am currently writing a HelpDesk system using ASP.NET 2.0 with c# as the code behind and need to use an equivilent of the Windows Form FolderBrowserDialog to allow me to select a default folder for usage in an upload files section. I have noticed there is no equivilent control in the ASP.NET I...more >>

Error when databinding
Posted by Nathan Sokalski at 9/22/2005 2:20:58 AM
When I run my application, which uses databinding in a DataList, I = recieve the following error: Server Error in '/' Application.=20 -------------------------------------------------------------------------= ------- Public member 'title' on type 'DataRowView' not found.=20 Description: An...more >>

Webserver needs to be domain controller or just joind to domain?
Posted by TCDolphin. at 9/22/2005 1:00:01 AM
Hi everyone, I'm currently developing an intranet application for a company and I have an informative question about the webserver. Before users can access a certain webpage they must identify them by entering their network credentials (logonid & password from AD) which are then checked ...more >>

SQL Statement in ASP.NET 2.0 page gives strange error!
Posted by washoetech at 9/22/2005 12:53:14 AM
Hello, I have a search box on my web app that I want to search several tables in my SQL 2000 DB. I have set up a full text catalog for indexing. The following Select statement works perfectly but only searches from 1 table: SELECT * FROM edl WHERE CONTAINS (*, @query) This is great ...more >>

Can't get my output parameter since it's not an object
Posted by Patreek at 9/22/2005 12:43:40 AM
Hi, On the line where I'm assigning RecordCount to be the value of my output parameter, I'm getting the generic "Object reference not set to an instance of an object" error. I've isolated it down to this line, as the line of code commented out just beneath it runs fine. Can anyone see why...more >>

aspnet users permission under SSL on windows server 2003
Posted by Minh at 9/22/2005 12:38:02 AM
my ASP .Net application works fine until I have it run under SSL. When a remote user wants to write a file or create a folder, the app will throw a permission error although permission is already given (again, it works with under regular HTTP protocol). Does anybody have an idea what the pro...more >>

Redirecting from site (Beta 2.0)
Posted by Mantorok at 9/22/2005 12:00:00 AM
Hi During certain periods I want all requests to my site to be redirected, the only place I can see to do this is in the Session_Start event handler in the global.asax file but when I try the following: Session.Abandon(); Response.Redirect(http://www.site.com) I get an error: System...more >>

including UserControl in UserControl
Posted by Alexander Widera at 9/22/2005 12:00:00 AM
How can I include an usercotrol into an other usercontrol... for example: <UserControl:First runat="server" id="firstUC" content="..." /> and i want to refer an other UserControl (e.g. called "Second") to the property "content" of usercontrol "First". Thanks for help ...more >>

Sorting Datagrid problem
Posted by Pat at 9/22/2005 12:00:00 AM
I'm trying to do a sorting in a Datagrid below but i'm getting ERRROR:- "Line 1: Incorrect syntax near 'CompanyID'." strQuery = "Select InvoiceDate,OrderDate From CMRC_Orders ORDER BY " & _ viewstate("sortField").ToString & "" & _ viewstate("sortdirection") & "" & _ ...more >>

exporting datagrid to excel Exception pb
Posted by Franck at 9/22/2005 12:00:00 AM
Hello, I try to export a datagrid into a excel files, I've read the help there: http://www.codeproject.com/aspnet/DAtaGridExportToExcel.asp I've copied the code but i receive this exceptionException: Control 'dgDowntime_ctl02_ctl00' of type 'DataGridLinkButton' must be placed inside ...more >>

client cannot access remote DB
Posted by Roger at 9/22/2005 12:00:00 AM
Hi, I'm completely stumped with an issue of authentication. I have an ASP.net application which is supposed to retrieve data from a remote database. It is supposed to access the database using the domain credential of the user that is accessing the page. When I access the aspx page from...more >>

Null Exception - DataGridItem
Posted by Adam Knight at 9/22/2005 12:00:00 AM
Hi all, The following code works fine. If i remove the try statement, i recieve a generic is null exception when trying to retrieve a datagrids data item. With the try those exceptions are obviously caught, but it is clear the data item is accessible otherwise as i am able to use its va...more >>

DataItem Availability?
Posted by Adam Knight at 9/22/2005 12:00:00 AM
Hi all, A quick question on data item availability? See the function below. Upon clicking an button the following function is executed. My problem is, whenever the DataItem property is access nothing is return, except a null exception. Can i only use the DataItem while databind? If ...more >>

How to share code for development
Posted by EDom at 9/22/2005 12:00:00 AM
In VS how to share the code and then debug at the same time on different machines. Basically use the debugger of the local machine and the shared code from server. Is it possible?? how to configure IIS for this. Regards, Vineet ...more >>

DNN and MySQL
Posted by Sara T. at 9/22/2005 12:00:00 AM
Does DNN 3.x support MySQL? If it is, please let me know how to config. ...more >>


DevelopmentNow Blog