|
A shared variable will be the same for all users of the website, but will be reset to the default value every time the web server gets reset. As a result, I can't imagine a valid use for one in a website. If I found I had a valid use for one, I would use it, but if I want to persist a value across all pages, I'd use a database, so it doesn't get reset by IIS.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I used sharing variable in one of my sites backend, I have a grid that shows delegates with a button in each row that update that delegate details, when the user click on one of the buttons, i set the Sharing Variable equels to that Delegate ID that will be used to update that user, the problem that a faced is when i open two tabs with the same URL, they both reference the same variable that caused data to be override in database causing duplicates. In your previous reply, you said "A shared variable will be the same for all users of the website", does it mean that Shared Variables is used global like Application Variable?
|
|
|
|
|
Yes, that is exactly how a shared variable works, that's the point of it. Hence the name, shared. You need to store that value in viewstate, because it's only being used on one page, and yes, as everyone said, shared means all users will have the same value.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi expert
i am working in asp.net on reapeater control
i find total qurress.
only one querry i can't find it and querry is i want display row data into textbox when i click the reapeater control row.
ex. suppose i click first row and first row having a three colunm than all three row data into textbox.
i hope you understand my problem
please give me perfect answer.
|
|
|
|
|
paya1pa wrote: i hope you understand my problem
Based on what you posted ? Not a chance in hell.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Hi All,
I am very new flash can anyone provide me the link or steps so that i can start with it or any good relative link.
Thanks and regards,
Amit Patel
|
|
|
|
|
You embed your flash object with an object tag. ASP.NET has nothing to do with it, you just put the markup in your ASPX, and the flash object runs without interacting with your code at all.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi,
Thanks for reply but can u provide any link or ur forum so that i can take help from them.
Thanks,
Amit Patel
|
|
|
|
|
If you are new to flash, why don't you buy a book or a tutorial CD? If you want any free online material, w3schools have a tutorial section.
Link[^]
|
|
|
|
|
As CG Gave you the answer i want to extend the answer!
You can also give parameters thr query string..!
Try to Search with your heading in google You will get lots ogf website samples ..!
and also add passing parameters in your search..!
|
|
|
|
|
I want to display a form in the exact position where my mouse points.i am displaying the form on mouse hover of an image in the listview in another form.pls help me..
|
|
|
|
|
I believe it's possible to get the mouse position using javascript, and position a div based on that.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
How to post item to ebay using asp.net application.i want to list item on ebay site from my application
|
|
|
|
|
Try This[^]
Many links are available here.
|
|
|
|
|
Ebay have an api to access their site.
check http://developer.ebay.com/
|
|
|
|
|
Hi,
How i can generate crystal report in a tree viewer format?
In other words,
how i can show data in a tree view format in crystal report
|
|
|
|
|
|
No, I didn't mean DrillDown.
|
|
|
|
|
Means In WHat way?Tree View Means Can U be More Specific..!
|
|
|
|
|
i want to configure client hard disk i.e check client system that weather it has fingerprint reader installed or not
if not installed than ask him to download and install automatically
|
|
|
|
|
you can't. Not with ASP.NET. You'd have to write a java applet, or a C++ OCX ( which would only work in IE ), to do that. ASP.NET would at that point have nothing to do with it.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
HiEveryone!!!
I'm using Master page in my website.... When the user logged in, the asp menu button of the master page should be enabled or disabled according to the user permission.... How to do this? Plz Reply!!!!!!!! I Cannot able to access the controls of Master Page in Code Behind.. How to access those controls and edit the properties of those controls???
|
|
|
|
|
Shalini_U wrote: How to do this? Plz Reply!!!!!!!!
With code.
Shalini_U wrote: I Cannot able to access the controls of Master Page in Code Behind..
Yes you can. THe Master property, returns a MasterPage. What you need, is to upcast that to an instance of your master page class. Although, I think you should be able to handle all this permissions stuff inside the master page class itself, what I do if I ever use master page, is create a new base class for all my pages, which has a strongly typed MasterPage property that returns the upcast Master page. Then I can access the methods however I want. Of course, not being a hack programmer, I never make the controls on the master page public, I use methods and properties to allow only the required access.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Permission Means, just to check whether the user is enabled for a particular feature... So that the particular button is enabled for him... for this, I'll get the information abt the user whether the user is enabled or not from the database table. Then , I hav to set that particular button to enabled or disable. When I'm tried to get the control of Master Page, I can't do this in code behind... Is any other way to achiive this??
|
|
|
|
|
Shalini_U wrote: When I'm tried to get the control of Master Page, I can't do this in code behind... Is any other way to achiive this??
I guess you need to read my answer again, I explained exactly how to do it. And, as I said, the session should store details of who is logged in, so why can't your master page check for itself what it should show as a result ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|