|
Open the a new window without having Address bar but keyboard short cuts will still available for user
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
This Code is For disabling Right Click on IE..I want to disable refresh button?
|
|
|
|
|
There is no way AFAIK to disable the refresh button, but you can hide it in a new window. But the user can always hit F5 or right-click to refresh....
Why would you want to take away the refresh button anyway?
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
We're running asp.net 1.1 on iis 6.0 and we're running into all kinds of problems with our in proc sessions. Last week we had a user that actually had an element another users shopping cart and it did not contain what the user had entered. This week we had two orders come thru with 0 items due to dropped session. The users assured us that they had not been on the website for the alloted session timeout. Nothing changed programmaticly for this section of our site. Any Idears?
|
|
|
|
|
crazidiamond wrote: we had two orders come thru with 0 items due to dropped session.
This shows your programs loop holes. Don't you validate all these before an order is placed ? What is your actual problem here ? How you are storing shopping details in session ?
|
|
|
|
|
I was handed an amazingly sloppy site. I've been correcting pieces of it as I go along but their aren't enough hours in the day. Since this issue came up I added some logic to determine if in fact the cart is populated. but the bigger problem is that we show no errors when users are placing items into the cart which is stored in "in proc session" and then at a later time we try to access the session contents and the session is not present. We have a Serializable Cart class and we stored the class instance in session. We also determined that the session was not dropped due to timing out. I'm at a loss...
|
|
|
|
|
hi,
how to display .rtf files in indexing server.
plz help me to get results asap.
regards
venkat
|
|
|
|
|
Hi,
I am writing a system where I log on to a backend where I can see a list of all the user/customers that have registered on the system. When I click on a specific user I can see his/her details. Including the roles. How do I use the roles provider to get the roles for a specific user? What I mean is, I don't to see the roles of the currently logged on user, but for a user that I select.
Must go and write my own method to get this, or is there a way of retrieving a user's roles?? I know there is something like a GetRolesForUser method, but that seems to be the roles for currently logged on user.
Please can someone advise.
Brendan
|
|
|
|
|
hi,
is there any way by which i can find out that how many session variables i have used in a particluar project.
Thanks and Regards
Aavesh Agarwal
|
|
|
|
|
Yes there are many ways to do it
Session.Count gives the number of session present in your application.
Session.Keys return you collection of all keys using those you get the all values
Session.GetEnumerator return you enumerator to current session using you can iterate through Session.
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Telgu Radhu ;P
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
hey akhare i thought its Vuppala
Koushik
|
|
|
|
|
playing with bugs ) wrote: Thanks and Regards
Sandeep
A new display name ? Previous was good
|
|
|
|
|
thanks for compliment
Old one is my real name just for change i changed my display name nothing intensional like Satips (kidding)
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
LOL Sandeep
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
|
I am using ServerManager.
Is anybody aware of how to get DefaultDocument of a particular Virtual Directory?
Nana
|
|
|
|
|
You have to add ur DefaultPage in IIS documents Tab..
go to IIS--->rightClick on Default Website--->properties->>>documnets Tab->>add ur default page
|
|
|
|
|
Actually I want to do it using code, not using IIS manager.
Thats why I am using ServerManager of Microsoft.Web.Administration
Nana
|
|
|
|
|
Hi There,
This is driving me bonkers, here's hoping I can explain clearly...
I have a master class called Site (Sites is a collection of Site), which contains a couple of string properties and 1 property of type 'ProductGroups'.
Class Product group (ProductGroups is a collection of Product Group) also contains a couple of string properties and 1 property of type 'Products'.
Class Product (Products is a collection of Product)
I have a loop which looks like this:-
foreach (Site site in sites)<br />
{<br />
<br />
<br />
<br />
<br />
}
Option 1 - is ok & I can code that.
Option 2 & 3 I just cant seem to get my head around this!
I know its simple, but its driving me nuts.
Any help will be apprieciated.
Thanks
Janet
Lady Programmers are a rare breed!
|
|
|
|
|
But_Im_a_Lady wrote: get at the product groups & display product group name
Very tough to undestand you question. Sorry if I misunderstood you. Is it possible to one more foreach loop inside the one you specified and iterate through ProductGroups collection ?
|
|
|
|
|
Yes, for some reason I was try to get down to the 3rd level by only using two for each loops! (Dont ask - a million n 1 things going on here at the mo')
So now I have these loops:-
foreach(Site site in Sites)<br />
{<br />
foreach (ProductGroup productGroup in site.ProductGroups)<br />
{<br />
foreach (Product product in productGroup)<br />
{<br />
Only 1 issue now, when I try & compile I get this error:-
foreach statement cannot operate on variables of type 'KSS.PriceNet.Shared.EntityModel.ProductGroup' because 'KSS.PriceNet.Shared.EntityModel.ProductGroup' does not contain a public definition for 'GetEnumerator'.
I haven't seen this before, any ideas?
Ta
Lady Programmers are a rare breed!
|
|
|
|
|
But_Im_a_Lady wrote: foreach statement cannot operate on variables of type 'KSS.PriceNet.Shared.EntityModel.ProductGroup' because 'KSS.PriceNet.Shared.EntityModel.ProductGroup' does not contain a public definition for 'GetEnumerator'.
Because ProductGroup is not collection class. So foreach won't work. I think 3rd forloop has some problem. It could be like
foreach (Product product in productGroup.Products)
{
Right ?
|
|
|
|
|
Fab - thx for your help, yeah its working!
Lady Programmers are a rare breed!
|
|
|
|
|
Something like this?
foreach (Site site in sites)
{
foreach ( ProductGroup aGroup in site.ProductGroups)
{
foreach (Product prod in aGroup.Products)
{
}
}
}
|
|
|
|