|
Hi,
How do I dynamically change the failure text of the asp:ChangePassword control. Currently it displays the following text which I don't like:
Password incorrect or New Password invalid. New Password length minimum: 8. Non-alphanumeric characters required: 0.
Please can someone advise?
Regards
ma se
|
|
|
|
|
|
Hi,
I am using the asp:LoginName control, and it displays the user name corretly, but how do I modify this, or do a check, that it displays "Guest" if no one is logged on? I also want to add a <a></a> to the logged on user name so that the user is taken to his/her acount.
<asp:LoginName
ID="MySignInName"
CssClass="divider"
runat="server" />
Please can someone advise me what to do please?
Regards
ma se
|
|
|
|
|
Hi,
I have my asp:LoginStatus control's LogoutPageUrl property to ="~/Account/SignOut.aspx". But when I click on the Sign Out link then it takes me to the Default.aspx page. Why is this?
<asp:LoginStatus
ID="MySignInStatus"
CssClass="divider"
LoginText="Sign In"
LogoutAction="Refresh"
LogoutPageUrl="~/Account/SignOut.aspx"
LogoutText="Sign Out"
runat="server" />
Please can someone advise?
Regards
ma se
|
|
|
|
|
Hi,
I am using a custom asp:Login control, and I am having difficulty in setting the colour of the failure text. This is what I have:
<asp:Login
ID="MySignIn"
DestinationPageUrl="~/Account/Default.aspx"
runat="server">
<LayoutTemplate>
<!-- Here I have my user name and password controls -->
</LayoutTemplate>
<FailureTextStyle ForeColor="Red" />
</asp:Login>
If there is an invalid sign in then the text is still black.
Please can someone advise?
Regards
ma se
|
|
|
|
|
Hey dude
You have posted lot of questions regarding login control n I hope u must have some more questions in ur mind. So its better to read about Login Control in detail from : http://msdn2.microsoft.com/en-us/library/ms178329.aspx[^].
Well if text color is always in Black then I think you have written some code for it in CSS that force label's color always to be BLACK.
|
|
|
|
|
Hi,
This is the first time I use ASP.net and I have some question:
1) I have some controls on a web form and I would like to change their location dynamically from the code based on user action. Is it possible? how?
2) Their is something that replace the MessageBox? I see that their is a snippet for MessageBox.show() but how can I use it?
Thank in advance for an answer.
|
|
|
|
|
Every thing is possible but sometimes they are hard to make...
|
|
|
|
|
Thanks, but this is not very helpful...
Can you give me at least, a tip or some keywords...
|
|
|
|
|
1) Well it greatly depends how the layout itself is done. If you need a specific control, you can use the FindControl method. Then remove/add it from/to the desired collection or set its properties accordingly.
2.) Have a look at the javascript alert method. If you want to display a message after the page has loaded:
Page[.ClientScript].RegisterStartupScript(typeof(Page), "scriptname", "<script type=\"text/javascript\">alert('Your message');</script>"; For events:
CheckBox1.Attributes.Add("onclick", "alert('clicked');"); For situations where you might want to cancel postback depending on user interaction the confirm can be used
Button1.Attributes.Add("onclick", "return confirm('Are you sure you want a postback to happen?');");
|
|
|
|
|
How to use the function "CallByName" in asp
Pay attention to it,please!
It is in asp,not in asp.net!!
Thanks!!!
|
|
|
|
|
Hey dude
u r in wrong place. this is just to discuss ASP.net. Use our Web Development forum for ASP, PHP etc. Thanks
|
|
|
|
|
Hi developers
I have downloaded SharpWebMail and its working fine alone. Please tell me how to integrate with existing project. Thanks
|
|
|
|
|
How to use the function "CallByName" in asp?
Pay attention to it!It is in asp,not in asp.net!
Thanks!!!
|
|
|
|
|
Hi,
Please help me Exporting Excel from dataset - using workbook and xml template. Please send help sending code the code because its a very urgent need..
Thanks in Advance
Mohamed
|
|
|
|
|
|
Hi,
You may get the idea from
here[^].
Regards,
Jay
|
|
|
|
|
Hi, can someone tell me if it's possible to drop/delete individaul sessions using c# and .net?
I've done asearch for help and had a look through my books but haven't turned up anything helpful that I can use.
any help would be appreciated
many thanks
mark
|
|
|
|
|
To end a session, you use the Session.Abandon method. This will end the session after the current request.
Perhaps what you mean is to remove a single session variable. That is done with the Session.Remove method.
---
single minded; short sighted; long gone;
|
|
|
|
|
thats exactly what i was after,
thank you very much
mark
|
|
|
|
|
I have created a simple browser using the Microsoft Visual Studio 2005 WebBrowser control. The browser appears to have a strange problem. If I use it to open a page that has my custom extended dropdown list, and click on the extended dropdown to display the list, and then click on the scrollbar with the intention of scrolling through the rendered list, the dropdown closes. At such times, the CPU usage appears to suddenly shoot to 100% and my dropdown hangs for some time. If I open the same page using Internet Explorer, my extended dropdown list behaves normally and allows me to scroll through the rendered list without closing. How can this behaviour be explained?
|
|
|
|
|
hi,
i have interview on web applications(dot net,c#,xml,ajax,webservice), could pl. send faqs on these technologies
sambi reddy
|
|
|
|
|
You can get so many Here[^]
Best Regards,
Apurva Kaushal
|
|
|
|
|
|
If you don't know the subject why are you being interviewed?
only two letters away from being an asset
|
|
|
|