Hi, I am using the asp.net chart control and I am happy with it. My client is now asking me if I can add an email button to my web page an send off an email with the chart included in it. Any ideas how I can do this? Thanks.
...
I have a webapp that uses Forms Authentication using ActiveDirectoryMembershipProvider.
That works fine... users can do login successfully.
Once the user do login, he can change the password.
We use a ChangePassword control that retrieve the Membership information and uses the OLD and new password to change the user's password. THAT Do...
Greetings.
I've got a web site project loaded into Visual Studio 2008. The .designer files for all of my ascx controls are not nested under the control in solution explorer, and when I reference something in that control in the code behind, I don't get intellisense.
I've checked the csproj xml file, and the 'compile' elements appear...
Hi..
I have a gridview (actually a SPgridview)
And i made the columnname clickable so the users can sort the rows using the data.
And that works fine.
The problem occurs when users try to select a row after they sorted the data.
I can see that the gridview kinda "forgets" how the rows were sorted and selects the row that was at the cl...
I have a field in my model - call it 'distance' - and I want to write a view that contains both a checkbox and a textbox.
If the checkbox is checked, the textbox becomes disabled and 'distance' gets the value 0 when the form is submitted.
If the checkbox is not checked, 'distance' gets whatever value is in the textbox when the form is...
I have a .NET 2.0, precompiled and deployed web site. I have decompiled the site and added new functionality to a 'dev branch' of the site. I now need to upgrade the site to .NET 3.5, so that the new features can function, and add the new features to the 'production' site.
How can I go about this merge of features into the 'production...
I am going to be creating a multi-lingual website (asp.net) and was wondering how to best handle much of the administrative screen UI work where the end user will be maintaining lists of data that will need to be in multiple languages. Anyone know of any good sample applications I can take a look at?
Example scenario. I have a screen ...
For my current project I'm using LINQ to SQL as ORM. For now I'm storing modified entities in session to save changes made between ASP.NET requests. What is the best practise for doing this, because lately I started seing this approach is not very scalable for the Web farms.
...
I've been reading that ChannelFactory creation is expensive and that unless there is a technical reason not to, one should reuse ChannelFactories when possible either by caching them someway, or by using static instances of the factories.
In your experience, what ChannelFactory reuse strategies have you found to be the most useful and r...
I got the above error in my app. Here is the original code
public string GetCustomerNumber(Guid id)
{
string accountNumber =
(string)DBSqlHelperFactory.ExecuteScalar(connectionStringSplendidmyApp,
CommandType.StoredProcedure,
"GetCustomerNumber",
...
Hello,
According to my book, if role management is enabled, then RoleManagerModule creates the security context of the user by assigning RolePrincipal object to the HttpRequest.User. But isn’t security context already created ( thus principal object being assigned to HttpContext.User ) by FormsAuthenticationModule, which is called pr...
If I want to call a server function from javascript to retrieve a name of a person from a database (just as an example)... and I went...
name = myServices.getName(userId);
If I have a script manager with a service reference to a .asmx file that has the web method getName( int userId ) {} then this function should be called properly and...
With VS2008 SP1 I have a line of code like this in an aspx file:
<img src='http://spiurl.appspot.com/<%#DataBinder.Eval(Container.DataItem, "UserName") %>' style='border:0; cursor:pointer;'/>
This works perfectly. However, if I switch to "Design" mode in the IDE and then back to "Source" mode the characters [A] are magically/infur...
I using linq 2 sql with the asp.net mvc. I am having two table schedular and schdulerhistory
and I am having a stored procedure which will insert data in this two table with one transaction.
I want to use that stored procedure with the linq. How i can accomplish this things with linq 2 sql.
...
Not sure if this belongs in community wiki...
Can somebody give some general guidelines on how to successfully build an ASP.NET site that isn't dependent on JavaScript? My understanding is that I should build a functional site initially without JavaScript, and use it to enhance the user experience. That is easier said than done... how...
Here's the situation: I would like to iterate through a table with input controls, collect up the values and then submit them to an ASP.Net PageMethod to save the data to the database. I have the collection all figured out, but am getting an error that the string can't be converted to a Dictionary.
So I end up with something like this b...
I'm building an application using ASP.Net MVC, and I want/need it to work with and without javascript enabled. The first stumbling point for me is this: When the user clicks on the register link, if they don't have javascript enabled they should be sent to a registration page that has master page stuff around it... but if they do have ja...
I am using ASP.NET2.0. I have created a download form with some input fields and a download button. When the download button is clicked, I want to redirect the user to a "Thank you for downloading..." page and immediately offer him/her the file to save.
I have this following code to show the savefile dialog:
public partial class ThankY...
What is the default session timeout value in ASP.NET?
...
Hi, I have implemented a LINQ to SQL based RoleProvider, when I assign role to a user following exception is thrown while AddUsersToRoles method is called. I have defined a composite primary key userid & roleId on this table, it still throwing this exception:
Can't perform Create, Update or Delete
operations on 'Table(UsersInRole)'...