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:621363
More Search Options
RSS Available
Matching Posts
Re: listview and blank values
I actually found my answer here: http://www.velocityreviews.com/forums/t294994-null-values-in-itemupdating-event.html You have to set the "ConvertEmptyStringToNull" property of the listview to "false"; You'd think that would be a default setting. Oh well, thanks
Posted to
Data Presentation Controls
(Forum)
by
switter65
on 6/3/2009
Re: listview and blank values
I tested it and I am having the same trouble with any control left blank (that is permitted by my BO). Here is the markup: <asp:ListView ID="lvECODocuments" runat="server" DataSourceID="ObjectDataSourceECODocuments" ItemPlaceholderID="groupPlaceholder" DataKeyNames="rowid,eco_id" GroupPlaceholderID="itemPlaceholder" onitemdatabound="lvECODocuments_ItemDataBound" onitemupdating="lvECODocuments_ItemUpdating" onitemdeleting
Posted to
Data Presentation Controls
(Forum)
by
switter65
on 6/3/2009
listview and blank values
I have a listview and want to allow the user to leave a textbox blank when updating the record. However, I am getting the " Object reference not set to an instance of an object" error, and I know it is due to the blank value. Do I have to do something in the ItemUpdating event to tell the listview a null value is ok? I am using business objects and they handle the nulls ok, I just can't get past the listview update event. I don't seem to have the same problem with the formview control
Posted to
Data Presentation Controls
(Forum)
by
switter65
on 6/3/2009
Re: persist dilaog between postbacks
Thanks. I'll look into it.
Posted to
Web Forms
(Forum)
by
switter65
on 5/22/2009
persist dilaog between postbacks
I have a div element that contains a grid view. A user can select an item from the gridview and it will populate a textbox with the a value from the selected row. Currently, I am using a multiview to contain the div/gridview, then hiding/showing it by setting the activeviewindex. It acts as a sort of popup window, and it works. Now, I want to get rid of the multiview and use jquery to display the gridview as a modal dialog, but I cannot get the gridview to persist between postbacks (needed because
Posted to
Web Forms
(Forum)
by
switter65
on 5/21/2009
Re: dropdownlist populated with multiple columns
The asp.net dropdownlist doesn't support multple columns. It only has two properties: DataTextField and DataValueField. Here are some examples of creating your own: http://www.codeproject.com/KB/custom-controls/ComboAdjustDropDownWidth.aspx http://aspalliance.com/541
Posted to
Data Presentation Controls
(Forum)
by
switter65
on 5/20/2009
Re: formview ItemInserting issue
I tracked down the culprit. The following line in the ItemInserted event was causing the issue : this .fvDocumentReference.EnableViewState = false ; I forgot why I put this line in there, but removing it fixed the problem.
Posted to
Data Presentation Controls
(Forum)
by
switter65
on 5/20/2009
formview ItemInserting issue
I have a formview, hooked to an objectdatasource, I use for inserts that is only working every other time. The first time it works, the second it doesn't, third works, etc. The times it doesn't work it is posting back (checked), but the formviews ItemInserting event doesn't fire--whereas the DataBound and ItemCreated do (after the postback) . I can't seem to nail this one down. Any help is appreciated.
Posted to
Data Presentation Controls
(Forum)
by
switter65
on 5/20/2009
visual studio 2008 sp1 and IE8
Not sure if this is the proper forum, but when I start debugging in VS 8 using IE 8, the asp.net web server starts and IE8 opens, but the address bar is empty and the page never renders. I end up having to open a separate instance of IE8 and paste the localhost wbe address to test my apps. After I am done I have to kill the first IE window. Also, the debug appears to stop in VS, whereas the web server is still running. Firefox 3 works fine. I am using: Vista sp1 ultimate IE8 v 8.0.6001.18702 Microsoft
Posted to
Visual Studio 2008
(Forum)
by
switter65
on 5/9/2009
Re: web application project navigation
Thanks!
Posted to
Web Forms
(Forum)
by
switter65
on 2/19/2009
Page 1 of 6 (56 items) 1
2
3
4
5
Next >
...
Last »
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online