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:696303
More Search Options
RSS Available
Matching Posts
Nested data controls
I have a Dropdownlist inside a gridview. This gridview is inside a datalist. How do i find dropdownlist using code? C#. Please help.
Posted to
Data Presentation Controls
(Forum)
by
sisieko
on 7/2/2009
Re: Nested data controls
Thanks guys, i have narrowed down my problem: code below When there's no data it doesn't work. See my if statement ("nodatainsert") is in the emptyitemtemplate. This gridview is inside a datalist. And i am trying to reference controls in it...but i keep getting object reference when the gridview is empty . What am i doing wrong please? protected void SRAttyGridView_RowCommand(object sender, GridViewCommandEventArgs e) { FormView SRAttyFormView = ((FormView)StatusReportDataList.Controls
Posted to
Data Presentation Controls
(Forum)
by
sisieko
on 7/2/2009
Re: Nested data controls
THE PROBLEM IS: I can't reference any controls when the "gridview" (i.e. the gridview nested in the datalist) is EMPTY. But when there are existing records, it works fine (in this case below: the "Textalabel displays "Works!!!"). When it's empty, i get object refence on the . I tried this and i got null reference: protected void SRAttyGridView_RowCommand(object sender, GridViewCommandEventArgs e) { Label TestLabel = ((Label)StatusReportDataList.Items[0].FindControl
Posted to
Data Presentation Controls
(Forum)
by
sisieko
on 7/2/2009
Re: How to add hide two roles from String Array .GetallRoles()
I found this post very helpful. Thank you
Posted to
Visual Basic .NET
(Forum)
by
sisieko
on 6/18/2009
Re: How to set parameter on FormView.InsertItem
Superguppie you are awesome! Works like magic. Thank you sir
Posted to
Data Presentation Controls
(Forum)
by
sisieko
on 6/7/2009
Re: How to set parameter on FormView.InsertItem
Hi thanks superguppie, but you haven't answered my question. I want to know how to include the insert parameter of "finalsubmit=1" in the code i have provided in my previous post. Using the datasource is not an option this time because this is the only time i set this parameter to 1 when a final submit button is clicked (so i can't make it a default value).
Posted to
Data Presentation Controls
(Forum)
by
sisieko
on 6/5/2009
How to set parameter on FormView.InsertItem
How do i set a parameter when i do this automatic insert from my formview? I'd like to set a parameter of @FinalSubmit = 1. Please help. if (WSRProfileFormView.CurrentMode == FormViewMode.Edit) { WSRProfileFormView.UpdateItem( true ); } else if (WSRProfileFormView.CurrentMode == FormViewMode.Insert) { WSRProfileFormView.InsertItem( true ); }
Posted to
Data Presentation Controls
(Forum)
by
sisieko
on 6/4/2009
Re: How to store a function globally and then call the function?
I am having this problem. Only mine is in c#. I get an error: 'AppFunctions' does not contain a definition for 'FixCrLF' public class AppFunctions { public static string FixCrLf( string value ) { if ( string .IsNullOrEmpty( value )) { //Return("") return string .Empty; } else { return value .Replace(Environment.NewLine, "<br />" ); } } } And then on the codebehind of the page i did: AppFunctions AppFunctions = new AppFunctions (); And within the page
Posted to
Data Presentation Controls
(Forum)
by
sisieko
on 6/4/2009
Re: How to store a function globally and then call the function?
double post. sorry
Posted to
Data Presentation Controls
(Forum)
by
sisieko
on 6/4/2009
Re: Object Oriented Database Application?
Thanks Zald, I thought that tutorial is for "enforcing business rules" e.g. for authorization, validation. It doesn't mention or implement OOP in the database interaction (perhaps i am wrong). Im looking for something that explains and shows how to implement object oriented programming in my database interactions within an app e.g. select, update, insert...db access etc. etc. for reusuablity and effectiveness.
Posted to
Getting Started
(Forum)
by
sisieko
on 5/16/2009
Page 1 of 17 (165 items) 1
2
3
4
5
Next >
...
Last ยป
WindowsClient:
Microsoft Web Platform & You
WindowsClient:
New Book: Developing for Microsoft Surface
Channel 9:
BugCamSmash in Action!
Channel 9:
Virtual Earth Videomap Movies
TechNet Edge:
AD RMS Certificates and Licensing on the Client and the Server
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13 [C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 10 of 13]
Channel 10:
Bing Launches 2nd Homepage Photo Contest
Channel 10:
Bing4Free Lets You Use Bing.com Images for Desktop Wallpaper
Channel 10:
Bing Updates: Streetside Views, Photosynth, and "Mapplications"
Channel 10:
Bing for Windows Mobile Updated
WindowsClient:
New WPF Showcase: Bling Tweets
WindowsClient:
Tale of two tweets - VS beta - is it busy 70% of the time or is it brilliantly fast?
TechNet Edge:
Forefront TMG URL Filtering and MRS
Mix Online:
Using the HTML5 Video and Audio Tag with Gestalt
WindowsClient:
Subclassing Shape (or more accurately, Path)
WindowsClient:
Having trouble deleting files? Try this
Channel 9:
Nick Baker: Xbox Architecture
TechNet Edge:
Thrive Live! Behavioral Interviewing: A behavioral answer is always the correct answer
ASP.NET:
PDC and Tech-Ed Europe Slides and Code
WindowsClient:
JScript location bar silliness
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online