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:818967
More Search Options
RSS Available
Matching Posts
Re: How do you display errors/messages in a grid view?
That's pretty much what I managed to get to; in fact, I used this; which is slightly more durable. 1 Control c = (Control)sender; 2 Control m = c.FindControl( "MyMessageLabel" ); 3 while (c.Parent != null && m == null ) 4 { 5 c = c.Parent; 6 m = c.FindControl( "MyMessageLabel" ); 7 } 8 ((Label)m).Text = "Well done, change effected." ; 9 ((Label)m).Visible = true ; Of course, it should have another null check before line 8, but that's okay, I can live
Posted to
Data Presentation Controls
(Forum)
by
alexanderhowell
on 8/28/2008
Update panel from custom control
Web web app looks similar to a file explorer - on the left is a tree heriarchy and on the right is a content pane. At the moment I have it framed, with the tree on the left, and the content on the right. However I want to be able to produce the same effect with update panels. The trouble is, I don't know how to trigger the panel to update from the custom control on the left (and pass a parameter to it, so that it updates with the right content). My custom control is basically a jQuery file tree
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
alexanderhowell
on 8/27/2008
Filed under: Trigger, updatete panel, Custom Control
Re: How do you display errors/messages in a grid view?
[quote user="alexanderhowell"] I am using a separate class to implement this functionality, so the page's members aren't in scope from the event handler. [/quote]
Posted to
Data Presentation Controls
(Forum)
by
alexanderhowell
on 8/26/2008
Re: How do you display errors/messages in a grid view?
[quote user="ecbruck"] That's really up to you, but most often the error message is set to the Text property of a given Label outside of the GridView. Some will use multiple Labels with predefined messages and simply turn them off and on as needed. I myself use a custom ValidationSummary that can be written to so that all of my errors can be summarized. [/quote] I guess the question after this is; "how do I access those labels?" From the updating event I can access the gridview
Posted to
Data Presentation Controls
(Forum)
by
alexanderhowell
on 8/26/2008
How do you display errors/messages in a grid view?
I have an editable grid view and I am using handlers to verify inputs. What is the best way of passing errors, warnings and messages back to the user of the grid view?
Posted to
Data Presentation Controls
(Forum)
by
alexanderhowell
on 8/26/2008
Filed under: errors, GridView, Warning, messages
GridView update fails silently if (optional) fields are left blank
I am using a gridview with a SqlDataSource object to view and edit records. Unfortunately I have the following symptoms: If all the columns have data in the update commits fine, if however, any one of the columns is empty, the update fails. I am using a stored procedure for updates which specifies default values (therefore values should not be compulsory) The update "appears" to have worked- as in my grid view returns to the view mode, and no exceptions are thrown. The SqlDataSourceStatusEventArgs
Posted to
Data Presentation Controls
(Forum)
by
alexanderhowell
on 8/11/2008
Filed under: SILENTLY, UPDATE, EXCEPTION, FAIL, GridView, EMPTY, SQlLDATASOURceCE
Page 1 of 1 (6 items)
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Channel 9:
TWC9: 2009 - The Year in Review
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online