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 > october 2006 > threads for october 22 - 28, 2006

Filter by week: 1 2 3 4 5

Visual Development of Web Controls for SharePoint
Posted by Mike at 10/27/2006 7:47:01 AM
we are beginning to work with sharepoint. I have a book that documents how to code server controls. I see in visual studio 2005 that there are componets to create web parts. Can I use these componets to develop web parts for share point 2.0 and if so how do I get them, with the code behind,...more >>

extending web controls
Posted by JJ at 10/26/2006 5:21:30 PM
I am trying to create custom controls that extend some of the functionality of web controls (and sets default values if that control is used). For example, if i were to use the textbox control, it should always use certain font, size etc. I know I can do this by creating web control library ...more >>

Can a repeater's ItemTemplate instantiate derived classes?
Posted by Big Daddy at 10/26/2006 11:25:07 AM
I would like to have a repeater class like this: <asp:Repeater ID="CriteriaRepeater" runat="server" > <ItemTemplate> <uc1:BaseControl ID="BaseControl1" BindData='<%# Container.DataItem %>' runat="server" /> </ItemTemplate> </asp:Repeater> The thing...more >>

only for expert: what's wrong with this code?
Posted by Cas at 10/25/2006 9:14:26 PM
Hi, I want to use a detailsview only for inserting data into a database (for a survey). In order to check the inputted data, i need Templatefield. So I defined a detailsview and a SqlDataSource in the aspx file. The creation of the templatefields are done programmatically, because the numbe...more >>

Enabling Windows Authentication from inside Forms Authentication (ASP.NET 2.0)
Posted by Michael D. Ober at 10/25/2006 2:52:40 PM
I need the ability to bypass the forms authentication login page when the user requesting the protected page is running on our corporate network and is also logged into the corporate domain. How do I do this? Thanks, Mike Ober. ...more >>

possible calendar bug
Posted by Abraham Andres Luna at 10/25/2006 1:00:31 PM
hello everyone, i'm having a hard time setting the selected date in a custom control. below is the custom control code: using System; using System.Web.UI; using System.Web.UI.WebControls; namespace IS.WebControls { public class ISBaseCalendar : Control { Calendar cCalendar; protected...more >>

ButtonField and Eval
Posted by David Thielen at 10/25/2006 9:51:01 AM
Hi; In ButtonField for the text I want to do: Text='<%# Eval("Title", Resources.Windward.ReportList_Confirm) %>' Where the resource has a {0} in it for the Title property. This doesn't work - says I need a DataBinding event. Is there a way to do this? And why do none of the DataControlF...more >>

asp.net 2.0 gridview controls - bound or unbound?
Posted by pol_c NO[at]SPAM btinternet.com at 10/25/2006 3:52:17 AM
I am fairly new to asp's and .Net and I would like to use a session variable when defining the Select Command for a gridview but it doesnt seem to like it (see code sample below). Does anyone have any suggestions? <asp:SqlDataSource ID="SqlDataSource1" runat="server" ...more >>



Javascript and asp.net - TextBox backcolor not changing...
Posted by avanti at 10/24/2006 1:52:30 PM
i have a following javascript function that gets called on a checkbox click. The backcolor is not getting changed for the textbox. I am seeing an error on page as well. I am using IE and C# with the asp code. function enableExterNameTextBox(obj) { var textbox = ""; textbox = documen...more >>

GridView - ObjectDataSource - Dynamic Columns
Posted by Philip at 10/24/2006 9:21:02 AM
I can use a GridView and ObjectDataSource to bind my data using "Eval" expressions ... provided the GridView and related Column TemplateFields are defined as inline HTML. I prefer to programmatically create the GridView Column/ TemplateField definitions at runtime.... because I do not know ...more >>

javascript and navigateurl
Posted by acadam at 10/24/2006 3:55:29 AM
Hi, I have an userControl .ascx with a gridView control. One of the columns is a TemplateField with an HyperLink control. On the Row_DataBound event, I am checking that one of the other columns contains a value, then I would open a pop-up window. I am showing the HyperLink control only sometime...more >>

a bug in BaseValidator.RegisterValidatorCommonScript() implementat
Posted by Dusan Hlavaty at 10/24/2006 3:03:02 AM
I think, I found a bug in 'BaseValidator.RegisterValidatorCommonScript()' method implementation. I looked at the source code through 'Reflector'. There is a 'IsClientScriptBlockRegistered(...)' method call, but I really think that there may be 'IsStartupScriptRegistered(...)'. This bug d...more >>

way to make 2 GridViews line up
Posted by David Thielen at 10/23/2006 1:05:02 PM
Hi all; I have a couple of pages where I have a GridView, some text, then a secong GridView. Both GridViews display the same type of data (different selects) and I would like their columns to line up. Is there any way to do this other than forcing the width on each? -- thanks - dave d...more >>

WebParts & Highend Portals
Posted by Victor Daicich at 10/23/2006 10:54:08 AM
Hi guys, just a simple question. I've been working with the webpart framework, and i know it can work for anonymous users. So the question is, would you recommend in terms of performance and scalability for the development of a 10.000/15.000 visitors per day site. It's a public portal. W...more >>

Gridview sorting event - Gridview Datasource always Null .. why???
Posted by jobs at 10/23/2006 9:19:33 AM
The Grid displays with multiple rows. I select a column to sort of a particular field and the below event is fired, but DataTable is Null so code is skipped. The GridView: <asp:GridView ID="ChargeGridView" runat="server" AutoGenerateColumns="False" DataKeyNames="RouteCode...more >>

Determine if a Gridview column is readonly programatically
Posted by Angel at 10/23/2006 9:15:02 AM
How can I determine that a column on my gridview is set to readonly in my codebehind? In other words I like to find out if a column in my grid is not editable.... thanks...more >>

Empty results hide GridView headers
Posted by jean-pierre.riehl NO[at]SPAM bewise.fr at 10/23/2006 12:38:38 AM
Hi, With ASP.NET 2.0 (I don't remember about a such problem in 1.1), GridView control has a strange rendering rule. When dataview is empty (no data or data fitered), GridView control ONLY renders <EmptyDataTemplate> (or EmptyDataText property). It is impossible to render columns headers (and...more >>

CustomValidator inside Repeater is ignored
Posted by David Thielen at 10/22/2006 10:46:02 PM
Hi; The OnServerValidate is called in my CustomValidator which is repeated once each row in a Repeater - but it still lets me click next to go to the next page. Is there something else I need to do? -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle...more >>

3 step wizard - ignore last step
Posted by David Thielen at 10/22/2006 9:22:02 PM
Hi; I have a 3 step wizard. In some cases when they go from [0] to [1] I know that I do not want to show page [2] but instead want [1] to be the last page with the finish button. What is the best way to implement this? -- thanks - dave david_at_windward_dot_net http://www.windwardre...more >>

asp:Repeater and asp:Table
Posted by David Thielen at 10/22/2006 2:56:01 PM
Hi; Is there a way to build a table using asp:Repeater where the asp:Table is started in the header and ended in the footer? Everything I have tried does not work. -- thanks - dave david_at_windward_dot_net http://www.windwardreports.com Cubicle Wars - http://www.windwardreports.com...more >>


DevelopmentNow Blog