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:611033
More Search Options
RSS Available
Matching Posts
Re: Dynamic textboxs do not save their value on postback.. why?
on postback the code in page_load runs again - resetting any values you've entered into the textboxes. you can check for postback using IsPostBack: if (!IsPostBack) { int [] MyArray; MyArray = new int [2]; Repeater1.DataSource = MyArray; Repeater1.DataBind(); }
Posted to
Web Forms
(Forum)
by
DiscernIT
on 9/26/2008
Re: Quick Check Box Question
You could just do away with the checkbox altogether if you don't need it for editing the data. Sometimes I use 2 images for this and control the visibility - one image for checked one image for unchecked. If you're databinding you can use the boolean you're driving the checkbox to show hide the appropriate control. something like: <asp:image ... visible='<%# Eval("MyBool").ToString() == "True" %>' .... (assuming c#) Alternatively you can think about
Posted to
Getting Started
(Forum)
by
DiscernIT
on 9/26/2008
Re: DetailsView Programmatically
get hold of your list data into a datatable, dataset, list, collection etc.. this is an example of how you bind data to a control programmatically: dropdownlist1.DataSource = myDataTable dropdownlist1.DataBind()
Posted to
Data Presentation Controls
(Forum)
by
DiscernIT
on 5/2/2008
Re: Gridview Control
you can set an autopostback on the checkboxes themselves and handle their check changed events. you can get a reference to the checkbox container to figure out which row of the grid you're on. Alternatively you can bind some data (eg row id) to an attribute of the checkbox (eg commandArgument) and get hold of that.
Posted to
Data Presentation Controls
(Forum)
by
DiscernIT
on 5/1/2008
Re: which exams?
thanks, that's the one I was looking at. just wondering if there are any alternative options people are aware of.
Posted to
Free For All
(Forum)
by
DiscernIT
on 4/30/2008
Re: Display image in ItemView based on database content
great! sorry about the typo! pls mark as answer cheers
Posted to
Data Presentation Controls
(Forum)
by
DiscernIT
on 4/30/2008
Re: microsoft.sharepoint namespace not available
have you added a reference to the dll in your project? (right click the project in solution explorer, Add reference, browse for the dll)
Posted to
Free For All
(Forum)
by
DiscernIT
on 4/30/2008
Re: InstructionText property cannot be changed in Login controls if they are converted to templates
as you've found some of the properties of the login control will not be available if you use templates. But you've got much more flexibility to put your own controls in and do what you like with them. You don't really lose much by not being able to use the in-built properties of the login control.
Posted to
Security
(Forum)
by
DiscernIT
on 4/30/2008
Re: Gridview problem!
one of the indexes (passed in square brackets [ ] ) is out of range.. ogrid.Rows[idx] - does idx reference a row index? idx is worked out from the commandArgument - is that returning the right value? row.Cells[0] - is there a cell at index 0? row.Cells[0].Controls[0] - is there a control in the cell? hope that helps
Posted to
Custom Server Controls
(Forum)
by
DiscernIT
on 4/30/2008
Re: Import a .cs file (a class with some subs) into asp.net
by convert I was meaning do it manually (for trivial classes) but the converters can give you a head start.. Create a class library project, include your .cs file. Build it - you'll find the dll in the bin/debug or bin/release (depending which build you do) It will be helpful if you put your class in a meaningful namespace - that's how you'll reference it in your web app. In your webapp (in webdeveloper express) You can then 'add reference' to the assembly (dll), (click on browse
Posted to
Getting Started
(Forum)
by
DiscernIT
on 4/30/2008
Page 1 of 25 (244 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online