User can create a pages, when a user click on the "create page" link a pop up dialog shows up which is a aspx file, inside this dialog I have created a dropdownlist:
<div class="ms-formlabel"><asp:Literal ID="LitTitleLabel2" runat="server" Text="Choose pagelayout:"/></div>
<div class="ms-formbody"></div><asp:DropDownList ID="DropDownList1" runat="server"></asp:DropDownList></div>
I have also created 3 different pagelayouts, How can I create the functionality so that users can choose between three different pagelayouts inside this dropdownlist.
Any kind of help is appreciated!
Note: Users can at the moment type a title for the news in the pop up aspx file and then press "ok" button and then they get redirected to the created page in edit mode.