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 > august 2006 > threads for thursday august 10

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

Read/Write Cookie in a Module
Posted by Larry Rebich at 8/10/2006 8:12:59 PM
How do I read and write a cookie in an ASP.Net module? I can get this code to work in an aspx.vb class but not in a regular VB module: Response.Cookies.Add(c) Response is not a recognized command in the module. I've tried importing System.Web into the module but that is not allowed. ...more >>


rss auto-discovery
Posted by John A Grandy at 8/10/2006 8:03:39 PM
Could someone explain exactly how RSS auto-discovery works ? Thanks. ...more >>

Selecting the nth item added to a dropdown box
Posted by sck10 at 8/10/2006 5:14:16 PM
Hello, I am using the following and am trying to figure out how to select the nth item of a list in a DropDownList. //Insert and Add items to the DropDownList ddlPayStatus.Items.Insert(0, new ListItem("Non Selected", "Non Selected")); This selects the value "Non Selected" ...more >>

how not to expose source code
Posted by Tina at 8/10/2006 4:42:47 PM
In 1.1 I used to use a WebControlLibrary to hold code I didn't want to expose when I distributed a component. The code would compile to a separate dll and could not be viewed when used in a vs.net project. That worked fine and I assume it will still work fine in 2.0. However, in 2.0 I tri...more >>

App_Code class: Set Focus on control
Posted by sck10 at 8/10/2006 4:33:33 PM
Hello, I am trying to add the following to a App_Code class. The error I am getting is "The name 'ClientScript' does not exist in the current context". I would like to call this from my content page which uses MasterPages. Any help with this would be appreciated... Thanks, sck10 pub...more >>

App_Code class: Loop through controls
Posted by sck10 at 8/10/2006 4:32:22 PM
Hello, I am trying to add the following to a App_Code class. The error I am getting references "Page.Controls". I would like to call this from my content page which uses MasterPages I read the following from Steven Cheng, but am having a hard time following: In ASP.NET 2.0, the pages a...more >>

OnItemCreated DataGrid?
Posted by Arpan at 8/10/2006 3:35:55 PM
A DataGrid displays data from a DataSet. The DataGrid has the OnItemCreated event. Assume that the OnItemCreated event calls a sub named "InEditMode()". The DataGrid gets rendered as soon as this ASPX page loads in the browser. Now since the DataGrid has got its OnItemCreated event, will it's ev...more >>

Custom WebControls and images
Posted by Mantorok at 8/10/2006 3:14:34 PM
Hi all I have a custom web-control, when validation fails I want an image to appear beside the control. My images are stored in the projects resources.resx file - can I get at this and render them to the client? Thanks Kev ...more >>



Inherited Properties for a value object not bindable in a datagrid
Posted by MattBell at 8/10/2006 2:18:01 PM
I have what I'm hoping doesn't turn into a very big problem. We have a set of value objects which all inherit from a base value object which contains functionality common to all of the objects. We have implemented some custom DataSourceObjects which return lists of these value objects. Th...more >>

Can't select label text when using a master page
Posted by ASP Developer at 8/10/2006 1:35:02 PM
I have a variety of pages that use a master page. For some reason when I attempt to copy any of the label text on the screen it seems to highlight most of the screen randomly and I can't simply copy the text. I can select all text that is inside a control such as a text box. It is only the ...more >>

ASP.NET and Dataset
Posted by nashak NO[at]SPAM hotmail.com at 8/10/2006 1:15:46 PM
Hello, ASP.NET pages are disconnected html pages i.e once page is sent to the browser, that is it. Let's say that I have a datagrid on my page and I have used a dataset to fill this grid only during the first visit to the page. My page loads displaying the data in datagrid. What is the status...more >>

"Open Website" missing from Visual Studio 2005
Posted by weezman at 8/10/2006 11:35:02 AM
I have a coworker trying to help me with an ASP.NET site. He just installed Visual Studio 2005 professional edition, and he has no option to "Open Website" from the Start Page or File>Open>Website. Please advise. Thank you, and I apologize if this has been asked and answered already....more >>

TypeOf question
Posted by Muckeypuck at 8/10/2006 11:23:00 AM
hello, i would like to write a function that takes a webcontrol type as a parameter and returns an array of controls based on the type some thing like: GetAllControls(typeof(system.web.ui.webcontrols.textbox)) 'returns textboxes GetAllControls(typeof(system.web.ui.webcontrols.dropdownlist))...more >>

How do you autosize a Table Cell?
Posted by SAL at 8/10/2006 11:10:03 AM
How do I get a CELL to autosize a round a Control in a HTML Table? For example, you add a 2 row, 3 column HTML table to your webpage. In the 1st row, you set the colspan=3, then delete the excess columns. Now the 1st row should look like it has only 1 cell, and the 2nd row has 3 cells. Now...more >>

Adding Metadata (c# 2.0) to MasterPage
Posted by sck10 at 8/10/2006 10:52:14 AM
Hello, I would appreciate any help on adding Metadata to the MasterPage using c#? Thanks, sck10 ...more >>

reformatting in visual studio 2005
Posted by sck10 at 8/10/2006 10:48:20 AM
Hello, I am trying to find the option VS2K5 that will automatically change HtmlMeta hm=new HtmlMeta(); or HtmlMeta hm = new HtmlMeta(); to HtmlMeta hm = new HtmlMeta(); What I would like to do is have extra spaces taken out or added in where appropriate. I can do this in vb, but...more >>

Session being kept from brower to browser
Posted by tshad at 8/10/2006 10:13:31 AM
I have noticed that if I open an IE session and log onto my site. I can open another browser session and that browser will have same session variables as the first. This causes problems for my application. The only way around the problem is to close all the browsers and then start a new b...more >>

Call VBScript From .NET
Posted by Jordan S. at 8/10/2006 9:52:19 AM
I have a VBScript that runs on the server. I want to call that script from an ASP.NET Web application. How can I do that? Thanks! ...more >>

Browser type
Posted by tshad at 8/10/2006 9:32:15 AM
How do you tell which browser is accessing your page? I was using IE 6 and in my trace I am getting: HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) I thought the http_user_agent was what you used to find the browser, b...more >>

Running Asp.net on an a plain ASP application
Posted by abdala.fernando NO[at]SPAM gmail.com at 8/10/2006 9:31:35 AM
I have problems running an asp.net page/s (a directory) that has to be inside an ASP 3.0 web site (So for the IIS it is a ASP application). The framework is working on the server, if i deploy the site with the debug version it works just fine. But when i make de release it gives me this error:...more >>

system.IO.File.Exists doesn't working for file that is outside my virtual directory
Posted by Max at 8/10/2006 7:58:25 AM
hi i have file browser control to select any file and a button to upload file on my web page now when i select any file. now on click of upload button i have check that file exist or no if system.IO.File.Exist(file path) then .... end if now when ever i choose file system.IO.File.Exist(fi...more >>

stored procedure return value question
Posted by philip at 8/10/2006 7:50:23 AM
hello, i am new to asp.net and sql server, and i have 3 questions for asking: 1. i am writing a store procedure of login validation for my asp.net application and wondering what the different between RETURN and SELECT is. if exists(select * from users where username = @username and password...more >>

ComVisible query
Posted by cashdeskmac at 8/10/2006 7:42:01 AM
I have one resource telling me that if I want to expose just 4 out of 10 methods in my class to COM I simply apply the ComVisible attribute to the class and set it to false, then apply the same ComVisible to the 4 methods I want to expose and set it to true. I then go to the MSDN and find t...more >>

How to reference control panels from other forms?
Posted by Big Charles at 8/10/2006 7:16:01 AM
Hello Gurus, At WebForm2, I am trying to set visible property of control panel "Panel01" on WebForm1 to False. But I get error like "Instance not referenced" At WebForm2: Dim wform As New WebForm2 wform.FindControl("Panel01").Visible = False What is missi...more >>

Trying to show a Crystal Report at WebForm1.aspx
Posted by Big George at 8/10/2006 7:13:02 AM
Trying to show a Crystal Report at WebForm1.aspx: Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 'Put user code to initialize the page here If Not Page.IsPostBack Then showReport() End If...more >>

debugging asp.net
Posted by rodchar at 8/10/2006 6:41:01 AM
hey all, is there possibly a way to step into a stored proc while debugging in asp.net? thanks, rodchar...more >>

perfomance question
Posted by majorone at 8/10/2006 6:33:02 AM
hello, i am trying to design a method in manipulating data over the intranet, and i am wondering which of the following design can get better performance. can u help me? thanks. <<design 1>> A DataTable object which contains 4 columns for each row: id (int), columnA (string), column B (str...more >>

Custom Validator to validate certain items checked in a checkboxli
Posted by Mike Collins at 8/10/2006 5:38:02 AM
If possible, how can I use a custom validator to check (client side) that if a certain value was checked in a checkboxlist? So, if they checked "great" or "good", comments are not required and if they checked "not so great" or "awful", comments would be required before allowing the page to pos...more >>

Nested Repeater - OnItemDataBound - Slow Speed
Posted by mavrick_101 at 8/10/2006 5:23:02 AM
Hi, I have a nested repeater. For each row in the parent repeater there is a child repeater with several rows of data. The way I'm doing this is throught ItemDataBound Event. So for each Row in parent repeater, when its ItemDataBound event is raised I grab the content of the child repeat...more >>

q; Classifieds Site Starter Kit
Posted by JIM.H. at 8/10/2006 5:18:02 AM
Hello, I was trying to run "BETA: Classifieds Site Starter Kit" given in http://msdn.microsoft.com/vstudio/express/vwd/starterkit/ I got this error: “An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by th...more >>

IIS 6.0 Seperate Pools! How to go about doing it in Windows XP?
Posted by gopchandani NO[at]SPAM gmail.com at 8/10/2006 5:02:04 AM
I have an application developed using Visual Studio 2005, I precompiled and deployed it on the server but I am getting errors for assemblies' compilation. There is a solution available all over that using IIS 6.0 and seperate pools for different applications running on different frameworks can s...more >>

calendar control
Posted by Mike P at 8/10/2006 4:49:09 AM
How do you disable the week and month view on the calendar control? *** Sent via Developersdex http://www.developersdex.com ***...more >>

transfer data to database file problem
Posted by ads at 8/10/2006 4:22:02 AM
how do i transfer database objects such as tables and sp to a database file in just clicks of a mouse? Originally we are using sql server 2000 as our data storage for a website but since the website needs to be installable,i decided to make a database file as the storage which will automatica...more >>

Capture an Event in a composite control From control on a page
Posted by gdick NO[at]SPAM kerrhenderson.com at 8/10/2006 4:03:24 AM
In the most simple terms assume we have a Composite WebServer control This Composite Control (CC) is just a "label" private Label _lblCommissionType; protected override void CreateChildControls() { Controls.Clear(); this._lblCommissionType = new Label(); this._lblCommissionT...more >>

hello
Posted by muhammad akhlaq at 8/10/2006 3:50:06 AM
this is testing message *** Sent via Developersdex http://www.developersdex.com ***...more >>

Library for Filtering User Input?
Posted by Jimmy at 8/10/2006 1:56:38 AM
Hi! I'm looking for a library with methods for filtering user input in a web application. I mean, some API which gives more functionality than the traditional .NET validation controls. Any ideas? Thanks a lot in advance! J. ...more >>

Can one web application use different .NET Framework version?
Posted by Janardan at 8/10/2006 1:14:49 AM
Can I create the user interface (web forms) using ASP.NET 2.0 and still my Business Logic Layer use 1.1? The reason I am asking this is because I have an existing site which uses commerce server 2002, and now I want to move to .NET 2.0. But I have heard that CS2002 does not support .NET 2.0. ...more >>

Deployment executing problem of aspx pages on hosting site
Posted by Neal at 8/10/2006 1:04:02 AM
Hi All, I have deployed a web site to a hosting site (ix), but some really strange incomplete execution hassles. The app is Frameset based, 2 of the aspx pages for 2 of the 4 frames, don't render, yet when i check the "View Soiurce" the html and controls etc all seem to be there, .. and ...more >>

Date Format
Posted by thomson at 8/10/2006 12:47:39 AM
Hi All, i get a string in the format 20060912 which is yyyymmdd, without any characters in between , i need to convert this string into mm/dd/yyyy format in the grid, can any one help me out Thanks in Advance Thomson ...more >>

IIS doesn't serve ASP.NET Applications
Posted by Vitaly Sedov at 8/10/2006 12:00:00 AM
I am trying to open up a .Net application on my localhost but I get a server error. On checking the Event log I found the following message: The server failed to load application '/LM/W3SVC'. The error was 'The specified metadata was not found. '. For additional information specific to this m...more >>

How can I call SSIS from ASP.NET (VB)
Posted by Carlos A. at 8/10/2006 12:00:00 AM
Hello all I have a SQL query that creates a table This table is converted in Excel file by using SSIS. The question is: How can I call this procedure (or code) from VB to convert directly? Thanks a lot. --- ...more >>

response.write table problem
Posted by insist at 8/10/2006 12:00:00 AM
I with response.write("table=...") to draw the first table,and respons.write("<br>"),and then with response.write("table...") to draw the two table,but the two table display in the middle of the first table,i want to the two table display in the end of the first table.because the table of conten...more >>


DevelopmentNow Blog