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:870744
More Search Options
RSS Available
Matching Posts
Re: In RowUpdating event handler, UserControl's GridView not in edit mode
This smells like a ViewState problem. How do you add your UserControl to your Page?
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Re: Adding row dynamically in a grid view whic has Cascase dropdown list
How do you bind the DropDownList? For a DropDownList inside the Row of a GridView, the RowCreated handler is the one to use.
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Re: how to retrieve deleted values
You got me curious. What are you trying to do? Delete/Insert instead of Update, without the user doing anything?
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Re: additional row under each records in a gridview
Howabout this? <asp:TemplateField> <ItemTemplate> </td></tr><tr><td colspan="<%-- the number of columns you want to span goes here --%>"> <%-- The Description stuff goes here --%> </ItemTemplate> </asp:TemplateField>
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Re: DetailsView in Databound Event
You are right that Rows is a collection you can loop through. It looks like you are mixing up VB.Net and C#. Although they are pretty close together, they're not this close. My VB.NET isn't too good. But I think in VB.Net it should look more like If myDetailsView.Rows.Count > 0 Then For Each row As DetailsViewRow In myDetailsView.Rows row.Cells(0).Text = "Field Names" row.Cells(1).Text = "Field Values" Next End If Or in C# if (myDetailsView.Rows.Count > 0) { foreach
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Re: How to decide whether to use Gridview or DataList to display a menu for online ordering
Ah, a different type of menu than I thought. The yummy type. Using a DropDownList to select category should work fine with either DataList or GridView. The link with the DropDownList will be in the DataSource. And DataSources have the nice ability to work with both. As I said, it is a matter of taste. GridView is easy to use, but a bit rigid when it comes to layout. DataList has freedom to make layout, but requires you to do it, even when you only want something simple. How your ratio of work vs
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Re: Best way to display items on itemdatabound
It depends on how CheckByUserID does the check. If it hits the DataBase on each check, then it can be costly. However, how to make it better depends on the exact solution. For instance, if you are using Sql, then you could make a join in the select that the Repeater binds to, and get the data for the current user in the same query. That would be much more efficient.
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Re: update a gridview
There is one nasty thing to know about GridView (and DetailsView) Updating without a DataSource Control is not easy, due to some functionality simply not working when DataSourceID is not filled out. My advice is to look at ObjectDataSource. This is a proper Control for GridView to work with, that allows you to write code to do the data operations. In the perfect situation you will not have to write event handlers anymore, because GridView automatically calls the right code at the right time. I hope
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Re: send data from gridview textboxes to database
Loop through the Rows collection. On each row use FindControl to find the Controlw in the ItemTemplates. Do with the data you get from them what needs doing.
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Re: Update command's strange problem
Not sure it is the problem. But I think you should bind the Text of the TextBox just like the ItemTemplate. Instead of Eval you may want to use Bind. And you won't need to do DataBinder.Eval. Just Eval("FistName")/Bind("FirstName") as the DataBinding expression should do.
Posted to
Data Presentation Controls
(Forum)
by
superguppie
on 9/28/2009
Page 1 of 124 (1233 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