SearchBox Not showing the result while entering the query in XSLT Listview webpart

I Have a programmitically created a XSLT listView webpart,in that webpart I have  a Searchbox.If any search query i given in that box result is not showing or list items is not filtering based on the query.My code is below
  SPListItemCollection listItemColl = this.GetData();
            SPListItem listItem = null;
            string ListName = string.Empty;
            string listViewName = string.Empty;
            try
                // create our List View web part
                XsltListViewWebPart wp = new XsltListViewWebPart();
                SPWeb web = SPContext.Current.Web;
                if (listItemColl.Count > 0)
                    listItem = listItemColl[0];
                    if (listItem[CommonResources.List_Field_TilesListName] != null)
                        this.divListviewConfigTileWrapper.Controls.Clear();
                        ListName = Convert.ToString(listItem[CommonResources.List_Field_TilesListName]);
                        SPList list = web.Lists[ListName];
                        wp.ID = ListName + "_WP";
                        wp.ListId = list.ID;
                        wp.ListName = list.ID.ToString("B").ToUpper();
                        wp.WebId = web.ID;
                        if (listItem[CommonResources.List_Field_ListViewName] != null)
                            listViewName = Convert.ToString(listItem[CommonResources.List_Field_ListViewName]);
                            wp.XmlDefinition = list.Views[listViewName].GetViewXml();
                            wp.ViewGuid = list.Views[listViewName].ID.ToString("B").ToUpper();
                        else
                            wp.XmlDefinition = list.DefaultView.GetViewXml();
                            wp.ViewGuid = list.DefaultView.ID.ToString("B").ToUpper();
                        wp.InplaceSearchEnabled = true;                        
                        wp.AllowConnect = true;
                        wp.AsyncRefresh = true;               
                        wp.ViewGuid = list.Views[listViewName].ID.ToString("B").ToUpper();
                        wp.View.TabularView = false;                       
                        Control ctrl = (Control)wp;
                        this.divListviewConfigTileWrapper.Controls.Add(ctrl);
Any please help me regarding this.

Hi Karthik,
Is your question related in any ways to Microsoft scheduling solution PROJECT? In case it is, please develop with more details about the exact issue, technology, environment, version...
In case it is not, please delete and post it to the right TechNet forum in order to have an helpful hand.
Regards.
Guillaume Rouyre - MBA, MCP, MCTS

Similar Messages

  • Query not showing detailed result when run through query Designer or Portal

    Hi,
    There is one query which not showing detailed result while running through Query Designer or run in Portal.
    But strange thing is that it is showing the detailed result when i run it through BeX Analyzer.
    While all the other queries don't have this problem in system. All showing the correct detailed result.
    If anyone have some idea on this issue plz let me know.
    Regards,
    Javed
    Edited by: Javed Akhtar on Jul 7, 2009 3:59 PM

    Hi,
    We can do this setting in WAD. Please check the web template and try to remove that setting. When you have hierarchy then we can display only till certain level in portal, this setting is done in web template APIs, but in bex analyzer you can see all the detailed information.
    Edited
    Go through this thread for some more detailed information
    http://help.sap.com/saphelp_nw2004s/helpdata/en/44/7b5f0a95ce12d0e10000000a422035/frameset.htm
    Regards,
    rik

  • Bi content is not showing statistics data while running the report in porta

    hi friends,
    I  installed the BI Admin Cockpit to collect the statistical information.
    I can see the statistics informatio in portal only when i run the query in bex. if i run the report in portal it's not showing any statistics.
    could you guide me the exact reason and pls guide me to rectify this problem
    thanks in advance,
    sruthi.

    Any help on this....

  • After upgrading to iOS 8, the weather app does not show up results for any of the Indian States/cities

    After upgrading to iOS 8 on my iPhone 5, the weather app does not show up results for any of the Indian States/cities. Can Apple look into this or does anyone have a solution to this.

    Swipe from bottom of days listed ("Wednesday, Thursday, Friday, etc")  upwards.  I thought it was gone too but it's still there~just takes different way to access it.

  • Why does my macbook pro retina display shutdown while entering the administer account

    why does my macbook pro retina display shutdown while entering the administer account

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, or by corruption of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain iMacs. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Some Devices are not showing up at all in the Discovery reports

    Hi all,
    The first time I ran the CS device discovery I got 50 reachable devices. I scheduled the Device Discovery to be run every week. I added more subnets to the discovery but unfortunately the last discovery shows only 31 devices from the first discovered devices (50). I checked the DCR and there is only 44 devices out of the 50!
    My question is:
    Should not the scheduled Device Discovery discovers all devices -the previously discovered ones and the new ones-?
    Why the rest of the devices are not showing up at all in the discovery reports (neither reachable nor unreachable) although all of them are pingable and responding to the snmpwalk tool from the CWLMS server.
    Your kindly respond is highly appreciated.
    Thanks in advance.

    I ran the discovery again with the same settings after enabling debugging and I checked the following log files:
    1. in the ngdiscovery.log I found a lot of errors all about Duplicate IpAddress example:
    ERROR  [DeviceManager : EvalTask-DiscoveryThreadPool-06 addNewDevice]  : Duplicate IpAddress (127.0.0.51) found in addNewDevice().Device 1 ip = 10.8.113.29 , id1 = 127.0.0.51*F1COR.xyz.com*.1.3.6.1.4.1.9.1.283, Device 2 ip = 10.8.113.106 , id2 = 127.0.0.51*LCD.xyz.com*.1.3.6.1.4.1.9.1.283
    ERROR  [DeviceManager : EvalTask-DiscoveryThreadPool-08 updateDevice]  : Duplicate IpAddress (127.0.0.51) found in updateDevice().Device 1 ip = 10.8.113.93 , id1 = 127.0.0.51*UDS.xyz.com*.1.3.6.1.4.1.9.1.283, Device 2 ip = 10.8.113.73 , id2 = 127.0.0.51*F2COR.xyz.com*.1.3.6.1.4.1.9.1.283
    ERROR  [DeviceManager : EvalTask-DiscoveryThreadPool-09 addNewDevice]  : Duplicate IpAddress (10.8.113.42) found in addNewDevice().Device 1 ip = 10.8.113.42 , id1 = null, Device 2 ip = 10.8.113.86 , id2 = 10.8.118.251*OPS.xyz.sa*.1.3.6.1.4.1.9.1.501
    2. in the CSDiscovery.log:
    Error while changing the permission of the file C:\PROGRA~1\CSCOpx\objects\csdiscovery\1348\DiscoveryStatusObj
    I checked the file and the casusers has a Modify permission
    My Question is:
    1. what is the meaning of those output exactly?
    2. If CWLMS found duplicatedd IP address how it works in terms of (ignoring, updating existing devices, Adding the new devices, ... etc)
    Many thanks for your help.

  • Ios 7 calendar does not show events 2 years in the future

    Why does ios 7 calendar does not show events 2 years in the future?
    I've entered the events more than twice and it all shows up in the OSX calendar but not on my iphone.

    Just tested it works even 3 years ahead.
    Tap Calendars (bottom, middle) is All iCloud selected (tick mark)?

  • I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.Not working in USA timezone.

    I created an application and in  that application if date is changed the application starts from splash screen on re-entering and if date is not changed and u re-enters the application then it open in page where u leaved.It works fine in our side (Timezone,kolkata ,india even for Timezone,slvaniya,USA) but our USA client is telling that on changing the date it not starts from start-up sequence.Can anyone plz suggest the reason for it.

    This is the code which we have used.
    //////////Return if it is first time for the day or not//////////////
    + (BOOL)isFirstTimeToday {
    BOOL result = YES;
    NSDate *now = [[NSDate alloc] init];     /// represents the current time
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: now];
    NSDate *today = [gregorian dateFromComponents:components];
    [now release];
    [gregorian release];
    NSDate *savedDate = [[NSUserDefaults standardUserDefaults] objectForKey:LAST_TIME_VISITED];
    if (savedDate) {
    if ([today earlierDate:savedDate] == today) {
    result = NO;
    return result;
    ////////Stores the date/////////////
    + (void)userDidVisitReenforceScreenToday {
    [[NSUserDefaults standardUserDefaults] setObject:[NSDate todayAtMidnight] forKey:LAST_TIME_VISITED];
    ////////////What [NSDate todayAtMidnight] stores/////////////////////
    + (NSDate *)daysFromNowAtMidnight:(NSInteger)nOfDays {
    NSDate *date = [NSDate dateWithTimeIntervalSinceNow: (86400*nOfDays)];
    NSCalendar *gregorian = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
    NSDateComponents *components = [gregorian components:(NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit) fromDate: date];
    NSDate *dateAtMidnight = [gregorian dateFromComponents:components];
    [gregorian release];
    NSLog(@"dateAtMidnight : %@",dateAtMidnight);
    return dateAtMidnight;
    + (NSDate *)todayAtMidnight {
    return [self daysFromNowAtMidnight:0];
    Please Suggest..

  • Product ID not valid. Please re-enter the 15-digit...

    My phone initially had Global Firmware but after flashing i think now it has Indian firmware.
    Now when i am trying to download the firmware, it shows 
    "Product ID not valid. Please re-enter the 15-digit IMEI code."

    double check IMEI code from Menu -> Settings -> About
    and also from label under battery, if there are / printed then don't enter those to the download page.
    IMEI code is the 15 digit code and usually starts 35
    last digit is a checksum, so if you enter an incorrect number then website will know.

  • In the address bar where type the address of the web site at the top. after entering the address i press enter key from the keyboard but it does'nt work there . Means the page is not navigating towards the address. Kindly solve the problem

    In the address bar where type the address of the web site at the top. after entering the address i press enter key from the keyboard but it doesn't work there . Means the page is not navigating towards the address. Kindly solve the problem

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * [[Troubleshooting extensions and themes]]
    In Firefox 4 you can use one of these to start in <u>[[Safe mode]]</u>:
    * Help > Restart with Add-ons Disabled
    * Hold down the Shift key while double clicking the Firefox desktop shortcut (Windows)

  • HP printer does not show up as part of the neighborhood in printer utility

    Hi Everybody -- I am trying to connect to a shared HP printer connected on my XP machine. It works fine when trying to connect to it from other pc's, however, when ever i try to connect to it from my MAC, the pc name and printer does not show up as part of the neighborhood in the printer setup utility (which is weird).
    I do have the drivers installed for that particular printer and it works fine with USB connection (HP6110). I know this is not a firewall issue becuase I tried connecting to the printer while disabling the firewall.
    Appreciate any help on this matter.

    Look over the printer sharing articles on iFelix Tech Notes.
    In addition, check the Mac's System Preferences> Sharing> Firewall tab> Advanced button and uncheck 'block unwanted UDP traffic' and "enable stealth mode". On the WinXP computer, go to Control Panels> Administrative Tools> Services and set 'Computer Browser' to manual from automatic.

  • Not getting the Tasks while defining the project parameter in PJM ?

    Hello Guys,
    Can any one help me on this query,
    Tasks defined is not available in the list while defining the Project Parameter in PJM ?
    I have done the below neccessary setups,
    The control level is set to Project in PJM Parameters.
    Project Cost-Collections is enabled for Inventory Organization.
    Cost group is set to projects.
    Inventory Organization has been mapped to same OU as Project Organization.
    added Project Manufacturing classification to Inventory Org.
    Iam just checking did I miss any setup ?
    Regards,
    Satish

    Hi
    If the PJM organization is setup with Control Level = Project & Task, then the material transactions , and WIP jobs completion locators will expect you to enter the project number, and task number.
    If the PJM organization is setup with Control Level = Project, then the material transactions , and WIP jobs completion locators will only expect you to enter the project number, not the task number. In that case you will need also to setup the Task Auto Assignment Rules, so system will pick up automatically the task number when transactions are cost collected and interfaced to Projects Costing.
    In any case, the Project Parameters form deals only with the list of projects (not tasks), and thier assignment to the costing and planning groups.
    Dina

  • How to show only the result line of a Query result ?

    Hi Experts,
    I want to show only the result line of the Query. Is this possible in query Designer ?
    In BeX Workbook, I can hide the rows but they grow or shrink dynamically and hence it is unpredictable how many rows to suppress.
    If you have any solutions/workarounds, please reply !
    Rekha

    VBA coding can be used to display just the Result rows.
    Somthing like this - modify as needed.
    This scans the range of query results looking to find the last row, then checks those rows to see if the word Result is found or not, deleting (or you could just hide) the detail rows.  There is also a LEAF option in BEx Boolean options that returns a 1 or 0 depending on whether a row is a detail or result that could also be used to hide rows rather than looking for the presence of "Result" in a particular column
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
    For rownum = 17 To 64000 Step 1
    ' col 2 is the Total Result, col 3 is the User Group result
    If Cells(rownum, 2) = "" And Cells(rownum, 3) = "" Then
    lastrow = rownum - 1
    Exit For
    End If
    Next
    For rownum = lastrow To 17 Step -1
    If Cells(rownum, 2) = "Result" Or Cells(rownum, 3) = "Result" Then
    Rows(rownum).Hidden = False
    Else
    ' Rows(rownum).Hidden = True
    Rows(rownum).EntireRow.Delete
    End If
    Next
    End Sub

  • Can we lock the reservation while entering GI ?

    Can we lock the reservation while entering GI (like the PO is locked while entering GR)?
    Steps that made a problem.
    1. User A enter MIGO and key GI ref. reservation. (Not save yet)
    2. User B enter MIGO and key GI ref. the same reservation.
    3. Both of them save the materail document.
    Then stock was double issued.
    The problem happens when the system was slow too. User A enter GI ref. reservation and save it. The system has not finished updating. User A cannot see the material document, so he thinks the update was unsuccessful and enters it again.
    I think if we can lock the reservation while entering GI, it will solved this problem.
    If you know how or have another idea, please suggest me.

    dbuser wrote:
    I am using the Oracle 10g and I have question related to "for Update" clause.
    We have the data warehouse db, so no foreign key constraint between parent and child.This is the mistake: you need the foreign key constraint. It is vital to have these in a data warehouse. You need as many constraints as possible: they give information to the optimizer, without which the optimizer has no chance of developing efficient execution plans. Remember that constraints are not only about data integrity, you need them for performance as well.
    John Watson
    Oracle Certified Master DBA
    http://skillbuilders.com

  • Can't restore apple id ,you were blocked for security reasons, but to restore the need to enter the key after typing it sends a 4-digit code on the ipad , but at ipade I am not connected to icloud ,and to connect you need to recover your account

    can't restore apple id , because apple were blocked for security reasons, but to restore the need to enter the key two- step werification . after typing it , apple sends a 4-digit code on the ipad , but at ipad I am not connected to icloud ,so i cant get code . but if i want to recover apple id, i need to  connect icloud, so what to do? help !

    I have (sorry forgot to add that). I was switched around and finally I was told I would be put through to a supervisor but after being on hold for about 10 minutes the phone went dead, I did not lose connection so I do not know if I was hung up on or there was some technical difficulty. I called again yesterday and did in fact speak with a supervisor for Account Security but he told me he did not know why it was happening and put me through to a different number but that ended up not being any helpful either. That's when I decided to give it a shot on here!

Maybe you are looking for