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 > november 2007 > threads for wednesday november 21

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

Precompile Contradiction?
Posted by Scott M. at 11/21/2007 11:31:33 PM
Scenario: ASP .NET 2.0 Web "Site" All but one page is written using inline VB .NET code. One page is written using VB .NET code-behind. MSBuild options are set at the default (allow pages to be updateable) When I "publish" the site and take a look at the precompiled folder that is generat...more >>

Byte Array to String
Posted by AG at 11/21/2007 10:56:55 PM
I have a file that contains ASCII and Extended ASCII characters. I need to get the file contents into a string, but the Extended ASCII characters (dec 128 and 129) are being changed to dec 63. I have tried several methods, but here is the one I thought would have worked. Dim strReturn ...more >>

Adding a task into the markup of an aspx page
Posted by Lloyd Sheen at 11/21/2007 9:34:59 PM
Can it be done?? Lloyd Sheen...more >>

datagrid paging
Posted by dodgeyb at 11/21/2007 9:25:54 PM
I'm using the datagrid control, and if I bind it to an sqldata adapter which returns more records than is specified in the PageSize attribute of the datagrid it gives runtime error: "Control 'dgTemplate_ctl14_ctl01' of type 'DataGridLinkButton' must be placed inside a form tag with runat=serve...more >>

renaming the login.aspx page
Posted by Andy B at 11/21/2007 5:50:35 PM
How do you rename the login.aspx page and still make it work? and How would you determine what you should rename it to? ...more >>

How can i make GridView Header dynamic?
Posted by rote at 11/21/2007 5:44:29 PM
I would like to make my Gridview header dynmic i.e databinded from database.. I want my users to be able to change the headers on the fly.. Any ideas? ...more >>

stop button postback ajax in non-ie
Posted by gerry at 11/21/2007 4:59:07 PM
Sung the ASP.NET AJAX framework, and following the control creation examples from the ajax toolkit I have created a simple custom control that includes a button with a client side onClick handler. Returning false from the handler prevents postbacks in IE but in firefox the handler fires and d...more >>

Update Panel and Event
Posted by shapper at 11/21/2007 4:18:48 PM
Hello, I have a GridView inside an Update Panel. When a GridView row is updated I want to refresh the GridView and after it has been refreshed I want to run a JavaScript Function like: Smoke({title: 'Hello', text: 'How are you?'}); How can I do this? Thanks, Miguel...more >>



Closing a window from code behind
Posted by Jeremy at 11/21/2007 4:11:14 PM
Looks like this is either too obvious for anyone to address, or it just isn't done by anyone. There was a question in early sep this year that no one replied to, and I don't find any other references. So here goes again: I want to close my popup from an asp codebehind event handler. The ...more >>

System.Net.Mail to address
Posted by David C at 11/21/2007 4:00:58 PM
I would like to have an email go to 2 email addresses but when I try it by separating with semicolon or comma it fails. Can anyone help? below is my code (see ToAddress string). Thanks. David strUser = UtilClass.GetUserName(strUser) '!!! UPDATE THIS VALU...more >>

Animated gif works in FireFox but not IE
Posted by John Kotuby at 11/21/2007 2:58:43 PM
Hi all, I have a search screen that when submitted displays a previously hidden absolutely positioned DIV with an included animated gif picture. In FireFox while the search is happenning on the server (before the server sends a response) the animation of the gif works just fine. But in I...more >>

Web Developer Express 2008
Posted by Vicente_GarcĂ­a at 11/21/2007 1:45:20 PM
Hi all, I have installed Visual Studio 2005 Professional and I have also installed Visual Csharp Express 2008 without any problems but now I am trying to install Visual Web Developer Express 2008 and I have an error installing Web Authoring Component. I have no idea why this happens and I don'...more >>

using response.redirect with a hash part
Posted by Andy Fish at 11/21/2007 1:04:56 PM
hi, if I do this: Response.Redirect("mypage.aspx?some-url-params#bookmark") it seems that the bookmark gets lost - the address bar doesn't show it and the browser stays at the top of the page is this because the 302 redirect protocol doesn't support the "hash" part of the url, or a b...more >>

C# Form Processing: If Exists
Posted by Matthew Loraditch at 11/21/2007 11:58:19 AM
I have several different variations of the same form. Some include an asp Radio Button list option called rb_monthly. If that option exists I need to do some extra processing on the form. The following works on the pages with the option : if(rb_monthly != null) { ...more >>

repeater and querrystring
Posted by Kelly Zhu at 11/21/2007 11:27:27 AM
The repeater control works fine for me. But how can I make it accept a querrystring? The repeater has a tag called selectcommand. Can I insert a where clause including the querrystring? Thanks. ...more >>

Best way to add to DDL
Posted by David C at 11/21/2007 10:49:47 AM
Can someone help me figure out how to add entries to a DropDownList control "on-the-fly"? I have a FormView with several DropDownList controls that are bound to differnt lookup table in a SQL Server database. I have no problem with code to add a record to the bound table but am getting error...more >>

Visual Studio 2008
Posted by JJ at 11/21/2007 10:11:06 AM
I see the new software is 'RTM' but what does that mean in terms of when we can actually purchase it? Thanks, JJ ...more >>

AJAX Toolkit 3.5 on VS.NET 2008 RTM?
Posted by Asaf at 11/21/2007 9:50:01 AM
Hi, 1. Do I need to install "AjaxControlExtender.vsi" and to use "AJAX Control Toolkit Web Site" template when I create a new web site or I can just use "ASP.NET Web Site" and to add "Script Manager" control and have the same functionality. 2. Why when I try to drag for example "ConfirmB...more >>

Master Pages and Web Projects
Posted by Ian Semmel at 11/21/2007 9:44:49 AM
I have a a Website project which I converted to a Web Project in VS2005. Something seems to have screwed up with master pages. When I used to add a new page it would ask me what master page to attach but now that box is missing on the new page form. Is there some setting that I hav...more >>

Basic web server to server security question
Posted by J055 at 11/21/2007 9:44:48 AM
Hi I need to provide some basic security between two web servers. It needs to be simple to implement. The scenario is as follows: 1. User logs on to website using ASP.NET authentication/authorization 2. They see a list of hyperlinks to documents to download 3. The documents are located on ...more >>

Howto Add Data in Repeater and read it in code-behind ?
Posted by Radu at 11/21/2007 9:11:02 AM
Hi. I have the following puzzle: I have in the DB a table name "Login_QAByPIN". In it I'll store, for identification purposes, 6 questions with 6 answers for each registered pin. On the registration page, I have the following HTML: <asp:repeater ID="rptQA" runat="server"> <ItemTemplate> <tr...more >>

IBuySpy
Posted by Mike P at 11/21/2007 8:17:15 AM
A while back I used IBuySpy to help build an ASP.NET e-commerce app, but I have noticed that this no longer exists on the Microsoft website. Is there a replacement for it? *** Sent via Developersdex http://www.developersdex.com ***...more >>

moving IFRAME to top, losing REQUEST.PARAMS
Posted by Bob at 11/21/2007 8:07:52 AM
When I move an IFRAME page back to 'top.location' ( eg with some javascript in the page : if (top !=self) top.location=self.location; ) it appears to be losing the contents of REQUEST.PARAMS. If I don't move the IFRAME page to top.location and just let it load in the IFRAME again the REQU...more >>

Export Datagrids to Excel
Posted by John Walker at 11/21/2007 7:42:00 AM
Hi, I am using the code below to export a webpage to Excel. The webpage has three datagrids on it and they are all exported to Excel properly and everything looks very nice, but we would really only like two of the three datagrids to be exported. Is there a way to exclude certain sections of...more >>

Design issue with a try....catch....finally block
Posted by Julia B at 11/21/2007 7:34:00 AM
Hi, I'm wondering if anyone can give me any ideas/good practice/advice. I've got a web form which a user inputs lots of data into, then presses submit. The submit button uses two classes to input data into 2 tables. I want to put a try....catch...finally block into the data input sections of ...more >>

encoding javascript
Posted by Alhambra Eidos Kiquenet at 11/21/2007 7:26:00 AM
Hi all, misters. What is difference between two encoding methods below and what method can be considered more "web safe" ? Important: fully retaining functionality of the original source code, without the danger of misinterpretation of original code characters (code contains long Registry e...more >>

user control to custom databound control
Posted by rodchar at 11/21/2007 7:23:02 AM
hey all, i have a user control that has a user control in it. is it possible to turn this whole thing into 1 custom databound control or would i need 1 custom control per 1 user control? can you nest custom controls like you can user control? is this ok to do? thanks, rodchar...more >>

web deployment projects dont work?
Posted by Andy B at 11/21/2007 7:01:41 AM
I tried to do web deployment projects and they dont work. Doesnt seem to matter what I end up doing. Here are the errors I keep getting: Note...I don't have IIS on my computer... Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application ...more >>

window.open problem
Posted by Rbrt at 11/21/2007 6:42:01 AM
I must be missing something simple, but can't figure this out. I want to popup an error notification page (showerror.aspx) if any errors occur while a page is being processed. I should be able to do this by putting the following code in the LoadComplete event ... if errsfound then Res...more >>

Change report path in ReportViewer control
Posted by Larry Bud at 11/21/2007 6:30:40 AM
I have a reportviewer control. I programmatically set the local report path based on a drop down on a page. This allows the user to choose which format (RDLC file) to use when generating the report. The first request, the report processes properly, however if I choose a different report form...more >>

CompareValidator won't validate
Posted by cashdeskmac at 11/21/2007 5:59:01 AM
Hi, I have added a CompareValidator to my .NET 2.0 web page and told it to validate against Integers. I set the ControlToValidate, the Text, Display (tried both Static and Dynamic),the ErrorMessage, theType (integer), yet it still let's the value '2233mm' go through. What else do I ne...more >>

changing the bin folder of a web application?
Posted by Andy B at 11/21/2007 2:57:16 AM
Is there a way to change the bin folder of a web application so that it will look for its dll files somewhere other than the default bin folder? ...more >>

Multiple Selection and Paging
Posted by Alhambra Eidos Kiquenet at 11/21/2007 2:44:01 AM
Hi misters, I have an application web asp.net 2.0. I have a aspx page with Datalist and paging. Now, I want that the user can select several rows of DataList (multiple selection) and maintain paging. Any good sample code or reference ? Any help will be appreciated, and I'll be ve...more >>

AJAX Autocomplete Extender problem
Posted by Stefan Filip at 11/21/2007 1:39:01 AM
Hello, I have an ajax autocomplete extented on a page and it works just fine in the ASP .net Development Server, but after I put it on an IIS server it doesn't work anymore. Here's the code I have: Start.aspx: <ajaxToolkit:AutoCompleteExtender ...more >>

how to deploy .net 2.0 website?
Posted by Ron at 11/21/2007 12:51:25 AM
Hi all, I am new at .net 2.0 deployment so can any one recommend me a good way or article to follow? What I want to do is (1)to deploy the website on the server2003 with IIS6 (2)we have a website on the web server which is running with .net 1.1 framework, can I add the new website as s...more >>

Need to keep client from being logged out at timeout.
Posted by Garry Freemyer at 11/21/2007 12:13:11 AM
I've researched this question on internet, and I've tried a number of things I found to no avail to solve this problem... I work for a company using Visual Studio 2003 to maintain a website for realtors. This webside allows a realtor to fill out a series of forms to get market analysis a...more >>


DevelopmentNow Blog