|
try to open viewsource and locate the id from (getElementbyid) you'll notice that its changed due to contentpage which something that asp.net do copy that id and replace it with foormal id and try it , it should work.
|
|
|
|
|
good day again guyz,
does anyone can help on how to display something like a message box that will contain five(5) TO ten(10) records from the database...
the scenario if i click a button(view records) from my main page,
then a look alike message box will contain number of records....
thank you guyz... your help is highly appreciated,....
start a new beginning in every ending; thats what life for......
|
|
|
|
|
You can create a normal aspx page then open it as a popup window using javascript window.open. In that page you can display the records as you want.
Apurva Kaushal
|
|
|
|
|
thank you sir.... sorry for my late reply...
start a new beginning in every ending; thats what life for......
|
|
|
|
|
Always welcome..
Apurva Kaushal
|
|
|
|
|
First of all Thanks in Advance , I am beginner in .net i just completed my masters i love my work and i love .net can any one tell me how to enable and disable login and logout .I will explain u clearly i am doing with asp.net 1.1 with c# i have 48webforms user can login from anypage.when user clicks login hyperlink it redirect url to login.aspx and when user when user signup it redirects url to registration page and logout link redirects to login.aspx. so i design three hyperlinks and one label in header.ascx .one for login ,one for signup and one for logout and label for welcome message when user login. All i need is how to enable and disable when user login loginhyperlink and signup hyperlink will be disabled and logout hyperlink and label will be enable. when user logout then logout hyperlink and label will be disable and loginhyperlink and signup hyperlink will be enable . can u tell me how to write the code and when user clicks logout then session will get closed . Again if he wants to login he need to type his username and password. Can u tell me how to write this code . Once again thanks to all. Can u send me the code to my mail adityaasv@gmail.com. Thanks Can u help me out
|
|
|
|
|
What you need to do it to check the session if the user is logged in (in this case you van hide/ disable other hypelinks) if user has not logged in the logout button will be hidden and others will be visible. You can write these code in the page where you are having you hyperlink buttons are placed.
Apurva Kaushal
|
|
|
|
|
Can any one tell me how to write code to disable and enable login and logout controls,i use three hyper links and one label can any one plz tell me the code.
|
|
|
|
|
If you are using hyperlink control the you can disable it by
HyperLink1.Enabled = false
and enable it by
HyperLink1.Enabled = true
Apurva Kaushal
|
|
|
|
|
aditya.net wrote: can u tell me how to write the code and when user clicks logout then session will get closed
Session.Abandon
aditya.net wrote: Again if he wants to login he need to type his username and password. Can u tell me how to write this code
You need to check for session in the page load or in user control. If not logged in redirect user to login page. When he logged in you need to start a session for that user. Session.Abandon will close current session.
|
|
|
|
|
good day to you all,
everything is well, but i have some minor questions regarding:
how to close a web page using a button in asp.net?..
i know how to close a form in vb.net but not in asp.net..
pls i need you help.. thank you...
start a new beginning in every ending; thats what life for......
|
|
|
|
|
<Script Language="JavaScript"><br />
window.close();<br />
</Script>
|
|
|
|
|
thank you sir...
your help is highly appreciated...
start a new beginning in every ending; thats what life for......
|
|
|
|
|
Hi, how can I convert down arrow key to tab key??
and up arrow key to shift+tab key
in my web apln' i ve a datagrid with textboxes in its cells.
wen user press down arrow key i want to move next text box??
i use one code but in the case of Enter key it is working,but wen i press down arrow key it is not..
the code is like
function KeyToTab(e)
{
var intkey=window.event.keyCode;
if(intkey==13 ||intkey==40)
{
window.event.keyCode = 9;
}
}
in body tag onkeydown="KeyToTab(event);"
All I ever wanted is what others have.... CrazySanker
|
|
|
|
|
Hi, can anyone show me a code for creating sub domain in ASP.NET?
Socheat
|
|
|
|
|
Socheat.Net wrote: creating sub domain in ASP.NET?
What is subdomain in ASP.NET ? Do you mean something like
www.subdomain.yourdomain.com ?
|
|
|
|
|
Yes I mean like that, I don't want to go through to IIS Admin to create it, I want to create it ASP.NET Script.
Socheat
|
|
|
|
|
You won't be able to do this until your provider supports subdomains. And I don't think it can be created on IIS. DNS does this. So you need to contact your provider for this.
|
|
|
|
|
If you know just give me a simple don't anything at all.
Socheat
|
|
|
|
|
What do you mean by that. He is telling you the same thing what else do you want?
Apurva Kaushal
|
|
|
|
|
See the attitude.. I think he mistaken me
|
|
|
|
|
Yep that true either he hasn't understood you properly or he is having a bad attitude.
Apurva Kaushal
|
|
|
|
|
hi ,
i want to create newsletter in my webapplication ..can any one tell me idea behind this and site which have examples for creating newsletter ..
Thanx in advance ,
pallavi
|
|
|
|
|
I remember there was opensource website called DiggerSolutions. It had open source components in ASP for both Intranet application and Newsletter.
|
|
|
|
|
Hi Vasudevan,
Thank you for your help ..
pallavi
|
|
|
|