Show A Different Url When User Goes To Another Url?
Sep 21, 2010is there a way to show a different url when user goes to another url. For example, the page is named page1.aspx but the user sees default.aspx in the url?
View 6 Repliesis there a way to show a different url when user goes to another url. For example, the page is named page1.aspx but the user sees default.aspx in the url?
View 6 RepliesI want to show user already exist erroe in user create wizard but user create wizard is disaply in pop up so after click create user button ot shows error user already exist and pop got closed how i can show error on popup or how can skip postback so clicking on button it will not close popup???
View 6 RepliesI have LOGIN PANEL for student, and I want to disable it in different page. And only the admin can enable and disable it. I dont know the logic behind here.
View 1 RepliesI need to develop a web applicaiton which will have a user tree like shown in the picture.Generate Labels dynamically with different "CSSCLASS" and design it like that.
Admin,
Coordinator,
TeamLeaders,
Endusers...
How to give such a UI to the user.... There no options required, but it want to show as group and team level.
Just starting from starter program in VS 2010 there are link/tabs like "Home" and "About". I intend to add additional tabs like "Settings" and "Contacts". What is the best way to make these invisible until the user has registered or logged in?
View 5 RepliesSince we cannot display a messag box, how to show an error message [for something that happens on the server side] to the user in ASP.NET [4.0]?
View 5 RepliesI have an ASPX page where I want to show an error id when an unhandled error occurs. So I throw an Exception with an error id. However all the user sees is an "Internal Server Error 500" from IIS/ASP-NET Dev. How can I control this? I want the user to either see my Exception.
View 5 RepliesI'm making a forum.
I need to show if a user is Offline or Online.
Like this:
Where is says Online i need it to say Offline when the user if offline.
Okay, now i think i got explained what i would like to do.
How i would like this to work:
When a user logs in i want his status to change to Online.When the user press Log Out i want the status to go Offline.
When the user haven't been active for 10 minutes i want the status to change to Offline, but he is still logged in.If he clicks on something he's active again, so i want the status to go to Online again.If the user browse away from the site or close the browser/site i want it to go to Offline status again.
how can I show button for specific user and hide it for another one based on security role in ASP.NET MVC 2.
For example if I have Create button in my view how to show it only for admin and hide it for any other user.
I have a scenario in my application that I need to display session expiration time to the user. I set session expiration as 30 minutes in my application, 5 minutes before the session expiration, I need to show message to user that the session is going to expire.
How can I will do this implementation, I am using VS 2010 + MVC 2.0 + JQuery.
On Mouse-over i wish to show user information such as User Id, User Name, User Location, User Age etc. All this info would be coming from database. As well, this information would be in a rectangular block that would actually come-up on Mouse-over.
I am aware that JavaScript could be use to show div (in mouse-over) but don't know how to fetch from database?
Plus the application is a Windows Based Asp.net Application. I am not aware whether that could be possible in Windows based as i'm web based developer.
I'm trying to use the following code to show a panel if the user belongs to a group:
protected void Page_Load(object sender, EventArgs e)
{
panEditor.Visible = (this.User.IsInRole("Administrators") || this.User.IsInRole("Editor"));
}
}
This is not working. It errors with "...does not contain a definition for 'User'...
Show Authenticated user on Intranet:
Response.Write("UserName is: " + User.Identity.Name);
In Web.config:
<authentication
mode="Windows"/>
<authorization>
<allow
users="?"/>
</authorization>
This works fine on local server. But not on Intranet.
On Intranet, it was working fine on IIS 6.0.
But on IIS 7.5, the user doesn't get authenticated.
i have 100 records to insert into DB for which i need to show the user progress of inserting records by using procress bar in asp.net by using vb.net how can i do it?
View 3 RepliesI have designed program to display live events/content(like online orders in shop) at different location. Now case is, suppose Some of Clients putting order for material and suddenly Internet gets disconnect.So what I am looking for, in this case, I want to show some default text/images to End user who is trying to put orders. I am ready to design to Desktop Application to do this, but I need inputs on how to achieve this at User end?
View 5 RepliesWell I have a web page asp.net(page1.aspx) amm user can choose two options A/B if user chooses a when he is in page2.aspx i want a javascript was execute
function(receive parameter)
{
}
But if he chose option B function never will be executed. I want to do, if user chooses A will see a asp button, but if he choose option b he is not going to be the button
I would like to know how to show data based on user name and password?
Example:
User name: user1
Password: pass1
How to show information regarding the name user1 and pass1 (Students, teachers, etc...)?
[Code]....
Note:- i don't want to use updateprogress etc. control of ajax
on button click, long task(e.g thread) runs in my webpage for about 4-5 minutes.I want to show status to user either by a processing image through javascript(image must be shown in a certain part of page other part of page will remain intact) or an exact status of process if possible. i have tried a lot but all in vein.
my web application has more than one user with unique usercode. As soon as a new record is inserted into the database with some usercode, i want to show a popup only to that user in his browser window. for example insert into mytable(usercode) values(1431) is inserted into my databasetable.if user with usercode 1431,1435 are loggedin. i want to show the notification only to the user with usercode=1431
View 2 RepliesI have used user timeline to display all the tweets made by a specific user, but what I am trying to achieve is to display all the tweets on my website that the user has made or received.
Is there any way to accomplish it.
below is my query have one problem:-
[Code]....
In first time My sqlcommand returns null coz if its no data in table..
So on that time i need to show B0... how to do this
In an asp.net webform app, I need to restrict the logged in user to show data only for their company. This is a primary key of my topmost table. How to I set that based off the user. I imagine I would have another table with some user ID mapped to company ID?
View 1 RepliesI need expression for following things1.HH:MM in Military format2.mm/dd/YYYYThere is one catch if user is not entering any thing system should not show any message but if he is entering any thing then it should ask from the format.I am using a grid view with 20 rows ans in that so many columns are available. In that grid i have to check this thing
View 2 Repliesif any one login how to get user name and show in our web page
and how to get location of client side (Physically Ex-India -Delhi-Anand Vihar)
I am have done a basic asp.net application User Module with out using any authentication classes.
Now I need to store last user login details in my asp page when user performs any operation. and need to show to other User who next login that ( the last user has made changes before ).