PC Review


Reply
Thread Tools Rate Thread

Callbacks are not supported on TemplateField

 
 
=?Utf-8?B?ZGJhMTIz?=
Guest
Posts: n/a
 
      28th Aug 2006
Why can't it use callback here???


[NotSupportedException: Callbacks are not supported on TemplateField because
some controls cannot update properly in a callback. Turn callbacks off on
'GridView_Podcasts'.]


<asp:GridView
ID="GridView_Podcasts"
runat="server"
EnableSortingAndPagingCallbacks = "True"
AutoGenerateColumns = "False"
DataSourceID="PodcastsXML"
ForeColor="#FFFFFF"
GridLines="None">
<Columns>
<asp:TemplateField HeaderText="Title">
<ItemTemplate>
<asp:Image ID="Image1"
ImageUrl='<%#XPath("../image/podcast")%>' runat="server" />
<asp:HyperLink ID="Hyperlink1" runat="server"
Target="_blank" NavigateUrl='<%#XPath("title") %>' >
<%#XPath("title")%></asp:HyperLink>
<br /><br />
<asp:Label ID="Label1" runat="server"
Text=<%#XPath("description")%>></asp:Label>
<br /><br />
</ItemTemplate>
</asp:TemplateField>
</Columns>

<FooterStyle BackColor="#000000" />
<SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
<PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue"
HorizontalAlign="Center" />
<HeaderStyle BackColor="#EFBA67" Font-Bold="True" />
<AlternatingRowStyle BackColor="#F8F8F7" />
--
dba123
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fix error: None of the authentication methods supported by this client are supported by your server Pat Microsoft Outlook Discussion 0 20th Apr 2009 08:15 PM
Are 'Client Callbacks' in asp.net 2.0 supported in multiple browse =?Utf-8?B?QU5lZWxpbWE=?= Microsoft ASP .NET 1 1st Oct 2007 06:01 PM
REPOST: TemplateField in 2.0 // Disappears on Postback when TemplateField is added thru code sloan Microsoft ASP .NET 0 26th Jun 2006 06:28 PM
Are callbacks/events supported by No-Touch deployment =?Utf-8?B?TmlrbGFz?= Microsoft VB .NET 2 11th Aug 2004 06:33 AM
Are callbacks/events supported by No-Touch deployment =?Utf-8?B?TmlrbGFz?= Microsoft C# .NET 2 11th Aug 2004 06:33 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:12 PM.