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:645920
More Search Options
RSS Available
Matching Posts
Re: How do I use an array with a gridview with hyperlinks?
this worked....thank you.
Posted to
Data Presentation Controls
(Forum)
by
just_for_forums
on 11/18/2008
Re: How do I use an array with a gridview with hyperlinks?
Here is the grid: < asp : GridView ID ="GridView1" runat ="server" AutoGenerateColumns ="false" onrowdatabound ="GridView1_RowDataBound" onprerender ="GridView1_PreRender"> < Columns > < asp : TemplateField HeaderText ="myHeader"> < ItemTemplate > < asp : HyperLink ID ="lnkMyLink" runat ="server" > </ asp : HyperLink > </ ItemTemplate > </ asp : TemplateField > </ Columns
Posted to
Data Presentation Controls
(Forum)
by
just_for_forums
on 11/12/2008
Re: How do I use an array with a gridview with hyperlinks?
[quote user="bullpit"] I do it in PreRender event. protected void GridView1_PreRender( object sender, EventArgs e) { foreach (GridViewRow row in gridViewMaster.Rows) { if (row.RowType == DataControlRowType.DataRow) { HyperLink hl = (HyperLink)row.Cells[1].Controls[0]; hl.NavigateUrl = @ "Details.aspx?id=" + row.Cells[1].Text ; } } } [/quote] I used: foreach ( GridViewRow row in GridView1.Rows) { if (row.RowType == DataControlRowType .DataRow) { HyperLink hypFileLink = ( HyperLink
Posted to
Data Presentation Controls
(Forum)
by
just_for_forums
on 11/12/2008
Re: How do I use an array with a gridview with hyperlinks?
But how do I reference a data item either in the designer or in code? I only have an array that binds to the gridview. I have no idea how to control what I output.
Posted to
Data Presentation Controls
(Forum)
by
just_for_forums
on 11/11/2008
Is it possible to create web parts for Sharepoint 2003 wth Visual Studio Express 2008?
Is it possible to create web parts for Sharepoint 2003 wth Visual Studio Express 2008? If so does anyone have a link? I couldn't find one in searching. Thank you.
Posted to
Visual Web Developer 2008 Express
(Forum)
by
just_for_forums
on 11/11/2008
Filed under: visual studio 2008 express sharepoint
How do I use an array with a gridview with hyperlinks?
Hi, I have this and it works (I get output in my gridview): string[] filePaths = Directory.GetFiles(@"C:\mydirectory\", "*.pdf", SearchOption.AllDirectories); GridView1.DataSource = filePaths; GridView1.DataBind(); but I don't know how to turn these into links in my gridview. I tried a TemplateField and RowDataBound but have no idea what to put there. If it were a database I would just use the NavigateUrl='<%# Eval("mycolumn") %>' in the GridView, but
Posted to
Data Presentation Controls
(Forum)
by
just_for_forums
on 11/11/2008
Filed under: gridview array hyperlink
Is it easier to add AJAX or CSS Adapters?
I have a new web application. C#. .net 2.0. I can of course create it blank, but I want to use the VS template for either AJAX or the CSS Adapters. I want to use both, but am not sure how to add them later. Which would you suggest I start the application as AJAX or CSS Adapter? Which is easier to go back and add? Thank you.
Posted to
ASP.NET AJAX Discussion and Suggestions
(Forum)
by
just_for_forums
on 2/12/2007
Re: Is anyone using .NET 3.0?
briancprice: Windows Workflow Foundation and Windows Communication Foundation are applicable to ASP.Net. That's what I found, but couldn't find anything but betas of workflow, didn't checkon wcf. I also thought 3.0 had something to do with xaml and the "flash killer." I know this may be beyond the scope of this forum, but I thought asp.net 2.0 folks (like me) might be missing out.
Posted to
Getting Started
(Forum)
by
just_for_forums
on 1/19/2007
Filed under: .net 3.0
Is anyone using .NET 3.0?
Is the .NET 3.0 for download on MSDN production or beta? It looked like production. Why isn't everyone using it? Are the components that go along with it in beta? I ask because I didn't know whether to install it or start using it. Thanks.
Posted to
Getting Started
(Forum)
by
just_for_forums
on 1/17/2007
Filed under: .net 3.0
Re: How do I get the scope_identity value from the tableadapter?
What if I want just the scalar value from the Insert?
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
just_for_forums
on 10/23/2006
Page 1 of 8 (80 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Introduction to TestApi – Part 5: Managed Code Fault Injection APIs
ASP.NET:
T4MVC now has a real home and a dedicated forum!
TechNet Edge:
Windows Server 2008 R2 : New Power Management Features
ASP.NET:
Web Deployment Painkillers: VS 2010 & MS Deploy
WindowsClient:
Application Accessibility Testing
WindowsClient:
Prism & WCF RIA Services
Channel 9:
Sharepoint 2010 and Claims-Based Identity
WindowsClient:
IRhetoric Ported To BlogEngine.NET
WindowsClient:
PDC Recap and More
Channel 9:
Reactive Extensions API in depth: Primitives
WindowsClient:
New WPF Features: MultiTouch
WindowsClient:
codeplex.com/testapi v 0.4 available
Channel 9:
The Visual Studio Documentary - Alan Cooper, the Father of Visual Basic
Channel 9:
Hanselminutes on 9 - Guided Tour inside the Windows Azure Cloud with Patrick Yantz
ASP.NET:
ASP.NET 4.0 ScriptManager Improvements
WindowsClient:
XAML Toolkit CTP = FxCopXaml + XamlDom + System.Xaml.dll support for Silverlight XAML
Channel 9:
Fishbowl for Facebook
WindowsClient:
Free Embeddable Fonts for your WPF Applications
ASP.NET:
Program Manager Position on the ASP.NET PM team
Channel 10:
Microsoft Teams Up with Nielsen
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online