I have two tab panels and each tab panel has a text box. When I move between the tabs, the data in the text boxes is lost. What should I do to retain the data?
View Complete Post
have a modal popup and a GridView in it. The GridView is populated
programmatically, i.e. I use .DataBind(). I can enter data into some of
the GridView's controls. After I press Submit, I expect to do something
with the entered data. But in the button press handler, the GridView is
empty. I realize that I have to DataBind() again in the handler, but how
can I preserve the data the user enters?Thanks.
We are running WSS 3.0 SP2 on server 2003. Recently, we lost the "Titles" for all content types for documents. Our system Content Type for Document is set up to require this field to be completed on all documents that is uploaded. Our system
would automatically enter in by default the name of the document in the "Title" field it no longer does this for the user. The user must now enter in manually the "Title". How do I get it to enter in the "Title" using the document file name automatically?
Below is the way the setting page for Site Content Type: Document looks like. (I tried to recreate it since I could place a screen shot in the box)
Site Content Type Information
Descriptiong: Create a new document.
Group: Document Content Types
Name, Description, and group
Delete this site content type
Name Type &nb
Strange but true. Any ideas what might be causing this?
MVC basics or looks like I am doing something terribly wrong, but have not slightly idea what is it?
Want to delete user from MVC Framework's Built in Security Module.
So first I define Delete() in AccountController:
public ActionResult DeleteUser()
User_Repository urp = new User_Repository();
aspnet_Users currUser = urp.Get_AspNet_User(HttpContext.User.Identity.Name);
and this works fine.
I added view (for delete) DeleteUser.aspx
<h3>Are you sure you want to delete this?</h3>
<div class="display-field"><%= Html.Encode(Model.UserId) %></div>
<div class="display-field"><%= Html.Encode(Model.UserName) %>&
I have a form thru which I add new user and/or edit users list. Adding a new user is okay. Edited data is also saved with the update tableadapter.update method, but as soon as I close the form, the data is set back to the original values. (However new records
are there). Data is stored on table "Users", which is part of the "Database.sdf".
Please help, how can I save/update the values for existing items.