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:815968
More Search Options
RSS Available
Matching Posts
Re: C#/GridView - How do I do this?
Thank you! This solved my problem and I have learned a lot!
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 9/1/2008
Re: C#/GridView - How do I do this?
I'm sorry, but it doesen't do the trick.
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 8/25/2008
Re: C#/GridView - How do I do this?
I need to this in the code behind file. I have tried this: protected void gvResultat_IPO_RowDataBound( object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType.DataRow) { try { brutit = Convert.ToBoolean(((Label)e.Row.FindControl( "lblBrutit" )).Text); if (brutit == false ) { ((Label)e.Row.FindControl( "lblPlacering" )).Text = "" ; } else { ((Label)e.Row.FindControl( "lblPlacering" )).Text = "<%# Bind('Placering'
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 8/24/2008
C#/GridView - How do I do this?
< asp : TemplateField HeaderText ="Pl." SortExpression ="Placering"> < EditItemTemplate > < asp : TextBox ID ="txtPlacering" runat ="server" Text =' <%# (bool) Eval("Brutit") ? "" : '<%# Bind("Placering") %> ' % > '> </ asp : TextBox > </ EditItemTemplate > < ItemTemplate > < asp : Label ID ="lblPlacering" runat ="server" Text =' <%# Bind
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 8/24/2008
Re: Highlight GridView rows when condition is true
THANK YOU! I had missed the OnRowDataBound ="GridView1_RowDataBound and now it works!
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 8/21/2008
Re: Highlight GridView rows when condition is true
I can’t get it to work. This is my code: protected void GridView1 _RowDataBound( object sender, GridViewRowEventArgs e) { // get update time in the format ”2008-08-21 13:47:08 ” from database Resultat_Sida hamta = new Resultat_Sida (); Resultat_Sida sida = hamta.GetResultatSida(GetCurrentPageName()); DateTime sidanvisades = new DateTime (); sidanvisades = DateTime .Parse(sida.Uppdaterat); DateTime uppdaterat = new DateTime (); if (e.Row.RowType == DataControlRowType .DataRow) { try { uppdaterat
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 8/21/2008
Re: Highlight GridView rows when condition is true
This looks just like the solution I would like to have, but in C#. The other suggestion here needs me to do some work (no, I’m not lazy, but I’m in a hurry and really don’t know how right now when I’m a little bit stressed out). So, if someone has a really easy solution in C#, please post it here or post a link to the page with a solution.
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 8/21/2008
Re: C#/GridView
Sorry, but I found the problem. It was my settings in IE.
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 8/20/2008
C#/GridView
When I have updated the data in my GridView and I reload my page, I get this annoying message box from Internet Explorer. Can I do something in my cod to prevent this to happen?
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 8/20/2008
Highlight GridView rows when condition is true
I have a problem that I have to solve as soon as possible. I have a database table with some scores and I have a filed called “updated” (I want to know when this row was updated last time). I am using a GridView control to show these values. Now to my real problem; I have several different pages that have to cooperate. I want to redirect to the next page after x seconds (I think that I have that part figured out, but if you have a suggestion I would be really grateful to look at an example). The
Posted to
Data Presentation Controls
(Forum)
by
Zimbran
on 8/19/2008
Page 1 of 4 (39 items) 1
2
3
4
Next >
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
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online