Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > june 2006 > threads for thursday june 8

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

[Search Engine - Internal site] DB or not DB ?
Posted by rs at 6/8/2006 11:37:34 PM
Hallo, I have a site with more than 15000 (15 thousand) pages. Each page has almost a textual content. Each page is about 10-25 Kb. I need to build an internal search engine by using Asp Net code. Which is the best way: 1) create a DB (I have SQL 2005 Express) with a Table con...more >>

ods calls business object then method calls ta with output params
Posted by andy6 at 6/8/2006 10:00:21 PM
I have the ods calling the business object. This is the method it is calling public DataTable GetEditManager(string tab, string state, int rows, int pageselected, int nbrpages, string sort, byte sortdir, int totaledits, string userid) { int a = nbrpages; int b...more >>

2.0: implementing popup Calendar
Posted by R.A.M. at 6/8/2006 9:03:45 PM
Hello, I need to implement popup calendar in ASP.NET application. I created a button opening popup calendar on 'master' page: <asp:Button ID="Calendar" runat="server" Text=Calendar" OnClientClick= "window.open('Calendar.aspx', 'Calendar', 'menubar=no...more >>

2.0: DropDownList with GridView
Posted by R.A.M. at 6/8/2006 9:01:12 PM
Hello, Could you help me please to define GridView associated to DropDownList... My DropDownList "Publishers" should show publishers' names from SQL Server table Publishers. My GridView "BooksOnDotNET"should show books published by selected publisher. (Tables' definition below.) Here is part ...more >>

How to tell VS to wite HTML element's styles in the CSS file automaticly instead of in the body of the HTML file.
Posted by oranmeir NO[at]SPAM gmail.com at 6/8/2006 8:52:12 PM
What i want actually is that when i right click on an element in my HTML file, select "properties" and then build the style of that html element, i want that the details about the position, colors and all other parameters of the style will be held on the corelated CSS file and that VS will defin...more >>

How do I stop the framework from HTML escaping my text?
Posted by Alan Silver at 6/8/2006 6:55:23 PM
Hello, I am populating a drop down list at run time, and the text going in includes a pound sign. I have been trying to add the item like this... drpFerret.Items.Add(new ListItem("Ferrets &pound;9.99")); but the framework HTML encodes this, resulting in the "&pound;" being sent out as "...more >>

Updating DLL's
Posted by rh1200la NO[at]SPAM gmail.com at 6/8/2006 4:38:13 PM
Hey all. I'm the new webmaster of a popular website which is built in ..net using c# I have successfully set up a dev environment on my local box here (with some tweaking) but it works nonetheless. As I create new asp.net pages I will need to recompile and update the project dll in the bin...more >>

Formatting Values in DataGrid Control
Posted by Alex Maghen at 6/8/2006 4:27:01 PM
If I have a DateTime column in my DataGrid conrol, and it's bound to an OleDbDataReader, how can I format the returned data the way I want it formatted and displayed in that column? Alex...more >>



Controls not rendering
Posted by Malbeuf at 6/8/2006 3:35:31 PM
I'm trying to do a small demo of asp.net design. A simple page with three labels, one button, two textboxes. Build and browse...the only controls that render are the labels, all lined up in a row. None of the other controls display at all (buttons, textboxes, etc)...only labels. This h...more >>

Which control performed PostBack?
Posted by John Smith at 6/8/2006 3:25:26 PM
How can I find out which control performed PostBack? ...more >>

how to protect source code of an application
Posted by melanie_23 at 6/8/2006 2:42:08 PM
Hello! At my company, we are in the process of deciding which programming language to take between JSP and ASP.NET to produce dynamic web sites for our clients. By now, all the major advantages tend to favor ASP.NET : performance, good fit with SQL Server/Microsoft systems, habilities of the...more >>

Cookies encryption
Posted by Samuel Shulman at 6/8/2006 2:33:30 PM
Hi I am looking for a simple method to encrypt persistent cookies Thank you, Samuel ...more >>

Dynamic LinkButtons
Posted by Andrew Robinson at 6/8/2006 1:49:56 PM
I have a page that contains a number of link buttons that are used for making selections. I load my LinkButtons during the Page_PreInit event and they render fine but then I need to make a change to one of these LinkButtons depending on the selection. I am using the Command Event and passin...more >>

2.0: accessing control in FooterTemplate of asp:DataList
Posted by R.A.M. at 6/8/2006 1:33:48 PM
Hello, I need your help in a problem of putting and accessing asp control in FooterTemplate of asp:DataList. I created a DataList: <asp:DataList ID="BooksList" runat="server" OnEditCommand="BooksiList_Edit" OnUpdateCommand="BooksiList_Update" OnDeleteCommand="Books...more >>

results of a sql query to array
Posted by loga123 at 6/8/2006 1:15:20 PM
I am using asp.net 2.0. I want to get the results of a sql query into an array at run-time. Number of records returned varies each time.....so I want to declare the dimensions of array runtime based on my record count and assign the values from recordset to the elements of array. any help? ...more >>

PostBack & <asp:TextBox> question
Posted by John Smith at 6/8/2006 1:00:49 PM
I have my <asp:TextBox> inside one of DataGrid's columns. I haven't set AutoPostBack=True. When I hit the ENTER button, my page "refreshes" (I belive that PostBack was performed - however not sure). I don't want anything to happen when ENTER is being pressed. The other option is that butto...more >>

wildcard application maps
Posted by guoqi zheng at 6/8/2006 12:44:36 PM
Dear Sir, I would like all files on my application to pass asp.net, so I added aspnet_isapi.dll to the Wildcard application maps. After that, many things changed. I used to be able to visit my site via link such as: http://www.xxxxxx.eu/abc/ IIS will map that url to http://www.xxxxxx.e...more >>

"Push" web page live?
Posted by Demitrius >I at 6/8/2006 12:14:53 PM
Hi, I need a way to "push" a web page to a viewer (or viewers) on my web site. What I'm trying to do is conduct an online presentation, so I need to control what the viewers see and when they see it. Is there a way to do this with ASP? Regards, Demitrius >I< ...more >>

Selecting item from a Place Holder Error
Posted by stephen at 6/8/2006 12:08:42 PM
Hi, I have a place holder and I have a checkboxlist in it? why do i get a "System.NullReferenceException: Object reference not set to an instance of an object." error why I try to get the selected value from it? Thanks, Stephen here is what I am doing? Dim chkBoxList As CheckBo...more >>

simple syntax q.
Posted by Not Me at 6/8/2006 11:36:55 AM
Hi, Yet another error that should be easy to fix.. I have a datalist linked to an sqldatasource, and I'm wanting to fill it with data from that source. The following works fine: <ItemTemplate> <asp:hyperlink runat="server" ID="hlemail" Text='<%# eval("[email]") %>' navigateurl='<%# eva...more >>

DropDownList inside a Repeater
Posted by Jeremy at 6/8/2006 11:04:02 AM
Hello All, I have a Repeater which contains a Dynamic DropDownList within its itemtemplate. I know I have struggled with this before and I am pretty sure I had to save a bunch of crap manually to the viewstate, but does anyone know what would cause those DropDownList objects to clear out on...more >>

Handling data relations in Gridview
Posted by sutphinwb NO[at]SPAM nospam.nospam at 6/8/2006 10:58:03 AM
Hi - This could be a simple question. When I relate two tables in a datasetet, how do I get that relation to show up in a GridView? The only way I've done it, is to create a separate table in the dataset with a join query for the GetData() select method. I use ObjectDataStore to couple the Gr...more >>

Table where I want to draw a border around the whole table but not between the cells.
Posted by UJ at 6/8/2006 10:49:39 AM
I have a table with multiple cells and I want to draw a box around the entire table but not around the individual cells. How do I do that? TIA - Jeff. ...more >>

working with TreeView, jscript/client side
Posted by Daves at 6/8/2006 10:38:42 AM
Sorry folks but I will be reposting this question from 6/5 until someone gives me an answer - the question is very easy and so ought the answer to be. I really need the answer! ------- I'm sorry for reposting but I've already googled for hours and I see others have asked about this here witho...more >>

Global.asax not working
Posted by tshad at 6/8/2006 10:05:23 AM
I have my error handling set up in Global.asax: Sub Application_Error(Sender As Object, E as EventArgs) In this procedure I call a function in a dll that will write out to a history file. This works for some errors, but not others. If it doesn't work, it stops there and the normal MS e...more >>

windows auth and forms auth
Posted by Smokey Grindle at 6/8/2006 9:56:17 AM
I have a small problem here. Internally we want people that view our website from inside our domain to auto authenticate with windows authentication... but outside the building on the internet force them to authenticate with forms based auth. is this possible? ...more >>

Request.ServerVariables question
Posted by Vince Keller at 6/8/2006 9:41:42 AM
I am trying to validate the identity of the user making a request to a web application. I am using the value from Request.ServerVariables["LOGON_USER"] to check if the user is from an authorized domain. This works very well in the Dev environment... but in Production, the value for LOGON_USER ...more >>

How display dynamic progress info in label control without refreshing page?
Posted by Ben at 6/8/2006 9:34:52 AM
Hi, One ASP.NET transactional page conducts a long transaction in a button click function. I want to display the transaction progress info in label control without refreshing page. It is because page refreshing will commit the transaction automatically. How to do it? Thanks, Ben ...more >>

Forms Authentication
Posted by danielevans NO[at]SPAM gmail.com at 6/8/2006 9:06:39 AM
Hi Is it possible with forms authentication to have two seperate areas that need users to register for both for access. For example, i have a /trade/ directory and a /game/ directory. I need to allow users access to both after they have provided contact details. What i want to happen is that ...more >>

Reading a text file
Posted by rodchar at 6/8/2006 8:59:02 AM
hey all, i'm trying to read a text file that is comma-delimited. What i'd like to do is read each line and create a hyperlink entry, based on each line , inside a datalist. i'm trying to read the file using ReadToEnd method of a StreamReader hoping to get it into an array and then bind t...more >>

Unable to Select text in textbox in a web page
Posted by rsquarev at 6/8/2006 8:52:56 AM
Hi, I am getting a problem regarding textboxes. In my application I am using a framework, which provides the page base for my application, It's just designing of page. But by using this I am not able to select the text in textbox.I am not getting what can be the property which is not allowing t...more >>

no-cache vs no-store
Posted by siddharthkhare NO[at]SPAM hotmail.com at 6/8/2006 8:25:27 AM
Hi All, what is the diference between these two cache control header. no-cache and no-store. I have read the w3.org explanation. So lets say I am using only no-cache ....my understanding is that nothing is cached and nothing is writen to disk. but what happens when we use no-store.......more >>

Asp.Net Control problems
Posted by amjad at 6/8/2006 8:18:02 AM
i am using drop down list event for some reason its not working i dont know why its not working while page load and txtYear_TextChanged event work just drop down list event is not firing .... any body has any idea how to make it work ...... mean if i change value in that list box it run a q...more >>

HTTP POST
Posted by Dave T at 6/8/2006 7:54:02 AM
I want to do an http post to a url and include the name/value pairs for the fields in the form. The WebClient class lets me do this with the UploadValues method but I need to use a timeout as well, which is contained in the WebRequest and WebResponse classes. Does anyone know how to get the ...more >>

Microsoft.Data.Access.Application.Block for OleDB
Posted by Tim::.. at 6/8/2006 7:45:02 AM
Can someone tell me how you change this code for an Oledb connection rather than SQL Server. The code currently uses Microsoft.Data.Access.Application.Block and the SQLHelper object... I need to use this with an access database! reader = SqlHelper.ExecuteReader(ConfigurationSettings.AppS...more >>

ASP Cant Find my Textbox Control
Posted by Scott McDaniel at 6/8/2006 7:41:19 AM
The code below cannot locate the Textbox "tbDuration" in my ASP.NET 2.0 page. <Ajax.AjaxMethod()> _ Public Function calcTimeSpan(ByVal StartTime As String, ByVal EndTime As String) As String Dim dblTimeSpan As Double Dim RtnVal As String Dim tb As TextBox Try ...more >>

urgent asp.net Help:
Posted by amjad at 6/8/2006 6:57:02 AM
i am posting below code i am not sure how to call parametrized store procedure and fill the grid. .... I have store procedure which pull the info from sql server 2005 using asp.net 1.1... that proc accept two parameters . any body has any idea how to do that thing using dataset .... thanks ...more >>

Global Routines in a Class
Posted by mosscliffe at 6/8/2006 5:31:47 AM
I am trying to create Common Routines in a Class to use within my site, but as usual I am struggling to understand the fundamentals. I have the following Class dbase Public Shared Function MySub(ByVal tLookup, ByVal Flag) As String Return MyFuncInSub("Test String") End ...more >>

vs 2005: how to hide user control like it was in vs 2003
Posted by adiel_g NO[at]SPAM hotmail.com at 6/8/2006 5:25:36 AM
Hello, in vs2003, when you added a user control, it just showed you just a box of the user control but would not actually display the whole form. In vs2005, when you add a user control, it actually shows you the whole form from the user control. This is annoying since I cannot edit the rest of...more >>

FTP in ASP.NET2.0
Posted by Palani at 6/8/2006 4:52:25 AM
Hi I have started writing an ASP.NET2.0 FTP web client, I would like to use FTPWebRequest class. I am new to ASP.NET2.0. Can anybody help me with a sample ASP.NET application? ...more >>

Calendar calculation
Posted by ^MisterJingo^ at 6/8/2006 4:12:41 AM
Hi all, Does the calendar control provide any easy way to detect the last day of the currently displayed month? I'm using the VisibleMonthChanged event, and can find the first day of the month using e.NewDate. I need to find the last date day of the month to pull month specific data from a ...more >>

DataGrid question
Posted by amjad at 6/8/2006 3:49:01 AM
Hi i have datagrid which has two fields. i need to make the width of one feild depend upon the data width. how to change the style at run time and other question is suppose i have 100 records in my data grid i want to show the each row number as field like excel where 1,2,3,4 etc represent r...more >>

Which Controls to use for inserting stocklevels on Admin side?
Posted by savvy at 6/8/2006 2:00:34 AM
I'm developing a Garment Shopping Cart. On the Admin side, while inserting the each Product details, the user has to choose options of Colour Icons and Sizes for each Garment. All the colour icons are displayed in a Datalist which checkboxes and the Sizes( 3 mnths, 6 mnths, 12 mnths, 18 mnths, 2...more >>

Repeating spinners
Posted by Mark Rae at 6/8/2006 12:00:00 AM
Hi, Not even sure if this is the right group for this, but here goes... My client has asked me to come up with a "spinner" control which works with the mouse so that the value in the associated textbox continues to change until the mouse is released. I.e., for clarification: 1) A textbo...more >>

Page Expire
Posted by mac at 6/8/2006 12:00:00 AM
Hi! I've searched the net for ways to expire a page immediately, so when the user hit 'Back', they receive the "Page Has Expired" error page and I've seen a number of posts on how to do it - with the code below: <% Response.ExpiresAbsolute = #1/1/1980# Response.AddHeader "cache-control", "...more >>

error showing at StaringComparison.
Posted by Yoshitha at 6/8/2006 12:00:00 AM
Hi in my application some where in my code i used the follwoing statement StringComparison.InvariantCultureIgnoreCase so when i'm running my application(asp.net with c# vs2003) it is raising error near StaringComparison. follwoing is the error description (924): The type or namespace ...more >>

Question About ASP.NET 2.0
Posted by Gunawan at 6/8/2006 12:00:00 AM
Hi All, I would like to know how I perform action like this if (expression) { //true block create a table contain 3 column } else { //false block create some text box } on classic ASP I could use response.write statement how about ASP.NET Thank you in advance Reg...more >>


DevelopmentNow Blog