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 webcontrols > october 2004 > threads for october 15 - 21, 2004

Filter by week: 1 2 3 4 5

Adding Cascading style to LinkButton Control
Posted by Patrick.O.Ige at 10/21/2004 10:37:01 PM
I have this linkbutton control How can i add Style sheet to the Text, button attribute. I know i can use CssClass but how would i define the style there to link to this control.. Any ideas I WANT TO CHANGE THE COLOR OF A BUTTON FOR EXAMPLE AND THE FONTS!!!! <asp:Linkbutton id="Button1" oncli...more >>

How do I update a label with the summary total of six textboxes?
Posted by Karen Grube at 10/21/2004 9:09:02 PM
Hi! I have a web page containing 6 text boxes placed one below the other in a column. Each textbox accepts only numeric input and is formatted and validated as numeric. As I'm entering each amount, I need to display the summary total of the amounts that have been entered in a labe...more >>

Finding out which Control was activated
Posted by ree32 NO[at]SPAM hotmail.com at 10/21/2004 7:55:25 PM
Say I have function which handles events. Suppose I have 2 calendars where an a date is elected it activates this function. Sub calStartSelected(ByVal sender As Object, ByVal e As EventArgs) Is there anyway using the object sender I can findout which calendar was selected. Say the names of the...more >>

WebControl validator not working on response.redirect
Posted by leninej NO[at]SPAM gmail.com at 10/21/2004 5:38:15 PM
I have stumbled into a strange problem with asp.net requiredfieldvalidator. Here is the code. This is part of a webform aspx which gets invoked in two ways. scenario 1) One from a datagrid hyperlink scenario 2) By way of response.redrect. The validator works fine when coming into the page ...more >>

How many nodes is recomended in a treeview
Posted by Henke at 10/21/2004 3:40:13 PM
Hi! We are using the TreeView control to display data in a web application. We have noticed that the performance is extremely low when there are many nodes in the tree. Is there any recomendation regardning the maximum number of nodes in the tree? Is there any way to increase the performance, ...more >>

Design-Mode WebControls
Posted by Mythran at 10/21/2004 2:55:36 PM
I have a couple of custom web controls that are on the toolbox. I would like to make it so these, we placed on a form, do not appear on the form. They do not write any client-side script so I don't want them visible on the page at design-time. What I want is sorta like what the OleDbDataAdap...more >>

REPOST: Need help locating a web date control with popup calendar
Posted by Karen Grube at 10/21/2004 12:35:08 PM
Hi! I'm trying to locate a decent FREE ASP.Nry web control that will allow a user to enter a date or click on an arrow that will show a (small) popup calendar and select a date. What I already have is a date/time picker with three boxes, one for the month, date and year. That's ...more >>

Remove language attribute from HtmlInputButton
Posted by Jonas at 10/21/2004 11:15:40 AM
Hi! I'm working with an ASP.NET web site that needs to conform with XHTML 1.0 Transitional and got an ASP.NET HtmlInputButton which automatically adds the attribute language="javascript" which isn't allowed in XHTML. I've tried to remove this attribute by executing QuickSearchButton.Att...more >>



case INsensitive regular expressions
Posted by maurof78 NO[at]SPAM aol.com at 10/21/2004 10:05:27 AM
Hi everyone, I am working with a RegularExpressionValidator in Visual Studio.NET. I would like to define a custom regular expression that ignores the letter case and therefore is case INsensitive. I have seen that the syntax might be something like "(?i)" or "/i". However, when I try to use...more >>

Web Part
Posted by Nada mohamed at 10/20/2004 11:40:35 PM
hi I'm writing the code in VB.Net and all of the examples of using this attribute are in C#.I can't find a VB example of how to incorporate this. so could you help me to find a vb example thnx *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENE...more >>

Status Bar Text for Link Button
Posted by Brian Hoops at 10/20/2004 5:49:51 PM
Is there a way within asp to modify what the status bar text reads when the user hovers above the text for a link-button. IE: http://www.sitename.com/pagename.aspx rather than javascript:__dopostback(...... or do I need to have a javascript onmouseover for every one? Thanks for the h...more >>

Help with making a control work . Please help :-(
Posted by Simon Harvey at 10/20/2004 4:44:12 PM
Hi everyone, I'm having a problem with getting a control that I'm using to work. I have a placeholder control sitting within a user control. On certain occasions at runtime I create a Textbox control and add it to the placeholder. This works well almost all the time. Unfortunately ther...more >>

treeview on windows 2003 server
Posted by Henok at 10/20/2004 4:29:37 PM
Hello, I have installed and used the ie webcontrol (treeview) on my test machine; however when I moved it to the production pc, a windows 2003 server, the trees are not drawn! I can see all the list, and the xml is create correctly. what could be wrong? I followed the readme.txt to build t...more >>

how to get selected values ( vb.net )
Posted by krzysiek at 10/20/2004 1:32:57 PM
hello, i have several radiolists and checkboxlist that are generated dinamicly based on datasource. So frankly speaking i don't know names and number of that web controls cose they are always different. How can i retreive selected values from those controls ? ...more >>

Radiobuttonlist
Posted by seep at 10/20/2004 8:01:25 AM
Hello, I want to check if the user has selected one of 2 available radiobuttons..in c# How to do this? ...more >>

How do I get the url of control's page at design time?
Posted by GoogleGroups NO[at]SPAM WALDOLand.com at 10/20/2004 7:13:02 AM
I have a control designer that I am building for a webcontrol I've built. The control includes some images as part of it's design. I'd like for the designer to resolve those images so they can be shown in the designer. The control at runtime would ordinarily call ResolveUrl and get the correct p...more >>

Problem with Sorting of DataGrid with Arraylist binding
Posted by Holysmoke at 10/20/2004 2:53:02 AM
Hi, I am using a DataGrid which is binds with an ArrayList (which contains an object returned from Database code). It binds well but I have a problem when sorting the datagrid. I see a method Sort in ArrayList but having diffculty with how-to? Remember I have to sort a particular property o...more >>

TreeNodeCollection & TreeNode not defined
Posted by Patrick.O.Ige at 10/20/2004 12:47:02 AM
I have this code below. All its suppose to do is to EXPAND / COLLAPSE ALL of my treeview. But when i use ASP.NET WEbmatrix it all works fine .. But with VS.NET is says TreeNodeCollection not defined and TreeNode not defined!!!!!!!!!!!!!!arg!!!! How am i suppose to define it in VS.NET.. OR ...more >>

Convert Unit types.
Posted by Ken Varn at 10/19/2004 3:42:05 PM
Can someone explain how to convert a Unit type to a meaningful value? There is a way to convert from a Pixel, Percent, etc.. to a Unit, but I have not figured out how to convert from a Unit. -- ----------------------------------- Ken Varn Senior Software Engineer Diebold Inc. EmailID =...more >>

Rich Text Box !
Posted by Ankur Goyal at 10/19/2004 11:54:13 AM
Hi ! Please let me know... how a Rich text box can be used in ASP.net page..for text formatting and how it can be stored in database. Thanks Ankur Goyal ...more >>

Cant bind Repeater to Custom Collection
Posted by A Traveler at 10/19/2004 9:42:31 AM
Hi, I have a custom collection class i wrote, LineItemsCollection, which is a strongly typed collection of objects of my LineItem class. The LineItem class is a simple class with just a couple properties, ProdID, Description, Quantity and UPC. 3 strings and a long. The LineItemsCollection c...more >>

Help finding a FREE date/time web control for ASP.Net
Posted by Karen Grube at 10/19/2004 8:43:02 AM
Hi! I'm trying to locate a decent FREE web control that will allow a user to enter a date or click on an arrow that will show a (small) popup calendar. What I already have is a date/time picker with three boxes, one for the month, date and year. That's not what I want. The one I'm ...more >>

How do you access a hiden server?
Posted by Guest at 10/19/2004 5:57:28 AM
How do you access a hiden server? MY school has hiden there server. I want to be able to access it again. Tell me how i get it back!!!!! Any help is needed. Thanks for your help!! User submitted from AEWNET (http://www.aewnet.com/)...more >>

date time formatting
Posted by Walter at 10/19/2004 2:19:02 AM
Hello, I am a newbie to this. I have the following code. I have a query which gets the data from the SQL Server. On the server the date is formatted as 'yyyy-MM-dd HH:MM:SS' If I run the application, the date is being displayed as 'MM/dd/yyyy HH:MM:SS AM/PM' Is there anyone who can help me ...more >>

setfocus textbox
Posted by niv at 10/18/2004 7:36:45 PM
Hi, How do I setfocus on the textbox when the page is loaded? Thanks, niv...more >>

TreeView Menu Question
Posted by Patrick.O.Ige at 10/18/2004 6:35:11 PM
Hi Guys, I have different pages in ASP.NET.And i have a treeview that populates XML that i use as the MENU. Is it possible to have one asp.net page but populating different XML to the mENU? Any ideas? ...more >>

ImageButton - Not Posting
Posted by Nick Cowley at 10/18/2004 4:57:06 PM
Hi all I have an issue with a couple of servers where the ImageButton does not see to fire the onclick event and post the page. Servers ar NT200 Latest SP ..NET Framework 1.1 SP1 The only servers working have VStudio installed. Nay help would be appreciated. Cheers Nick ...more >>

Multi-column drop down?
Posted by Dean J Garrett at 10/18/2004 2:25:08 PM
Hi, I'm new to ASP .NET and I understand the framework doesn't have a multi-column drop-down list (combo box). Does anyone know of a good 3rd party component I can buy to satisfy this UI requirement I have? Any advice would be appreciated. Thanks! ...more >>

What's wrong with this code?
Posted by Allixria at 10/18/2004 11:50:03 AM
Hi all... I need help in there : In the Page_Load : /////////////////////////////////////// If Not IsPostBack Then If Not (Session("CurrentTextBox1") Is Nothing) Then TextBox1 = Session("CurrentTextBox1") <--- *** End If Else TextBox1.text = "Hello World!" Session("CurrentTextBox1") = Tex...more >>

Can't submit form
Posted by Randy Vernon at 10/18/2004 8:43:06 AM
I have a simple login screen (username, password, submit button). Works perfect on 2 of my PC's. On 3rd, clicking "submit" button does nothing (the submit button calls a method in my code-behind file to process the login). I have used TRACE to verify that the code-behind method is not being ca...more >>

DropDownList: Complex DataBinding with Custom Business Objects
Posted by dancaron-nonsense1111 NO[at]SPAM mailblocks.com at 10/18/2004 8:40:46 AM
I have an ArrayList of Custom Business Objects that I need to bind to a DropDownList. The DataBind works, but I cannot figure out how to have the value/text fields of the DropDownList to reference the object properties. For instance, assume I have an ArrayList of UserInfo classes. The UserI...more >>

Help - managing visibility of controls
Posted by John Walker at 10/18/2004 7:25:07 AM
Hi, I have a question about the best way of managing how data is displayed on the screen. Since ASP.NET allows forms to 'submit' only to themselves, how does one go about managing which controls and text are displayed, based on which action the user chooses. Say that I want every item on th...more >>

User control + relative path
Posted by Alex at 10/18/2004 12:57:24 AM
Hi. I need some help on this. I have a user control (a header) in my root directory, and all my pages use that control. Then a created a folder (in my root directory) and put a new page inside it, and that page use the same control, but this time the control can't find it's images and resources ...more >>

Client Side Scripts
Posted by arfinmail NO[at]SPAM yahoo.com at 10/17/2004 9:26:07 PM
Any Response.Write("Something") that I put on the Page_Load of a Web User Control gets "printed" on the page before the first <html> tag. How can I programmatically add some html scripts to a control without using the Page_Load? On the same line. Is there a way from the [MyControl].ascx (the...more >>

Groupbox in Webpage?
Posted by Ole Hanson at 10/17/2004 8:40:41 AM
Hi I am trying to identity how do I put a "WinForms" like groupbox on my webpage? I want to group things logically using a controls like that - but it seems not possible? How do I put a groupbox on a webpage? Thanks! /Ole ...more >>

Removing IE toolbar
Posted by Mario Gonzalez via .NET 247 at 10/17/2004 3:07:05 AM
Hi, Newbie. I have created a .net application. I want my pages to pop up without the IE Toolbar at the top. I will create the navigation controls needed. How can I remove the IE Toolbar? TIA, -------------------------------- From: Mario Gonzalez ----------------------- Posted by a use...more >>

How to pass values into a user control
Posted by Tony at 10/16/2004 9:47:04 AM
I've created a user control in C# with a Title Property I can set up the title in HTML by passing the title property as shown <uc1:USRTitle id="myTitle" runat="server" Title="This is the Title"></uc1:AdminTitle> But what I really want to do is pass this value from the Page Load event ie: ...more >>

Refersh problem
Posted by bhavik at 10/16/2004 4:37:02 AM
hi i have one aspx page on which i have one button in code behind i wrote a code for inserting a record. if i clicik on button it inserts a record ok ite fine but the problem is that if i refresh the page it will go again into button_click event and add the same record again why so. ? ...more >>

How To: Datagrid Date Column formatted if Null then "Active"?
Posted by JDP NO[at]SPAM Work at 10/15/2004 12:11:25 PM
I have a datagrid dgUersList that is populated from the dataview dvSingleUser. My business rules are that if there is a date in the End_Date column then the user's account is "Disabled", and if null then "Active". I populate a checkbox option on a details panel with this logic. HOWEVER, I ...more >>

DataGrid, Seperate template for InsertItem
Posted by Weston Weems at 10/15/2004 10:08:10 AM
Hello... I've used datagrid extensively and know its strenths and weakness's rather well. My question is this... I've got the requirement to insert a template row at a given index, which theoretically wouldnt be a problem, however I need a slightly diff template than my edititemtemplat...more >>

Bug in Compare Validator??
Posted by Andrew at 10/15/2004 9:15:25 AM
I just ran into this on a page I am building. I needed to ensure the user typed in a value less than 60. I added a Compare Validator, bound it to the input text box, set Operator="LessThan", and ValueToCompare="60". Now, if I type in 1 through 6, or any double digit value less than 60 no probl...more >>


DevelopmentNow Blog