asp.net

EntityDataModel and Association table

Hi All, I have an authors -> authorsbooks <- books in my database. I created an entity data model from this and I noticed that the association entity didn't show up in the model(I think it's inferred). I want to drag 2 EntityDataSources onto the designer, a gridview of authors, and when a user clicks to select an author another gridvie...

Does access to server resources require client process to login to server machine?

Reposting my unanswered in technet.microsoft question? MSDN "ASP.NET Delegation" article tells: 1) "When you configure to use a particular account as the process identity, ASP.NET attempts to delegate that account. If it is a local account that is identical (including password) to a local account on a remote machine, delegation i...

Unable to start debugging IIS 7.5 Detailed Error - 500.19

I tried to run my WebApp on my local machine today (nothing has changed on it) and I had the above error. I know my machine had a windows update recently (not sure if that has anything to do with it). The error produces a big print out of css styles and html markup. In the markup it also says "The requested page cannot be accecssed bec...

Are themes visible at design time?

This is my first experience with themes. I've created a skin file for a textbox and the defined theme is only visible at runtime. Is this the way theme works or I am missing something? ...

Is client LocalSystem (SYSTEM) identified by target/server machine? and in which context?

[1] tells: "When you configure to use a particular account as the process identity, ASP.NET attempts to delegate that account. If it is a local account that is identical (including password) to a local account on a remote machine, delegation is possible. If such an account does not exist on the remote machine, to the network it appe...

Master page image doesn't display on content page

I have an image on my master page like this: <img src="../Images/logo.jpg" /> The master page lies in Root/MasterPages/masterpage.master Now this image is displayed in a content page which is in Root/SomeDir/ContentPage.aspx, but it doesn't work in a content page which is in Root/SomeDir1/SomeDir2/ContentPage.aspx. Why? Master Page ...

Parsing a type class in c#

Hi,, i have code like this public class People { public string name { get; set; } } public class Animal { public string age { get; set; } } class Test { public void DataPeopleList() { string sql = "SELECT * FROM People"; SqlCommand cmd = new SqlCommand(sql, conn); SqlDataReader rdr = cmd.Exec...

Recommended approach for designing master/detail forms on a single page ?

I have a single web page with master detail form/input layout. Currently the form works in a way like User opens the page containing both master/detail data entry controls and enters the master information (The details save button is disabled) When he saves the master information, the save master button gets disabled and save details i...

Login and authentication system in a service (wcf) based application

i want to design a authentication system for a service oriented application. i have a wcf service based asp.net application ...

send a mail to a user with a link

Hi everyone, In my project i am sending a mail to the user to create a user account. I want to enable that link for the first time he/she clicks the link. if he clicks the link for more than 2 times,then it should go to custom error page.how to do this? ...

Need help with this error ::Invalid token '=' in class, struct, or interface member declaration

trying to hide a panel of Master Page in my content page using the following code Panel p = this.Master.FindControl("panel1") as Panel; p.Visible = false; //Error is showing on this line Why this error ? Plz help..thnx ...

Scrolling in jqPlot

I am using jqplot to show candlestick chart and the data is from xml. I retrieve data from xml and put it into array and then jqplot creates a candlestick chart from that. but xml file contains lots of data so in chart values are over lapping (with fixed width). is it possible that we make graph of lets say 10% of data and place a scroll...

How to perform checkBox_CheckedChanged event?

Suppose there is CheckBox and I want to perform checkBox_CheckedChanged event when it is checked.how to do that? ...

How to log user operations for a asp.net application ?

How can we log user operations for a asp.net application. Further what is the approach for saving the log data ? Kindly guide. ...

Need help with updatePanel

My content page <asp:updatePanel id="Panel1" runat="server" Visible="true"> <ContentTemplate> <div> blah blah </div> </ContentTemplate> </asp:updatePanel> <asp:updatePanel id="Panel2" runat="server" Visible="false"> <ContentTemplate> ...

Double Postback from Firefox in asp.net application

Firefox is causing double PostBacks in my asp.net application. IE and Safari do not cause the problem. I have a form for users to fill out that is inside the second View shown in a MultiView. The MultiView is inside an UpdatePanel so the Views are updated via partial page postbacks. Once they are presented the form they hit submit and t...

createuserwizard adding roles to users

Hi I have a createuserwizard controls and I would like assign ROLES when creating a user. Any idea how to do it? Thanks Here my code C# <asp:CreateUserWizard ID="uxCreateUserWizardInput" runat="server" LoginCreatedUser="False"> <WizardSteps> <asp:CreateUserWizardStep runat="server" /> <asp:CompleteWizardSt...

RadGrid select rows problem

Hi all: I have RadGrid from telerik with GridClientSelectColumn column ,when the user check records and click action button the SelectedItems is empty. Is there any way to retrive SelectedItems? ...

How to perform ondatabinding event?

Suppose there is checkBox with id chkSelect and to perform ondatabinding event.How to do that? ...

HttpHandler to download txt files (ASP.NET)?

Hey, I created a HttpHandler for downloading files from the server. It seems it is not handling anything...I put a breakpoint in the ProcessRequest, it never goes there. public class DownloadHandler : IHttpHandler { public void ProcessRequest(HttpContext context) { //download stuff and break point } } It never stops t...