Posted on: 4/9/2012 5:23:13 AM | Views : 354

Hi from a newbie!
I am building a sharepoint web part that contains an .ascx page, which has a listview control that runs at server. When the user edits the row, I want to pass on user's nt account information back to the list view update command, but it appears that I am not able to pass on the client value (nt account information received from browser) back to server since this is a list view that runs at server. Any thoughts how I can accomplish this? Follows a few snippets of code that will help you understand my problem.
<% string User_Login; User_Login = ""; //Get user information SPUser oUser; oUser = SPContext.Current.Web.CurrentUser; %> <asp:ListView ID="ListView1" runat="server" DataSourceID="dsLatestLocks" EnableModelValidation="True"> <AlternatingItemTemplate> <tr style="background-color: #FAFAD2;color: # ...

Go to the complete details ...