I have a windows user accounts which i just created take XYZ for example.
This XYZ belongs to a User group and a custom group i created in Computer Management --> Local users and groups.
So in properties i see that the user belongs to the 2 groups.
Now i want to get those groups and display them. any suggestions???
i have done this ...
I don't know if question in the title was clear enough.
Let's say that you have 2 or N domains pointing on the same ip address, your server (in my case Windows Server with IIS) and you want to make custom site for every domain name so you have to detect which domain is user currently using.
There should be two "custom sites". One is Ad...
When someone logs on to my site. I want to direct them to their own home page. If the user has the id of 1. They would go to
http://www.test.com/Home.aspx?id=1
I already have the login and id setup. I am not sure how to incorporate it into the url.
...
Hi,
I was wondering if there were any tests out there that compared page loading times for identical websites constructed in either asp.net or gwt.
Have had a look but nothing as objective as this seems to be about...
...
I have a form that submits the game score. Is there any way to check whether that game score is not tampered during submission. I am using POST method, for GET method we can use HASH, but i am looking for POST method
...
I have a dynamic ASP.NET form which I recreate evertime I postback. My values persist no problem.
I am however having a challenge maintaining attributes on Postback. For example, I have user defined code which may enable or disable a field when someone is first presented with the form. If a user posts the form I need an easy way to...
Looking at: http://demos.telerik.com/aspnet-mvc/Grid?theme=vista
Can anyone tell me what _FirstLook() is meant to return?
It is implementing the paging I think.
[GridAction]
public ActionResult _FirstLook()
{
return View(new GridModel(GetOrderDto()));
}
Every example I find calls a method ...
when user clicks an asp button, the onClientClick calls a javascript function to open a popup. I am using IE8. User fills in some form data in the popup.
var mywin;
function popup(url)
{
if (mywin==null || mywin.closed)
{
mywin=window.open(url,--rest of parameters);
}
else
{
mywin.focus();
}
mywin=window.open(url..) is called ever...
Please refer to *
When first time enter the arrangement of items is OK(three items as a row), but if I refresh it it will screw up
Can someone point me any direction ?
Thanks in advance !
Edit:
Is there any differences between refresh and using the link to enter ?
Edit:
This problem only happen in Chrome browser
...
What is the advantage of intercepting a request for an ASP.Net application at the HttpContext level rather than waiting for the request to be processed by the HttpApplication pipeline?
...
Hello guys,
I have a DataList containing a list of elements(ASP.Net app).
To delete an item i first used tha classic javascript confirmation.
As i found it ugly,i want to use a confirmation box plugin.
when i click OK==>Delete the item from DB(using a webservice)
But how can i update the DataList.
The situation is liek:
when u add...
Take my profile for example, or any question number of views on this site, what is the process of logging the number of visits per page or object on a website, which I presumably think includes:
Counting registered users once (this must be reflected in the db, which pages / objects the user has visited). this will also not include unre...
Is there such a thing as an optimum chunk size for processing large files? I have an upload service (WCF) which is used to accept file uploads ranging from several hundred megabytes.
I've experimented with 4KB, 8KB through to 1MB chunk sizes. Bigger chunk sizes is good for performance (faster processing) but it comes at the cost of me...
It’s been a while since the community got any feature releases from the spark team. Has it ceased development? With the advent of Razor, has Louis moved on?
The least release was in March and the last development build was in July
...
I have a library that is meant to be used by many websites. The way I am doing it now is in the library's properties, I set the "Post-build event command line" to: copy "$(TargetPath)" "$(SolutionDir)\MyWebsite\bin\$(TargetFileName)"
Every time I want a new website to use the shared library, I add a new line like this: copy "$(TargetPat...
Am I missing something? I'm trying to do a simple ajax call using jquery to a web service on my site and I get a 500 error every time when I make the call from the master page. Has no one ever made an ajax call from a master page or am I just crazy and extremely deprived of sleep?
Example:
MasterPage.master
<script type="text/javasc...
Can anyone plz tell me the difference between passthrough and Transform modes of literal control with an example if possible.
...
How to modify the server value of response header through code behind using asp.net 2.0 with IIS6.0 server.
I have tried Response.Headers.Set("XYZ","ABC");
But it displays integrated pipeline error....
...
when i write mockup in visual studio i found in intellesense that some tags like
asp:tagname but in mvc i don't want it. so are i can remove it then when i write mock up then i not see this webform tags in intellesense
...
I came upon an interesting discussion with my team around the use of HttpRequest.UrlReferrer and wanted to solicit feedback from the community. According to the W3C spec:
The Referer[sic] request-header field
allows the client to specify, for the
server's benefit, the address (URI) of
the resource from which the
Request-URI ...