html - Question about AJAX Update Panel -
here problem im having. have 5 buttons on form appear next each other (horizontal). 3 out of 5 buttons had put in update panel b/c these buttons have asyncpostback, other 2 buttons need outside postback. works way accept buttons dont appear on same line. there can put these 5 buttons appear on same line, given different functionality of these buttons?
the updatepanel renders <div>
need style div
that displays inline
notice style="display:inline"
in following code. there's other ways accomplish depending on layout straightforward.
<asp:updatepanel id="updatepanel1" runat="server" style="display:inline"> <contenttemplate> <asp:label id="labeltext" runat="server" text="label" /> <asp:button id="button1" runat="server" text="button1" /> <asp:button id="button2" runat="server" text="button2" /> <asp:button id="button3" runat="server" text="button3" /> </contenttemplate> </asp:updatepanel> <asp:button id="button4" runat="server" text="button4" /> <asp:button id="button5" runat="server" text="button5" />
Comments
Post a Comment