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
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 > march 2005 > threads for march 29 - 31, 2005

Filter by week: 1 2 3 4 5

Itemplate sample : Access controls on postback
Posted by Luhar Powell via .NET 247 at 3/31/2005 10:33:28 PM
How to access other controls values in ITemplate? Hi, I have simple Itemplate implementation with 2 textboxes and button. On postback I would like to access values entered by user in the textbox controls. The Itemplate sample below has two text boxes for first name and last name. There is...more >>


tips or example for webcontrols.
Posted by Arvind P Rangan at 3/31/2005 2:41:25 PM
Hi All, I have tried creating web controls with examples on the net. It works fine with c# but not with vb.net If anyone have a good website for vb.net webcontrols or if you have executed any kindly let me know. Thanks Arvind ...more >>

How to set Base Control for ALL Controls? (ASP.NET 1.1)
Posted by Jon B at 3/31/2005 1:00:21 PM
Hi All! Are there any ways to set Base control class for all the controls in an ASP.NET application? For example, Base Page can be set in the Web.Config file as follows... <pages pageBaseType="frmCustom,frmCustom" /> Is there a similar setting in web.config for all the ASCX controls to ...more >>

User control
Posted by Louis Yeung at 3/31/2005 12:37:12 PM
Hi, I created my very first code-behind user control (ascx) and tried to used it in the aspx within the same project. I have the following questions: 1. Can I select the user control and drag it into the aspx designer view? I dragged the ascx from the solution explorer view. VS2003 created...more >>

Images in DropDownList
Posted by Richard at 3/31/2005 11:37:04 AM
How would I display images in an asp.net dropdownlist using vb.net? I have a webform where the user can modify product info (cost, description, etc.). The info is in a ss2000 database. There is also an nvarchar field that points to an image on the server. I know how to display the images in a ...more >>

change a web control in jscript
Posted by jthornby at 3/31/2005 11:35:04 AM
Is there any way to manipulate the content of a web control in client side jscript that can propogate to the server? Specifically, I'm trying to increment or decrement the value in a text box when one of a set of check boxes are checked and I don't want the overhead of going back to the serve...more >>

CustomValidator
Posted by Louis Yeung at 3/31/2005 8:07:04 AM
Hi, I am playing with validators using VS2003 on a XP box. I have textboxes with regExp validators and a button. The validators work when I press the button. If any validator fails, error messages are displayed and button click event does not fire (i.e. not hitting my breakpoint). Everythin...more >>

Selectively displayed HTML in ItemTemplate of repeater control
Posted by msielski NO[at]SPAM gmail.com at 3/30/2005 10:23:30 PM
I apologize if I don't explain this clearly, or if the solution is an obvious one. I have been using ASP classic for a few years, but only recently started with ASP.net. I have been reading Stephen Walther's ASP.NET Unleashed 2nd Ed with much success, but have not been able to figure out this ...more >>



TextBox controls determining if text is highlighted or selected
Posted by studen771 at 3/30/2005 5:29:02 PM
is this possible? I know that I can derive a class from the windows.form namespace but then i Couldn't use it in an asp.net page. I want my user to be able to select speciifc text they've highlited in an asp.net textbox and change its formatting..is this possible?...more >>

DataGrid
Posted by voo at 3/30/2005 4:49:02 PM
I would like to group the rows of a datagrid so its value spans multiple rows. Data: A 1 12 A 2 24 A 3 11 B 1 14 B 2 12 B 3 11 I want to have A and B span 3 rows and display only once. How can I do this in OnItemBound Thanks. ...more >>

GridView column reordering
Posted by Shafia at 3/30/2005 4:11:53 PM
Hi, I dont find the GridView features described in the following artical e.g column reordering and FullRowSelect. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnforms/html/winforms12182003.asp Please let me know when and in which release these would be available? Reg...more >>

Dropdownlist Problem
Posted by Glenn L. at 3/30/2005 10:28:37 AM
I am using the VS 2005 beta1. I am trying to add a Dropdownlist control that gets its data from one table and when selected saves the ID into another table. I have 2 tables TBLSTAFF and TBLRACE. TBLSTAFF has an integer field called RACEID. TBLRACE has the foreign key RACEID and RACEDESC(Descr...more >>

SortCommand event does not fire when ViewState is disabled
Posted by ae at 3/30/2005 9:47:03 AM
i have a custom datagrid with the viewstate turned off. i plan on caching the datasource and handling this myself rather than using viewstate. when the viewstate is disabled my SortCommand event handler never gets fired....more >>

Render method?
Posted by Karl at 3/30/2005 9:45:02 AM
I'm using Lutz Reoder's .NET Reflector program to browse the source code for System.Web.UI.WebControls.TextBox. Looking at this class's Render() method, I had expected to see code that would actually draw a textbox. No such luck. 1) What code does draw the textbox? 2) What's a HtmlTex...more >>

HtmlInputFile during postback..
Posted by newmem at 3/29/2005 4:07:51 PM
Hi In the webform, if a use selects a file to upload and submits the form. But if page validation fails, the HtmlInputFile loses the filename string and the user has to re-select the file using the browse button. Is there any way to persist the postedFile.filename during postback? Apprec...more >>

Div tag to display/ hide a control ....please help
Posted by ~Maheshkumar.R at 3/29/2005 3:26:14 PM
Hello groups, i need small code snippet for implementaion of div tag. Let say, if i click a button, i have to hide a checkbox list. I have placed that control inside the Div tag, but not responding. Mahes. ----------------------in codebehind -------------- Button1.Attributes.Add("o...more >>

adding a new row to the repeater control
Posted by buran at 3/29/2005 3:01:26 PM
Dear ASP.NET Programmers, Here's my problem: I have a page (as usual :), in which I'm going to = display invoices in a repeater control. I am binding data to the = repeater control (ID: repHospCosts) without any problems. I have also a = button on the page, I am going to add a new datarow prog...more >>

Slidebar
Posted by Bernardo at 3/29/2005 2:58:25 PM
Hi, There are in .net some control that simule a SlideBar? Thanks ...more >>

Button click event not firing on production IIS server?
Posted by JohnH. at 3/29/2005 1:56:41 PM
I'm obviously not looking in the right place to find the source of this problem. Anybody got any ideas where to look? I have an ASP.NET c# application w/ several pages that have buttons. On my development IIS server everything works fine. When I publish my code to a pre-productions st...more >>

Stop my window from jumping
Posted by Randel Bjorkquist at 3/29/2005 1:05:58 PM
How do I stop my WebForm from jumping back up to the top of the window every time it's posted? What is happening is that I have a web-application that has a couple of ListBoxes that I allow the end-user to fill in. They are asked to fill in a TextBox which I then add to the ListBox. But aft...more >>

Table and controls
Posted by RyanW at 3/29/2005 11:39:02 AM
Is there a way to drop controls in the cells of a table at design time? I can do it with the HTML Table, but not the asp.net table. Thanks Ryan...more >>

Default behavor
Posted by Randel Bjorkquist at 3/29/2005 10:34:51 AM
I'm trying to figure out how to stop one of the Button on my WebForm, from activating its OnClick event when I press the "Enter" key while entering data in a TextBox. If I disable it, the control/focus goes to another Button and that Button then has the same thing happen. I know there must...more >>

RequiredFieldValidator Question
Posted by Randel Bjorkquist at 3/29/2005 9:43:34 AM
Hi all, I'm extremly new to building web-applications, C#, and the whole Microsoft Visual Studio 2003 .NET IDE, so please bare with me. What I have: I have a web-application that communicates to an SQL Server. My aspx file is on a Windows 2000 Server running IIS. The base of the program...more >>

Datalist Edit button created in ITemplate class
Posted by Charles at 3/29/2005 8:47:06 AM
Hello, I have found lots of examples and information on how to create an edit button in the datalist control, however the edit button is done with the edit template property. I have created the edit button in a class that Implements ITemplate in the InstantiateIn Sub. The information of...more >>

How do I get the SelectedValue from a RadioButtonList using javascript
Posted by pierre NO[at]SPAM globalkinetic.net at 3/29/2005 5:09:54 AM
Can anyone tell me how to get the SelectedValue from a ASP.net RadioButtonList, using javavscript. Here is my code: <ASP:RADIOBUTTONLIST id=3D"optOption" runat=3D"server" ONCLICK=3D"javascript:alert(docu=ADment.all.optOption.selectedIte=ADm);"></= ASP:RADIOBUTTONLIST> This is not worki...more >>


DevelopmentNow Blog