I my application in need to save web page data only when user changes any loaded data?If not should promt a message
No data to save ! how to do it.Please help me
View Complete Post
I have some logging that has to be done, which are some database update or inserts.
However this logging is of no importance to the user, so I only want to process the data/logs after the page is completed for the user.As of now, if I process the data while the page is loading, I go from 1.4 to 2.0 speed (server side time processing of code), which is quite a bit comparing it is of no use to the user.
So I want this code only executed after that the page is complete.
I've been checking out Ajax, async pages etc, but the problem is it still gets executed before the page is rendered to the client, which means the client will have to wait longer then it is not being processed.
I've been checking out Threadpool.queueBackgroundWorker, however if I get it correct, this will still be executed before the page is shown to the user, as it has to complete before the prerender.
Then I thought about creating a new thread, and do the processing there, which would not have my page waiting to complete the data/logging.However when I have 100 or 200 users loading pages at the same time, then that would mean I would be creating 200 threads on those loads, which I doubt will be good for performance. So if I want to solve this, I would have to create my own threadpool and only assign for example a max of 40 threads to it which can pr
Recently, I saw an article at:
However, when I turn on the Select and Update Commands for the gridview, I get the following behaviours:
- Select: Columns disappear, leaving the template column
- Update: Data was not updated to the database.
Please kindly assist.
Thank you in advance.
I am having problems with a user control. I want my solution to have a separate project for holding my user controls.
The main project can get a reference to this user control project and can import this user control dll into my main project.
Thanks in advance,
I'm not sure how to structure the code for this but what I want to do is be able to add data to a database, and once this has completed successfully, then email the user to say the details have been added successfully to the database.
I need to:
1. Check that the relevant data has been added into the database then
2. Email the details of the relevant data when completed.
Thanks in advance for your help,
I'm using the defualt membership provider, i created a table and used the gridview on the logged in user page to show his information such as address e-mail phone zip code etc,, how can i do this without writing a code?
I am new to asp.net i need simple help please?
I'm trying to get the current logged in UserId Value, using this code
Protected Sub UserProfileDataSource_Selecting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs) Handles UserProfileDataSource.Selecting
' Get a reference to the currently logged on user
Dim currentUser As MembershipUser = Membership.GetUser()
' Determine the currently logged on user's UserId value
Dim currentUserId As Guid = CType(currentUser.ProviderUserKey, Guid)
' Assign the currently logged on user's UserId to the @UserId parameter
e.Command.Parameters("@UserId").Value = currentUserId
But, I getting an error (NullReferenceException), I did set a url authorization on the page that i try to get the logged in user information, witch is info.aspx, and I made the login.aspx control to be redirected to the info.aspx after the login process, But the info.aspx only shows me (access in denied), how can i make this page knows that i am already logged in?
I am trying to persist data in a dynamically populated ListBox in a
user control. Here are the details
I have a user control which contains a a listBox and button. On
Page_Load of user control I am populating the ListBox control with some
values. On Click of button, I am trying to fetch the values which I have
selected in ListBox. Though this seems very simple
and straight forward I am unable to fetch values.
My Page_Load Function
void Page_Load(object sender, EventArgs e)
My Click Function
Protected Void Button1_Click(object sender, EventArgs e)
string strValue = listBox.SelectedValue
I have placed brake point at Page_Load and on click function, I am
seeing that the moment the breakpoin
Hi, I am using a IIS 7.5 on Windows 7. I have a simple application that uses System.Net.WebRequest to POST data to another URL (in fact, the server side URL is on my local computer and it is hosted in IIS 7.5).
1. The problem is the server does not save data from client although on the client side codes when I debug and I see the OK message return from the code line
response.StatusDescription; // this has value of "OK"
2. How can I debug the server code side where to receive the request from client side who posts the data ?
The following is the codes for client who posts data using System.Net.WebRequest, and codes for server side who received posted data to save to database.
Client side codes: // also run on my local computer
public string PostIntegrationXml(XmlDocument xmlSubmitDoc)
MicrosoftÃÂ® Office is one of the most well-known and most-used consumer products. For many people, their only experience with a computer is when using Office, be it checking e-mail, creating presentations, or writing a document.
MSDN Magazine February 2006
MSDN Magazine November 2003
My web application has user control which uses third party controls called Devexpress controls. The user control is a menu and is part of the Master page. It is placed there because this needs to be available in all the pages. My user controls raises a even on item clicked. Now, My question is that Is there any way to know that the event has occurred in page_load of the current page in which I am in?
now i hav stored all data like user name, data fatched from database of that user
and i stored that data and user name such as:
string strUserName="user name"
dataset ds =new dataset();// data of that user
now i wan yo send d whole data from my login page to user profile page
can anybody help me for that...................
and plz tell me that how much is this way is benifitial to send data from one page to another page
plz........kindly waiting for positive rply
I have three column comes from database table(Table1) and one column is for entering data for the user let us consider it look like this
ItemNo ItemName Qty uservalue
001 A 50 20
002 A 20 5
003 B 50
004 C 60 10
005 D 40
006 E 90 15
If its 300 row from database to gridview it will show 50 record with page navigation..
What i need is i need to insert data in to database table which gridview row has user value..
The output of the another table(Table2) will look like this after insert
ItemNo ItemName uservalue
001 A 20
002 A 5
I have a form which have some user input fields(like textboxes,dropdownlists,textarea etc) fields and a submit button.
on click i need to send email with body contents as all the details entered by user in the form
Can anyone suggest how i should approach to this in sharepoint..
any code examples would be appreciated.
I've created a workflow with a Collect Data from User action that emails a Group when the task is created. Once the task is claimed by an individual, the Assigned To column in the task list is updated to display that person's name but once the
task is completed the email variable for the action is not updated and the group is emailed instead of the person listed as Assigned To.
So the question is this: Is there a way to update the
user varialbe in the workflow task once the task is completed, or would I need to build my own workflow and use the Send Email action?
I've got a single user who's not able to manage his links in MOSS 2007. The links I speak of are gotting to via
users have no issue.
I read somewhere that this might be caused by the user in question having added an improperly formated link. My issue is how can I check for that condition and correct it? Any thoughst
would be much appreciated.