|
Just check user login in on each and every page. If it contain nothing the redirect user to login page.
People Laugh on me Because i am Different but i Laugh on them
Because they all are same.
|
|
|
|
|
rahul.net11 wrote: redirect user to login page
You did not get me
imagin that the login page is in English
and the user is not familiar with English, he needs to be redirected to a login page in his own language
Mohammed Gouda
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|
|
Just as a matter of interest, how do you know what the user's native language is, if he hasn't logged in?
Jon
Smith & Wesson: The original point and click interface
|
|
|
|
|
Oakman wrote: how do you know what the user's native language is,
I need not to know his native language
Simply, I will ask him to choose his language before logging in
Mohammed Gouda
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|
|
Mohammed Gouda wrote: Simply, I will ask him to choose his language before logging in
So every time I visited your site, I would have to tell you what language I wanted to use before I logged in? That is really bad user experience.
Jon
Smith & Wesson: The original point and click interface
|
|
|
|
|
Oakman wrote: So every time I visited your site, I would have to tell you what language I wanted to use before I logged in
Oh! thanks for the hint
I can send you a cookie that holds your selection
Have you better idea, please let me know
Mohammed Gouda
foreach(Minute m in MyLife)
myExperience++;
|
|
|
|
|
Maybe Page.Request.UserLanguages array can help you to determine what is user's preferred language. But always keep an option for a user to change the setting and store it in a cookie.
|
|
|
|
|
I can't find any good examples on how to make a scrolling label.
I was just wondering how you guys would approach this, all I want is a replacement for the html-tag "marquee"
|
|
|
|
|
javascript. I'm sure there are at least 100 javascript examples on the web.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Try this:
http://www.hypergurl.com/scrollingtext.html
but like Graus said there are plently out there, think it is also know as a ticker as well
|
|
|
|
|
Thanks, that one looked great in IE, but it doesn't seem to work in firefox.
I will keep looking at more javascript examples.
|
|
|
|
|
try this one:
http://www.mioplanet.com/rsc/newsticker_javascript.htm
|
|
|
|
|
That one worked real nice, thanks
I found another one over at dynamicdrive
http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm
I sure can make something of these
|
|
|
|
|
|
Is it possible to post some code, Im not sure I totally understand you
Could you please clarify what you want
|
|
|
|
|
I was developed a service in asp.net 2.0 with c# , and make its installer . When i am installing this service in .net machine then this service in properly install but when i am installing this service in which system which have no .netframework then give me error. I have also add .netframework dependencies but it is not download .netframework from given poth which is provided by Microsoft.
Thanks and Regards,
Satyendra Vats
modified on Wednesday, May 14, 2008 5:00 AM
|
|
|
|
|
This is the ASP.NET forum.....
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I'm wondering if this can be done. I have a drop down list that I populate with data from a table. I'd like to add a "Please Select" to the drop down list and make it the first item on the list, so that when the page is loaded, the user will see "Please Select" instead of "amp" in the drop down list.
Can this be done? If so how?
Thanks.
Desmond
|
|
|
|
|
You need to add 'please select' to your data source before binding, as once you bind, you cannot add other items.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
Yes its possible.
Have a look at this sample.
DropDownList1.Items.Add(new ListItem("aaa", "1"));
DropDownList1.Items.Add(new ListItem("bbb", "2"));
DropDownList1.Items.Insert(0, new ListItem("-- Please Select --"));
Items.Add() method adds the items to the Dropdown. Over here you may bind the items from the table, thats fine. Then use the Items.Insert() method specifing the index (here it's 0 which will be the first item in your drop down) and give the ListItem ("Please select" text) as the item to be added.
Thx
Gayani
|
|
|
|
|
Gayani Devapriya wrote: Over here you may bind the items from the table, thats fine. Then use the Items.Insert() method specifing the index (here it's 0 which will be the first item in your drop down) and give the ListItem ("Please select" text) as the item to be added.
No, if a control is data bound, you cannot add items to it using code.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
In the properties of the drop down list control, set the AppendDataBoundItems to true. Then, in the Items Collection, add the item "Please Select". Finally, bind the list as you are now.
The control will first insert any items that are in the "Items Collection", then it will (as the property states) append the data bound items to the control.
Steve
|
|
|
|
|
When i run an asp.net application the following error occurs.Once he removes temp files and resets IIS , the things work fine for another month or two ,again the same error occurs.How to resolve this issue permanently ?.
"Could not load file or assembly 'App_Code' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070) "
|
|
|
|
|
Um... what answer were you hoping for, apart from, get a bigger hard drive ?
I guess one problem could be if you're creating files in your code, that you need to delete them, or move them to somewhere that there is space for them ?
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
The error occured in sql server database.We delete the temporaray files and reset IIS the error will not occur.But i want to resolve it permenently.he error occured due to when i login using asp.net configuration files,aspnet_users folder is created in the database.it will took around 2 gb space.After i remove the temp aspnet_users file the error had gone.I want to get a permenet solution for this.Please help ..
|
|
|
|