Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:655078
More Search Options
RSS Available
Matching Posts
Re: Disable an item in an RadioButtonList ?
Hmm. ListItem definetly contains the Enabled property. Perhaps you could provide your code here and we can have a look. James Steele
Posted to
Web Forms
(Forum)
by
James Steele
on 5/26/2006
Re: Web.config file
Using the roleManager section indicates that you are trying to use Role Management with your application. In order to do this you need to indicate a Provider to use. You can use the default provider if you like but it will require a database (like SQL Server or SQL Server Express or Access). Make sure that you have setup your application as a IIS virtual directory as well. < roleManager defaultProvider= "SqlProvider" enabled= "true" cacheRolesInCookie= "true" cookieName= ".ASPROLES" cookieTimeout
Posted to
Configuration and Deployment
(Forum)
by
James Steele
on 5/25/2006
Re: Disable an item in an RadioButtonList ?
Here is an example that works. RadioButtonList rbl = new RadioButtonList(); rbl.Items.Add( new ListItem( "a" )); rbl.Items.Add( new ListItem( "b" )); rbl.Items.Add( new ListItem( "c" )); this .PlaceHolder1.Controls.Add(rbl); rbl.Items[1].Enabled = false ; // will disable second radio button James Steele
Posted to
Web Forms
(Forum)
by
James Steele
on 5/25/2006
Re: Adding a file upload control into a datagrid footer
You can use a HTML control in the FooterTemplate < input id ="File1" type ="file" />
Posted to
Data Presentation Controls
(Forum)
by
James Steele
on 5/25/2006
Re: create textbox from instantiation of class on .aspx page
I had to make a couple of changed. For one I had to make the CreateTextBox method return a textbox type. Then you have to dynamically add the textbox instance to the Controls collections of the PlaceHolder. Here is the code: using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; public partial class _Default : System.Web
Posted to
Web Forms
(Forum)
by
James Steele
on 5/25/2006
Re: Adding a file upload control into a datagrid footer
Could you not just add it to the FooterTemplate? < asp:datagrid ID= "datagrid" runat= "server" CellPadding= "4" ForeColor= "#333333" GridLines= "None" ShowFooter=true> < Columns > < asp:TemplateColumn > < FooterTemplate > < asp:FileUpload ID= "FileUpload1" runat= "server" /> </ FooterTemplate > </ asp:TemplateColumn > </ Columns > </ asp:datagrid > James Steele
Posted to
Data Presentation Controls
(Forum)
by
James Steele
on 5/25/2006
Re: How to delete records in a dataset
A dataset does not actually contain records, it contains tables that contain rows. Assuming you meant delete rows from a datatable inside of a dataset then you could do something like this: Dim ds As New Data.DataSet Dim removeRows() As Data.DataRow = ds.Tables(0). Select ( "my conditional expression" ) For Each row As Data.DataRow In removeRows row.Delete() Next James Steele
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
James Steele
on 5/25/2006
Re: How do I change the default tab order when opening project files in VS2005?
Hi Mike, This is not a customizable option in Visual Studio.NET 2005. I have not written any add-ins for this environment but you may be able to create an add-in to help you out. You may also want to look into creating a Macro? Not sure if that can be done though. The only thing I can think of is to open an additional tab group and size it to that it is very small. Then before you open a new file you could make sure to click on this tab group before you open the file. Then the project file would
Posted to
Visual Studio 2005
(Forum)
by
James Steele
on 5/25/2006
Re: How to create an array of labels dynamically?
Here is an example of creating labels dynamically inside of a panel. If you need to get more accurate with the layout then you can dynamically add the labels to columns in a datatable and then set the width attribute of each column to percentages. Partial Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load Dim counter As Integer = 10 For i As Integer = 1 To counter If i = (counter / 2) + 1 Then Dim literal As New
Posted to
Web Forms
(Forum)
by
James Steele
on 5/25/2006
Re: Web.config file
Jim, You need to be more specific about the errors you are getting. It could be any number of things. Please indicate the details of your errors. Thanks James Steele
Posted to
Configuration and Deployment
(Forum)
by
James Steele
on 5/24/2006
Page 1 of 17 (170 items) 1
2
3
4
5
Next >
...
Last »
Channel 10:
iBing uBing: Bing iPhone App Arrives
WindowsClient:
Migrating an Outlook Client to .NET Framework 4 in Visual Studio 2010
Channel 10:
A Look Behind Mouse 2.0
WindowsClient:
Using Speech Synthesis in .NET 4 and Windows 7
Channel 10:
Office 2010 "5 Rules" Presentation
Channel 10:
30% off Expression Web 3 until Dec 28th
ASP.NET:
Live Preview jQuery Plugin
WindowsClient:
Remember JScript closures capture all variables in scope
TechNet Edge:
UAG reaches RTM
Channel 9:
Who, What, When, Where, Why and How of MIX10
Channel 10:
Berlin Wall in Silverlight
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 2, Installation
Silverlight:
Contributing to the SL HVP
Silverlight:
Best SF Books of All Time
Channel 9:
Reactive Extensions API in depth: Repeat
Channel 9:
Jeffrey Van Gogh: Testing Rx with Pex
Channel 9:
The Visual Studio Documentary: Dan Fernandez Full Length Interview
ASP.NET:
Search Engine Optimization (SEO) Toolkit
Channel 10:
This Is Your Data on Silverlight
ASP.NET:
How the IIS SEO Toolkit Saved My Butt
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online