CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!
Free 3 Months



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 1/22/2004 3:22:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 25 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
Sharon keler
Asp.Net User
userControl & client1/22/2004 3:22:17 PM

0/0

How do I ask my user for IO permission?

When I want to access files on the user computer i need to ask the .Net runtime like this :
[assembly:FileIOPermission(SecurityAction.RequestMinimum, Unrestricted = true)]

But what if the runtime wouldn't let me access files ???

how do I ask my user to grant my assembly / control access , like when user try to view a signed applet or tries to run an executable file he gets this warning window (click yes /no)

Thank you!

Sharon
ZonerAZ
Asp.Net User
Re: userControl & client1/22/2004 11:38:26 PM

0/0

You need to use the .Net security console (mscorcfg.msc) to grant your assembly the permission you ask for. Then you can package the settings in a deployable MSI file that the user can run before using your controls.

I wrote a basic article that outlines this at: www.mastercoder.net

Scroll down to the articles section, its called "Creating a C# client side control hosted in IE"

Good luck, the documentation about making client side controls is very thin.
sharon keler
Asp.Net User
Re: userControl & client2/5/2004 9:03:52 AM

0/0

Thank you ZonerAZ!

I now understand, thank you 4 this Excellent Article !
Is there any way I can ask my user to approve my assembly? (Like a signed activeX)
Or i must use the .netFramwork security console ?

Thanks
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
ASP.NET in a Nutshell: In a Nutshell Authors: G. Andrew Duthie, Matthew MacDonald, Pages: 979, Published: 2003
Parallel and Distributed Processing and Applications: 5th International Symposium, ISPA 2007 Niagara Falls, Canada, August 29-31, 2007 Proceedings Authors: Ivan Stojmenovic, Ruppa K. Thulasiram, Laurence Tianruo Yang, Weijia Jia, Minyi Guo, Pages: 995, Published: 2007
Distributed Data Applications with ASP.NET Authors: Alex Homer, Dave Sussman, Pages: 786, Published: 2003
Pro Service-oriented Smart Clients with .NET 2.0 Authors: Sayed Y. Hashimi, Scott J. Steffan, Pages: 321, Published: 2005
Beginning ASP.NET 3.5: In C# and VB Authors: Imar Spaanjaars, Pages: 734, Published: 2008
Essential ASP.NET with Examples in Visual Basic .NET: With Examples in Visual Basic.Net Authors: Fritz Onion, Pages: 395, Published: 2003
Professional Web Parts and Custom Controls with ASP.NET 2.0 Authors: Peter Vogel, Pages: 449, Published: 2005
Visual Basic 6 Secrets Authors: Harold Davis, Pages: 890, Published: 1998
User Modeling 2005: 10th International Conference, UM 2005, Edinburgh, Scotland, UK, July 24-29, 2005 : Proceedings Authors: Liliana Ardissono, Paul Brna, Antonija Mitrovic, Pages: 533, Published: 2005

Web:
Possible to pass parameters from web user control client-side to ... Talk about Possible to pass parameters from web user control client-side to server.
Article: Proper Web User Control client-side event hooking through ... Net Web User Control client-side event hooking through JavaScript so that the control can co-exist in pages that user other controls with a similar ...
Usercontrol client id - ASP.NET Forums Usercontrol client id. Last post 08-03-2007 10:44 AM by JoshStodola. 1 replies. Sort Posts:. Oldest to newest, Newest to oldest ...
CodeProject: How to pass value from Ajax Enabled Base User Control ... Mar 13, 2008 ... 2-Create a Client User control page drag and drop base control on to the ... Client page can inherit the Base user control Client user ...
User Controls and Custom Server Controls, Part 1 | O'Reilly Media Example 6-1 shows a simple user control that provides navigational links to ... align='absMiddle' alt='User Control Client' src='alt_node.jpg' id='img2' ...
ASP.NET user control - can't get client-side (JavaScript) altered ... NET user control - can’t get client-side (JavaScript) altered value back ... Browse other questions tagged asp.net usercontrols postback or ask your own ...
Accessing ModalPopupExtender Client Side In User Control - ASP.NET ... I did try a $find on the user control client Id as well as the ModalPopupExtender client ID, so that I could do something like ...
Can client-side script be included in a user control (ascx)? - ASP ... I am creating a simple usercontrol (.ascx). There is some client-side ... client -side script cannot be compiled into a user control? Thanks. --Isaac ...
Client-side validation on user control - bytes May 11, 2006 ... I cannot get a web user control to validation client-side using a required field validator. It only validates server side.
ASP.NET 2.0 User Control for Client Side Tabs Aug 29, 2006 ... Hi, Given below is the code for the Client Side Tab Implementation. This User control does not need any COde Behind unless you want to ...

Videos:
A Googly MySQL Cluster Talk Google TechTalks April 28, 2006 Stewart Smith Stewart Smith works for MySQL AB as a software engineer working on MySQL Cluster. He is an ...




Search This Site:










catalogzone icons

web part error reporting

chat module

is it possible to use webparts in dnn and upload them as modules?

web part resizing

help! web part poppup

using web parts to customize a page without membership

adding class (css) or style properties to buttons generated in catalogdisplaymode

asp.net 2.0 web part manager is undefined error

i'm having trouble deleting webparts programmatically

webpart problem (user does not have permission to perform this action.)

how do you add the minimize and close button?

image on popup menu

custom personalization provider

user scope personalization in web parts

rss feed user control inhereit iwebpart

how do i force the webpart personalization to use access as the database?

background image for web part titles

web part drag-n-drop in firefox?

asp.net "whidbey" webparts support for ws-remoteportlets ?

using custom control in a web part

web parts add new page

the profile properties are gone everytime the user logs off

seen any examples regarding interconnecting webparts?

only in ie?

exportverb & allowverb (??)

dynamic creation of webpart

is there a way to set personalization scope always on share scope? thanks

webpart catalogue

webparts personalization failing to save

  Privacy | Contact Us
All Times Are GMT