When the page renders the login control exists for a brief millisecond and then it's gone. Any ideas? Does this extender just not work woth the Login control?
<cc1:RoundedCornersExtender ID="RoundedCornersExtender1" BehaviorID="RoundedCornersBehaviorExtender1" runat="server" TargetControlID="CarrierLogin" Radius="6" Corners="All" />
Hi,
I think it has something to do with the login control is rendered in a table. You can put the login control in a panel and use the panel as the target control .
Hope this helps.
Post deleted.
Ummm, sort of. But what I would like is for the rounded corners to look like this: https://login.yahoo.com/config/login?.src=fpctx&.done=http://www.yahoo.com
Can this be achieved with the RoundedCornersExtender?
Robert W.
Hello,
I saw it the other day and was able to reproduce the effect after putting the Login Control in a Panel and Rouding the Panel corners. it works pretty good and cost ... only a panel .
I sense we're perhaps talking about two different things. What I want is a white or light coloured background and a thin black line as a border. Then I want the RoundedCornersExtender to round that. I cannot get this to work. Could you point me to some sample code?
Robert
well , if we are talking about the same login page on yahoo, here is my code.
<%@. Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <asp:ScriptManager runat="server" ID="ScriptmanagerTest"> </asp:ScriptManager> <div style="padding: 20px; text-align: center"> <asp:Panel runat="server" ID="PanelTest" BackColor="#f5f7f7" Width="300px"> <asp:Login runat="server" ID="roundedLogIn"> </asp:Login> </asp:Panel> <cc1:RoundedCornersExtender ID="RoundedCornersExtender1" runat="server" TargetControlID="PanelTest" BorderColor="black" Radius="4"> </cc1:RoundedCornersExtender> </div> </form></body></html>
Hmmm, I'm not sure what I did wrong but your way works perfectly. Thank you!!!
Robert
Glad i could help!
0 件のコメント:
コメントを投稿