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:719504
More Search Options
RSS Available
Matching Posts
Re: Problem with find controls in a child repeater (Nested Repeater)
Got it! Thank you so much~
Posted to
Data Presentation Controls
(Forum)
by
astrokid
on 4/19/2007
Re: FYI: How to make FCKeditor work in an UpdatePanel
Solved! Thank you for your advice~ I really appreciate.
Posted to
ASP.NET AJAX UI
(Forum)
by
astrokid
on 4/18/2007
Re: FYI: How to make FCKeditor work in an UpdatePanel
This is what I did, but it still show the error 1 Protected Sub Repeater1_ItemDataBound( ByVal sender As Object , ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Handles Repeater1.ItemDataBound 2 3 4 If e.Item.ItemType = ListItemType.Item Then 5 Dim SubRepeater As Repeater = e.Item.FindControl( "Repeater2" ) 6 7 Dim button As Button = SubRepeater.FindControl( "Button1" ) 8 button.Text = "My button" 9 10 End If 11 12 13 End Sub If I try to handing the ItemDataBound even from the Repeater2
Posted to
ASP.NET AJAX UI
(Forum)
by
astrokid
on 4/18/2007
Problem with find controls in a child repeater (Nested Repeater)
I'm pretty new to ASP .Net, and have been strugling with this problem for the past few days. Is there anyone knows how to find a control in the child repeater as the given example? Thanks. 1 <asp:Repeater ID= "Repeater1" runat= "server" DataSourceID= "SqlDataSource1" > 2 <ItemTemplate> 3 <ul> 4 <li> 5 <asp:Repeater ID= "Repeater2" runat= "server" DataSourceID= "SqlDataSource1" > 6 <ItemTemplate> 7 <ul> 8 <li> <asp:Button ID= "Button1" runat= "server
Posted to
Data Presentation Controls
(Forum)
by
astrokid
on 4/18/2007
Re: FYI: How to make FCKeditor work in an UpdatePanel
Here is the code from aspx 1 <asp:Repeater ID= "Repeater1" runat= "server" DataSourceID= "SqlDataSource1" > 2 <ItemTemplate> 3 <ul> 4 <li> 5 <asp:Repeater ID= "Repeater2" runat= "server" DataSourceID= "SqlDataSource1" > 6 <ItemTemplate> 7 <ul> 8 <li> <asp:Button ID= "Button1" runat= "server" Text= "Button" /></li> 9 </ul> 10 11 </ItemTemplate> 12 </asp:Repeater> 13 </li> 14 </ul> 15 </ItemTemplate> 16
Posted to
ASP.NET AJAX UI
(Forum)
by
astrokid
on 4/18/2007
Re: FYI: How to make FCKeditor work in an UpdatePanel
I guess the problem is somehow I can't find the control in the child repeater. Here is a simple example 1 Protected Sub Repeater1_ItemDataBound( ByVal sender As Object , ByVal e As System.Web.UI.WebControls.RepeaterItemEventArgs) Handles Repeater1.ItemDataBound 2 If e.Item.ItemType = ListItemType.Item Then 3 Dim SubRepeater As Repeater = sender 4 Dim editbutton As Button = SubRepeater.FindControl( "Button1" ) 5 editbutton.Text = "dfsadfs" 6 End If 7 End Sub 8 End Class The error is on line 5 " System
Posted to
ASP.NET AJAX UI
(Forum)
by
astrokid
on 4/18/2007
Re: FYI: How to make FCKeditor work in an UpdatePanel
1 Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load 2 If Not Page.IsPostBack() Then 3 4 5 If Not Page.ClientScript.IsClientScriptBlockRegistered( "FCKAjaxHack" ) Then 6 Page.ClientScript.RegisterClientScriptBlock( Me . GetType (), "FCKAjaxHack" , String .Format( "<script type=""text/javascript"" src= '{0}'></script>", ResolveUrl("FCKHack.js"))) 7 End If 8 9 10 btnSubmit.Attributes.Add(" onClick ", " if (eval( '(typeof(MyFCKObject) != \'undefined
Posted to
ASP.NET AJAX UI
(Forum)
by
astrokid
on 4/18/2007
Re: FYI: How to make FCKeditor work in an UpdatePanel
Hi everyone, I'm new to this, is anyone can help? I got the "System.NullReferenceException: Object reference not set to an instance of an object." error. Protected Sub Page_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load 2 If Not Page.IsPostBack() Then 3 4 5 6 7 If Not Page.ClientScript.IsClientScriptBlockRegistered( "FCKAjaxHack" ) Then 8 Page.ClientScript.RegisterClientScriptBlock( Me . GetType (), "FCKAjaxHack" , String .Format( "<script type=""text/javascript"
Posted to
ASP.NET AJAX UI
(Forum)
by
astrokid
on 4/17/2007
Page 1 of 1 (8 items)
ASP.NET:
Using WCF RIA Services without Silverlight in Visual Studio 2010 for building 3 tier ASP.NET Applications
Channel 9:
Ping 41: Top stories of 2009, bing, windows 7, laptop hunters, azure
Channel 9:
endpoint.tv - Windows Server AppFabric in action monitoring and troubleshooting
Channel 10:
Windows Marketplace for Mobile Opens to 6.0, 6.1 Phones
Channel 9:
Rx API in depth: Hot and Cold observables
ASP.NET:
Back in Business
TechNet Edge:
Hacking Windows 7 Interview
WindowsClient:
Windows Client Developer Roundup for 12/14/2009
Channel 9:
TWC9: Silverlight Web cam apps, VS extensibility, Explorer shell extensions
ASP.NET:
Visual Studio Project Sample Loading Error: Assembly could not be loaded and will be ignored. Could not load file or assembly or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
WindowsClient:
Working with Windows 7 Taskbar Thumbnail Buttons with WPF 4
WindowsClient:
overflow:hidden -- a fix to a CSS problem
TechNet Edge:
Empowering your teams with SharePoint
TechNet Edge:
TechNet Radio: Expert presents: Creating and Executing a Comprehensive 2007 Office Deployment
ASP.NET:
ViewModel Pattern for Silverlight - Options for Hooking a View to its Model
Channel 9:
Rx API in depth: Concat, Catch and OnErrorResumeNext
Channel 10:
PowerPoint Twitter Tools Updated
Channel 10:
Windows Live Messenger Arrives on Nokia Phones
Channel 9:
Peer to Peer Series Part 7: PeerChannel Basics
TechNet Edge:
Visio: Drawing on Experience with Saveen Reddy
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online