|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Adding AutoPostBack to a webcontrolHi
I have a webcontrol, which has a DropDownList and some other controls. I want to enable AutoPostBack on the DropDownList, but can't figure out how to do it. I tried setting myDropDownlist.AutoPostBack = true, but it doesn't make any differences. What am I missing. Thomas Are you setting the postback event on the Page Load method? Try adding it
at the control level on the page. <dropdownlist autopostback=true id="ddl" runat="server" /> Hi
I do not have a page! It is a webcontrol in a control library (C# only), and the control is created programmatically. That's my problem. How do I set AutoPostBack on a control created programmatically? Thomas
pop-up browser persist data back to parent page code-behind
ObjectDataSource, GridView and ItemTemplate NullReferenceException With Different Register Directive Navigation Menu Site Map Difficulties Access property and control of master page from a customized parent page class ASP.NET 2.0 DataView DetailsView ImageField displaying images from Filtering the Asp:FileUpload control Asp.Net 2.0 Bug Changing RadioButton's NAme and ID properties using vb.net AccessibleHeaderText property |
|||||||||||||||||||||||