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:609504
More Search Options
RSS Available
Matching Posts
FormView:DataBound event run after Page:PreRender?!
A page contains a FormView, who's datasource is a SqlDataSource control, the datasource is set by FormView's DataSourceID property. With the VS debugger I cannot but see that when I grab the FormView's DataBound event, my masterpage's PreRender event code has already run which is very bad since it depends on data from that particular SqlDataSource. Is this a known bug or what should I look into specifically in my code? I could try do some more brainstorming if someone told me "who" exactly calls
Posted to
Data Presentation Controls
(Forum)
by
dabbi2005
on 12/11/2005
a global enumerator for webapp?
the subject says it all... I want to be able to access a custom enumerator from all pages, without having to instantiate some class that I would otherwise use to contain it?
Posted to
Getting Started
(Forum)
by
dabbi2005
on 12/11/2005
Using varible column or table name
have seen a few posts on settings like SELECT Title FROM @TableName WHERE ... or SELECT @ColumnName FROM Table WHERE ... and it seems the only thing to do is to use a dynamic stored procedure. Now, is that a *final* answer or is there some - faster (dynamic queries take time to compile) and cleaner - ways to do it? What about SQL Server 2005?
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
dabbi2005
on 12/9/2005
Control's (object's) default value??
How or where can I see an asp.net control's default value? Say, for example the Visible property for webcontrols? Would be preferable if I could quickly see it in Visual Web Developer but MSDN online documentation would also be nice. Also how can I do this in general for all .Net objects?
Posted to
Web Forms
(Forum)
by
dabbi2005
on 12/8/2005
Re: An event from GridView causing unexpected stack overflow??
this turns out be quite interesting... 1) the mistake is I'm setting changing button template not the button control itself... So doing ImageButton IB = (ImageButton) DCFCell.Controls[0]; and then IB.ImageUrl = ... stopped the stack overflow. Still I cannot understand why the event is being run twice one the page's first load, I'm 99% there's no double databinding doing this. Actually the gridview is automatically databound by setting DataSourceID="SqlDatasource1" property. This also happens although
Posted to
Data Presentation Controls
(Forum)
by
dabbi2005
on 12/6/2005
An event from GridView causing unexpected stack overflow??
having a GridView with SqlDataSource where one of the columns is an integer UserCount. The RowCreated is an event code for the GridView's OnRowDatabound. It causes a stack overflow and I cannot understand why?? protected void RowCreated(object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { DataRowView DRV = (DataRowView) e.Row.DataItem; int UserCount = Convert.ToInt32(DRV.Row["UserCount"]); DataControlFieldCell DCFCell = (DataControlFieldCell)e.Row.Cells[0];
Posted to
Data Presentation Controls
(Forum)
by
dabbi2005
on 12/6/2005
On what point exactly is user logged in to site?
I have my own Membership provider and need to ask a question about it. Since I set a Session["UserID"] variable each time an user is logged in, I add it to the overridden ValidateUser(...) method. However, I have former experience of User not actually being logged in to web site even though he has been validated - the Session cookie doesn't seem to be set until some later. So would I be wrong to assume the user is always logged in by setting the Session at that level?
Posted to
Security
(Forum)
by
dabbi2005
on 12/5/2005
Re: Bind to multiple tables from stored procedure
no fortunately not :(
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
dabbi2005
on 12/5/2005
Bind to multiple tables from stored procedure
I know a sql stored procedure can return >1 tables. How can I use .Net 2.0 to read these tables one at a time, for example the first one could iterate Forum entries and the second one all internal links used in these forums... The idea is to use fewer backtrips to the sql server?
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
dabbi2005
on 12/4/2005
JOIN with ORDER BY clause?
like so often my Forums database design (in its simplest form) is: Forums -ForumID -Title -Category ForumsMsgs -fmID -DateIn -AuthorID -Message I need to create a sql query which returns all forum titles along with some data for 1) the first message entry (date created and author) and 2) the last one. So how can I do a JOIN query which joins with a ORDER BY clause so that the top/bottom entry only is joined from the messages table?
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
dabbi2005
on 12/1/2005
Page 1 of 9 (81 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
TWC9: XAML tools, Silverlight for Live Writer, Surface SDK,
Channel 9:
C9 Conversations: Brian Beckman on Complexity [C9 Conversations: Brian Beckman on Complexity]
Channel 10:
Black Friday Deals on Windows 7 Machines
Channel 10:
Holiday Shopping on Bing Cashback = Big Online Savings
Channel 10:
Black Friday Deals at the Microsoft Store
Channel 10:
Incredible Black Friday Deal: Windows 7 Notebook for $197
ASP.NET:
Presenting in Europe Next Week
TechNet Edge:
AlignIT IT Manager Podcast #30 - Straight Talk about Windows 7
WindowsClient:
You know your post rate has gone down...
Silverlight:
Geek Profiles – Scott Guthrie
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 9 of 13
TechNet Edge:
Managing Your Virtual World - Tech Focus November 2009 Part 2
ASP.NET:
Silverlight and RIA Services: Implementing Search
Channel 9:
C9 Lectures: Brian Beckman - Covariance and Contravariance in Physics 1 of 1
Channel 9:
Set Your Data Free
Channel 9:
Implementing a Silverlight SharePoint WebPart with Visual Studio 2010
WindowsClient:
New WPF Showcase Addition: Enterprise
Channel 9:
Reactive Extensions API in depth: Contract
WindowsClient:
Concluding "New WPF Features" Series
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online