|
In Page_Load check if user is logged in,in case is not then redirect to login page.
Search on google and you will find more usefull manners how to manage user's login.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Use a Session object in your login page and use an if statement in your redirected page Page-load method to check the session object.
|
|
|
|
|
Already I have used Session in my application... The Issue Does Not Resolve...
|
|
|
|
|
hi all ,
i have a html table wher r several rows and each row has id ,how can i scroll and highlight the specific row upon the id? and i one thing more
how can i use on html button click as in <a href="Test.aspx#a8">Click </a>
thanks
|
|
|
|
|
You want to scroll the table? Then you can use DIV for that. But i am not clear about the highlight part
|
|
|
|
|
highlight mean change the row color.
|
|
|
|
|
zeeShan anSari wrote: highlight mean change the row color.
I understand that. I just want to know how you are relating this with Scrolling ? You are talking about selection of Rows?
|
|
|
|
|
Use javascript function to specify which row have to be highlightet in onmouseover event of row.
Check this link for getting clue.[^]
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
<input type=button onclick ="location.href='Test.aspx#a8'" />
this is my solution
thanks
|
|
|
|
|
Good but your original post (I guess you modified it) wasn't related to problem about opening specific page on click of button,your question was how to get highlight specific row of table.
Anyway,it's good news that you have solution.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Hello there,
am using VS 2005 and am using anthem controls, every thing was working fine on IE but when i switched to FIREFOX disabled linkbutton are enabled on firefox could any one tell me why this is happening??
|
|
|
|
|
khalil.kamel wrote: am using anthem controls
So, this should be asked in their forum.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
|
do u think it is a .NET problem??
|
|
|
|
|
You need to contact the author of the controls, they should know.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
I am developing window application, in which I am opening another winform on the click event of button.
As we know that if we open a form in windows, we can see its icon in the task bar.
But I am making An application in which I am using MDI concept,and I dont want to see the
icons of child forms, as it happens normally. How to solve this problem. I just wanna see
only main icon in taskbar.
|
|
|
|
|
This question you have to post in C# forum because it have nothing to do with ASP.NET
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
swami samarth wrote: I am developing window application,
So what are you doing over here in ASP.NET Forum?
|
|
|
|
|
Hello Everyone.........in my project i want to use ajax animation extender on a button click and on that i want to give a condition whether user logged in or not........how to do it with animation extender.....
plz guide me
|
|
|
|
|
When a user is logged in then button will be enabled true otherwise false?
Your question is not so clear to me.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Let me explain u more clearly......I want to save some data on a button click. and whenever user click on button...it should check whether user logged in or not if logged then save data in DB, if not then show the animation extender with login control........so how give this condition in animation extender....got my point??
|
|
|
|
|
Now is clear to me.
Dude your question requires to do work for you,so begin by yourself and when you stuck somewhere post here problem.
Add button which will check if user is looged in and if yes then save data in DB otherwise show popup login form,this event of button fire from onClientClick event of button which will be visible to client.
I hope my suggestion will give you idea to start.
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
hello friend
how to check database is available before open the connection object?
Please help me.
Thanks
Piyush Vardhan Singh
p_vardhan14@rediffmail.com
Eventure Technology
http://holyschoolofvaranasi.blogspot.com
http://holytravelsofvaranasi.blogspot.com
|
|
|
|
|
How do you mean by
Piyush Vardhan Singh wrote: how to check database is available
Do you mean checking if exists database before open it? If yes then try this query
select * <br />
From sysdatabases<br />
where [name]='yourdbname'
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
|
|
|
|
|
Piyush Vardhan Singh wrote: how to check database is available before open the connection object?
So you want to make sure database exist or not with out connecting the database?
|
|
|
|