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 > april 2008

Filter by week: 1 2 3 4 5

Grouping same color
Posted by icanhelp33@gmail.com at 4/30/2008 5:24:00 PM
Say when firstname, lastname is same for the data in gridview is it possible to have the same background color for that row....more >>


ASP Version 2 Beginner Question - Laying out Complex Forms
Posted by Roger Stenson at 4/30/2008 9:05:40 AM
Hi I am designing a fairly complex web form of which the following is two lines using VB in VS 2005. (The appearance aspects are in the skin file) When I display it in Design View both lines are beautifully alligned on the identical width properties When I display it in the browser, the widt...more >>

How to use AppSettings with Custom Control
Posted by Seth Williams at 4/23/2008 4:32:19 PM
I've built a custom control -- now I need to retrieve a setting in the AppSetings section of the Web.config of the current web app using my custom control. How can I access the Web.config file for something like this? ...more >>

is there a way to refer to public properties in other user controls
Posted by Web Search Store at 4/21/2008 12:21:24 PM
Hello, I set up a web page with 2 user controls. In classic asp, the first one did all the declarations, and the second one used the values, and could reset it. In ASP.Net so far I can't see how to relate them so this will work. This user control defines the properties: <%@ Cont...more >>

ASP V2, Membership Beginner Question
Posted by Roger Stenson at 4/20/2008 12:41:52 PM
Hi all I have set off using the Create User and Login Control. When I look at the Membership Table the UserID has a default format of Unique Identifier and the data value looks nothing like the values I keyed in. How does the Login control in which the User Name as been entered relate tot ...more >>

Convert integervalues to booleans with checkboxfield ( in datagrid )
Posted by Tommy DN at 4/18/2008 5:31:56 AM
I'm using a datagrid wich uses a dataset.table as datasource. One field is a integerfield with 1 and 0 Is there a possibility to bind this with a checkboxfield ( using inheritance for example ? ). When it's a 0, the checkbox for the cell must be checked and when it's a 1 it must be unchecked....more >>

Using FormView for multiple inserts.
Posted by £ukasz_Ledóchowski at 4/17/2008 9:14:17 PM
Hi! I want to insert data from InsertItemTemplate four timer to database, but the first time I use InsertItem method, it clears data in FormView. What can I do be able to call InsertItem more than once? -- £ukasz Ledóchowski GG: 503647...more >>

How to use ASP.NET validators
Posted by Madhur at 4/17/2008 8:37:16 PM
Hello All I am learning how to use ASP.NET Validators and would appreciate if someone could provide me with guidance. I have written very simple ASPX page below with a Dropdown list, a button. If a value of 3 is selected inside dropdown list , I add two text boxes each attached with val...more >>



Applying CSS for gridview template column
Posted by Harsha at 4/17/2008 4:48:43 AM
I am trying to apply predefined css class for gridview, Like <asp:TemplateColumn HeaderText="Name"> <ItemTemplate> <asp:HyperLink ID="hlFN1" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.Name") %>' CssClass="GridviewHyperlink" Target="_parent" NavigateUrl='<%# DataBinder....more >>

Gridview pressing Edit do not show any editable editbox in grid, while delete works fine
Posted by qa4ever at 4/15/2008 4:38:34 PM
Hi Gridview gurus I got a Gridview that is populated from Datatable, held in a Session. Pressing delete successfully deletes the row. Problem is that pressing Edit, no expected editbox apear instead nothing happens except for my RowEditingBasket event handler is called and I can see th...more >>

DataGrid hidden custom value
Posted by Mike Gleason jr Couturier at 4/15/2008 9:37:10 AM
Hi, I want to store the ID of the database row to each of the datagrid row... (I don't want the ID to be visible.) In other words, on the Row Command event, I want to be able to retreive the database row id. I tried with a datagrid column (visible = false) but it doesn't work Any idea...more >>

FormView Page_PreRender problem
Posted by colin_nz via DotNetMonster.com at 4/15/2008 7:07:57 AM
Hi Very new to C# and ASP.Net In VS2008 (targeting ASP.Net 2.0), I have a SqlDataSource for a FormView which gets a parameter from a dropdown list control. The selected value in the dropdown list determines what record is shown in the formview and this works. I now want to hide/show th...more >>

UpdatePanel
Posted by Meels Lilbok at 4/14/2008 12:58:16 PM
Hi On my web page i have 2 UpdatePanels. On first UpdatePanel i have a label for time counter On second UpdatePanel i have asp:panel with id "panel1" and some checkboxes added dynamically on first page load. Now in timer_tick event i count seconds lets say from 10 to 0. When time is 0 ...more >>

Supress Page_Load in ascx?
Posted by Peter at 4/14/2008 5:58:18 AM
Hi I have an aspx with some user controls (ascx) on it. When the aspx is loaded, its Page_Load method is called, and subsequently the Page_Load methods of the ascx's are called. Is it possible in the Page_Load of the aspx to prevent the Page_Loads of the ascx's from being called? Tha...more >>

How to suppress all Response content from within a control?
Posted by Ahmet Gunes at 4/14/2008 2:28:41 AM
Hello, I am developing a custom control. From within this control, maybe during/before rendering, I want to totally clear the response content and only render this control's output. When I use Response.Clear() and/or Response.ClearContent() and/or delete controls from the Controls collectio...more >>

Setting Properties of controls contained in a WebUserControl
Posted by Lance Wynn at 4/12/2008 8:07:31 AM
Hello all, here is the situation. Say I have a simple WebUser Control that contains a panel (Panel1) (Aircode) <asp:Panel ID="Panel1" runat="server"></asp:Panel> (CodeBehind) Public Property Width() as string Get return mWidth End Get Set mWidth=value ...more >>

Beginner Question Asp.Net
Posted by Roger Stenson at 4/9/2008 1:20:05 AM
Hi all I would be grateful for some advice on setting the "body" properties of a MasterForm programatically in "VB" Roger Stenson ...more >>

system.web.extensions not appear in web.config
Posted by Raymond Chiu at 4/8/2008 11:53:26 AM
Dear All, In web.Config, if using system.web.extensions tag, is it not available in VS.Net 2005 and .Net framework 2.0? Do I need to upgrade to .Net Framework 3.5 and VS.Net 2008?? ...more >>

Visualization in ComponentArt GridView
Posted by Luigi at 4/8/2008 3:33:00 AM
Hi all, I have a GridView ComponentArt that must shows a paper clip when a record has an attachment (the query returns an Id if exists, and 0 if does not exists). My actual code is this one: <ComponentArt:GridServerTemplate ID="AttachmentTemplate" runat="server"> <template> <cc1:LinkBut...more >>

exposing properties in custom control
Posted by Harold Demure at 4/7/2008 5:44:48 PM
here's what i'm doing.. i created my own custom control (actually composite) by deriving from Control (or WebControl), setting up the Toolbox attribute info and rendering the proper html for my child controls in the Render event. all this works. i can not only add the control to the toolbox b...more >>

Filtering data in the ReportViewer using a drop down control
Posted by Paul S at 4/7/2008 4:11:00 AM
Hi I have a ASP.Net page with a ReportControl and a drop down control to filter the data shown in the report. However I cannot get any data displayed. To illustrate the problem I have made a small demo. It is based on the AdventureWorks database. The StateProvince table is displayed in ...more >>

FindControl in Datalist object
Posted by Anne Butera at 4/4/2008 4:35:01 PM
Hello, I am trying to set an image visible field to False if the dataset is null. With the code below, I am getting an error - "Object reference not set to an instance of an object." First - the code behind: Protected Sub Image1_DataBinding(ByVal sender As Object, ByVal e As System.Even...more >>

.NET Ajax Extensions + Login Control
Posted by Mike Gleason jr Couturier at 4/4/2008 10:56:24 AM
Hi, I put a Login control into an UpdatePanel to prevent the whole page refresh when logging in. (The login control appears in every page of the site in the corner). When the user doesn't provide valid credentials, only the UpdatePanel refreshes and the thing is working. But when the ...more >>

adding a handler to child component's event in design-time
Posted by Slavcho at 4/3/2008 9:47:36 PM
Hi all, I have this problem: A web control contains a child component exposed as a property, and the component declares a few events. The event list in the VS property grid correctly displays the child events under an expandable section. However, double-clicking an event of the child com...more >>

UploadFile filtered by files type
Posted by Luigi at 4/3/2008 6:11:02 AM
Hi all, is it possible to filter the files uploaded by UploadFile control by file type? For example, only .txt files or .doc files. Thanks in advance. -- Luigi ...more >>

Display Image on GridView Select
Posted by Richard T. Henry at 4/2/2008 6:06:12 PM
I have a GridView that I would like to have an image display in a column on the gridview when that row is selected. This would help the user know which row has been selected. Any suggestions? -- Richard T. Henry Lewisberry, PA ...more >>

DataList adding new Items VB
Posted by _nabuchodonozor at 4/2/2008 4:06:54 AM
Hi all, I've got datalist where I have some Items which I add from database. Is it possible to add two more items?? I want to add Image and label... How to do it?? Nabu...more >>

DropDownList in GridView column no declared in Button_Click
Posted by James at 4/1/2008 12:59:33 PM
I have a GridView where I have added a DropDownList control that is bound to a field in the GridView. I want to be able to set the dropdown for each row in the gridview then update the rows on the submit (button_click). I have the following code for the button_click. The problem I'm having...more >>


DevelopmentNow Blog