|
i want to access the groups and roles and priviledges of the users on machine through asp.net 2.0 application . THe computer machine can be any machine ie whoever browses our application.
its urgent.
thanks in advance.
|
|
|
|
|
Hi
Look up ASP.NET membership on MSDN - http://msdn2.microsoft.com/en-us/library/system.web.security.membershipprovider_members.aspx.
Basically you want to make a page that displays active users MemberShip::GetAllUsers.
You can also use GetNumberOfUsersOnline to see how many people are currently browsing.
Another handy one is GetUser - this returns a membershipuser object that you can query for user information from the datasource - such as IsOnline etc.
http://msdn2.microsoft.com/en-us/library/system.web.security.membershipuser_members.aspx
Also look at System.Security.Principal.IPrincipal.Page.User - this provieds information about users making a page request.
I haven't given you the complete answer but there is more than enough there for you to complete your task now.
I hope this helps
Dan
|
|
|
|
|
i dont want user to the application i want suppose a user is using my application i should be able to browse other users in his network their roles and priviledges etc. ie i want to enter into network of the user who is browsing the application.like by ldap we can access our own directory but i should be able to access other users directory.
its urgent.
thanks in advance .
|
|
|
|
|
Hi all,
i have two time fields(strings) from-time and to-time. I want a validator to insure that the user enters valid time. That means from-time shopuld be less than to-time. I have tried CompareValidator with GreaterThan but not working cause when i enter: From 11:00 AM To 5:00 Pm, it displays the error msg and this not correct. Any help!!!
|
|
|
|
|
U can do one thing. Use a custom validator.
First ensure the format is coreect using Regular Expression, then extract the individual parts of ur date to have a comparision with ur own logic to ensure the functionality u wanted. Fine ?
Type : Suggestion
Deo
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
Iam using Regular expression that validates the input of time, but on submittion i want to make sure from time is less than to time so that the report afterthat subtracts the two times correctly. is there a validator/function for that.
thanks
|
|
|
|
|
Hi,
I think there no validator for this time of things but you can write your won logic to compare those to times.
Regards,
Sandeep Kumar.V
|
|
|
|
|
Hi all
Dim myStringBuilder As StringBuilder
this "StringBuilder" working when the code in HTML page
But it is giving err as "Type StringBuilder not defined" in .aspx.vb page
What is the reason
---------------------------------
And
How can i copy Placeholder data into a Label
Example
I want to display the placeholder data in the Label
Keerthi
|
|
|
|
|
-giving err as "Type StringBuilder not defined" in .aspx.vb page ?
May be u havenot imported the namespace System.Text or use the full path System.Text.StringBuilder
How can i copy Placeholder data into a Label
If i remind u,PlaceHolder is a container that is rendered at runtime where u can place other elements. when it is rendered,u get no clientside element of placeholder. So u need other controls data to be placed in the placeholder and get the datas of those controls .
I hope it matches
Deo
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
Insert
Imports System.Text
in the top of your .vb code file.
SG
|
|
|
|
|
|
Crystal Reports 9.2 with Windows Server 2003.
When deploying a .Net 2003 web application that uses crystal reports.
When converting the report to the PDF format using crystal reports’ engine i get the following message:
* Error in File C:\WINDOWS\TEMP\temp_37248246935.rpt Failed to load report
Solutions tried so far:
- Installing the Crystal report redistributable package v 9.2
- Grant full access to c:\windows\temp to authenticated user, IUSR_ and IWAM users, and everyone.
|
|
|
|
|
copy the rpt files in the corresponding folder.
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
You mean the temp folder !!!!!!
|
|
|
|
|
no, the same folder where you keep the rpt files while designing
Regards,
Sylvester G
sylvester_g_m@yahoo.com
|
|
|
|
|
I will tell u what iam doing. Iam designing the report from dot net and saving it in the same project iam using it in. So, i dont understand where to copy it.
"the same folder where you keep the rpt files while designing"
|
|
|
|
|
i have web page and there is one button Print.I want when i press the Print button than data get from database table and Print give the print automatically.
suahil shahab
|
|
|
|
|
One way to do it is to use Ajax enabled functionality to retrive the data from server and then in the callBack method, use the print() function of the window object to print the page. fine ?
Deo
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
Please tell me how use this in asp.net
|
|
|
|
|
I still want ur exact problem to solve the issue
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
salam,
I have a web page which have some field like first name ane lastname address etc that is save in a database table i have i also print button. I want when i will press the print button than a report generate and printer print the the report, without opening the print dialog.just i press the button and printer print the reports. i am wainting ur response.
suhail shahab
|
|
|
|
|
I still want ur exact problem to solve the issue
Give also u r mail address , so that i can mail u the solution, if possible
Deo
Bijay Bhaskar Deo
Thanks & Regard
|
|
|
|
|
salam,
I have a web page which have some field like first name ane lastname address etc that is save in a database table i have i also print button. I want when i will press the print button than a report generate and printer print the the report, without opening the print dialog.just i press the button and printer print the reports. i am wainting ur response.
suhail shahab
email address shahabsohail@hotmail.com
codeproject01@hotmail.com
suhial shahab
|
|
|
|
|
Hi,
I am developing a property retal website and I am looking for code that I can implement into my website that shows a user when a property has been booked for. I am looking for a simple calendar like in the link below. I need it to work on my website, not on a 3rd party's website:
http://rentors.org/calendar.aspx?propertyid=9&culturename=en-US[^]
The code can either be in C# or VB.NET, and I can change it to C#. I am running on .NET 2.0.
I hope someone can help.
Regards
ma se
|
|
|
|
|
Hi All
I have to download from FTP link as we are using in http(right click the http link a popup will come which will ask the location to save the downloaded file).
But it is not working.It is showing error :this format is not supported.
Can anyone please help me.
Thanks in advance
Vijay kumar
|
|
|
|