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:782926
More Search Options
RSS Available
Matching Posts
Re: GridView Itemplate
Hi hippie: Set the type of your column like : DataColumn DatabaseGuid = new DataColumn( "DatabaseGuid", typeof(string) ); And debug your application to see what happens to the related variable. Hope this helps. Karl
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 5/1/2008
Re: Item in GridView TemplateField does not has the correct bound value
Hi Cosmo0: Remove the SqlDataSource and DataList in your GridView and see whether this strange phenomenon will happen. Karl
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 5/1/2008
Re: itemcommand event in detailsview
Hi khalid: Maybe it is the problem when you make these boundfield invisible. Your DetailsView will change and have less rows. But your code is DetailsViewRow row = detailsComplaint.Rows[8], and you think the 8th row is the one you want. Perhaps it is the problem. Hope this helps. Karl
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 5/1/2008
Re: show gridview with different alternating text
Hi dhanesh: <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%#Eval("sid", "newsitem.aspx?newsid={0}") %>'>read more ...</asp:HyperLink> Where sid is the column you get from your database. Hope this helps. Karl
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 4/30/2008
Re: detailsview - databind
Hi Marcus: I write a sample in user control and add your data to the UserControl's Page_Load event. Everything works fine. Try to remove the label and testbox to make the user control alone and see whether it works. Karl
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 4/30/2008
Re: DataList With image As a Gallery
Hi jderonde: Image IG = (Image)DataList.Items[ItemIndex].FindControl("imgGallery"); Here I guess imgGallery is an image control. Hope this helps. Karl
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 4/30/2008
Re: My nested Gridview Isnt Working and i cant figure out why
Hi ChrisStan1983: ColumnIndex is just the the column which you put your sqldatasource in. SqlDataSource s = (SqlDataSource)e.Row.Cells[0].FindControl("SqlDataSource2"); This clause just means you want to get the SqlDataSource2 control from column 0. If SqlDataSource2 is not located in column 0. You will find nothing and maybe SqlDataSource2 is in another cell. SqlDataSource s = (SqlDataSource)e.Row.FindControl("SqlDataSource2"); Because the controls are located in the cells of
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 4/30/2008
Re: Sorting a set of programmatically created GridViews?
Hi mark4asp: Put the code in page_load event and see whether gridView_Sorting is triggered. gridView.Sorting += new GridViewSortEventHandler(this.gridView_Sorting); Hope this helps. Karl
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 4/28/2008
Re: image display gridview
Hi adamjw3: Here is the code, the Default2.aspx is copied from yours. Default2.aspx Partial Public Class Default2 Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim PropertyID As Integer = 1 If Request.QueryString("id") Is Nothing Then PropertyID = 1 Else PropertyID = Convert.ToInt32(Request.QueryString("id")) End If 'Connect to the database and bring back the image contents & MIME type for the specified
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 4/28/2008
Re: N Style data presentation
Hi asmgx: ProdyK is right. I have written an example and it show 4 items in a line. Hope it will help. <asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1"> <HeaderTemplate> <table width="100%" border="2"> </HeaderTemplate> <ItemTemplate> <%if (flag % 4 == 0) { Response.Write("<tr>"); } %> <td> <table width="25%"> <tr> <td> <asp:Label ID="Label1"
Posted to
Data Presentation Controls
(Forum)
by
Karl Cheng - MSFT
on 4/28/2008
Page 1 of 28 (275 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online