.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
Kaviya Balasubramanian
Sgraph Infotech
Imran Ghani
Post New Web Links

User fills in the (different) values

Posted By:      Posted Date: August 31, 2010    Points: 0   Category :Sql Server
 
Hello, I'm kinda new to this forum and Reporting Services. I wonder if it is possible to let the user fill in a value in a cell of a table. I'll explain some more. You have 3 columns in a report. One column shows numeric data, the second column is blank and the third column shows the sum of the first two colums. Now the user has to fill in the second column himself so that the third column gets calculated. Is this possible?    thx in advance  


View Complete Post


More Related Resource Links

Values in user control fields empty when AutoEventWireup=true ?

  
As a BizTalk developer I'm trying to build a ASP.NET website so some obvious things might be new to me (so please be gentle). I have a web form and I have a user control on it. This user control contains a panel with some user properties that are to be stored in a database. So far nothing fancy. The user control itself contains a panel and is working fine (all code to retrieve and store the values is working). I used the default settings of creating a user control and one of them was AutoEventWireup=true. This works fine because I also have some dropdown boxes (and other fields) that need to be filled with values from the database and that happens in the Page_load event. The panel specifies the 'DefaultButton' which calls a method when clicked to save the values after the user has changed them. On this click the code of the method is called, I confirmed that, but I found out that the values of my controls on the user control (for example the Textbox control) are empty. As a non-ASP.NET developer I couldn't figure out why. So I changed some settings like AutoEventWireup to false. Off course this resulted in my dropdown boxes no longer to be initially filled, but my surprise was big to find out my controls actually contained the values the user typed in. Logically I need both the values and th

User Specific Values for a Drop Down "Choice" Field

  
I would like to create a drop down field which has some fields disabled or not visible based on the user logged in.  Is this possible?

Pass values between user controls on 2 different aspx pages

  
I have 2 user controls that is hosted by 2 different aspx pages.example: srcpage.aspx --> hosts the --> sourceusercontrol.ascxanddestpage.aspx --> hosts the --> destinationusercontrol.ascxI would like the values in the text fields of the sourceusercontrol.ascx to be passed on to the labels in the destinationusercontrol.ascx. I have gone through the MSDN ASP.Net examples and i was able to successfully pass values between two aspx page using the postback URL functionality, but cannot do the same thing with the usercontrols on 2 different aspx pages. Any suggestions would be helpfull....! Thanks..! 

SPSWC:ProfilePropertyValue and multiple values user properties

  

Hi, I'm trying to customize the profile.aspx page in My Profile (SP 2010). All works fine except for the fact that I can't see the values of the user properties configured as multiple-value fields.

I'm using spswc:ProfilePropertyValue and what I get is a list of value separator (comma or semicolon, as configured in the user property) without values.

Do you know how to display multiple value user properties?

Thank you
Riccardo


WPF Textbox loses original values, even if the user doesn't udpate

  

Hi,

I am having a very strange issue. I have a datagrid which is binding to an observable collection of type Person The selected item is bind to an Object Person. I have 2 textboxes firstname and lastname. When ever user selects an item from grid, the textbox values gets populated. user can edit the values and click submit button, values gets updated.

Source to Target works correctly - i.e. able to display from viewModel When I update the values gets updated.

Lets say user selected an item with firstname john, lastname smith The problem is user edits the firstname to johnny and he doesn't click submit button instead he selects a different item from datagrid, so when I go back to the original selected item. In the grid the selected item is shown as John smith, but in the textbox the value is shown as Johnny smith.

How to solve this problem? Any help would be greatly appreciated.


WPF Textbox loses original values, even if the user doesn't udpate

  

Hi,

I am having a very strange issue. I have a datagrid which is binding to an observable collection of type Person The selected item is bind to an Object Person. I have 2 textboxes firstname and lastname. When ever user selects an item from grid, the textbox values gets populated. user can edit the values and click submit button, values gets updated.

Source to Target works correctly - i.e. able to display from viewModel When I update the values gets updated.

Lets say user selected an item with firstname john, lastname smith The problem is user edits the firstname to johnny and he doesn't click submit button instead he selects a different item from datagrid, so when I go back to the original selected item. In the grid the selected item is shown as John smith, but in the textbox the value is shown as Johnny smith.

How to solve this problem? Any help would be greatly appreciated.


Getting values from Multiple user controls

  

Friends,

I have a asp.net page where i had placed two user controls.When the asp.net page loads naturally the first user control loads and then then the second user control loads.There is a value in the page load event of the first user control.I need to get this value in the second user controls page load event.

Can someone help me with this problem.

Thanks and Regards

Ashvin


WPF Textbox loses original values, even if the user doesn't udpate

  

Hi,

I am having a very strange issue. I have a datagrid which is binding to an observable collection of type Person The selected item is bind to an Object Person. I have 2 textboxes firstname and lastname. When ever user selects an item from grid, the textbox values gets populated. user can edit the values and click submit button, values gets updated.

Source to Target works correctly - i.e. able to display from viewModel When I update the values gets updated.

Lets say user selected an item with firstname john, lastname smith The problem is user edits the firstname to johnny and he doesn't click submit button instead he selects a different item from datagrid, so when I go back to the original selected item. In the grid the selected item is shown as John smith, but in the textbox the value is shown as Johnny smith.

How to solve this problem? Any help would be greatly appreciated.

 


Return a user and a set of values from the same sproc

  

I have a user table with userID, userName ...the standards.
I also have a "Material" table with materialID, materialName, etc.

I combine these in another table "UsersMaterial" with userID and materialID, depending on which materials the user has chosen (between 0 and 5).

Now I need a stored procedure that returns the user information + the set of materials that is mapped to the user.

But I can't see how I can return one row of user information combined with a set of the user materials? Do I join or can I return a set + one row?


Thanks in advance!

Niklas


workflow triggered during upload but after the user enters values in the properties dialog

  
 

1) When "Start this workflow when a new item is created" option is selected the workflow gets triggered as soon as the file is uploaded and even before the 'edit properties' dialog is displayed.  I want the workflow to be triggered after the properties are entered by the user on upload.

 

2) Selecting "Start this workflow when an item is changed." option also does not trigger the workflow during upload.  This triggers only when the user explicitly selects 'Edit Properties' dialog.

 

So my question is, how to get the workflow triggered during upload but after the user enters values in the prop

Deleted values are replaced automatically when user presses tab in Datagrid

  

I have a WPF application which is using the WPF DataGrid.It is working with  anonymous behaviour in the following scenerio.

We entered text in the horizontal cells(A1,B1,C1,D1.....)

Selected all the cells in which data is entered and clicked on delete button in the keyboard. all values are deleted.Then,selected the first cell(A1) and entered some text and clicked on tab key continuously. Then,Deleted data are showing in the cells upon pressing  tab key in the respective cells. Any solutions and suggestions  related to this are welcome.

Thanks in advance.

 

 


Setting user values on login

  

Hi all,

Not sure if this falls under security but I figured since its about logging in it might.  Anyway.  I would like to know if my approach is good.  I have set up a login, the Login method is under the User Class which uses validation to my own database (not ASPNETDB).  I would also like to set values to that user to use on each page such as a simple label on the home page that says "Hello [UserName]". 

Code is below, should I separate the User values into a different class?  Also once i go to another page (called Home.aspx) I would like to set an ASP Panel to have the username in it.  I created a new instance of the User class in Home.aspx but unsure what I would need to go to get this to work.  Should I have some LoadUser method after a successful login?


THANKS ALL!



public class User
{
    int UserID { get; set; }

Difference between UserProfile & User Information List Property Values?

  

If I checks the FirstName & LastName Property values in UserProfile it has someValue however the same properties does not have anyValue in User Information List, what would the reason behind this?

Even I could see comma (",") separated value for some Field in UIL however the same value is in UserProfile without comma (",") ....

ProfileSync and/or QuickSync will update the UIL with same Information avail in UserProfile, isn't it? In that case both should have the same value, right?


Karthikeyan | MCTS | India

Bind() inside Templated User Control inside InsertItemTemplate does not bubble values up to the Obje

  

I have a ObjectDataSource and a ListView referencing it.

I have created a Templated User Control (see: http://msdn.microsoft.com/en-us/library/36574bf6.aspx) and placed it in the ListView's InsertItemTemplate

It has one template <ContentTemplate>. Inside that template, I've defined a couple of server controls with their properties = '<%# Bind("colName") #>'.

See below:

        <InsertItemTemplate>
            <uc:InsertItemRow ID="ucInsertItemRow" runat="server">
                <

How to validate user interface values in vs 2010 setup and deployment project

  
Hi,
I created a setup and deployment project in vs 2010 and I added some dialogs in user interface. Now I want to validate values in dialogs when I click next button during installing. Are there any functions to do that?
I can't understand what they are trying to say in the above link?
Can anybody put a walkthrough on it.

knowledge glows

How to search grid results based on user provided values?

  

I would like a user to be able to enter some criteria in a search box and then have them click on a search button to filter the data using a "contains" logic and not an exact match.

 Anyone know if this is possible?

I have downloaded the DynamicFilterRepeater and that works well, but you end up with one search box per colulmn...I would like to have one search box that columns could subscribe to and that would be filtered automatically.

Not sure how to go about doing something like that...I'm still quite new to DD and I am still trying to get a grasp on the basic stuff.

Regards,
Joel.


Auto populate custom fields with values based on user selected in People Editor

  

Hi,

I have a requirement wherein I want to populate the currently logged in user in people editor field of my custom web part and based on the user in people editor field, Also I should be able to select any other user if needed. I need to fill some other custom fields as well. I am able to get this quite easily. But suppose I remove the current logged user's name from people editor and enter some other name and then click on Check Names, then how do I change the custom fields based on the new user ?

    PeopleEditor peNameofFileRequestor = new PeopleEditor();
    TextBox txtPhoneNumber;
    TextBox txtDepartmentName;
    
    SPContext cnxtCurrent;

    protected override void CreateChildControls()
    {
      base.CreateChildControls();

      cnxtCurrent = SPContext.Current;
      SPUser usrCurrent = cnxtCurrent.Web.CurrentUser;

      peNameofFileRequestor.MultiSelect = false;
      peNameofFileRequestor.SelectionSet = "User";
      peNameofFileRequestor.AutoPostBack = true;

      System.Collections.ArrayList entityArrayList = new System.Collections.ArrayList();
      PickerEntity entity = new PickerEntity();
      
      entity.Key = usrCurrent.LoginName;
      entity = peNameofFileRequestor.ValidateEntity(entity);
      entityArrayList.Add(entity);
      peNameofFileRequestor.UpdateEntities(entityArrayList);

      Hashtable htEntityDa
Categories: 
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend