Search

You searched for the word(s): userid:719504

Matching Posts

  • 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)
Microsoft Communities