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
January 2007
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 building controls > march 2004 > threads for march 22 - 28, 2004

Filter by week: 1 2 3 4 5

script works on test PC, not on ISP server?
Posted by Rudi Ahlers at 3/28/2004 11:05:53 PM
The following script work perfectly well on my PC at home, yet when I upload it, it doesn't work. if tranRS("subscriber") = "Y" then response.Write "<IMG SRC=images/tick4.gif ALT='Companies Who Care' BORDER=0>" else response.Write "<IMG SRC=images/cross2.gif ALT='Companies Wh...more >>

How do I do this?
Posted by Rudi Ahlers at 3/28/2004 9:38:35 PM
How do I add a column in a table on a MSSQL server? I got BuildSQL running, so I can enter SQL commands to do it, only problem is, I don't know the command to add a column :) -- Kind Regards Rudi Ahlers +27 (82) 926 1689 Greater love has no one than this, that he lay down his life for h...more >>

carriage return character
Posted by Rudi Ahlers at 3/28/2004 6:07:11 PM
What is the newline (carriage return) character? I have seen the following in practice: clientresponse = "Hello " & username & Chr(39) & Chr(39) & clientresponse But this creates a " sign, can anyone tell me what the newline character is? This is for inserting data into a DB, and keeping keepin...more >>

extending sessions
Posted by Rudi Ahlers at 3/28/2004 10:30:54 AM
I know the default setting for a session is 20 minutes, and this gets set on IIS. But, now the question is, how do I extend these sessions? And, is 45 minutes a good time? this is for reading articles, filling out surveys, and doing graphical analysis about company entities. -- Kind Regards...more >>

CSS Doubts/Questions
Posted by Carlos Cruz at 3/27/2004 12:26:10 PM
Hi, How can I have 2 asp:hyperlink at the same aspx page but with diferent styles ? I've tryed this: A:visited { color: #febc11; text-decoration: underline; } A.Menu:visited { font-weight: bold; color: #febc11; text-decoration: underline; } .... but can I tell each control t...more >>

ComboCalander
Posted by gurvar at 3/26/2004 10:26:10 AM
Hi I was wondering is there the combo calander control in ASP.nET similar t what was in VB6 Thanks....more >>

Maintaining variable values in the aspx form
Posted by rashiddotnet NO[at]SPAM yahoo.com at 3/26/2004 8:43:09 AM
I have 2 controls on the form one id drop down list and the other is button The OnSelectedIndex change event handler sets the value of a class variable to some integer. When I click the button and try to get the value of count in the button event handler i dont get it ... Please advice......more >>

Collection property in a Custom Server Control
Posted by Samuel Morais at 3/26/2004 5:40:40 AM
Hi, I´ve been searching for this topic the last 2 days and not found anything useful. Does anyone have the code (preferentially VB) that declares a property that is a collection of items? (Like the Itens property of the listBox) I want to create a server control which one of its properties is...more >>



textbox compare control
Posted by Kieran5405 at 3/26/2004 3:54:16 AM
Hi A bit of a newbie question I'm using Visual Studio.Net 2003 I have two textboxes on a webform and a submit button I'm trying to have it so text can only be in one textbox at any time when the submit button is clicked. In that an error appears if text is in more than one box I have been ...more >>

DataList within DataList
Posted by Jairo Nieto at 3/25/2004 5:01:46 PM
Hi, i am trying to create a data list, who has another datalist as one of its items. Can anyone please tell me how to accomplish this? Thx :) ...more >>

Removing dynamic items from dropdownlist
Posted by Dominic at 3/25/2004 4:58:16 PM
I've created a control inheriting from dropdownlist. What I need is a RemoveDynamicItems method that would remove only list items that were added programatically. Keeping all list items existing explicitly in the designer (aspx file). Any ideas? *** Sent via Developersdex http://www.devel...more >>

Works in production, not on development server
Posted by Schoo at 3/25/2004 4:19:26 PM
I have an ASP (with VB as my backend code) I wrote using .NET 2003 (7.1.3088), that works fine on my development workstation, but I copied all the files from the application directory on my workstation (c:/inetpub/wwwroot/<projectfile>/*.*), to a folder on the IIS server (W2K Server) and created...more >>

How to resize custom control in designtime
Posted by news.microsoft.com at 3/25/2004 3:48:41 PM
I created custom control that inherits from System.Web.UI.WebControls.WebControl and implements INamingContainer. But I cannot resize this custom control when I use it in my other project. Is there any one can help ???? ...more >>

dynamic creation of user controls
Posted by Jill Graham at 3/25/2004 12:53:38 PM
In the page_onInit sub of my page, I'm adding user controls dynamically using following code : newControl = page.LoadControl("~/modules/footer.ascx") page.controls.add(newControl) In what state is the control I added ? The control has been initialized, loaded, rendered ? Jill ...more >>

user control stylesheets
Posted by Jill Graham at 3/25/2004 11:06:05 AM
Hi, I have an asp .net page which includes several custom user controls. Each user control has its own template (.ascx file) Now, I want my graphical people to be able to add a link to a stylesheet file on top of the template file. This link should then be included in the head section of th...more >>

User Controls & Client Side Events
Posted by Brett Robichaud at 3/25/2004 10:23:37 AM
I have a user control from which I would like to fire events that can be handled in client side script. How do I accomplish this? In particular my user control has 2 web controls, a textbox and an imagebutton. I'd like the client script to be able to handle events when the imagebutton is cli...more >>

i cant center-align my control in table cell with netscape and mozilla
Posted by smashit NO[at]SPAM email.si at 3/25/2004 6:49:57 AM
i made a composite control than i craated a table with a cell and put my control into cell and i set alignement of the cell to center...the problem is that IE is showing my control in center of the cell, but mozilla and netscape aren't ...can anyone help me??...more >>

HELP IN DEVELOPING A KNOWLEDGE BASE USING ASP.NET AND C# PLEASE REPLY SOON
Posted by sherwinm NO[at]SPAM rediffmail.com at 3/24/2004 4:52:51 AM
See ive created an inventory for a company it has various modules , like purchasing , workstation , library, catalogue and HELPDESK , so now for HELPDESK i need to create a KNOWLEDGE BASE by which a user would be able to search for teh solution to any of his problems like "who...more >>

Dynamically created Server Controls and page postback
Posted by DotNetJunkies User at 3/23/2004 4:07:58 PM
I have a page with button and dropdownlist i want to select a number from the dropdownlist so when the page postback it'll create a number of textbox according to the number within the dropdownlist I successfully did that but i have a problem when i write text within the textboxes and submit the ...more >>

Images in webcontrol
Posted by RJDev at 3/23/2004 11:42:51 AM
Hello, I have made an webcontrol with images stored in an database. I have several subfolders importing the webcontrol. Now the images are = not loaded wel because of the place of the webcontrol. Can i chnage the tag below in the code behind place. '<td id=3D"Cel3" class=3D"Welcom" style=3D"B...more >>

Adding a style to HtmlSelect
Posted by ccallen at 3/23/2004 10:13:56 AM
How can a style, on an HtmlSelect obejct, be set in code? I tryed: HtmlSelect s = new HtmlSelect(); s.Style = "width:75px"; The compiler said the property is read only. I was able to add a width attribute to the html select tag (<select width="75px">) HtmlSelect s = new HtmlSelect()...more >>

Modal Dialog
Posted by slawek xxxxx at 3/23/2004 12:29:14 AM
Hello everyone, I hope that I'll fide the answer here ;) The problem is: If I open .aspx web form as a modal dialog and want to perform a server trip and return with a new data ( for example after selecting some value from combo) then I always have new window with form instead of reloading ...more >>

ChildProperties
Posted by Aaron Bull at 3/22/2004 9:56:14 AM
G'day All, Looking at the documentation, it looks like what I'm trying to do is possible, but I can't get it to work. Any suggestions would be greatful. I'm trying to make a server control, so the calling aspx code will look similar to this <ab:MyControl runat="server" id="blah" > <F...more >>

Output strem
Posted by slawek xxxxx at 3/22/2004 8:12:37 AM
Hello, I want to ask if there is any way to access html code of the page after rendering all asp.net controls? For example when I look at the source code of the .aspx page in the browser (on the client side) I see something like : <a href=”#”> test </a>. I want to change this link to : <a h...more >>

DropDownList where's the BorderColor ?
Posted by Duncan Walker at 3/22/2004 12:41:06 AM
I did post a thread before this one, but it seems to have been removed, which I find a little bit anoying as it seems that certain people in Microsoft are not happy with complaints about their software Once again I'll emphasis the point that Shen made in an earlier thread. The BorderColor, BorderS...more >>


DevelopmentNow Blog