want to call one c#.net function in one user control from another user control
i have two user controls
info.ascx and personal.ascx
i have a function like
in info.ascx i have a function like showdetails()
now i want to access this function from personal.ascx
can i do this ?
thanks in advance.
shwetaThanksshwetaIn a day when don't come across any problem -you can be sure that you are traveling in wrong path
you should better create a class where you will define the "functions" that you need in both files. declare "static" the function and call it like nameofclass.nameoffunction
In a web project you can...Is this possible
Here is my scenario. We have a front desk that has a few people
throughout the day that use it. Currently we have a "generic" user
that the staff use to log on to the machine. This works fine and dandy
until the day the password needs to be changed, someone is fired, or
the fact that the password is shared willingly because it is a "shared"
account, thus creating a security issue.
What I'm wondering is if there is a way that I can define a group of
people/accounts that can unlock the workstation of each other. This
way, I can assign usern...siteMapNode denying users (not allow)
I am using security trimming with a sitemap. I want to stop a node showing if a user has logged in.
Can I use something like deny users="?" and allow users="*"
<siteMapNode deny users="?" allow users="*" url="usercreate.aspx" title="Register"></siteMapNode>
If anyone can help I'd be eternally grateful (well for at least five mins)
Danny just posted a great blog post on this topic: http://blogs.msdn.com/dannychen/archive/2006/03/16/553005.aspx
Hope this helps,
You can take a look at this article I wrote http://gridviewguy.com/Art...Can I block all e-mails coming into a user but only allow one account e-mail the user?
Not sure is possible, but I was asked by an administrator.
Greater Johnstown School District
CNE, ASE, CCA, A+
I also need to block all outgoing from same user. I only want him to
receive mail from only one user.
Greater Johnstown School District
CNE, ASE, CCA, A+
On Mon, 17 Mar 2008 19:20:03 +0000, Jon Street wrote:
> Not sure is possible, but I was asked by an administrator.
You can block incoming and/or outgoing Internet messages for a user by
using the class of service ...At a time one user allow to one login only
hi to all
I create a web application. i create a users. if one user login. application does not allow to same user login at a time. please guide me.
ypu just save the user name in session and compare if the same user is logged in again just give him a message stating that u r already logged inChandra mohan.Ihttp://chandu2u.wordpress.com/.
<asp:Login ID="Login1" runat="server" BackColor="#FFFBD6" BorderColor="#FFDFAD" BorderStyle="Solid" &n...Can <deny users="*"/> be overwritten by <allow users="admin1,admin2"> ??
If I want to allow only a few usernames in my database to access the /admin directory, will the code below work or will <deny users="*"/> keep everyone out? Thanks
The first rule from top to down that matches the particular user is used, meaning that in this case all use...All users are logged off when one user loggs off
I have an application developed with ASP.NET and VB.NET now i am facing a very big problem.That is when in application if anyone user does signout all users who have logged in are also signed out.This means that if 1000 users are logged in and one loggs off then all other 999 users are also logged off. This is a tedious problem and i need it to be solved as soon as possible.Please help me out as soon as possible if you have any kind of solutions.
Could you post more details especially what is the solution in your code and what is your authentication setting in IIS?Best...one user preventing other user connection
I'm using ASE 12.0 running on Solaris and with this environment I meet a
problem about connection.
Some times I meet that it is a connection without user (A connection tha was
disconnected but without killing process) appeared. If this problem occured
other user can not make connection to server.
Other users only be able to make connection if the process killed manually
or the server risky restarted.
may anybody help me? please!
Thk for all
...Allowing users to change their user name
I have a need to allow update of user names. I remember visiting one DNN site where this was implmented, but can't remember where it is. Does anyone have a quick, clean solution? Jonathan Palmer
I don't think its possible with the new membership provider..
You'd need to write a custom provider that modifies the username directly in the aspnet_Users and DotNetNuke Users tables. The sprocs in the default setup do not provide this functionality.
I think MS is going the route of "Not Allowing it" through the membership provider... as suggested earlier ...Allow User to change other users passwords
What do I need to do in order to give a user the ability to change other
users passwords and not have any other admin rights?
Mike Finnegan wrote:
> What do I need to do in order to give a user the ability to change other
> users passwords and not have any other admin rights?
You can use the password management acl. See
the idea in general although it is written for nw5,
Andy Thompson (SysOp) wrote:
> Mike Finnegan wrote:
>> What do I need to do in order to give a...Allowing users to view other users profiles
Iv created a basic social networking site Using the built in membership roles provider and its working great. So far users can signup and create a profile, login edit their profile and upload an avatar. Also close their account and view a list of all site members. But the one thing Iv not firgured out yet is how to allow users to view the profiles of other users. What I want to do is have a the usernames in the userlist display link to the the profile of the particular user. Now I assume I will have to send the username in the query string to the profile page but how do I extract...Cannot open user default database. Login failed. Login failed for user 'DOMAIN\User'. (.Net SqlClient Data Provider)
Hi when i try and open a database in sql server management studio i get the error "Cannot open user default database. Login failed. Login failed for user 'DOMAIN\User'. (.Net SqlClient Data Provider)", what can i do to rectify this, i have googled around and still havent found no answers.
Which authentication mode is your Sql Server configured - MixedMode, Windows Authentication or Sql Server Authentication?
Please refer to http://msdn2.microsoft.com/en-us/library/ms366351.aspx and http://blogs.msdn.com/sql_protocols/archive/2006/02/21/536201.aspx
Ple...External User not allowing a Period in User Name
I have several External users internet e-mail addresses that I need to
enter into our GroupWise system via ConsoleOne. They have addresses like
ConsoleOne will not allow me to type in fred.smith
Does anyone know a work around for this?
Thank you for any help you can provide.
> I have several External users internet e-mail addresses that I need
> to enter into our GroupWise system via ConsoleOne. They have
> addresses like this:
> fred.sm...Using one users personalization for a group of users
I'm new to Web Parts. I wonder if it is possible to let one user customize the layout for a page using web parts and then let all other users use his customization?
So in my project I want the administrator being able to change the looks for the rest of the users.
You betcha Carl. Search for "entersharedscope" and "togglescope" in msdn library, thats two searches.
Then add to your web.config so you can personalize for everyone else.
<allow users="Carl" verbs="enterSharedScope, modi...