<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Custom Server Controls</title><link>http://forums.asp.net/19.aspx</link><description>All about building ASP.NET server controls. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=12&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: Composite control links do not postback</title><link>http://forums.asp.net/thread/3264545.aspx</link><pubDate>Mon, 29 Jun 2009 15:19:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3264545</guid><dc:creator>phfle1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3264545.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=3264545</wfw:commentRss><description>&lt;p&gt;Sorry, my fault. That was the answer. &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Phil&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Composite control links do not postback</title><link>http://forums.asp.net/thread/3264514.aspx</link><pubDate>Mon, 29 Jun 2009 15:05:16 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3264514</guid><dc:creator>phfle1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3264514.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=3264514</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;No there isn&amp;#39;t but&amp;nbsp; it seems there is no property named click on the linkbutton. &lt;/p&gt;&lt;p&gt;linkbutton.click does not existe, I only have onClientClick&lt;/p&gt;&lt;p&gt;Any other idea?&lt;/p&gt;&lt;p&gt;Thanks&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: Composite control links do not postback</title><link>http://forums.asp.net/thread/3263179.aspx</link><pubDate>Mon, 29 Jun 2009 04:31:31 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3263179</guid><dc:creator>shashankgwl</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3263179.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=3263179</wfw:commentRss><description>&lt;p&gt;is there any click handler defined on them??&lt;/p&gt;&lt;p&gt;LinkButton.Click+=new EventHandler(Linkbutton_Click);&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Composite control links do not postback</title><link>http://forums.asp.net/thread/3263159.aspx</link><pubDate>Mon, 29 Jun 2009 04:07:41 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3263159</guid><dc:creator>phfle1</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3263159.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=19&amp;PostID=3263159</wfw:commentRss><description>&lt;p&gt;Hi, &lt;/p&gt;&lt;p&gt;I am creating a simple control that inherits from compositeControl. &lt;/p&gt;&lt;p&gt;The control is a list of linkbuttons.&lt;/p&gt;&lt;p&gt;Usually, when the linkbutton render, it includes something like javascript:_doPostBack(...) which tells the client to postback and not to follow the link directly.&lt;/p&gt;&lt;p&gt;My problem is that it is not my case. &lt;/p&gt;&lt;p&gt;Here is part of my overrided render method (mListeLiens is a list of linkbuttons)&lt;/p&gt;&lt;pre name="code"&gt;vWriter.RenderBeginTag(HtmlTextWriterTag.Li)&lt;br /&gt;mListeLiens(index).RenderControl(vWriter)&lt;br /&gt;vWriter.RenderEndTag()&lt;/pre&gt;
&lt;p&gt;Does my controls need to be added to Page.Form.Controls, or do they have to be in a panel...or something else?&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Phil&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>