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 > july 2007 > threads for tuesday july 24

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

sitemap not localizing my url
Posted by fredd00 at 7/24/2007 11:21:40 PM
Hi I'm using a sitemap to fill a menu control in a user control in a master page. i have enabled localization of the sitemap, sitemap resx files are in the globalresource folder the title is being localized but the url is not how can i localize the url ? the only difference is that i ...more >>


programatically reverse enginerring to a css attached into an aspx page, is posible?
Posted by Sergio E. at 7/24/2007 7:40:29 PM
Hi, I'm thinking about a trouble exposed before about a gridview export into an excel file, and in this moment I see that maybe gridview is correctly generated and the cells doesn't have any information about color, font, etc., because I'm using a css file... so I'm wondering if it would be p...more >>

Search and Replace while ignoring HTML formatting?
Posted by Josiwe at 7/24/2007 7:10:48 PM
I have a search program that returns an HTML string which I display to the user. I want to highlight the search terms. However a simple search and replace on the HTML causes problems. If the user searches on Georgia and I get back this: <div style="font-name:Arial">Georgia, Alabama, and Louisi...more >>

Why 90 seconds timeout limit doesn't work?
Posted by Morgan Cheng at 7/24/2007 6:51:59 PM
I have one webservice A calling another webserivce B. B is time costing and sometimes the response takes more than 160 seconds. A is supposed to be Thread.Abort in 90 seconds. However, the 90 seconds time limit doesn't work. It only get "The operation has timed out" WebException from calling B a...more >>

Beginners question
Posted by at 7/24/2007 6:42:16 PM
Hello, I am new to asp.net. I want to write an asp file that sends a gif image to my client img tag as follows: <img src=img_script.asp>Hello</img> In my img_script.asp file I therefore need to open the image with binary reader like so: Imports System.IO Dim fs As FileStream = New FileS...more >>

gridview properties for excel export
Posted by Sergio E. at 7/24/2007 6:24:35 PM
Hi, I'm looking for information about gridview's cell properties... I've the following case: one gridview with alternatirg row style and normalrowstyle, 3 o 4 custom styles that are applied to cells in the row_databound event, and now I nedd to do a excel export of the gridview exactly as i...more >>

Need help with xpath and xml
Posted by Showjumper at 7/24/2007 3:30:43 PM
Hi i posted this on the dotnet xml group but that group does not get much traffic so i thought to post here. I have a photo gallery that works by looping thru the images, making an xml file and then binding it to the datalist. The gallery part works fine. My next task was to make an admin p...more >>

Dynamically adding rows to table web server control
Posted by Geary at 7/24/2007 3:26:45 PM
I am trying to programmatically add rows of data to a table web control in VS2005. I am getting the data from 2 drop-down controls and 2 text-boxes. The code below is executed when I click on the "add" button. The code is pretty much lifted from an example on MSDN. Problem: The first ...more >>



postbackurl
Posted by joseph at 7/24/2007 3:09:14 PM
Great for answers where(load events...) i put following code :Page.Form.Target = "_blank" or javascript insctruction according url...more >>

artificially persisted web controls cause problems with the aspx handler
Posted by PJ6 at 7/24/2007 3:05:56 PM
Taken out of context I know this may seem like a strange thing to do, but just take this as an academic question if necessary... Calling methods on a persisted control that has been added to a page that has been rendered and unloaded generates these exceptions - A first chance exception of...more >>

ASP.Net / AJAX - silly question perhaps
Posted by Rob Meade at 7/24/2007 2:52:58 PM
Hi, Up until now I've been developing purely on my local PC, I have AJAX 1.0 installed, and .Net 2.0 - I've just published a project across to the server and its failing, its highlighted the following: sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExte...more >>

IIF testing value of other controls to set ENABLED
Posted by jobs at 7/24/2007 2:15:08 PM
If done something like this before: <asp:Button ID="Run" SkinID="Button" Text="Run" CommandArgument='< %#Eval("Jobname") %>' CommandName="Run" Enabled='<%# IIF(Container.DataItem("isrunning")= "TRUE", "FALSE" , "TRUE") %>' runat="server" /> </ItemTemplate> </asp:Templa...more >>

Handling NULLs in a DropDownList EditItemTemplate
Posted by ForYourConsternation NO[at]SPAM yahoo.com at 7/24/2007 1:37:34 PM
I'm trying to accomplish the equivalent of the code below, but with a two-way data binding. GetReportsTo() will just return a default selection in the case of a NULL DB entry. I thought I could just replace Eval with Bind, but that gives me: "The name 'Bind' does not exist in the current conte...more >>

write permission denied
Posted by Dica at 7/24/2007 12:22:14 PM
i'm working on an installation package that needs to write to an existing folder on the user's system, but keep getting an error message about write perms denied. i can't really ask the person installing my app to manually grant write perms for ASPNET user account to the folder. what are my ...more >>

Search within 50 miles of xxxx zipcode
Posted by Tina at 7/24/2007 11:18:07 AM
I need to be able to provide a proximity search by zip code. I have a table of job opportunities with the zip code where they exist. So I need to be able to list zip codes that are within xx miles of 99999 zip code. How is this done? Thanks, Tina ...more >>

Using Resource Files - not for localization
Posted by Bill Mell at 7/24/2007 11:01:46 AM
I would like to use compiled resource files in my web application that are not related to localization. The idea is to have a dll with resources that can be accessed by the website. I have no problem making the dll. I am running into problems using it. I am attempting to use the resource m...more >>

Bypassing INamingContainer for server controls on page
Posted by TS at 7/24/2007 11:00:31 AM
Steven, i lost this message conversation from outlook express and made a post online (see last one on this page). Please answer it as it hasn't been yet. thanks The clientID of our controls have become very long since we have 2 master pages that our ...more >>

Binding Issue
Posted by Mike McIntyre at 7/24/2007 10:51:11 AM
Hi, 1. In a class named DBUser there is a property named FullNameByLastName. This property does not have a backing field. It combines two backing fields an returns a string result: public virtual string FullNameByLastName { get { ...more >>

Path 'CONNECT' is forbidden ??
Posted by NJ at 7/24/2007 10:00:02 AM
Hi everyone, Every now and then I'm receiving the error posted below. I"m routing all my traffic through mod_proxy (apache) to my asp.net 2.0 (w2k3) machine. I can't reproduce this error and my site appears fine through my browser. I'm wondering if it is a search bot that is making these re...more >>

Web design with large selections ideas needed
Posted by Lit at 7/24/2007 9:16:22 AM
Hello, I need to create an Internet based, asp.net webform where a user can select multiple cities in a state. as you know the number of cities in a state can be very large. What is the best way of designing such thing. I need to give the user the best experience possible Should I u...more >>

Asynchronus call in ASP.NET page?
Posted by Adnan at 7/24/2007 7:52:06 AM
Hi If I have 2 different controls in a webpage Gridcontrol and reportviewer and an asynchronus call for reportviewer query. AddOnPreRenderCompleteAsync(new BeginEventHandler(BeginAsyncOperation),new EndEventHandler(EndAsyncOperation)); Wil the Gridcontrol not be rendered and visible on th...more >>

Linking to shortcuts
Posted by Mike D at 7/24/2007 7:50:02 AM
I want to place a link on my Intranet that points to a shortcut on the client workstation. So far I have not been able to phrase the question well enough to get any good responses. I saw it on another site where the hyperlink pointed to a .lnk file which loaded an Access application, so I kn...more >>

First AJAX PageMethod blocks second page method from executing
Posted by Roger Martin at 7/24/2007 7:48:07 AM
In an earlier thread (http://tinyurl.com/33horg) I learned that when session is enabled on a web page, a second page method is blocked until the first one is complete. Is there any way around this limitation, besides disabling session at the page level? Defining a method like the followi...more >>

Invalid CSV File name while exporting from IE
Posted by Adi at 7/24/2007 6:49:24 AM
Hi, I am having a problem in exporting the file into csv format from a website. First the name I put in the export 'box' comes over with "%" "[" , "]" and other odd characters in the FILE name and the TAB name and these cause problems: File can't be saved with those names. If I copy the TAB f...more >>

Development server doesn't refresh changes
Posted by Vipper at 7/24/2007 6:40:01 AM
Hi, I am developing an asp.net application with visual studio 2005. My problem is when I do some changes in the css file, this changes are not uptaded if I run the application with the development server. However, there isn't any problem if I run the same application using IIS. The odd thi...more >>

SqlDataSource and multiple recordsets
Posted by Madison at 7/24/2007 6:38:02 AM
Hi all, Could I use the sqldatasource with stored-procedure to return multiple recordset? I did not want to have any sqldatasourec in the one page just to return the record back to dropdownlists. In my stored procedure will have 2 select statement. If it can be done how I refer to each drop...more >>

ASP .net 1.2 connect to SQL
Posted by patrick_keton NO[at]SPAM yahoo.com at 7/24/2007 5:52:59 AM
I am trying to connect to a dabase located on server 2 from my asp.net 1.2 web pages located on server 1 Am using following connection string: "Integrated Security=SSPI;Persist Security Info=False;User ID=myuid;Password=mypass;Initial Catalog=mydb;Data Source=myserver" Error returned by S...more >>

no data displayed
Posted by guy at 7/24/2007 5:04:02 AM
I have a working ASP.net (1.1) app that works fine. on moving it to a different server the application runs as expected but when returning data it no longer displays in the data grid. The application will e.g. know that it has 11 pages of data and let you move around the pages in the grid but...more >>

Help on using Ms access and DSN
Posted by joaotsetsemoita NO[at]SPAM gmail.com at 7/24/2007 4:59:48 AM
Hi everybody, Im trying to access a Ms Access database outside my root website folder, so Im using ODBC DSN. I have already the DSN create and working (this same DSN is used by many classic ASP websites I have running on my remote server). Im also have latest ODBC and JET drivers installed. ...more >>

help for create a serial key form on asp.net
Posted by amit.mishra01 NO[at]SPAM gmail.com at 7/24/2007 4:48:11 AM
friends, Problem is that i want to generate a serial key through asp.net application and when i install a application on other computer that will match my serial key or every time it will tkae a new serial key ...more >>

javascript popup window and multiple parameters
Posted by DaveyP at 7/24/2007 3:18:56 AM
I've got a gridview with a template column calling a javascript "win.open" routine (see below). asp code: <asp:TemplateField HeaderText="Letter code" ItemStyle-HorizontalAlign=Center> <ItemTemplate> <asp:hyperlink ID=letter_code runat=server NavigateUrl=< %#String.Form...more >>

Grid view with paging error
Posted by Loyola stalin at 7/24/2007 3:06:01 AM
Hi, I am using ASP.Net 2.0 version and Windows'XP OS. I am useing the Grid view control to display the user details along with the paging concept provided by the grid view control. When i click the paging link (2,3,4.. ) it produces the result properly, But my problem is when i tried to ...more >>

Postback mechanism in asp.net
Posted by archana at 7/24/2007 2:37:10 AM
Hi all, I am new to asp.net i want to ask some help about postback mechanism of web page. CAn anyone tell me how postback mechanism is handle by asp.net worker process. Means why worker process know that this page is posted back or this page is requested first time. Means which parameter o...more >>

Could I add component to toolbox in VS2005 WebSite Project?
Posted by alberthung01 NO[at]SPAM gmail.com at 7/24/2007 2:35:16 AM
Hi all, I wrote a component with ComponentDesigner to let users drag and drop it to WebPage from toolbox directly. Just like the behavior of dataAdapter. But it works fine on ASP.NET 1.1 but not on ASP.NET 2.0. Sometimes I add it to toolbox in VS2005 WebSite Project but it will not appear. An...more >>

hiding, showing and printing in javascript
Posted by Mike P at 7/24/2007 1:23:16 AM
I am trying to print a webpage and making some objects invisible for the print, and then visible again after. But my code does not work : function PrintInvoice() { document.getElementById("Button1").style.visibility = "hidden"; document.getElementById("Button2").style.visibili...more >>

displaying data for GridView
Posted by David C at 7/24/2007 12:24:29 AM
<asp:TemplateField HeaderText="Actual Qty" HeaderStyle-Width="100px"> <ItemTemplate> <%# Eval("ActualQuantity")%> </ItemTemplate> </asp:TemplateField> I am using the syntax above for the given column as you can see. When the value of ActualQuantity ...more >>

Is it possible to schedule a web service?
Posted by at 7/24/2007 12:00:00 AM
I have a web service, which needs to run at regular intervals (e.g., once every 2 hours) to create some PDF files for users to download. I can certainly create a web application which lets user click a button and generates the PDF file. But since the PDF files are gonna be the same for all u...more >>

Setting Properties of User Control On Master Page
Posted by Mick Walker at 7/24/2007 12:00:00 AM
Hi All, I have a user control on my master page, which exposes 3 public properties (all boolean). Basically by the values of these properties, the user control builds a menu to for users to navigate through the website. I am wondering, how can I set the property of a usercontrol contained ...more >>

Windows - validation required - How do we do similar things from ASP
Posted by Garry at 7/24/2007 12:00:00 AM
re: Windows - validation required We need to develop an ASP page which is similar to Windows, when it says "Validation required", and you click on the CONTINUE button. It then downloads a dll, which I beleive does a scan of your local drive to determine that you have a legimate version of Wind...more >>

DetailsView problem
Posted by chenhong at 7/24/2007 12:00:00 AM
I added a TemplateField to DetailsViews control, then added an empty DropDownList to the TemplateField. I dynamiclly populated the list when the page run. But when the page postback, the list is empty. Both the DetailsViews's and DropDownList's EnableViewState set to true. how can i retain t...more >>

Erros -> User credentials cannot be used for local connections
Posted by LamSoft at 7/24/2007 12:00:00 AM
I am writing a web portal to modify the users account password. However, it is confusing me... for a few days for this error. It has been work fine while debugging on the development web server, = however when i run on the on the IIS (on same computer), it has this = error: A specified logon...more >>

How to use postbackUrl in new window
Posted by joseph at 7/24/2007 12:00:00 AM
Hello Could you help i want to use postbackurl to a new window, not replace previous page. i doing something onclientscript="form1.target='_blank'" postbackurl="~/default2.aspx" is not work....more >>


DevelopmentNow Blog